configure 699 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091929394959697989910010110210310410510610710810911011111211311411511611711811912012112212312412512612712812913013113213313413513613713813914014114214314414514614714814915015115215315415515615715815916016116216316416516616716816917017117217317417517617717817918018118218318418518618718818919019119219319419519619719819920020120220320420520620720820921021121221321421521621721821922022122222322422522622722822923023123223323423523623723823924024124224324424524624724824925025125225325425525625725825926026126226326426526626726826927027127227327427527627727827928028128228328428528628728828929029129229329429529629729829930030130230330430530630730830931031131231331431531631731831932032132232332432532632732832933033133233333433533633733833934034134234334434534634734834935035135235335435535635735835936036136236336436536636736836937037137237337437537637737837938038138238338438538638738838939039139239339439539639739839940040140240340440540640740840941041141241341441541641741841942042142242342442542642742842943043143243343443543643743843944044144244344444544644744844945045145245345445545645745845946046146246346446546646746846947047147247347447547647747847948048148248348448548648748848949049149249349449549649749849950050150250350450550650750850951051151251351451551651751851952052152252352452552652752852953053153253353453553653753853954054154254354454554654754854955055155255355455555655755855956056156256356456556656756856957057157257357457557657757857958058158258358458558658758858959059159259359459559659759859960060160260360460560660760860961061161261361461561661761861962062162262362462562662762862963063163263363463563663763863964064164264364464564664764864965065165265365465565665765865966066166266366466566666766866967067167267367467567667767867968068168268368468568668768868969069169269369469569669769869970070170270370470570670770870971071171271371471571671771871972072172272372472572672772872973073173273373473573673773873974074174274374474574674774874975075175275375475575675775875976076176276376476576676776876977077177277377477577677777877978078178278378478578678778878979079179279379479579679779879980080180280380480580680780880981081181281381481581681781881982082182282382482582682782882983083183283383483583683783883984084184284384484584684784884985085185285385485585685785885986086186286386486586686786886987087187287387487587687787887988088188288388488588688788888989089189289389489589689789889990090190290390490590690790890991091191291391491591691791891992092192292392492592692792892993093193293393493593693793893994094194294394494594694794894995095195295395495595695795895996096196296396496596696796896997097197297397497597697797897998098198298398498598698798898999099199299399499599699799899910001001100210031004100510061007100810091010101110121013101410151016101710181019102010211022102310241025102610271028102910301031103210331034103510361037103810391040104110421043104410451046104710481049105010511052105310541055105610571058105910601061106210631064106510661067106810691070107110721073107410751076107710781079108010811082108310841085108610871088108910901091109210931094109510961097109810991100110111021103110411051106110711081109111011111112111311141115111611171118111911201121112211231124112511261127112811291130113111321133113411351136113711381139114011411142114311441145114611471148114911501151115211531154115511561157115811591160116111621163116411651166116711681169117011711172117311741175117611771178117911801181118211831184118511861187118811891190119111921193119411951196119711981199120012011202120312041205120612071208120912101211121212131214121512161217121812191220122112221223122412251226122712281229123012311232123312341235123612371238123912401241124212431244124512461247124812491250125112521253125412551256125712581259126012611262126312641265126612671268126912701271127212731274127512761277127812791280128112821283128412851286128712881289129012911292129312941295129612971298129913001301130213031304130513061307130813091310131113121313131413151316131713181319132013211322132313241325132613271328132913301331133213331334133513361337133813391340134113421343134413451346134713481349135013511352135313541355135613571358135913601361136213631364136513661367136813691370137113721373137413751376137713781379138013811382138313841385138613871388138913901391139213931394139513961397139813991400140114021403140414051406140714081409141014111412141314141415141614171418141914201421142214231424142514261427142814291430143114321433143414351436143714381439144014411442144314441445144614471448144914501451145214531454145514561457145814591460146114621463146414651466146714681469147014711472147314741475147614771478147914801481148214831484148514861487148814891490149114921493149414951496149714981499150015011502150315041505150615071508150915101511151215131514151515161517151815191520152115221523152415251526152715281529153015311532153315341535153615371538153915401541154215431544154515461547154815491550155115521553155415551556155715581559156015611562156315641565156615671568156915701571157215731574157515761577157815791580158115821583158415851586158715881589159015911592159315941595159615971598159916001601160216031604160516061607160816091610161116121613161416151616161716181619162016211622162316241625162616271628162916301631163216331634163516361637163816391640164116421643164416451646164716481649165016511652165316541655165616571658165916601661166216631664166516661667166816691670167116721673167416751676167716781679168016811682168316841685168616871688168916901691169216931694169516961697169816991700170117021703170417051706170717081709171017111712171317141715171617171718171917201721172217231724172517261727172817291730173117321733173417351736173717381739174017411742174317441745174617471748174917501751175217531754175517561757175817591760176117621763176417651766176717681769177017711772177317741775177617771778177917801781178217831784178517861787178817891790179117921793179417951796179717981799180018011802180318041805180618071808180918101811181218131814181518161817181818191820182118221823182418251826182718281829183018311832183318341835183618371838183918401841184218431844184518461847184818491850185118521853185418551856185718581859186018611862186318641865186618671868186918701871187218731874187518761877187818791880188118821883188418851886188718881889189018911892189318941895189618971898189919001901190219031904190519061907190819091910191119121913191419151916191719181919192019211922192319241925192619271928192919301931193219331934193519361937193819391940194119421943194419451946194719481949195019511952195319541955195619571958195919601961196219631964196519661967196819691970197119721973197419751976197719781979198019811982198319841985198619871988198919901991199219931994199519961997199819992000200120022003200420052006200720082009201020112012201320142015201620172018201920202021202220232024202520262027202820292030203120322033203420352036203720382039204020412042204320442045204620472048204920502051205220532054205520562057205820592060206120622063206420652066206720682069207020712072207320742075207620772078207920802081208220832084208520862087208820892090209120922093209420952096209720982099210021012102210321042105210621072108210921102111211221132114211521162117211821192120212121222123212421252126212721282129213021312132213321342135213621372138213921402141214221432144214521462147214821492150215121522153215421552156215721582159216021612162216321642165216621672168216921702171217221732174217521762177217821792180218121822183218421852186218721882189219021912192219321942195219621972198219922002201220222032204220522062207220822092210221122122213221422152216221722182219222022212222222322242225222622272228222922302231223222332234223522362237223822392240224122422243224422452246224722482249225022512252225322542255225622572258225922602261226222632264226522662267226822692270227122722273227422752276227722782279228022812282228322842285228622872288228922902291229222932294229522962297229822992300230123022303230423052306230723082309231023112312231323142315231623172318231923202321232223232324232523262327232823292330233123322333233423352336233723382339234023412342234323442345234623472348234923502351235223532354235523562357235823592360236123622363236423652366236723682369237023712372237323742375237623772378237923802381238223832384238523862387238823892390239123922393239423952396239723982399240024012402240324042405240624072408240924102411241224132414241524162417241824192420242124222423242424252426242724282429243024312432243324342435243624372438243924402441244224432444244524462447244824492450245124522453245424552456245724582459246024612462246324642465246624672468246924702471247224732474247524762477247824792480248124822483248424852486248724882489249024912492249324942495249624972498249925002501250225032504250525062507250825092510251125122513251425152516251725182519252025212522252325242525252625272528252925302531253225332534253525362537253825392540254125422543254425452546254725482549255025512552255325542555255625572558255925602561256225632564256525662567256825692570257125722573257425752576257725782579258025812582258325842585258625872588258925902591259225932594259525962597259825992600260126022603260426052606260726082609261026112612261326142615261626172618261926202621262226232624262526262627262826292630263126322633263426352636263726382639264026412642264326442645264626472648264926502651265226532654265526562657265826592660266126622663266426652666266726682669267026712672267326742675267626772678267926802681268226832684268526862687268826892690269126922693269426952696269726982699270027012702270327042705270627072708270927102711271227132714271527162717271827192720272127222723272427252726272727282729273027312732273327342735273627372738273927402741274227432744274527462747274827492750275127522753275427552756275727582759276027612762276327642765276627672768276927702771277227732774277527762777277827792780278127822783278427852786278727882789279027912792279327942795279627972798279928002801280228032804280528062807280828092810281128122813281428152816281728182819282028212822282328242825282628272828282928302831283228332834283528362837283828392840284128422843284428452846284728482849285028512852285328542855285628572858285928602861286228632864286528662867286828692870287128722873287428752876287728782879288028812882288328842885288628872888288928902891289228932894289528962897289828992900290129022903290429052906290729082909291029112912291329142915291629172918291929202921292229232924292529262927292829292930293129322933293429352936293729382939294029412942294329442945294629472948294929502951295229532954295529562957295829592960296129622963296429652966296729682969297029712972297329742975297629772978297929802981298229832984298529862987298829892990299129922993299429952996299729982999300030013002300330043005300630073008300930103011301230133014301530163017301830193020302130223023302430253026302730283029303030313032303330343035303630373038303930403041304230433044304530463047304830493050305130523053305430553056305730583059306030613062306330643065306630673068306930703071307230733074307530763077307830793080308130823083308430853086308730883089309030913092309330943095309630973098309931003101310231033104310531063107310831093110311131123113311431153116311731183119312031213122312331243125312631273128312931303131313231333134313531363137313831393140314131423143314431453146314731483149315031513152315331543155315631573158315931603161316231633164316531663167316831693170317131723173317431753176317731783179318031813182318331843185318631873188318931903191319231933194319531963197319831993200320132023203320432053206320732083209321032113212321332143215321632173218321932203221322232233224322532263227322832293230323132323233323432353236323732383239324032413242324332443245324632473248324932503251325232533254325532563257325832593260326132623263326432653266326732683269327032713272327332743275327632773278327932803281328232833284328532863287328832893290329132923293329432953296329732983299330033013302330333043305330633073308330933103311331233133314331533163317331833193320332133223323332433253326332733283329333033313332333333343335333633373338333933403341334233433344334533463347334833493350335133523353335433553356335733583359336033613362336333643365336633673368336933703371337233733374337533763377337833793380338133823383338433853386338733883389339033913392339333943395339633973398339934003401340234033404340534063407340834093410341134123413341434153416341734183419342034213422342334243425342634273428342934303431343234333434343534363437343834393440344134423443344434453446344734483449345034513452345334543455345634573458345934603461346234633464346534663467346834693470347134723473347434753476347734783479348034813482348334843485348634873488348934903491349234933494349534963497349834993500350135023503350435053506350735083509351035113512351335143515351635173518351935203521352235233524352535263527352835293530353135323533353435353536353735383539354035413542354335443545354635473548354935503551355235533554355535563557355835593560356135623563356435653566356735683569357035713572357335743575357635773578357935803581358235833584358535863587358835893590359135923593359435953596359735983599360036013602360336043605360636073608360936103611361236133614361536163617361836193620362136223623362436253626362736283629363036313632363336343635363636373638363936403641364236433644364536463647364836493650365136523653365436553656365736583659366036613662366336643665366636673668366936703671367236733674367536763677367836793680368136823683368436853686368736883689369036913692369336943695369636973698369937003701370237033704370537063707370837093710371137123713371437153716371737183719372037213722372337243725372637273728372937303731373237333734373537363737373837393740374137423743374437453746374737483749375037513752375337543755375637573758375937603761376237633764376537663767376837693770377137723773377437753776377737783779378037813782378337843785378637873788378937903791379237933794379537963797379837993800380138023803380438053806380738083809381038113812381338143815381638173818381938203821382238233824382538263827382838293830383138323833383438353836383738383839384038413842384338443845384638473848384938503851385238533854385538563857385838593860386138623863386438653866386738683869387038713872387338743875387638773878387938803881388238833884388538863887388838893890389138923893389438953896389738983899390039013902390339043905390639073908390939103911391239133914391539163917391839193920392139223923392439253926392739283929393039313932393339343935393639373938393939403941394239433944394539463947394839493950395139523953395439553956395739583959396039613962396339643965396639673968396939703971397239733974397539763977397839793980398139823983398439853986398739883989399039913992399339943995399639973998399940004001400240034004400540064007400840094010401140124013401440154016401740184019402040214022402340244025402640274028402940304031403240334034403540364037403840394040404140424043404440454046404740484049405040514052405340544055405640574058405940604061406240634064406540664067406840694070407140724073407440754076407740784079408040814082408340844085408640874088408940904091409240934094409540964097409840994100410141024103410441054106410741084109411041114112411341144115411641174118411941204121412241234124412541264127412841294130413141324133413441354136413741384139414041414142414341444145414641474148414941504151415241534154415541564157415841594160416141624163416441654166416741684169417041714172417341744175417641774178417941804181418241834184418541864187418841894190419141924193419441954196419741984199420042014202420342044205420642074208420942104211421242134214421542164217421842194220422142224223422442254226422742284229423042314232423342344235423642374238423942404241424242434244424542464247424842494250425142524253425442554256425742584259426042614262426342644265426642674268426942704271427242734274427542764277427842794280428142824283428442854286428742884289429042914292429342944295429642974298429943004301430243034304430543064307430843094310431143124313431443154316431743184319432043214322432343244325432643274328432943304331433243334334433543364337433843394340434143424343434443454346434743484349435043514352435343544355435643574358435943604361436243634364436543664367436843694370437143724373437443754376437743784379438043814382438343844385438643874388438943904391439243934394439543964397439843994400440144024403440444054406440744084409441044114412441344144415441644174418441944204421442244234424442544264427442844294430443144324433443444354436443744384439444044414442444344444445444644474448444944504451445244534454445544564457445844594460446144624463446444654466446744684469447044714472447344744475447644774478447944804481448244834484448544864487448844894490449144924493449444954496449744984499450045014502450345044505450645074508450945104511451245134514451545164517451845194520452145224523452445254526452745284529453045314532453345344535453645374538453945404541454245434544454545464547454845494550455145524553455445554556455745584559456045614562456345644565456645674568456945704571457245734574457545764577457845794580458145824583458445854586458745884589459045914592459345944595459645974598459946004601460246034604460546064607460846094610461146124613461446154616461746184619462046214622462346244625462646274628462946304631463246334634463546364637463846394640464146424643464446454646464746484649465046514652465346544655465646574658465946604661466246634664466546664667466846694670467146724673467446754676467746784679468046814682468346844685468646874688468946904691469246934694469546964697469846994700470147024703470447054706470747084709471047114712471347144715471647174718471947204721472247234724472547264727472847294730473147324733473447354736473747384739474047414742474347444745474647474748474947504751475247534754475547564757475847594760476147624763476447654766476747684769477047714772477347744775477647774778477947804781478247834784478547864787478847894790479147924793479447954796479747984799480048014802480348044805480648074808480948104811481248134814481548164817481848194820482148224823482448254826482748284829483048314832483348344835483648374838483948404841484248434844484548464847484848494850485148524853485448554856485748584859486048614862486348644865486648674868486948704871487248734874487548764877487848794880488148824883488448854886488748884889489048914892489348944895489648974898489949004901490249034904490549064907490849094910491149124913491449154916491749184919492049214922492349244925492649274928492949304931493249334934493549364937493849394940494149424943494449454946494749484949495049514952495349544955495649574958495949604961496249634964496549664967496849694970497149724973497449754976497749784979498049814982498349844985498649874988498949904991499249934994499549964997499849995000500150025003500450055006500750085009501050115012501350145015501650175018501950205021502250235024502550265027502850295030503150325033503450355036503750385039504050415042504350445045504650475048504950505051505250535054505550565057505850595060506150625063506450655066506750685069507050715072507350745075507650775078507950805081508250835084508550865087508850895090509150925093509450955096509750985099510051015102510351045105510651075108510951105111511251135114511551165117511851195120512151225123512451255126512751285129513051315132513351345135513651375138513951405141514251435144514551465147514851495150515151525153515451555156515751585159516051615162516351645165516651675168516951705171517251735174517551765177517851795180518151825183518451855186518751885189519051915192519351945195519651975198519952005201520252035204520552065207520852095210521152125213521452155216521752185219522052215222522352245225522652275228522952305231523252335234523552365237523852395240524152425243524452455246524752485249525052515252525352545255525652575258525952605261526252635264526552665267526852695270527152725273527452755276527752785279528052815282528352845285528652875288528952905291529252935294529552965297529852995300530153025303530453055306530753085309531053115312531353145315531653175318531953205321532253235324532553265327532853295330533153325333533453355336533753385339534053415342534353445345534653475348534953505351535253535354535553565357535853595360536153625363536453655366536753685369537053715372537353745375537653775378537953805381538253835384538553865387538853895390539153925393539453955396539753985399540054015402540354045405540654075408540954105411541254135414541554165417541854195420542154225423542454255426542754285429543054315432543354345435543654375438543954405441544254435444544554465447544854495450545154525453545454555456545754585459546054615462546354645465546654675468546954705471547254735474547554765477547854795480548154825483548454855486548754885489549054915492549354945495549654975498549955005501550255035504550555065507550855095510551155125513551455155516551755185519552055215522552355245525552655275528552955305531553255335534553555365537553855395540554155425543554455455546554755485549555055515552555355545555555655575558555955605561556255635564556555665567556855695570557155725573557455755576557755785579558055815582558355845585558655875588558955905591559255935594559555965597559855995600560156025603560456055606560756085609561056115612561356145615561656175618561956205621562256235624562556265627562856295630563156325633563456355636563756385639564056415642564356445645564656475648564956505651565256535654565556565657565856595660566156625663566456655666566756685669567056715672567356745675567656775678567956805681568256835684568556865687568856895690569156925693569456955696569756985699570057015702570357045705570657075708570957105711571257135714571557165717571857195720572157225723572457255726572757285729573057315732573357345735573657375738573957405741574257435744574557465747574857495750575157525753575457555756575757585759576057615762576357645765576657675768576957705771577257735774577557765777577857795780578157825783578457855786578757885789579057915792579357945795579657975798579958005801580258035804580558065807580858095810581158125813581458155816581758185819582058215822582358245825582658275828582958305831583258335834583558365837583858395840584158425843584458455846584758485849585058515852585358545855585658575858585958605861586258635864586558665867586858695870587158725873587458755876587758785879588058815882588358845885588658875888588958905891589258935894589558965897589858995900590159025903590459055906590759085909591059115912591359145915591659175918591959205921592259235924592559265927592859295930593159325933593459355936593759385939594059415942594359445945594659475948594959505951595259535954595559565957595859595960596159625963596459655966596759685969597059715972597359745975597659775978597959805981598259835984598559865987598859895990599159925993599459955996599759985999600060016002600360046005600660076008600960106011601260136014601560166017601860196020602160226023602460256026602760286029603060316032603360346035603660376038603960406041604260436044604560466047604860496050605160526053605460556056605760586059606060616062606360646065606660676068606960706071607260736074607560766077607860796080608160826083608460856086608760886089609060916092609360946095609660976098609961006101610261036104610561066107610861096110611161126113611461156116611761186119612061216122612361246125612661276128612961306131613261336134613561366137613861396140614161426143614461456146614761486149615061516152615361546155615661576158615961606161616261636164616561666167616861696170617161726173617461756176617761786179618061816182618361846185618661876188618961906191619261936194619561966197619861996200620162026203620462056206620762086209621062116212621362146215621662176218621962206221622262236224622562266227622862296230623162326233623462356236623762386239624062416242624362446245624662476248624962506251625262536254625562566257625862596260626162626263626462656266626762686269627062716272627362746275627662776278627962806281628262836284628562866287628862896290629162926293629462956296629762986299630063016302630363046305630663076308630963106311631263136314631563166317631863196320632163226323632463256326632763286329633063316332633363346335633663376338633963406341634263436344634563466347634863496350635163526353635463556356635763586359636063616362636363646365636663676368636963706371637263736374637563766377637863796380638163826383638463856386638763886389639063916392639363946395639663976398639964006401640264036404640564066407640864096410641164126413641464156416641764186419642064216422642364246425642664276428642964306431643264336434643564366437643864396440644164426443644464456446644764486449645064516452645364546455645664576458645964606461646264636464646564666467646864696470647164726473647464756476647764786479648064816482648364846485648664876488648964906491649264936494649564966497649864996500650165026503650465056506650765086509651065116512651365146515651665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566656765686569657065716572657365746575657665776578657965806581658265836584658565866587658865896590659165926593659465956596659765986599660066016602660366046605660666076608660966106611661266136614661566166617661866196620662166226623662466256626662766286629663066316632663366346635663666376638663966406641664266436644664566466647664866496650665166526653665466556656665766586659666066616662666366646665666666676668666966706671667266736674667566766677667866796680668166826683668466856686668766886689669066916692669366946695669666976698669967006701670267036704670567066707670867096710671167126713671467156716671767186719672067216722672367246725672667276728672967306731673267336734673567366737673867396740674167426743674467456746674767486749675067516752675367546755675667576758675967606761676267636764676567666767676867696770677167726773677467756776677767786779678067816782678367846785678667876788678967906791679267936794679567966797679867996800680168026803680468056806680768086809681068116812681368146815681668176818681968206821682268236824682568266827682868296830683168326833683468356836683768386839684068416842684368446845684668476848684968506851685268536854685568566857685868596860686168626863686468656866686768686869687068716872687368746875687668776878687968806881688268836884688568866887688868896890689168926893689468956896689768986899690069016902690369046905690669076908690969106911691269136914691569166917691869196920692169226923692469256926692769286929693069316932693369346935693669376938693969406941694269436944694569466947694869496950695169526953695469556956695769586959696069616962696369646965696669676968696969706971697269736974697569766977697869796980698169826983698469856986698769886989699069916992699369946995699669976998699970007001700270037004700570067007700870097010701170127013701470157016701770187019702070217022702370247025702670277028702970307031703270337034703570367037703870397040704170427043704470457046704770487049705070517052705370547055705670577058705970607061706270637064706570667067706870697070707170727073707470757076707770787079708070817082708370847085708670877088708970907091709270937094709570967097709870997100710171027103710471057106710771087109711071117112711371147115711671177118711971207121712271237124712571267127712871297130713171327133713471357136713771387139714071417142714371447145714671477148714971507151715271537154715571567157715871597160716171627163716471657166716771687169717071717172717371747175717671777178717971807181718271837184718571867187718871897190719171927193719471957196719771987199720072017202720372047205720672077208720972107211721272137214721572167217721872197220722172227223722472257226722772287229723072317232723372347235723672377238723972407241724272437244724572467247724872497250725172527253725472557256725772587259726072617262726372647265726672677268726972707271727272737274727572767277727872797280728172827283728472857286728772887289729072917292729372947295729672977298729973007301730273037304730573067307730873097310731173127313731473157316731773187319732073217322732373247325732673277328732973307331733273337334733573367337733873397340734173427343734473457346734773487349735073517352735373547355735673577358735973607361736273637364736573667367736873697370737173727373737473757376737773787379738073817382738373847385738673877388738973907391739273937394739573967397739873997400740174027403740474057406740774087409741074117412741374147415741674177418741974207421742274237424742574267427742874297430743174327433743474357436743774387439744074417442744374447445744674477448744974507451745274537454745574567457745874597460746174627463746474657466746774687469747074717472747374747475747674777478747974807481748274837484748574867487748874897490749174927493749474957496749774987499750075017502750375047505750675077508750975107511751275137514751575167517751875197520752175227523752475257526752775287529753075317532753375347535753675377538753975407541754275437544754575467547754875497550755175527553755475557556755775587559756075617562756375647565756675677568756975707571757275737574757575767577757875797580758175827583758475857586758775887589759075917592759375947595759675977598759976007601760276037604760576067607760876097610761176127613761476157616761776187619762076217622762376247625762676277628762976307631763276337634763576367637763876397640764176427643764476457646764776487649765076517652765376547655765676577658765976607661766276637664766576667667766876697670767176727673767476757676767776787679768076817682768376847685768676877688768976907691769276937694769576967697769876997700770177027703770477057706770777087709771077117712771377147715771677177718771977207721772277237724772577267727772877297730773177327733773477357736773777387739774077417742774377447745774677477748774977507751775277537754775577567757775877597760776177627763776477657766776777687769777077717772777377747775777677777778777977807781778277837784778577867787778877897790779177927793779477957796779777987799780078017802780378047805780678077808780978107811781278137814781578167817781878197820782178227823782478257826782778287829783078317832783378347835783678377838783978407841784278437844784578467847784878497850785178527853785478557856785778587859786078617862786378647865786678677868786978707871787278737874787578767877787878797880788178827883788478857886788778887889789078917892789378947895789678977898789979007901790279037904790579067907790879097910791179127913791479157916791779187919792079217922792379247925792679277928792979307931793279337934793579367937793879397940794179427943794479457946794779487949795079517952795379547955795679577958795979607961796279637964796579667967796879697970797179727973797479757976797779787979798079817982798379847985798679877988798979907991799279937994799579967997799879998000800180028003800480058006800780088009801080118012801380148015801680178018801980208021802280238024802580268027802880298030803180328033803480358036803780388039804080418042804380448045804680478048804980508051805280538054805580568057805880598060806180628063806480658066806780688069807080718072807380748075807680778078807980808081808280838084808580868087808880898090809180928093809480958096809780988099810081018102810381048105810681078108810981108111811281138114811581168117811881198120812181228123812481258126812781288129813081318132813381348135813681378138813981408141814281438144814581468147814881498150815181528153815481558156815781588159816081618162816381648165816681678168816981708171817281738174817581768177817881798180818181828183818481858186818781888189819081918192819381948195819681978198819982008201820282038204820582068207820882098210821182128213821482158216821782188219822082218222822382248225822682278228822982308231823282338234823582368237823882398240824182428243824482458246824782488249825082518252825382548255825682578258825982608261826282638264826582668267826882698270827182728273827482758276827782788279828082818282828382848285828682878288828982908291829282938294829582968297829882998300830183028303830483058306830783088309831083118312831383148315831683178318831983208321832283238324832583268327832883298330833183328333833483358336833783388339834083418342834383448345834683478348834983508351835283538354835583568357835883598360836183628363836483658366836783688369837083718372837383748375837683778378837983808381838283838384838583868387838883898390839183928393839483958396839783988399840084018402840384048405840684078408840984108411841284138414841584168417841884198420842184228423842484258426842784288429843084318432843384348435843684378438843984408441844284438444844584468447844884498450845184528453845484558456845784588459846084618462846384648465846684678468846984708471847284738474847584768477847884798480848184828483848484858486848784888489849084918492849384948495849684978498849985008501850285038504850585068507850885098510851185128513851485158516851785188519852085218522852385248525852685278528852985308531853285338534853585368537853885398540854185428543854485458546854785488549855085518552855385548555855685578558855985608561856285638564856585668567856885698570857185728573857485758576857785788579858085818582858385848585858685878588858985908591859285938594859585968597859885998600860186028603860486058606860786088609861086118612861386148615861686178618861986208621862286238624862586268627862886298630863186328633863486358636863786388639864086418642864386448645864686478648864986508651865286538654865586568657865886598660866186628663866486658666866786688669867086718672867386748675867686778678867986808681868286838684868586868687868886898690869186928693869486958696869786988699870087018702870387048705870687078708870987108711871287138714871587168717871887198720872187228723872487258726872787288729873087318732873387348735873687378738873987408741874287438744874587468747874887498750875187528753875487558756875787588759876087618762876387648765876687678768876987708771877287738774877587768777877887798780878187828783878487858786878787888789879087918792879387948795879687978798879988008801880288038804880588068807880888098810881188128813881488158816881788188819882088218822882388248825882688278828882988308831883288338834883588368837883888398840884188428843884488458846884788488849885088518852885388548855885688578858885988608861886288638864886588668867886888698870887188728873887488758876887788788879888088818882888388848885888688878888888988908891889288938894889588968897889888998900890189028903890489058906890789088909891089118912891389148915891689178918891989208921892289238924892589268927892889298930893189328933893489358936893789388939894089418942894389448945894689478948894989508951895289538954895589568957895889598960896189628963896489658966896789688969897089718972897389748975897689778978897989808981898289838984898589868987898889898990899189928993899489958996899789988999900090019002900390049005900690079008900990109011901290139014901590169017901890199020902190229023902490259026902790289029903090319032903390349035903690379038903990409041904290439044904590469047904890499050905190529053905490559056905790589059906090619062906390649065906690679068906990709071907290739074907590769077907890799080908190829083908490859086908790889089909090919092909390949095909690979098909991009101910291039104910591069107910891099110911191129113911491159116911791189119912091219122912391249125912691279128912991309131913291339134913591369137913891399140914191429143914491459146914791489149915091519152915391549155915691579158915991609161916291639164916591669167916891699170917191729173917491759176917791789179918091819182918391849185918691879188918991909191919291939194919591969197919891999200920192029203920492059206920792089209921092119212921392149215921692179218921992209221922292239224922592269227922892299230923192329233923492359236923792389239924092419242924392449245924692479248924992509251925292539254925592569257925892599260926192629263926492659266926792689269927092719272927392749275927692779278927992809281928292839284928592869287928892899290929192929293929492959296929792989299930093019302930393049305930693079308930993109311931293139314931593169317931893199320932193229323932493259326932793289329933093319332933393349335933693379338933993409341934293439344934593469347934893499350935193529353935493559356935793589359936093619362936393649365936693679368936993709371937293739374937593769377937893799380938193829383938493859386938793889389939093919392939393949395939693979398939994009401940294039404940594069407940894099410941194129413941494159416941794189419942094219422942394249425942694279428942994309431943294339434943594369437943894399440944194429443944494459446944794489449945094519452945394549455945694579458945994609461946294639464946594669467946894699470947194729473947494759476947794789479948094819482948394849485948694879488948994909491949294939494949594969497949894999500950195029503950495059506950795089509951095119512951395149515951695179518951995209521952295239524952595269527952895299530953195329533953495359536953795389539954095419542954395449545954695479548954995509551955295539554955595569557955895599560956195629563956495659566956795689569957095719572957395749575957695779578957995809581958295839584958595869587958895899590959195929593959495959596959795989599960096019602960396049605960696079608960996109611961296139614961596169617961896199620962196229623962496259626962796289629963096319632963396349635963696379638963996409641964296439644964596469647964896499650965196529653965496559656965796589659966096619662966396649665966696679668966996709671967296739674967596769677967896799680968196829683968496859686968796889689969096919692969396949695969696979698969997009701970297039704970597069707970897099710971197129713971497159716971797189719972097219722972397249725972697279728972997309731973297339734973597369737973897399740974197429743974497459746974797489749975097519752975397549755975697579758975997609761976297639764976597669767976897699770977197729773977497759776977797789779978097819782978397849785978697879788978997909791979297939794979597969797979897999800980198029803980498059806980798089809981098119812981398149815981698179818981998209821982298239824982598269827982898299830983198329833983498359836983798389839984098419842984398449845984698479848984998509851985298539854985598569857985898599860986198629863986498659866986798689869987098719872987398749875987698779878987998809881988298839884988598869887988898899890989198929893989498959896989798989899990099019902990399049905990699079908990999109911991299139914991599169917991899199920992199229923992499259926992799289929993099319932993399349935993699379938993999409941994299439944994599469947994899499950995199529953995499559956995799589959996099619962996399649965996699679968996999709971997299739974997599769977997899799980998199829983998499859986998799889989999099919992999399949995999699979998999910000100011000210003100041000510006100071000810009100101001110012100131001410015100161001710018100191002010021100221002310024100251002610027100281002910030100311003210033100341003510036100371003810039100401004110042100431004410045100461004710048100491005010051100521005310054100551005610057100581005910060100611006210063100641006510066100671006810069100701007110072100731007410075100761007710078100791008010081100821008310084100851008610087100881008910090100911009210093100941009510096100971009810099101001010110102101031010410105101061010710108101091011010111101121011310114101151011610117101181011910120101211012210123101241012510126101271012810129101301013110132101331013410135101361013710138101391014010141101421014310144101451014610147101481014910150101511015210153101541015510156101571015810159101601016110162101631016410165101661016710168101691017010171101721017310174101751017610177101781017910180101811018210183101841018510186101871018810189101901019110192101931019410195101961019710198101991020010201102021020310204102051020610207102081020910210102111021210213102141021510216102171021810219102201022110222102231022410225102261022710228102291023010231102321023310234102351023610237102381023910240102411024210243102441024510246102471024810249102501025110252102531025410255102561025710258102591026010261102621026310264102651026610267102681026910270102711027210273102741027510276102771027810279102801028110282102831028410285102861028710288102891029010291102921029310294102951029610297102981029910300103011030210303103041030510306103071030810309103101031110312103131031410315103161031710318103191032010321103221032310324103251032610327103281032910330103311033210333103341033510336103371033810339103401034110342103431034410345103461034710348103491035010351103521035310354103551035610357103581035910360103611036210363103641036510366103671036810369103701037110372103731037410375103761037710378103791038010381103821038310384103851038610387103881038910390103911039210393103941039510396103971039810399104001040110402104031040410405104061040710408104091041010411104121041310414104151041610417104181041910420104211042210423104241042510426104271042810429104301043110432104331043410435104361043710438104391044010441104421044310444104451044610447104481044910450104511045210453104541045510456104571045810459104601046110462104631046410465104661046710468104691047010471104721047310474104751047610477104781047910480104811048210483104841048510486104871048810489104901049110492104931049410495104961049710498104991050010501105021050310504105051050610507105081050910510105111051210513105141051510516105171051810519105201052110522105231052410525105261052710528105291053010531105321053310534105351053610537105381053910540105411054210543105441054510546105471054810549105501055110552105531055410555105561055710558105591056010561105621056310564105651056610567105681056910570105711057210573105741057510576105771057810579105801058110582105831058410585105861058710588105891059010591105921059310594105951059610597105981059910600106011060210603106041060510606106071060810609106101061110612106131061410615106161061710618106191062010621106221062310624106251062610627106281062910630106311063210633106341063510636106371063810639106401064110642106431064410645106461064710648106491065010651106521065310654106551065610657106581065910660106611066210663106641066510666106671066810669106701067110672106731067410675106761067710678106791068010681106821068310684106851068610687106881068910690106911069210693106941069510696106971069810699107001070110702107031070410705107061070710708107091071010711107121071310714107151071610717107181071910720107211072210723107241072510726107271072810729107301073110732107331073410735107361073710738107391074010741107421074310744107451074610747107481074910750107511075210753107541075510756107571075810759107601076110762107631076410765107661076710768107691077010771107721077310774107751077610777107781077910780107811078210783107841078510786107871078810789107901079110792107931079410795107961079710798107991080010801108021080310804108051080610807108081080910810108111081210813108141081510816108171081810819108201082110822108231082410825108261082710828108291083010831108321083310834108351083610837108381083910840108411084210843108441084510846108471084810849108501085110852108531085410855108561085710858108591086010861108621086310864108651086610867108681086910870108711087210873108741087510876108771087810879108801088110882108831088410885108861088710888108891089010891108921089310894108951089610897108981089910900109011090210903109041090510906109071090810909109101091110912109131091410915109161091710918109191092010921109221092310924109251092610927109281092910930109311093210933109341093510936109371093810939109401094110942109431094410945109461094710948109491095010951109521095310954109551095610957109581095910960109611096210963109641096510966109671096810969109701097110972109731097410975109761097710978109791098010981109821098310984109851098610987109881098910990109911099210993109941099510996109971099810999110001100111002110031100411005110061100711008110091101011011110121101311014110151101611017110181101911020110211102211023110241102511026110271102811029110301103111032110331103411035110361103711038110391104011041110421104311044110451104611047110481104911050110511105211053110541105511056110571105811059110601106111062110631106411065110661106711068110691107011071110721107311074110751107611077110781107911080110811108211083110841108511086110871108811089110901109111092110931109411095110961109711098110991110011101111021110311104111051110611107111081110911110111111111211113111141111511116111171111811119111201112111122111231112411125111261112711128111291113011131111321113311134111351113611137111381113911140111411114211143111441114511146111471114811149111501115111152111531115411155111561115711158111591116011161111621116311164111651116611167111681116911170111711117211173111741117511176111771117811179111801118111182111831118411185111861118711188111891119011191111921119311194111951119611197111981119911200112011120211203112041120511206112071120811209112101121111212112131121411215112161121711218112191122011221112221122311224112251122611227112281122911230112311123211233112341123511236112371123811239112401124111242112431124411245112461124711248112491125011251112521125311254112551125611257112581125911260112611126211263112641126511266112671126811269112701127111272112731127411275112761127711278112791128011281112821128311284112851128611287112881128911290112911129211293112941129511296112971129811299113001130111302113031130411305113061130711308113091131011311113121131311314113151131611317113181131911320113211132211323113241132511326113271132811329113301133111332113331133411335113361133711338113391134011341113421134311344113451134611347113481134911350113511135211353113541135511356113571135811359113601136111362113631136411365113661136711368113691137011371113721137311374113751137611377113781137911380113811138211383113841138511386113871138811389113901139111392113931139411395113961139711398113991140011401114021140311404114051140611407114081140911410114111141211413114141141511416114171141811419114201142111422114231142411425114261142711428114291143011431114321143311434114351143611437114381143911440114411144211443114441144511446114471144811449114501145111452114531145411455114561145711458114591146011461114621146311464114651146611467114681146911470114711147211473114741147511476114771147811479114801148111482114831148411485114861148711488114891149011491114921149311494114951149611497114981149911500115011150211503115041150511506115071150811509115101151111512115131151411515115161151711518115191152011521115221152311524115251152611527115281152911530115311153211533115341153511536115371153811539115401154111542115431154411545115461154711548115491155011551115521155311554115551155611557115581155911560115611156211563115641156511566115671156811569115701157111572115731157411575115761157711578115791158011581115821158311584115851158611587115881158911590115911159211593115941159511596115971159811599116001160111602116031160411605116061160711608116091161011611116121161311614116151161611617116181161911620116211162211623116241162511626116271162811629116301163111632116331163411635116361163711638116391164011641116421164311644116451164611647116481164911650116511165211653116541165511656116571165811659116601166111662116631166411665116661166711668116691167011671116721167311674116751167611677116781167911680116811168211683116841168511686116871168811689116901169111692116931169411695116961169711698116991170011701117021170311704117051170611707117081170911710117111171211713117141171511716117171171811719117201172111722117231172411725117261172711728117291173011731117321173311734117351173611737117381173911740117411174211743117441174511746117471174811749117501175111752117531175411755117561175711758117591176011761117621176311764117651176611767117681176911770117711177211773117741177511776117771177811779117801178111782117831178411785117861178711788117891179011791117921179311794117951179611797117981179911800118011180211803118041180511806118071180811809118101181111812118131181411815118161181711818118191182011821118221182311824118251182611827118281182911830118311183211833118341183511836118371183811839118401184111842118431184411845118461184711848118491185011851118521185311854118551185611857118581185911860118611186211863118641186511866118671186811869118701187111872118731187411875118761187711878118791188011881118821188311884118851188611887118881188911890118911189211893118941189511896118971189811899119001190111902119031190411905119061190711908119091191011911119121191311914119151191611917119181191911920119211192211923119241192511926119271192811929119301193111932119331193411935119361193711938119391194011941119421194311944119451194611947119481194911950119511195211953119541195511956119571195811959119601196111962119631196411965119661196711968119691197011971119721197311974119751197611977119781197911980119811198211983119841198511986119871198811989119901199111992119931199411995119961199711998119991200012001120021200312004120051200612007120081200912010120111201212013120141201512016120171201812019120201202112022120231202412025120261202712028120291203012031120321203312034120351203612037120381203912040120411204212043120441204512046120471204812049120501205112052120531205412055120561205712058120591206012061120621206312064120651206612067120681206912070120711207212073120741207512076120771207812079120801208112082120831208412085120861208712088120891209012091120921209312094120951209612097120981209912100121011210212103121041210512106121071210812109121101211112112121131211412115121161211712118121191212012121121221212312124121251212612127121281212912130121311213212133121341213512136121371213812139121401214112142121431214412145121461214712148121491215012151121521215312154121551215612157121581215912160121611216212163121641216512166121671216812169121701217112172121731217412175121761217712178121791218012181121821218312184121851218612187121881218912190121911219212193121941219512196121971219812199122001220112202122031220412205122061220712208122091221012211122121221312214122151221612217122181221912220122211222212223122241222512226122271222812229122301223112232122331223412235122361223712238122391224012241122421224312244122451224612247122481224912250122511225212253122541225512256122571225812259122601226112262122631226412265122661226712268122691227012271122721227312274122751227612277122781227912280122811228212283122841228512286122871228812289122901229112292122931229412295122961229712298122991230012301123021230312304123051230612307123081230912310123111231212313123141231512316123171231812319123201232112322123231232412325123261232712328123291233012331123321233312334123351233612337123381233912340123411234212343123441234512346123471234812349123501235112352123531235412355123561235712358123591236012361123621236312364123651236612367123681236912370123711237212373123741237512376123771237812379123801238112382123831238412385123861238712388123891239012391123921239312394123951239612397123981239912400124011240212403124041240512406124071240812409124101241112412124131241412415124161241712418124191242012421124221242312424124251242612427124281242912430124311243212433124341243512436124371243812439124401244112442124431244412445124461244712448124491245012451124521245312454124551245612457124581245912460124611246212463124641246512466124671246812469124701247112472124731247412475124761247712478124791248012481124821248312484124851248612487124881248912490124911249212493124941249512496124971249812499125001250112502125031250412505125061250712508125091251012511125121251312514125151251612517125181251912520125211252212523125241252512526125271252812529125301253112532125331253412535125361253712538125391254012541125421254312544125451254612547125481254912550125511255212553125541255512556125571255812559125601256112562125631256412565125661256712568125691257012571125721257312574125751257612577125781257912580125811258212583125841258512586125871258812589125901259112592125931259412595125961259712598125991260012601126021260312604126051260612607126081260912610126111261212613126141261512616126171261812619126201262112622126231262412625126261262712628126291263012631126321263312634126351263612637126381263912640126411264212643126441264512646126471264812649126501265112652126531265412655126561265712658126591266012661126621266312664126651266612667126681266912670126711267212673126741267512676126771267812679126801268112682126831268412685126861268712688126891269012691126921269312694126951269612697126981269912700127011270212703127041270512706127071270812709127101271112712127131271412715127161271712718127191272012721127221272312724127251272612727127281272912730127311273212733127341273512736127371273812739127401274112742127431274412745127461274712748127491275012751127521275312754127551275612757127581275912760127611276212763127641276512766127671276812769127701277112772127731277412775127761277712778127791278012781127821278312784127851278612787127881278912790127911279212793127941279512796127971279812799128001280112802128031280412805128061280712808128091281012811128121281312814128151281612817128181281912820128211282212823128241282512826128271282812829128301283112832128331283412835128361283712838128391284012841128421284312844128451284612847128481284912850128511285212853128541285512856128571285812859128601286112862128631286412865128661286712868128691287012871128721287312874128751287612877128781287912880128811288212883128841288512886128871288812889128901289112892128931289412895128961289712898128991290012901129021290312904129051290612907129081290912910129111291212913129141291512916129171291812919129201292112922129231292412925129261292712928129291293012931129321293312934129351293612937129381293912940129411294212943129441294512946129471294812949129501295112952129531295412955129561295712958129591296012961129621296312964129651296612967129681296912970129711297212973129741297512976129771297812979129801298112982129831298412985129861298712988129891299012991129921299312994129951299612997129981299913000130011300213003130041300513006130071300813009130101301113012130131301413015130161301713018130191302013021130221302313024130251302613027130281302913030130311303213033130341303513036130371303813039130401304113042130431304413045130461304713048130491305013051130521305313054130551305613057130581305913060130611306213063130641306513066130671306813069130701307113072130731307413075130761307713078130791308013081130821308313084130851308613087130881308913090130911309213093130941309513096130971309813099131001310113102131031310413105131061310713108131091311013111131121311313114131151311613117131181311913120131211312213123131241312513126131271312813129131301313113132131331313413135131361313713138131391314013141131421314313144131451314613147131481314913150131511315213153131541315513156131571315813159131601316113162131631316413165131661316713168131691317013171131721317313174131751317613177131781317913180131811318213183131841318513186131871318813189131901319113192131931319413195131961319713198131991320013201132021320313204132051320613207132081320913210132111321213213132141321513216132171321813219132201322113222132231322413225132261322713228132291323013231132321323313234132351323613237132381323913240132411324213243132441324513246132471324813249132501325113252132531325413255132561325713258132591326013261132621326313264132651326613267132681326913270132711327213273132741327513276132771327813279132801328113282132831328413285132861328713288132891329013291132921329313294132951329613297132981329913300133011330213303133041330513306133071330813309133101331113312133131331413315133161331713318133191332013321133221332313324133251332613327133281332913330133311333213333133341333513336133371333813339133401334113342133431334413345133461334713348133491335013351133521335313354133551335613357133581335913360133611336213363133641336513366133671336813369133701337113372133731337413375133761337713378133791338013381133821338313384133851338613387133881338913390133911339213393133941339513396133971339813399134001340113402134031340413405134061340713408134091341013411134121341313414134151341613417134181341913420134211342213423134241342513426134271342813429134301343113432134331343413435134361343713438134391344013441134421344313444134451344613447134481344913450134511345213453134541345513456134571345813459134601346113462134631346413465134661346713468134691347013471134721347313474134751347613477134781347913480134811348213483134841348513486134871348813489134901349113492134931349413495134961349713498134991350013501135021350313504135051350613507135081350913510135111351213513135141351513516135171351813519135201352113522135231352413525135261352713528135291353013531135321353313534135351353613537135381353913540135411354213543135441354513546135471354813549135501355113552135531355413555135561355713558135591356013561135621356313564135651356613567135681356913570135711357213573135741357513576135771357813579135801358113582135831358413585135861358713588135891359013591135921359313594135951359613597135981359913600136011360213603136041360513606136071360813609136101361113612136131361413615136161361713618136191362013621136221362313624136251362613627136281362913630136311363213633136341363513636136371363813639136401364113642136431364413645136461364713648136491365013651136521365313654136551365613657136581365913660136611366213663136641366513666136671366813669136701367113672136731367413675136761367713678136791368013681136821368313684136851368613687136881368913690136911369213693136941369513696136971369813699137001370113702137031370413705137061370713708137091371013711137121371313714137151371613717137181371913720137211372213723137241372513726137271372813729137301373113732137331373413735137361373713738137391374013741137421374313744137451374613747137481374913750137511375213753137541375513756137571375813759137601376113762137631376413765137661376713768137691377013771137721377313774137751377613777137781377913780137811378213783137841378513786137871378813789137901379113792137931379413795137961379713798137991380013801138021380313804138051380613807138081380913810138111381213813138141381513816138171381813819138201382113822138231382413825138261382713828138291383013831138321383313834138351383613837138381383913840138411384213843138441384513846138471384813849138501385113852138531385413855138561385713858138591386013861138621386313864138651386613867138681386913870138711387213873138741387513876138771387813879138801388113882138831388413885138861388713888138891389013891138921389313894138951389613897138981389913900139011390213903139041390513906139071390813909139101391113912139131391413915139161391713918139191392013921139221392313924139251392613927139281392913930139311393213933139341393513936139371393813939139401394113942139431394413945139461394713948139491395013951139521395313954139551395613957139581395913960139611396213963139641396513966139671396813969139701397113972139731397413975139761397713978139791398013981139821398313984139851398613987139881398913990139911399213993139941399513996139971399813999140001400114002140031400414005140061400714008140091401014011140121401314014140151401614017140181401914020140211402214023140241402514026140271402814029140301403114032140331403414035140361403714038140391404014041140421404314044140451404614047140481404914050140511405214053140541405514056140571405814059140601406114062140631406414065140661406714068140691407014071140721407314074140751407614077140781407914080140811408214083140841408514086140871408814089140901409114092140931409414095140961409714098140991410014101141021410314104141051410614107141081410914110141111411214113141141411514116141171411814119141201412114122141231412414125141261412714128141291413014131141321413314134141351413614137141381413914140141411414214143141441414514146141471414814149141501415114152141531415414155141561415714158141591416014161141621416314164141651416614167141681416914170141711417214173141741417514176141771417814179141801418114182141831418414185141861418714188141891419014191141921419314194141951419614197141981419914200142011420214203142041420514206142071420814209142101421114212142131421414215142161421714218142191422014221142221422314224142251422614227142281422914230142311423214233142341423514236142371423814239142401424114242142431424414245142461424714248142491425014251142521425314254142551425614257142581425914260142611426214263142641426514266142671426814269142701427114272142731427414275142761427714278142791428014281142821428314284142851428614287142881428914290142911429214293142941429514296142971429814299143001430114302143031430414305143061430714308143091431014311143121431314314143151431614317143181431914320143211432214323143241432514326143271432814329143301433114332143331433414335143361433714338143391434014341143421434314344143451434614347143481434914350143511435214353143541435514356143571435814359143601436114362143631436414365143661436714368143691437014371143721437314374143751437614377143781437914380143811438214383143841438514386143871438814389143901439114392143931439414395143961439714398143991440014401144021440314404144051440614407144081440914410144111441214413144141441514416144171441814419144201442114422144231442414425144261442714428144291443014431144321443314434144351443614437144381443914440144411444214443144441444514446144471444814449144501445114452144531445414455144561445714458144591446014461144621446314464144651446614467144681446914470144711447214473144741447514476144771447814479144801448114482144831448414485144861448714488144891449014491144921449314494144951449614497144981449914500145011450214503145041450514506145071450814509145101451114512145131451414515145161451714518145191452014521145221452314524145251452614527145281452914530145311453214533145341453514536145371453814539145401454114542145431454414545145461454714548145491455014551145521455314554145551455614557145581455914560145611456214563145641456514566145671456814569145701457114572145731457414575145761457714578145791458014581145821458314584145851458614587145881458914590145911459214593145941459514596145971459814599146001460114602146031460414605146061460714608146091461014611146121461314614146151461614617146181461914620146211462214623146241462514626146271462814629146301463114632146331463414635146361463714638146391464014641146421464314644146451464614647146481464914650146511465214653146541465514656146571465814659146601466114662146631466414665146661466714668146691467014671146721467314674146751467614677146781467914680146811468214683146841468514686146871468814689146901469114692146931469414695146961469714698146991470014701147021470314704147051470614707147081470914710147111471214713147141471514716147171471814719147201472114722147231472414725147261472714728147291473014731147321473314734147351473614737147381473914740147411474214743147441474514746147471474814749147501475114752147531475414755147561475714758147591476014761147621476314764147651476614767147681476914770147711477214773147741477514776147771477814779147801478114782147831478414785147861478714788147891479014791147921479314794147951479614797147981479914800148011480214803148041480514806148071480814809148101481114812148131481414815148161481714818148191482014821148221482314824148251482614827148281482914830148311483214833148341483514836148371483814839148401484114842148431484414845148461484714848148491485014851148521485314854148551485614857148581485914860148611486214863148641486514866148671486814869148701487114872148731487414875148761487714878148791488014881148821488314884148851488614887148881488914890148911489214893148941489514896148971489814899149001490114902149031490414905149061490714908149091491014911149121491314914149151491614917149181491914920149211492214923149241492514926149271492814929149301493114932149331493414935149361493714938149391494014941149421494314944149451494614947149481494914950149511495214953149541495514956149571495814959149601496114962149631496414965149661496714968149691497014971149721497314974149751497614977149781497914980149811498214983149841498514986149871498814989149901499114992149931499414995149961499714998149991500015001150021500315004150051500615007150081500915010150111501215013150141501515016150171501815019150201502115022150231502415025150261502715028150291503015031150321503315034150351503615037150381503915040150411504215043150441504515046150471504815049150501505115052150531505415055150561505715058150591506015061150621506315064150651506615067150681506915070150711507215073150741507515076150771507815079150801508115082150831508415085150861508715088150891509015091150921509315094150951509615097150981509915100151011510215103151041510515106151071510815109151101511115112151131511415115151161511715118151191512015121151221512315124151251512615127151281512915130151311513215133151341513515136151371513815139151401514115142151431514415145151461514715148151491515015151151521515315154151551515615157151581515915160151611516215163151641516515166151671516815169151701517115172151731517415175151761517715178151791518015181151821518315184151851518615187151881518915190151911519215193151941519515196151971519815199152001520115202152031520415205152061520715208152091521015211152121521315214152151521615217152181521915220152211522215223152241522515226152271522815229152301523115232152331523415235152361523715238152391524015241152421524315244152451524615247152481524915250152511525215253152541525515256152571525815259152601526115262152631526415265152661526715268152691527015271152721527315274152751527615277152781527915280152811528215283152841528515286152871528815289152901529115292152931529415295152961529715298152991530015301153021530315304153051530615307153081530915310153111531215313153141531515316153171531815319153201532115322153231532415325153261532715328153291533015331153321533315334153351533615337153381533915340153411534215343153441534515346153471534815349153501535115352153531535415355153561535715358153591536015361153621536315364153651536615367153681536915370153711537215373153741537515376153771537815379153801538115382153831538415385153861538715388153891539015391153921539315394153951539615397153981539915400154011540215403154041540515406154071540815409154101541115412154131541415415154161541715418154191542015421154221542315424154251542615427154281542915430154311543215433154341543515436154371543815439154401544115442154431544415445154461544715448154491545015451154521545315454154551545615457154581545915460154611546215463154641546515466154671546815469154701547115472154731547415475154761547715478154791548015481154821548315484154851548615487154881548915490154911549215493154941549515496154971549815499155001550115502155031550415505155061550715508155091551015511155121551315514155151551615517155181551915520155211552215523155241552515526155271552815529155301553115532155331553415535155361553715538155391554015541155421554315544155451554615547155481554915550155511555215553155541555515556155571555815559155601556115562155631556415565155661556715568155691557015571155721557315574155751557615577155781557915580155811558215583155841558515586155871558815589155901559115592155931559415595155961559715598155991560015601156021560315604156051560615607156081560915610156111561215613156141561515616156171561815619156201562115622156231562415625156261562715628156291563015631156321563315634156351563615637156381563915640156411564215643156441564515646156471564815649156501565115652156531565415655156561565715658156591566015661156621566315664156651566615667156681566915670156711567215673156741567515676156771567815679156801568115682156831568415685156861568715688156891569015691156921569315694156951569615697156981569915700157011570215703157041570515706157071570815709157101571115712157131571415715157161571715718157191572015721157221572315724157251572615727157281572915730157311573215733157341573515736157371573815739157401574115742157431574415745157461574715748157491575015751157521575315754157551575615757157581575915760157611576215763157641576515766157671576815769157701577115772157731577415775157761577715778157791578015781157821578315784157851578615787157881578915790157911579215793157941579515796157971579815799158001580115802158031580415805158061580715808158091581015811158121581315814158151581615817158181581915820158211582215823158241582515826158271582815829158301583115832158331583415835158361583715838158391584015841158421584315844158451584615847158481584915850158511585215853158541585515856158571585815859158601586115862158631586415865158661586715868158691587015871158721587315874158751587615877158781587915880158811588215883158841588515886158871588815889158901589115892158931589415895158961589715898158991590015901159021590315904159051590615907159081590915910159111591215913159141591515916159171591815919159201592115922159231592415925159261592715928159291593015931159321593315934159351593615937159381593915940159411594215943159441594515946159471594815949159501595115952159531595415955159561595715958159591596015961159621596315964159651596615967159681596915970159711597215973159741597515976159771597815979159801598115982159831598415985159861598715988159891599015991159921599315994159951599615997159981599916000160011600216003160041600516006160071600816009160101601116012160131601416015160161601716018160191602016021160221602316024160251602616027160281602916030160311603216033160341603516036160371603816039160401604116042160431604416045160461604716048160491605016051160521605316054160551605616057160581605916060160611606216063160641606516066160671606816069160701607116072160731607416075160761607716078160791608016081160821608316084160851608616087160881608916090160911609216093160941609516096160971609816099161001610116102161031610416105161061610716108161091611016111161121611316114161151611616117161181611916120161211612216123161241612516126161271612816129161301613116132161331613416135161361613716138161391614016141161421614316144161451614616147161481614916150161511615216153161541615516156161571615816159161601616116162161631616416165161661616716168161691617016171161721617316174161751617616177161781617916180161811618216183161841618516186161871618816189161901619116192161931619416195161961619716198161991620016201162021620316204162051620616207162081620916210162111621216213162141621516216162171621816219162201622116222162231622416225162261622716228162291623016231162321623316234162351623616237162381623916240162411624216243162441624516246162471624816249162501625116252162531625416255162561625716258162591626016261162621626316264162651626616267162681626916270162711627216273162741627516276162771627816279162801628116282162831628416285162861628716288162891629016291162921629316294162951629616297162981629916300163011630216303163041630516306163071630816309163101631116312163131631416315163161631716318163191632016321163221632316324163251632616327163281632916330163311633216333163341633516336163371633816339163401634116342163431634416345163461634716348163491635016351163521635316354163551635616357163581635916360163611636216363163641636516366163671636816369163701637116372163731637416375163761637716378163791638016381163821638316384163851638616387163881638916390163911639216393163941639516396163971639816399164001640116402164031640416405164061640716408164091641016411164121641316414164151641616417164181641916420164211642216423164241642516426164271642816429164301643116432164331643416435164361643716438164391644016441164421644316444164451644616447164481644916450164511645216453164541645516456164571645816459164601646116462164631646416465164661646716468164691647016471164721647316474164751647616477164781647916480164811648216483164841648516486164871648816489164901649116492164931649416495164961649716498164991650016501165021650316504165051650616507165081650916510165111651216513165141651516516165171651816519165201652116522165231652416525165261652716528165291653016531165321653316534165351653616537165381653916540165411654216543165441654516546165471654816549165501655116552165531655416555165561655716558165591656016561165621656316564165651656616567165681656916570165711657216573165741657516576165771657816579165801658116582165831658416585165861658716588165891659016591165921659316594165951659616597165981659916600166011660216603166041660516606166071660816609166101661116612166131661416615166161661716618166191662016621166221662316624166251662616627166281662916630166311663216633166341663516636166371663816639166401664116642166431664416645166461664716648166491665016651166521665316654166551665616657166581665916660166611666216663166641666516666166671666816669166701667116672166731667416675166761667716678166791668016681166821668316684166851668616687166881668916690166911669216693166941669516696166971669816699167001670116702167031670416705167061670716708167091671016711167121671316714167151671616717167181671916720167211672216723167241672516726167271672816729167301673116732167331673416735167361673716738167391674016741167421674316744167451674616747167481674916750167511675216753167541675516756167571675816759167601676116762167631676416765167661676716768167691677016771167721677316774167751677616777167781677916780167811678216783167841678516786167871678816789167901679116792167931679416795167961679716798167991680016801168021680316804168051680616807168081680916810168111681216813168141681516816168171681816819168201682116822168231682416825168261682716828168291683016831168321683316834168351683616837168381683916840168411684216843168441684516846168471684816849168501685116852168531685416855168561685716858168591686016861168621686316864168651686616867168681686916870168711687216873168741687516876168771687816879168801688116882168831688416885168861688716888168891689016891168921689316894168951689616897168981689916900169011690216903169041690516906169071690816909169101691116912169131691416915169161691716918169191692016921169221692316924169251692616927169281692916930169311693216933169341693516936169371693816939169401694116942169431694416945169461694716948169491695016951169521695316954169551695616957169581695916960169611696216963169641696516966169671696816969169701697116972169731697416975169761697716978169791698016981169821698316984169851698616987169881698916990169911699216993169941699516996169971699816999170001700117002170031700417005170061700717008170091701017011170121701317014170151701617017170181701917020170211702217023170241702517026170271702817029170301703117032170331703417035170361703717038170391704017041170421704317044170451704617047170481704917050170511705217053170541705517056170571705817059170601706117062170631706417065170661706717068170691707017071170721707317074170751707617077170781707917080170811708217083170841708517086170871708817089170901709117092170931709417095170961709717098170991710017101171021710317104171051710617107171081710917110171111711217113171141711517116171171711817119171201712117122171231712417125171261712717128171291713017131171321713317134171351713617137171381713917140171411714217143171441714517146171471714817149171501715117152171531715417155171561715717158171591716017161171621716317164171651716617167171681716917170171711717217173171741717517176171771717817179171801718117182171831718417185171861718717188171891719017191171921719317194171951719617197171981719917200172011720217203172041720517206172071720817209172101721117212172131721417215172161721717218172191722017221172221722317224172251722617227172281722917230172311723217233172341723517236172371723817239172401724117242172431724417245172461724717248172491725017251172521725317254172551725617257172581725917260172611726217263172641726517266172671726817269172701727117272172731727417275172761727717278172791728017281172821728317284172851728617287172881728917290172911729217293172941729517296172971729817299173001730117302173031730417305173061730717308173091731017311173121731317314173151731617317173181731917320173211732217323173241732517326173271732817329173301733117332173331733417335173361733717338173391734017341173421734317344173451734617347173481734917350173511735217353173541735517356173571735817359173601736117362173631736417365173661736717368173691737017371173721737317374173751737617377173781737917380173811738217383173841738517386173871738817389173901739117392173931739417395173961739717398173991740017401174021740317404174051740617407174081740917410174111741217413174141741517416174171741817419174201742117422174231742417425174261742717428174291743017431174321743317434174351743617437174381743917440174411744217443174441744517446174471744817449174501745117452174531745417455174561745717458174591746017461174621746317464174651746617467174681746917470174711747217473174741747517476174771747817479174801748117482174831748417485174861748717488174891749017491174921749317494174951749617497174981749917500175011750217503175041750517506175071750817509175101751117512175131751417515175161751717518175191752017521175221752317524175251752617527175281752917530175311753217533175341753517536175371753817539175401754117542175431754417545175461754717548175491755017551175521755317554175551755617557175581755917560175611756217563175641756517566175671756817569175701757117572175731757417575175761757717578175791758017581175821758317584175851758617587175881758917590175911759217593175941759517596175971759817599176001760117602176031760417605176061760717608176091761017611176121761317614176151761617617176181761917620176211762217623176241762517626176271762817629176301763117632176331763417635176361763717638176391764017641176421764317644176451764617647176481764917650176511765217653176541765517656176571765817659176601766117662176631766417665176661766717668176691767017671176721767317674176751767617677176781767917680176811768217683176841768517686176871768817689176901769117692176931769417695176961769717698176991770017701177021770317704177051770617707177081770917710177111771217713177141771517716177171771817719177201772117722177231772417725177261772717728177291773017731177321773317734177351773617737177381773917740177411774217743177441774517746177471774817749177501775117752177531775417755177561775717758177591776017761177621776317764177651776617767177681776917770177711777217773177741777517776177771777817779177801778117782177831778417785177861778717788177891779017791177921779317794177951779617797177981779917800178011780217803178041780517806178071780817809178101781117812178131781417815178161781717818178191782017821178221782317824178251782617827178281782917830178311783217833178341783517836178371783817839178401784117842178431784417845178461784717848178491785017851178521785317854178551785617857178581785917860178611786217863178641786517866178671786817869178701787117872178731787417875178761787717878178791788017881178821788317884178851788617887178881788917890178911789217893178941789517896178971789817899179001790117902179031790417905179061790717908179091791017911179121791317914179151791617917179181791917920179211792217923179241792517926179271792817929179301793117932179331793417935179361793717938179391794017941179421794317944179451794617947179481794917950179511795217953179541795517956179571795817959179601796117962179631796417965179661796717968179691797017971179721797317974179751797617977179781797917980179811798217983179841798517986179871798817989179901799117992179931799417995179961799717998179991800018001180021800318004180051800618007180081800918010180111801218013180141801518016180171801818019180201802118022180231802418025180261802718028180291803018031180321803318034180351803618037180381803918040180411804218043180441804518046180471804818049180501805118052180531805418055180561805718058180591806018061180621806318064180651806618067180681806918070180711807218073180741807518076180771807818079180801808118082180831808418085180861808718088180891809018091180921809318094180951809618097180981809918100181011810218103181041810518106181071810818109181101811118112181131811418115181161811718118181191812018121181221812318124181251812618127181281812918130181311813218133181341813518136181371813818139181401814118142181431814418145181461814718148181491815018151181521815318154181551815618157181581815918160181611816218163181641816518166181671816818169181701817118172181731817418175181761817718178181791818018181181821818318184181851818618187181881818918190181911819218193181941819518196181971819818199182001820118202182031820418205182061820718208182091821018211182121821318214182151821618217182181821918220182211822218223182241822518226182271822818229182301823118232182331823418235182361823718238182391824018241182421824318244182451824618247182481824918250182511825218253182541825518256182571825818259182601826118262182631826418265182661826718268182691827018271182721827318274182751827618277182781827918280182811828218283182841828518286182871828818289182901829118292182931829418295182961829718298182991830018301183021830318304183051830618307183081830918310183111831218313183141831518316183171831818319183201832118322183231832418325183261832718328183291833018331183321833318334183351833618337183381833918340183411834218343183441834518346183471834818349183501835118352183531835418355183561835718358183591836018361183621836318364183651836618367183681836918370183711837218373183741837518376183771837818379183801838118382183831838418385183861838718388183891839018391183921839318394183951839618397183981839918400184011840218403184041840518406184071840818409184101841118412184131841418415184161841718418184191842018421184221842318424184251842618427184281842918430184311843218433184341843518436184371843818439184401844118442184431844418445184461844718448184491845018451184521845318454184551845618457184581845918460184611846218463184641846518466184671846818469184701847118472184731847418475184761847718478184791848018481184821848318484184851848618487184881848918490184911849218493184941849518496184971849818499185001850118502185031850418505185061850718508185091851018511185121851318514185151851618517185181851918520185211852218523185241852518526185271852818529185301853118532185331853418535185361853718538185391854018541185421854318544185451854618547185481854918550185511855218553185541855518556185571855818559185601856118562185631856418565185661856718568185691857018571185721857318574185751857618577185781857918580185811858218583185841858518586185871858818589185901859118592185931859418595185961859718598185991860018601186021860318604186051860618607186081860918610186111861218613186141861518616186171861818619186201862118622186231862418625186261862718628186291863018631186321863318634186351863618637186381863918640186411864218643186441864518646186471864818649186501865118652186531865418655186561865718658186591866018661186621866318664186651866618667186681866918670186711867218673186741867518676186771867818679186801868118682186831868418685186861868718688186891869018691186921869318694186951869618697186981869918700187011870218703187041870518706187071870818709187101871118712187131871418715187161871718718187191872018721187221872318724187251872618727187281872918730187311873218733187341873518736187371873818739187401874118742187431874418745187461874718748187491875018751187521875318754187551875618757187581875918760187611876218763187641876518766187671876818769187701877118772187731877418775187761877718778187791878018781187821878318784187851878618787187881878918790187911879218793187941879518796187971879818799188001880118802188031880418805188061880718808188091881018811188121881318814188151881618817188181881918820188211882218823188241882518826188271882818829188301883118832188331883418835188361883718838188391884018841188421884318844188451884618847188481884918850188511885218853188541885518856188571885818859188601886118862188631886418865188661886718868188691887018871188721887318874188751887618877188781887918880188811888218883188841888518886188871888818889188901889118892188931889418895188961889718898188991890018901189021890318904189051890618907189081890918910189111891218913189141891518916189171891818919189201892118922189231892418925189261892718928189291893018931189321893318934189351893618937189381893918940189411894218943189441894518946189471894818949189501895118952189531895418955189561895718958189591896018961189621896318964189651896618967189681896918970189711897218973189741897518976189771897818979189801898118982189831898418985189861898718988189891899018991189921899318994189951899618997189981899919000190011900219003190041900519006190071900819009190101901119012190131901419015190161901719018190191902019021190221902319024190251902619027190281902919030190311903219033190341903519036190371903819039190401904119042190431904419045190461904719048190491905019051190521905319054190551905619057190581905919060190611906219063190641906519066190671906819069190701907119072190731907419075190761907719078190791908019081190821908319084190851908619087190881908919090190911909219093190941909519096190971909819099191001910119102191031910419105191061910719108191091911019111191121911319114191151911619117191181911919120191211912219123191241912519126191271912819129191301913119132191331913419135191361913719138191391914019141191421914319144191451914619147191481914919150191511915219153191541915519156191571915819159191601916119162191631916419165191661916719168191691917019171191721917319174191751917619177191781917919180191811918219183191841918519186191871918819189191901919119192191931919419195191961919719198191991920019201192021920319204192051920619207192081920919210192111921219213192141921519216192171921819219192201922119222192231922419225192261922719228192291923019231192321923319234192351923619237192381923919240192411924219243192441924519246192471924819249192501925119252192531925419255192561925719258192591926019261192621926319264192651926619267192681926919270192711927219273192741927519276192771927819279192801928119282192831928419285192861928719288192891929019291192921929319294192951929619297192981929919300193011930219303193041930519306193071930819309193101931119312193131931419315193161931719318193191932019321193221932319324193251932619327193281932919330193311933219333193341933519336193371933819339193401934119342193431934419345193461934719348193491935019351193521935319354193551935619357193581935919360193611936219363193641936519366193671936819369193701937119372193731937419375193761937719378193791938019381193821938319384193851938619387193881938919390193911939219393193941939519396193971939819399194001940119402194031940419405194061940719408194091941019411194121941319414194151941619417194181941919420194211942219423194241942519426194271942819429194301943119432194331943419435194361943719438194391944019441194421944319444194451944619447194481944919450194511945219453194541945519456194571945819459194601946119462194631946419465194661946719468194691947019471194721947319474194751947619477194781947919480194811948219483194841948519486194871948819489194901949119492194931949419495194961949719498194991950019501195021950319504195051950619507195081950919510195111951219513195141951519516195171951819519195201952119522195231952419525195261952719528195291953019531195321953319534195351953619537195381953919540195411954219543195441954519546195471954819549195501955119552195531955419555195561955719558195591956019561195621956319564195651956619567195681956919570195711957219573195741957519576195771957819579195801958119582195831958419585195861958719588195891959019591195921959319594195951959619597195981959919600196011960219603196041960519606196071960819609196101961119612196131961419615196161961719618196191962019621196221962319624196251962619627196281962919630196311963219633196341963519636196371963819639196401964119642196431964419645196461964719648196491965019651196521965319654196551965619657196581965919660196611966219663196641966519666196671966819669196701967119672196731967419675196761967719678196791968019681196821968319684196851968619687196881968919690196911969219693196941969519696196971969819699197001970119702197031970419705197061970719708197091971019711197121971319714197151971619717197181971919720197211972219723197241972519726197271972819729197301973119732197331973419735197361973719738197391974019741197421974319744197451974619747197481974919750197511975219753197541975519756197571975819759197601976119762197631976419765197661976719768197691977019771197721977319774197751977619777197781977919780197811978219783197841978519786197871978819789197901979119792197931979419795197961979719798197991980019801198021980319804198051980619807198081980919810198111981219813198141981519816198171981819819198201982119822198231982419825198261982719828198291983019831198321983319834198351983619837198381983919840198411984219843198441984519846198471984819849198501985119852198531985419855198561985719858198591986019861198621986319864198651986619867198681986919870198711987219873198741987519876198771987819879198801988119882198831988419885198861988719888198891989019891198921989319894198951989619897198981989919900199011990219903199041990519906199071990819909199101991119912199131991419915199161991719918199191992019921199221992319924199251992619927199281992919930199311993219933199341993519936199371993819939199401994119942199431994419945199461994719948199491995019951199521995319954199551995619957199581995919960199611996219963199641996519966199671996819969199701997119972199731997419975199761997719978199791998019981199821998319984199851998619987199881998919990199911999219993199941999519996199971999819999200002000120002200032000420005200062000720008200092001020011200122001320014200152001620017200182001920020200212002220023200242002520026200272002820029200302003120032200332003420035200362003720038200392004020041200422004320044200452004620047200482004920050200512005220053200542005520056200572005820059200602006120062200632006420065200662006720068200692007020071200722007320074200752007620077200782007920080200812008220083200842008520086200872008820089200902009120092200932009420095200962009720098200992010020101201022010320104201052010620107201082010920110201112011220113201142011520116201172011820119201202012120122201232012420125201262012720128201292013020131201322013320134201352013620137201382013920140201412014220143201442014520146201472014820149201502015120152201532015420155201562015720158201592016020161201622016320164201652016620167201682016920170201712017220173201742017520176201772017820179201802018120182201832018420185201862018720188201892019020191201922019320194201952019620197201982019920200202012020220203202042020520206202072020820209202102021120212202132021420215202162021720218202192022020221202222022320224202252022620227202282022920230202312023220233202342023520236202372023820239202402024120242202432024420245202462024720248202492025020251202522025320254202552025620257202582025920260202612026220263202642026520266202672026820269202702027120272202732027420275202762027720278202792028020281202822028320284202852028620287202882028920290202912029220293202942029520296202972029820299203002030120302203032030420305203062030720308203092031020311203122031320314203152031620317203182031920320203212032220323203242032520326203272032820329203302033120332203332033420335203362033720338203392034020341203422034320344203452034620347203482034920350203512035220353203542035520356203572035820359203602036120362203632036420365203662036720368203692037020371203722037320374203752037620377203782037920380203812038220383203842038520386203872038820389203902039120392203932039420395203962039720398203992040020401204022040320404204052040620407204082040920410204112041220413204142041520416204172041820419204202042120422204232042420425204262042720428204292043020431204322043320434204352043620437204382043920440204412044220443204442044520446204472044820449204502045120452204532045420455204562045720458204592046020461204622046320464204652046620467204682046920470204712047220473204742047520476204772047820479204802048120482204832048420485204862048720488204892049020491204922049320494204952049620497204982049920500205012050220503205042050520506205072050820509205102051120512205132051420515205162051720518205192052020521205222052320524205252052620527205282052920530205312053220533205342053520536205372053820539205402054120542205432054420545205462054720548205492055020551205522055320554205552055620557205582055920560205612056220563205642056520566205672056820569205702057120572205732057420575205762057720578205792058020581205822058320584205852058620587205882058920590205912059220593205942059520596205972059820599206002060120602206032060420605206062060720608206092061020611206122061320614206152061620617206182061920620206212062220623206242062520626206272062820629206302063120632206332063420635206362063720638206392064020641206422064320644206452064620647206482064920650206512065220653206542065520656206572065820659206602066120662206632066420665206662066720668206692067020671206722067320674206752067620677206782067920680206812068220683206842068520686206872068820689206902069120692206932069420695206962069720698206992070020701207022070320704207052070620707207082070920710207112071220713207142071520716207172071820719207202072120722207232072420725207262072720728207292073020731207322073320734207352073620737207382073920740207412074220743207442074520746207472074820749207502075120752207532075420755207562075720758207592076020761207622076320764207652076620767207682076920770207712077220773207742077520776207772077820779207802078120782207832078420785207862078720788207892079020791207922079320794207952079620797207982079920800208012080220803208042080520806208072080820809208102081120812208132081420815208162081720818208192082020821208222082320824208252082620827208282082920830208312083220833208342083520836208372083820839208402084120842208432084420845208462084720848208492085020851208522085320854208552085620857208582085920860208612086220863208642086520866208672086820869208702087120872208732087420875208762087720878208792088020881208822088320884208852088620887208882088920890208912089220893208942089520896208972089820899209002090120902209032090420905209062090720908209092091020911209122091320914209152091620917209182091920920209212092220923209242092520926209272092820929209302093120932209332093420935209362093720938209392094020941209422094320944209452094620947209482094920950209512095220953209542095520956209572095820959209602096120962209632096420965209662096720968209692097020971209722097320974209752097620977209782097920980209812098220983209842098520986209872098820989209902099120992209932099420995209962099720998209992100021001210022100321004210052100621007210082100921010210112101221013210142101521016210172101821019210202102121022210232102421025210262102721028210292103021031210322103321034210352103621037210382103921040210412104221043210442104521046210472104821049210502105121052210532105421055210562105721058210592106021061210622106321064210652106621067210682106921070210712107221073210742107521076210772107821079210802108121082210832108421085210862108721088210892109021091210922109321094210952109621097210982109921100211012110221103211042110521106211072110821109211102111121112211132111421115211162111721118211192112021121211222112321124211252112621127211282112921130211312113221133211342113521136211372113821139211402114121142211432114421145211462114721148211492115021151211522115321154211552115621157211582115921160211612116221163211642116521166211672116821169211702117121172211732117421175211762117721178211792118021181211822118321184211852118621187211882118921190211912119221193211942119521196211972119821199212002120121202212032120421205212062120721208212092121021211212122121321214212152121621217212182121921220212212122221223212242122521226212272122821229212302123121232212332123421235212362123721238212392124021241212422124321244212452124621247212482124921250212512125221253212542125521256212572125821259212602126121262212632126421265212662126721268212692127021271212722127321274212752127621277212782127921280212812128221283212842128521286212872128821289212902129121292212932129421295212962129721298212992130021301213022130321304213052130621307213082130921310213112131221313213142131521316213172131821319213202132121322213232132421325213262132721328213292133021331213322133321334213352133621337213382133921340213412134221343213442134521346213472134821349213502135121352213532135421355213562135721358213592136021361213622136321364213652136621367213682136921370213712137221373213742137521376213772137821379213802138121382213832138421385213862138721388213892139021391213922139321394213952139621397213982139921400214012140221403214042140521406214072140821409214102141121412214132141421415214162141721418214192142021421214222142321424214252142621427214282142921430214312143221433214342143521436214372143821439214402144121442214432144421445214462144721448214492145021451214522145321454214552145621457214582145921460214612146221463214642146521466214672146821469214702147121472214732147421475214762147721478214792148021481214822148321484214852148621487214882148921490214912149221493214942149521496214972149821499215002150121502215032150421505215062150721508215092151021511215122151321514215152151621517215182151921520215212152221523215242152521526215272152821529215302153121532215332153421535215362153721538215392154021541215422154321544215452154621547215482154921550215512155221553215542155521556215572155821559215602156121562215632156421565215662156721568215692157021571215722157321574215752157621577215782157921580215812158221583215842158521586215872158821589215902159121592215932159421595215962159721598215992160021601216022160321604216052160621607216082160921610216112161221613216142161521616216172161821619216202162121622216232162421625216262162721628216292163021631216322163321634216352163621637216382163921640216412164221643216442164521646216472164821649216502165121652216532165421655216562165721658216592166021661216622166321664216652166621667216682166921670216712167221673216742167521676216772167821679216802168121682216832168421685216862168721688216892169021691216922169321694216952169621697216982169921700217012170221703217042170521706217072170821709217102171121712217132171421715217162171721718217192172021721217222172321724217252172621727217282172921730217312173221733217342173521736217372173821739217402174121742217432174421745217462174721748217492175021751217522175321754217552175621757217582175921760217612176221763217642176521766217672176821769217702177121772217732177421775217762177721778217792178021781217822178321784217852178621787217882178921790217912179221793217942179521796217972179821799218002180121802218032180421805218062180721808218092181021811218122181321814218152181621817218182181921820218212182221823218242182521826218272182821829218302183121832218332183421835218362183721838218392184021841218422184321844218452184621847218482184921850218512185221853218542185521856218572185821859218602186121862218632186421865218662186721868218692187021871218722187321874218752187621877218782187921880218812188221883218842188521886218872188821889218902189121892218932189421895218962189721898218992190021901219022190321904219052190621907219082190921910219112191221913219142191521916219172191821919219202192121922219232192421925219262192721928219292193021931219322193321934219352193621937219382193921940219412194221943219442194521946219472194821949219502195121952219532195421955219562195721958219592196021961219622196321964219652196621967219682196921970219712197221973219742197521976219772197821979219802198121982219832198421985219862198721988219892199021991219922199321994219952199621997219982199922000220012200222003220042200522006220072200822009220102201122012220132201422015220162201722018220192202022021220222202322024220252202622027220282202922030220312203222033220342203522036220372203822039220402204122042220432204422045220462204722048220492205022051220522205322054220552205622057220582205922060220612206222063220642206522066220672206822069220702207122072220732207422075220762207722078220792208022081220822208322084220852208622087220882208922090220912209222093220942209522096220972209822099221002210122102221032210422105221062210722108221092211022111221122211322114221152211622117221182211922120221212212222123221242212522126221272212822129221302213122132221332213422135221362213722138221392214022141221422214322144221452214622147221482214922150221512215222153221542215522156221572215822159221602216122162221632216422165221662216722168221692217022171221722217322174221752217622177221782217922180221812218222183221842218522186221872218822189221902219122192221932219422195221962219722198221992220022201222022220322204222052220622207222082220922210222112221222213222142221522216222172221822219222202222122222222232222422225222262222722228222292223022231222322223322234222352223622237222382223922240222412224222243222442224522246222472224822249222502225122252222532225422255222562225722258222592226022261222622226322264222652226622267222682226922270222712227222273222742227522276222772227822279222802228122282222832228422285222862228722288222892229022291222922229322294222952229622297222982229922300223012230222303223042230522306223072230822309223102231122312223132231422315223162231722318223192232022321223222232322324223252232622327223282232922330223312233222333223342233522336223372233822339223402234122342223432234422345223462234722348223492235022351223522235322354223552235622357223582235922360223612236222363223642236522366223672236822369223702237122372223732237422375223762237722378223792238022381223822238322384223852238622387223882238922390223912239222393223942239522396223972239822399224002240122402224032240422405224062240722408224092241022411224122241322414224152241622417224182241922420224212242222423224242242522426224272242822429224302243122432224332243422435224362243722438224392244022441224422244322444224452244622447224482244922450224512245222453224542245522456224572245822459224602246122462224632246422465224662246722468224692247022471224722247322474224752247622477224782247922480224812248222483224842248522486224872248822489224902249122492224932249422495224962249722498224992250022501225022250322504225052250622507225082250922510225112251222513225142251522516225172251822519225202252122522225232252422525225262252722528225292253022531225322253322534225352253622537225382253922540225412254222543225442254522546225472254822549225502255122552225532255422555225562255722558225592256022561225622256322564225652256622567225682256922570225712257222573225742257522576225772257822579225802258122582225832258422585225862258722588225892259022591225922259322594225952259622597225982259922600226012260222603226042260522606226072260822609226102261122612226132261422615226162261722618226192262022621226222262322624226252262622627226282262922630226312263222633226342263522636226372263822639226402264122642226432264422645226462264722648226492265022651226522265322654226552265622657226582265922660226612266222663226642266522666226672266822669226702267122672226732267422675226762267722678226792268022681226822268322684226852268622687226882268922690226912269222693226942269522696226972269822699227002270122702227032270422705227062270722708227092271022711227122271322714227152271622717227182271922720227212272222723227242272522726227272272822729227302273122732227332273422735227362273722738227392274022741227422274322744227452274622747227482274922750227512275222753227542275522756227572275822759227602276122762227632276422765227662276722768227692277022771227722277322774227752277622777227782277922780227812278222783227842278522786227872278822789227902279122792227932279422795227962279722798227992280022801228022280322804228052280622807228082280922810228112281222813228142281522816228172281822819228202282122822228232282422825228262282722828228292283022831228322283322834228352283622837228382283922840228412284222843228442284522846228472284822849228502285122852228532285422855228562285722858228592286022861228622286322864228652286622867228682286922870228712287222873228742287522876228772287822879228802288122882228832288422885228862288722888228892289022891228922289322894228952289622897228982289922900229012290222903229042290522906229072290822909229102291122912229132291422915229162291722918229192292022921229222292322924229252292622927229282292922930229312293222933229342293522936229372293822939229402294122942229432294422945229462294722948229492295022951229522295322954229552295622957229582295922960229612296222963229642296522966229672296822969229702297122972229732297422975229762297722978229792298022981229822298322984229852298622987229882298922990229912299222993229942299522996229972299822999230002300123002230032300423005230062300723008230092301023011230122301323014230152301623017230182301923020230212302223023230242302523026230272302823029230302303123032230332303423035230362303723038230392304023041230422304323044230452304623047230482304923050230512305223053230542305523056230572305823059230602306123062230632306423065230662306723068230692307023071230722307323074230752307623077230782307923080230812308223083230842308523086230872308823089230902309123092230932309423095230962309723098230992310023101231022310323104231052310623107231082310923110231112311223113231142311523116231172311823119231202312123122231232312423125231262312723128231292313023131231322313323134231352313623137231382313923140231412314223143231442314523146231472314823149231502315123152231532315423155231562315723158231592316023161231622316323164231652316623167231682316923170231712317223173231742317523176231772317823179231802318123182231832318423185231862318723188231892319023191231922319323194231952319623197231982319923200232012320223203232042320523206232072320823209232102321123212232132321423215232162321723218232192322023221232222322323224232252322623227232282322923230232312323223233232342323523236232372323823239232402324123242232432324423245232462324723248232492325023251232522325323254232552325623257232582325923260232612326223263232642326523266232672326823269232702327123272232732327423275232762327723278232792328023281232822328323284232852328623287232882328923290232912329223293232942329523296232972329823299233002330123302233032330423305233062330723308233092331023311233122331323314233152331623317233182331923320233212332223323233242332523326233272332823329233302333123332233332333423335233362333723338233392334023341233422334323344233452334623347233482334923350233512335223353233542335523356233572335823359233602336123362233632336423365233662336723368233692337023371233722337323374233752337623377233782337923380233812338223383233842338523386233872338823389233902339123392233932339423395233962339723398233992340023401234022340323404234052340623407234082340923410234112341223413234142341523416234172341823419234202342123422234232342423425234262342723428234292343023431234322343323434234352343623437234382343923440234412344223443234442344523446234472344823449234502345123452234532345423455234562345723458234592346023461234622346323464234652346623467234682346923470234712347223473234742347523476234772347823479234802348123482234832348423485234862348723488234892349023491234922349323494234952349623497234982349923500235012350223503235042350523506235072350823509235102351123512235132351423515235162351723518235192352023521235222352323524235252352623527235282352923530235312353223533235342353523536235372353823539235402354123542235432354423545235462354723548235492355023551235522355323554235552355623557235582355923560235612356223563235642356523566235672356823569235702357123572235732357423575235762357723578235792358023581235822358323584235852358623587235882358923590235912359223593235942359523596235972359823599236002360123602236032360423605236062360723608236092361023611236122361323614236152361623617236182361923620236212362223623236242362523626236272362823629236302363123632236332363423635236362363723638236392364023641236422364323644236452364623647236482364923650236512365223653236542365523656236572365823659236602366123662236632366423665236662366723668236692367023671236722367323674236752367623677236782367923680236812368223683236842368523686236872368823689236902369123692236932369423695236962369723698236992370023701237022370323704237052370623707237082370923710237112371223713237142371523716237172371823719237202372123722237232372423725237262372723728237292373023731237322373323734237352373623737237382373923740237412374223743237442374523746237472374823749237502375123752237532375423755237562375723758237592376023761237622376323764237652376623767237682376923770237712377223773237742377523776237772377823779237802378123782237832378423785237862378723788237892379023791237922379323794237952379623797237982379923800238012380223803238042380523806238072380823809238102381123812238132381423815238162381723818238192382023821238222382323824238252382623827238282382923830238312383223833238342383523836238372383823839238402384123842238432384423845238462384723848238492385023851238522385323854238552385623857238582385923860238612386223863238642386523866238672386823869238702387123872238732387423875238762387723878238792388023881238822388323884238852388623887238882388923890238912389223893238942389523896238972389823899239002390123902239032390423905239062390723908239092391023911239122391323914239152391623917239182391923920239212392223923239242392523926239272392823929239302393123932239332393423935239362393723938239392394023941239422394323944239452394623947239482394923950239512395223953239542395523956239572395823959239602396123962239632396423965239662396723968239692397023971239722397323974239752397623977239782397923980239812398223983239842398523986239872398823989239902399123992239932399423995239962399723998239992400024001240022400324004240052400624007240082400924010240112401224013240142401524016240172401824019240202402124022240232402424025240262402724028240292403024031240322403324034240352403624037240382403924040240412404224043240442404524046240472404824049240502405124052240532405424055240562405724058240592406024061240622406324064240652406624067240682406924070240712407224073240742407524076240772407824079240802408124082240832408424085240862408724088240892409024091240922409324094240952409624097240982409924100241012410224103241042410524106241072410824109241102411124112241132411424115241162411724118241192412024121241222412324124241252412624127241282412924130241312413224133241342413524136241372413824139241402414124142241432414424145241462414724148241492415024151241522415324154241552415624157241582415924160241612416224163241642416524166241672416824169241702417124172241732417424175241762417724178241792418024181241822418324184241852418624187241882418924190241912419224193241942419524196241972419824199242002420124202242032420424205242062420724208242092421024211242122421324214242152421624217242182421924220242212422224223242242422524226242272422824229242302423124232242332423424235242362423724238242392424024241242422424324244242452424624247242482424924250242512425224253242542425524256242572425824259242602426124262242632426424265242662426724268242692427024271242722427324274242752427624277242782427924280242812428224283242842428524286242872428824289242902429124292242932429424295242962429724298242992430024301243022430324304243052430624307243082430924310243112431224313243142431524316243172431824319243202432124322243232432424325243262432724328243292433024331243322433324334243352433624337243382433924340243412434224343243442434524346243472434824349
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.63.
  4. #
  5. # Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  6. # 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  7. # This configure script is free software; the Free Software Foundation
  8. # gives unlimited permission to copy, distribute and modify it.
  9. ## --------------------- ##
  10. ## M4sh Initialization. ##
  11. ## --------------------- ##
  12. # Be more Bourne compatible
  13. DUALCASE=1; export DUALCASE # for MKS sh
  14. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  15. emulate sh
  16. NULLCMD=:
  17. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  18. # is contrary to our usage. Disable this feature.
  19. alias -g '${1+"$@"}'='"$@"'
  20. setopt NO_GLOB_SUBST
  21. else
  22. case `(set -o) 2>/dev/null` in
  23. *posix*) set -o posix ;;
  24. esac
  25. fi
  26. # PATH needs CR
  27. # Avoid depending upon Character Ranges.
  28. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  29. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  30. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  31. as_cr_digits='0123456789'
  32. as_cr_alnum=$as_cr_Letters$as_cr_digits
  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. if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  41. as_echo='printf %s\n'
  42. as_echo_n='printf %s'
  43. else
  44. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  45. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  46. as_echo_n='/usr/ucb/echo -n'
  47. else
  48. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  49. as_echo_n_body='eval
  50. arg=$1;
  51. case $arg in
  52. *"$as_nl"*)
  53. expr "X$arg" : "X\\(.*\\)$as_nl";
  54. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  55. esac;
  56. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  57. '
  58. export as_echo_n_body
  59. as_echo_n='sh -c $as_echo_n_body as_echo'
  60. fi
  61. export as_echo_body
  62. as_echo='sh -c $as_echo_body as_echo'
  63. fi
  64. # The user is always right.
  65. if test "${PATH_SEPARATOR+set}" != set; then
  66. PATH_SEPARATOR=:
  67. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  68. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  69. PATH_SEPARATOR=';'
  70. }
  71. fi
  72. # Support unset when possible.
  73. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  74. as_unset=unset
  75. else
  76. as_unset=false
  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. case $0 in
  86. *[\\/]* ) as_myself=$0 ;;
  87. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  88. for as_dir in $PATH
  89. do
  90. IFS=$as_save_IFS
  91. test -z "$as_dir" && as_dir=.
  92. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  93. done
  94. IFS=$as_save_IFS
  95. ;;
  96. esac
  97. # We did not find ourselves, most probably we were run as `sh COMMAND'
  98. # in which case we are not to be found in the path.
  99. if test "x$as_myself" = x; then
  100. as_myself=$0
  101. fi
  102. if test ! -f "$as_myself"; then
  103. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  104. { (exit 1); exit 1; }
  105. fi
  106. # Work around bugs in pre-3.0 UWIN ksh.
  107. for as_var in ENV MAIL MAILPATH
  108. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  109. done
  110. PS1='$ '
  111. PS2='> '
  112. PS4='+ '
  113. # NLS nuisances.
  114. LC_ALL=C
  115. export LC_ALL
  116. LANGUAGE=C
  117. export LANGUAGE
  118. # Required to use basename.
  119. if expr a : '\(a\)' >/dev/null 2>&1 &&
  120. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  121. as_expr=expr
  122. else
  123. as_expr=false
  124. fi
  125. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  126. as_basename=basename
  127. else
  128. as_basename=false
  129. fi
  130. # Name of the executable.
  131. as_me=`$as_basename -- "$0" ||
  132. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  133. X"$0" : 'X\(//\)$' \| \
  134. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  135. $as_echo X/"$0" |
  136. sed '/^.*\/\([^/][^/]*\)\/*$/{
  137. s//\1/
  138. q
  139. }
  140. /^X\/\(\/\/\)$/{
  141. s//\1/
  142. q
  143. }
  144. /^X\/\(\/\).*/{
  145. s//\1/
  146. q
  147. }
  148. s/.*/./; q'`
  149. # CDPATH.
  150. $as_unset CDPATH
  151. if test "x$CONFIG_SHELL" = x; then
  152. if (eval ":") 2>/dev/null; then
  153. as_have_required=yes
  154. else
  155. as_have_required=no
  156. fi
  157. if test $as_have_required = yes && (eval ":
  158. (as_func_return () {
  159. (exit \$1)
  160. }
  161. as_func_success () {
  162. as_func_return 0
  163. }
  164. as_func_failure () {
  165. as_func_return 1
  166. }
  167. as_func_ret_success () {
  168. return 0
  169. }
  170. as_func_ret_failure () {
  171. return 1
  172. }
  173. exitcode=0
  174. if as_func_success; then
  175. :
  176. else
  177. exitcode=1
  178. echo as_func_success failed.
  179. fi
  180. if as_func_failure; then
  181. exitcode=1
  182. echo as_func_failure succeeded.
  183. fi
  184. if as_func_ret_success; then
  185. :
  186. else
  187. exitcode=1
  188. echo as_func_ret_success failed.
  189. fi
  190. if as_func_ret_failure; then
  191. exitcode=1
  192. echo as_func_ret_failure succeeded.
  193. fi
  194. if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  195. :
  196. else
  197. exitcode=1
  198. echo positional parameters were not saved.
  199. fi
  200. test \$exitcode = 0) || { (exit 1); exit 1; }
  201. (
  202. as_lineno_1=\$LINENO
  203. as_lineno_2=\$LINENO
  204. test \"x\$as_lineno_1\" != \"x\$as_lineno_2\" &&
  205. test \"x\`expr \$as_lineno_1 + 1\`\" = \"x\$as_lineno_2\") || { (exit 1); exit 1; }
  206. ") 2> /dev/null; then
  207. :
  208. else
  209. as_candidate_shells=
  210. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  211. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  212. do
  213. IFS=$as_save_IFS
  214. test -z "$as_dir" && as_dir=.
  215. case $as_dir in
  216. /*)
  217. for as_base in sh bash ksh sh5; do
  218. as_candidate_shells="$as_candidate_shells $as_dir/$as_base"
  219. done;;
  220. esac
  221. done
  222. IFS=$as_save_IFS
  223. for as_shell in $as_candidate_shells $SHELL; do
  224. # Try only shells that exist, to save several forks.
  225. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  226. { ("$as_shell") 2> /dev/null <<\_ASEOF
  227. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  228. emulate sh
  229. NULLCMD=:
  230. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  231. # is contrary to our usage. Disable this feature.
  232. alias -g '${1+"$@"}'='"$@"'
  233. setopt NO_GLOB_SUBST
  234. else
  235. case `(set -o) 2>/dev/null` in
  236. *posix*) set -o posix ;;
  237. esac
  238. fi
  239. :
  240. _ASEOF
  241. }; then
  242. CONFIG_SHELL=$as_shell
  243. as_have_required=yes
  244. if { "$as_shell" 2> /dev/null <<\_ASEOF
  245. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  246. emulate sh
  247. NULLCMD=:
  248. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  249. # is contrary to our usage. Disable this feature.
  250. alias -g '${1+"$@"}'='"$@"'
  251. setopt NO_GLOB_SUBST
  252. else
  253. case `(set -o) 2>/dev/null` in
  254. *posix*) set -o posix ;;
  255. esac
  256. fi
  257. :
  258. (as_func_return () {
  259. (exit $1)
  260. }
  261. as_func_success () {
  262. as_func_return 0
  263. }
  264. as_func_failure () {
  265. as_func_return 1
  266. }
  267. as_func_ret_success () {
  268. return 0
  269. }
  270. as_func_ret_failure () {
  271. return 1
  272. }
  273. exitcode=0
  274. if as_func_success; then
  275. :
  276. else
  277. exitcode=1
  278. echo as_func_success failed.
  279. fi
  280. if as_func_failure; then
  281. exitcode=1
  282. echo as_func_failure succeeded.
  283. fi
  284. if as_func_ret_success; then
  285. :
  286. else
  287. exitcode=1
  288. echo as_func_ret_success failed.
  289. fi
  290. if as_func_ret_failure; then
  291. exitcode=1
  292. echo as_func_ret_failure succeeded.
  293. fi
  294. if ( set x; as_func_ret_success y && test x = "$1" ); then
  295. :
  296. else
  297. exitcode=1
  298. echo positional parameters were not saved.
  299. fi
  300. test $exitcode = 0) || { (exit 1); exit 1; }
  301. (
  302. as_lineno_1=$LINENO
  303. as_lineno_2=$LINENO
  304. test "x$as_lineno_1" != "x$as_lineno_2" &&
  305. test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2") || { (exit 1); exit 1; }
  306. _ASEOF
  307. }; then
  308. break
  309. fi
  310. fi
  311. done
  312. if test "x$CONFIG_SHELL" != x; then
  313. for as_var in BASH_ENV ENV
  314. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  315. done
  316. export CONFIG_SHELL
  317. exec "$CONFIG_SHELL" "$as_myself" ${1+"$@"}
  318. fi
  319. if test $as_have_required = no; then
  320. echo This script requires a shell more modern than all the
  321. echo shells that I found on your system. Please install a
  322. echo modern shell, or manually run the script under such a
  323. echo shell if you do have one.
  324. { (exit 1); exit 1; }
  325. fi
  326. fi
  327. fi
  328. (eval "as_func_return () {
  329. (exit \$1)
  330. }
  331. as_func_success () {
  332. as_func_return 0
  333. }
  334. as_func_failure () {
  335. as_func_return 1
  336. }
  337. as_func_ret_success () {
  338. return 0
  339. }
  340. as_func_ret_failure () {
  341. return 1
  342. }
  343. exitcode=0
  344. if as_func_success; then
  345. :
  346. else
  347. exitcode=1
  348. echo as_func_success failed.
  349. fi
  350. if as_func_failure; then
  351. exitcode=1
  352. echo as_func_failure succeeded.
  353. fi
  354. if as_func_ret_success; then
  355. :
  356. else
  357. exitcode=1
  358. echo as_func_ret_success failed.
  359. fi
  360. if as_func_ret_failure; then
  361. exitcode=1
  362. echo as_func_ret_failure succeeded.
  363. fi
  364. if ( set x; as_func_ret_success y && test x = \"\$1\" ); then
  365. :
  366. else
  367. exitcode=1
  368. echo positional parameters were not saved.
  369. fi
  370. test \$exitcode = 0") || {
  371. echo No shell found that supports shell functions.
  372. echo Please tell bug-autoconf@gnu.org about your system,
  373. echo including any error possibly output before this message.
  374. echo This can help us improve future autoconf versions.
  375. echo Configuration will now proceed without shell functions.
  376. }
  377. as_lineno_1=$LINENO
  378. as_lineno_2=$LINENO
  379. test "x$as_lineno_1" != "x$as_lineno_2" &&
  380. test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  381. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  382. # uniformly replaced by the line number. The first 'sed' inserts a
  383. # line-number line after each line using $LINENO; the second 'sed'
  384. # does the real work. The second script uses 'N' to pair each
  385. # line-number line with the line containing $LINENO, and appends
  386. # trailing '-' during substitution so that $LINENO is not a special
  387. # case at line end.
  388. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  389. # scripts with optimization help from Paolo Bonzini. Blame Lee
  390. # E. McMahon (1931-1989) for sed's syntax. :-)
  391. sed -n '
  392. p
  393. /[$]LINENO/=
  394. ' <$as_myself |
  395. sed '
  396. s/[$]LINENO.*/&-/
  397. t lineno
  398. b
  399. :lineno
  400. N
  401. :loop
  402. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  403. t loop
  404. s/-\n.*//
  405. ' >$as_me.lineno &&
  406. chmod +x "$as_me.lineno" ||
  407. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  408. { (exit 1); exit 1; }; }
  409. # Don't try to exec as it changes $[0], causing all sort of problems
  410. # (the dirname of $[0] is not the place where we might find the
  411. # original and so on. Autoconf is especially sensitive to this).
  412. . "./$as_me.lineno"
  413. # Exit status is that of the last command.
  414. exit
  415. }
  416. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  417. as_dirname=dirname
  418. else
  419. as_dirname=false
  420. fi
  421. ECHO_C= ECHO_N= ECHO_T=
  422. case `echo -n x` in
  423. -n*)
  424. case `echo 'x\c'` in
  425. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  426. *) ECHO_C='\c';;
  427. esac;;
  428. *)
  429. ECHO_N='-n';;
  430. esac
  431. if expr a : '\(a\)' >/dev/null 2>&1 &&
  432. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  433. as_expr=expr
  434. else
  435. as_expr=false
  436. fi
  437. rm -f conf$$ conf$$.exe conf$$.file
  438. if test -d conf$$.dir; then
  439. rm -f conf$$.dir/conf$$.file
  440. else
  441. rm -f conf$$.dir
  442. mkdir conf$$.dir 2>/dev/null
  443. fi
  444. if (echo >conf$$.file) 2>/dev/null; then
  445. if ln -s conf$$.file conf$$ 2>/dev/null; then
  446. as_ln_s='ln -s'
  447. # ... but there are two gotchas:
  448. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  449. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  450. # In both cases, we have to default to `cp -p'.
  451. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  452. as_ln_s='cp -p'
  453. elif ln conf$$.file conf$$ 2>/dev/null; then
  454. as_ln_s=ln
  455. else
  456. as_ln_s='cp -p'
  457. fi
  458. else
  459. as_ln_s='cp -p'
  460. fi
  461. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  462. rmdir conf$$.dir 2>/dev/null
  463. if mkdir -p . 2>/dev/null; then
  464. as_mkdir_p=:
  465. else
  466. test -d ./-p && rmdir ./-p
  467. as_mkdir_p=false
  468. fi
  469. if test -x / >/dev/null 2>&1; then
  470. as_test_x='test -x'
  471. else
  472. if ls -dL / >/dev/null 2>&1; then
  473. as_ls_L_option=L
  474. else
  475. as_ls_L_option=
  476. fi
  477. as_test_x='
  478. eval sh -c '\''
  479. if test -d "$1"; then
  480. test -d "$1/.";
  481. else
  482. case $1 in
  483. -*)set "./$1";;
  484. esac;
  485. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  486. ???[sx]*):;;*)false;;esac;fi
  487. '\'' sh
  488. '
  489. fi
  490. as_executable_p=$as_test_x
  491. # Sed expression to map a string onto a valid CPP name.
  492. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  493. # Sed expression to map a string onto a valid variable name.
  494. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  495. # Check that we are running under the correct shell.
  496. SHELL=${CONFIG_SHELL-/bin/sh}
  497. case X$lt_ECHO in
  498. X*--fallback-echo)
  499. # Remove one level of quotation (which was required for Make).
  500. ECHO=`echo "$lt_ECHO" | sed 's,\\\\\$\\$0,'$0','`
  501. ;;
  502. esac
  503. ECHO=${lt_ECHO-echo}
  504. if test "X$1" = X--no-reexec; then
  505. # Discard the --no-reexec flag, and continue.
  506. shift
  507. elif test "X$1" = X--fallback-echo; then
  508. # Avoid inline document here, it may be left over
  509. :
  510. elif test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' ; then
  511. # Yippee, $ECHO works!
  512. :
  513. else
  514. # Restart under the correct shell.
  515. exec $SHELL "$0" --no-reexec ${1+"$@"}
  516. fi
  517. if test "X$1" = X--fallback-echo; then
  518. # used as fallback echo
  519. shift
  520. cat <<_LT_EOF
  521. $*
  522. _LT_EOF
  523. exit 0
  524. fi
  525. # The HP-UX ksh and POSIX shell print the target directory to stdout
  526. # if CDPATH is set.
  527. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  528. if test -z "$lt_ECHO"; then
  529. if test "X${echo_test_string+set}" != Xset; then
  530. # find a string as large as possible, as long as the shell can cope with it
  531. for cmd in 'sed 50q "$0"' 'sed 20q "$0"' 'sed 10q "$0"' 'sed 2q "$0"' 'echo test'; do
  532. # expected sizes: less than 2Kb, 1Kb, 512 bytes, 16 bytes, ...
  533. if { echo_test_string=`eval $cmd`; } 2>/dev/null &&
  534. { test "X$echo_test_string" = "X$echo_test_string"; } 2>/dev/null
  535. then
  536. break
  537. fi
  538. done
  539. fi
  540. if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  541. echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  542. test "X$echo_testing_string" = "X$echo_test_string"; then
  543. :
  544. else
  545. # The Solaris, AIX, and Digital Unix default echo programs unquote
  546. # backslashes. This makes it impossible to quote backslashes using
  547. # echo "$something" | sed 's/\\/\\\\/g'
  548. #
  549. # So, first we look for a working echo in the user's PATH.
  550. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  551. for dir in $PATH /usr/ucb; do
  552. IFS="$lt_save_ifs"
  553. if (test -f $dir/echo || test -f $dir/echo$ac_exeext) &&
  554. test "X`($dir/echo '\t') 2>/dev/null`" = 'X\t' &&
  555. echo_testing_string=`($dir/echo "$echo_test_string") 2>/dev/null` &&
  556. test "X$echo_testing_string" = "X$echo_test_string"; then
  557. ECHO="$dir/echo"
  558. break
  559. fi
  560. done
  561. IFS="$lt_save_ifs"
  562. if test "X$ECHO" = Xecho; then
  563. # We didn't find a better echo, so look for alternatives.
  564. if test "X`{ print -r '\t'; } 2>/dev/null`" = 'X\t' &&
  565. echo_testing_string=`{ print -r "$echo_test_string"; } 2>/dev/null` &&
  566. test "X$echo_testing_string" = "X$echo_test_string"; then
  567. # This shell has a builtin print -r that does the trick.
  568. ECHO='print -r'
  569. elif { test -f /bin/ksh || test -f /bin/ksh$ac_exeext; } &&
  570. test "X$CONFIG_SHELL" != X/bin/ksh; then
  571. # If we have ksh, try running configure again with it.
  572. ORIGINAL_CONFIG_SHELL=${CONFIG_SHELL-/bin/sh}
  573. export ORIGINAL_CONFIG_SHELL
  574. CONFIG_SHELL=/bin/ksh
  575. export CONFIG_SHELL
  576. exec $CONFIG_SHELL "$0" --no-reexec ${1+"$@"}
  577. else
  578. # Try using printf.
  579. ECHO='printf %s\n'
  580. if test "X`{ $ECHO '\t'; } 2>/dev/null`" = 'X\t' &&
  581. echo_testing_string=`{ $ECHO "$echo_test_string"; } 2>/dev/null` &&
  582. test "X$echo_testing_string" = "X$echo_test_string"; then
  583. # Cool, printf works
  584. :
  585. elif echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  586. test "X$echo_testing_string" = 'X\t' &&
  587. echo_testing_string=`($ORIGINAL_CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  588. test "X$echo_testing_string" = "X$echo_test_string"; then
  589. CONFIG_SHELL=$ORIGINAL_CONFIG_SHELL
  590. export CONFIG_SHELL
  591. SHELL="$CONFIG_SHELL"
  592. export SHELL
  593. ECHO="$CONFIG_SHELL $0 --fallback-echo"
  594. elif echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo '\t') 2>/dev/null` &&
  595. test "X$echo_testing_string" = 'X\t' &&
  596. echo_testing_string=`($CONFIG_SHELL "$0" --fallback-echo "$echo_test_string") 2>/dev/null` &&
  597. test "X$echo_testing_string" = "X$echo_test_string"; then
  598. ECHO="$CONFIG_SHELL $0 --fallback-echo"
  599. else
  600. # maybe with a smaller string...
  601. prev=:
  602. for cmd in 'echo test' 'sed 2q "$0"' 'sed 10q "$0"' 'sed 20q "$0"' 'sed 50q "$0"'; do
  603. if { test "X$echo_test_string" = "X`eval $cmd`"; } 2>/dev/null
  604. then
  605. break
  606. fi
  607. prev="$cmd"
  608. done
  609. if test "$prev" != 'sed 50q "$0"'; then
  610. echo_test_string=`eval $prev`
  611. export echo_test_string
  612. exec ${ORIGINAL_CONFIG_SHELL-${CONFIG_SHELL-/bin/sh}} "$0" ${1+"$@"}
  613. else
  614. # Oops. We lost completely, so just stick with echo.
  615. ECHO=echo
  616. fi
  617. fi
  618. fi
  619. fi
  620. fi
  621. fi
  622. # Copy echo and quote the copy suitably for passing to libtool from
  623. # the Makefile, instead of quoting the original, which is used later.
  624. lt_ECHO=$ECHO
  625. if test "X$lt_ECHO" = "X$CONFIG_SHELL $0 --fallback-echo"; then
  626. lt_ECHO="$CONFIG_SHELL \\\$\$0 --fallback-echo"
  627. fi
  628. exec 7<&0 </dev/null 6>&1
  629. # Name of the host.
  630. # hostname on some systems (SVR3.2, Linux) returns a bogus exit status,
  631. # so uname gets run too.
  632. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  633. #
  634. # Initializations.
  635. #
  636. ac_default_prefix=/usr/local
  637. ac_clean_files=
  638. ac_config_libobj_dir=.
  639. LIBOBJS=
  640. cross_compiling=no
  641. subdirs=
  642. MFLAGS=
  643. MAKEFLAGS=
  644. SHELL=${CONFIG_SHELL-/bin/sh}
  645. # Identity of this package.
  646. PACKAGE_NAME=
  647. PACKAGE_TARNAME=
  648. PACKAGE_VERSION=
  649. PACKAGE_STRING=
  650. PACKAGE_BUGREPORT=
  651. ac_unique_file="entities.c"
  652. # Factoring default headers for most tests.
  653. ac_includes_default="\
  654. #include <stdio.h>
  655. #ifdef HAVE_SYS_TYPES_H
  656. # include <sys/types.h>
  657. #endif
  658. #ifdef HAVE_SYS_STAT_H
  659. # include <sys/stat.h>
  660. #endif
  661. #ifdef STDC_HEADERS
  662. # include <stdlib.h>
  663. # include <stddef.h>
  664. #else
  665. # ifdef HAVE_STDLIB_H
  666. # include <stdlib.h>
  667. # endif
  668. #endif
  669. #ifdef HAVE_STRING_H
  670. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  671. # include <memory.h>
  672. # endif
  673. # include <string.h>
  674. #endif
  675. #ifdef HAVE_STRINGS_H
  676. # include <strings.h>
  677. #endif
  678. #ifdef HAVE_INTTYPES_H
  679. # include <inttypes.h>
  680. #endif
  681. #ifdef HAVE_STDINT_H
  682. # include <stdint.h>
  683. #endif
  684. #ifdef HAVE_UNISTD_H
  685. # include <unistd.h>
  686. #endif"
  687. ac_subst_vars='am__EXEEXT_FALSE
  688. am__EXEEXT_TRUE
  689. LTLIBOBJS
  690. LIBOBJS
  691. PYTHON_TESTS
  692. RELDATE
  693. RDL_LIBS
  694. M_LIBS
  695. PYTHON_SITE_PACKAGES
  696. PYTHON_INCLUDES
  697. PYTHON_VERSION
  698. HAVE_ISINF
  699. HAVE_ISNAN
  700. XML_INCLUDEDIR
  701. ICONV_LIBS
  702. XML_LIBTOOLLIBS
  703. XML_LIBS
  704. XML_LIBDIR
  705. XML_CFLAGS
  706. CYGWIN_EXTRA_PYTHON_LIBADD
  707. CYGWIN_EXTRA_LDFLAGS
  708. WIN32_EXTRA_LDFLAGS
  709. WIN32_EXTRA_LIBADD
  710. WITH_RUN_DEBUG
  711. WITH_MEM_DEBUG
  712. TEST_DEBUG
  713. DEBUG_OBJ
  714. WITH_DEBUG
  715. TEST_REGEXPS
  716. WITH_REGEXPS
  717. TEST_SCHEMAS
  718. WITH_SCHEMAS
  719. TEST_SCHEMATRON
  720. WITH_SCHEMATRON
  721. WITH_ISO8859X
  722. WITH_ICONV
  723. WITH_OUTPUT
  724. TEST_XPATH
  725. XPATH_OBJ
  726. WITH_XPATH
  727. TEST_XINCLUDE
  728. XINCLUDE_OBJ
  729. WITH_XINCLUDE
  730. TEST_C14N
  731. C14N_OBJ
  732. WITH_C14N
  733. TEST_XPTR
  734. XPTR_OBJ
  735. WITH_XPTR
  736. DOCB_OBJ
  737. WITH_DOCB
  738. TEST_CATALOG
  739. CATALOG_OBJ
  740. WITH_CATALOG
  741. TEST_VTIME
  742. TEST_VALID
  743. WITH_VALID
  744. TEST_PHTML
  745. TEST_HTML
  746. HTML_OBJ
  747. WITH_HTML
  748. TEST_PUSH
  749. WITH_PUSH
  750. TEST_SAX
  751. WITH_SAX1
  752. TEST_PATTERN
  753. WITH_PATTERN
  754. WITH_WRITER
  755. READER_TEST
  756. WITH_READER
  757. WITH_LEGACY
  758. HTTP_OBJ
  759. WITH_HTTP
  760. FTP_OBJ
  761. WITH_FTP
  762. WITH_TREE
  763. THREADS_W32
  764. TEST_THREADS
  765. THREAD_CFLAGS
  766. WITH_THREADS
  767. BASE_THREAD_LIBS
  768. THREAD_LIBS
  769. WITH_TRIO
  770. WITH_TRIO_SOURCES_FALSE
  771. WITH_TRIO_SOURCES_TRUE
  772. STATIC_BINARIES
  773. TEST_MODULES
  774. MODULE_EXTENSION
  775. MODULE_PLATFORM_LIBS
  776. WITH_MODULES
  777. PYTHON_LIBS
  778. PYTHON_SUBDIR
  779. pythondir
  780. WITH_PYTHON_FALSE
  781. WITH_PYTHON_TRUE
  782. PYTHON
  783. WITH_ZLIB
  784. Z_LIBS
  785. Z_CFLAGS
  786. REBUILD_DOCS_FALSE
  787. REBUILD_DOCS_TRUE
  788. HTML_DIR
  789. USE_VERSION_SCRIPT_FALSE
  790. USE_VERSION_SCRIPT_TRUE
  791. VERSION_SCRIPT_FLAGS
  792. OTOOL64
  793. OTOOL
  794. LIPO
  795. NMEDIT
  796. DSYMUTIL
  797. lt_ECHO
  798. RANLIB
  799. AR
  800. LN_S
  801. NM
  802. ac_ct_DUMPBIN
  803. DUMPBIN
  804. LD
  805. FGREP
  806. SED
  807. LIBTOOL
  808. OBJDUMP
  809. DLLTOOL
  810. AS
  811. ANSI2KNR
  812. U
  813. EGREP
  814. GREP
  815. XSLTPROC
  816. XMLLINT
  817. WGET
  818. PERL
  819. TAR
  820. MV
  821. RM
  822. CPP
  823. am__fastdepCC_FALSE
  824. am__fastdepCC_TRUE
  825. CCDEPMODE
  826. AMDEPBACKSLASH
  827. AMDEP_FALSE
  828. AMDEP_TRUE
  829. am__quote
  830. am__include
  831. DEPDIR
  832. OBJEXT
  833. EXEEXT
  834. ac_ct_CC
  835. CPPFLAGS
  836. LDFLAGS
  837. CFLAGS
  838. CC
  839. am__untar
  840. am__tar
  841. AMTAR
  842. am__leading_dot
  843. SET_MAKE
  844. AWK
  845. mkdir_p
  846. MKDIR_P
  847. INSTALL_STRIP_PROGRAM
  848. STRIP
  849. install_sh
  850. MAKEINFO
  851. AUTOHEADER
  852. AUTOMAKE
  853. AUTOCONF
  854. ACLOCAL
  855. VERSION
  856. PACKAGE
  857. CYGPATH_W
  858. am__isrc
  859. INSTALL_DATA
  860. INSTALL_SCRIPT
  861. INSTALL_PROGRAM
  862. LIBXML_VERSION_EXTRA
  863. LIBXML_VERSION_NUMBER
  864. LIBXML_VERSION_INFO
  865. LIBXML_VERSION
  866. LIBXML_MICRO_VERSION
  867. LIBXML_MINOR_VERSION
  868. LIBXML_MAJOR_VERSION
  869. host_os
  870. host_vendor
  871. host_cpu
  872. host
  873. build_os
  874. build_vendor
  875. build_cpu
  876. build
  877. target_alias
  878. host_alias
  879. build_alias
  880. LIBS
  881. ECHO_T
  882. ECHO_N
  883. ECHO_C
  884. DEFS
  885. mandir
  886. localedir
  887. libdir
  888. psdir
  889. pdfdir
  890. dvidir
  891. htmldir
  892. infodir
  893. docdir
  894. oldincludedir
  895. includedir
  896. localstatedir
  897. sharedstatedir
  898. sysconfdir
  899. datadir
  900. datarootdir
  901. libexecdir
  902. sbindir
  903. bindir
  904. program_transform_name
  905. prefix
  906. exec_prefix
  907. PACKAGE_BUGREPORT
  908. PACKAGE_STRING
  909. PACKAGE_VERSION
  910. PACKAGE_TARNAME
  911. PACKAGE_NAME
  912. PATH_SEPARATOR
  913. SHELL'
  914. ac_subst_files=''
  915. ac_user_opts='
  916. enable_option_checking
  917. enable_dependency_tracking
  918. enable_shared
  919. enable_static
  920. with_pic
  921. enable_fast_install
  922. with_gnu_ld
  923. enable_libtool_lock
  924. with_c14n
  925. with_catalog
  926. with_debug
  927. with_docbook
  928. with_fexceptions
  929. with_ftp
  930. with_history
  931. with_html
  932. with_html_dir
  933. with_html_subdir
  934. with_http
  935. with_iconv
  936. with_iso8859x
  937. with_legacy
  938. with_mem_debug
  939. with_minimum
  940. with_output
  941. with_pattern
  942. with_push
  943. with_python
  944. with_reader
  945. with_readline
  946. with_regexps
  947. with_run_debug
  948. with_sax1
  949. with_schemas
  950. with_schematron
  951. with_threads
  952. with_thread_alloc
  953. with_tree
  954. with_valid
  955. with_writer
  956. with_xinclude
  957. with_xpath
  958. with_xptr
  959. with_modules
  960. with_zlib
  961. with_coverage
  962. enable_rebuild_docs
  963. enable_ipv6
  964. '
  965. ac_precious_vars='build_alias
  966. host_alias
  967. target_alias
  968. CC
  969. CFLAGS
  970. LDFLAGS
  971. LIBS
  972. CPPFLAGS
  973. CPP'
  974. # Initialize some variables set by options.
  975. ac_init_help=
  976. ac_init_version=false
  977. ac_unrecognized_opts=
  978. ac_unrecognized_sep=
  979. # The variables have the same names as the options, with
  980. # dashes changed to underlines.
  981. cache_file=/dev/null
  982. exec_prefix=NONE
  983. no_create=
  984. no_recursion=
  985. prefix=NONE
  986. program_prefix=NONE
  987. program_suffix=NONE
  988. program_transform_name=s,x,x,
  989. silent=
  990. site=
  991. srcdir=
  992. verbose=
  993. x_includes=NONE
  994. x_libraries=NONE
  995. # Installation directory options.
  996. # These are left unexpanded so users can "make install exec_prefix=/foo"
  997. # and all the variables that are supposed to be based on exec_prefix
  998. # by default will actually change.
  999. # Use braces instead of parens because sh, perl, etc. also accept them.
  1000. # (The list follows the same order as the GNU Coding Standards.)
  1001. bindir='${exec_prefix}/bin'
  1002. sbindir='${exec_prefix}/sbin'
  1003. libexecdir='${exec_prefix}/libexec'
  1004. datarootdir='${prefix}/share'
  1005. datadir='${datarootdir}'
  1006. sysconfdir='${prefix}/etc'
  1007. sharedstatedir='${prefix}/com'
  1008. localstatedir='${prefix}/var'
  1009. includedir='${prefix}/include'
  1010. oldincludedir='/usr/include'
  1011. docdir='${datarootdir}/doc/${PACKAGE}'
  1012. infodir='${datarootdir}/info'
  1013. htmldir='${docdir}'
  1014. dvidir='${docdir}'
  1015. pdfdir='${docdir}'
  1016. psdir='${docdir}'
  1017. libdir='${exec_prefix}/lib'
  1018. localedir='${datarootdir}/locale'
  1019. mandir='${datarootdir}/man'
  1020. ac_prev=
  1021. ac_dashdash=
  1022. for ac_option
  1023. do
  1024. # If the previous option needs an argument, assign it.
  1025. if test -n "$ac_prev"; then
  1026. eval $ac_prev=\$ac_option
  1027. ac_prev=
  1028. continue
  1029. fi
  1030. case $ac_option in
  1031. *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1032. *) ac_optarg=yes ;;
  1033. esac
  1034. # Accept the important Cygnus configure options, so we can diagnose typos.
  1035. case $ac_dashdash$ac_option in
  1036. --)
  1037. ac_dashdash=yes ;;
  1038. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1039. ac_prev=bindir ;;
  1040. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1041. bindir=$ac_optarg ;;
  1042. -build | --build | --buil | --bui | --bu)
  1043. ac_prev=build_alias ;;
  1044. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1045. build_alias=$ac_optarg ;;
  1046. -cache-file | --cache-file | --cache-fil | --cache-fi \
  1047. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1048. ac_prev=cache_file ;;
  1049. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1050. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1051. cache_file=$ac_optarg ;;
  1052. --config-cache | -C)
  1053. cache_file=config.cache ;;
  1054. -datadir | --datadir | --datadi | --datad)
  1055. ac_prev=datadir ;;
  1056. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1057. datadir=$ac_optarg ;;
  1058. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1059. | --dataroo | --dataro | --datar)
  1060. ac_prev=datarootdir ;;
  1061. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1062. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1063. datarootdir=$ac_optarg ;;
  1064. -disable-* | --disable-*)
  1065. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1066. # Reject names that are not valid shell variable names.
  1067. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1068. { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  1069. { (exit 1); exit 1; }; }
  1070. ac_useropt_orig=$ac_useropt
  1071. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1072. case $ac_user_opts in
  1073. *"
  1074. "enable_$ac_useropt"
  1075. "*) ;;
  1076. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1077. ac_unrecognized_sep=', ';;
  1078. esac
  1079. eval enable_$ac_useropt=no ;;
  1080. -docdir | --docdir | --docdi | --doc | --do)
  1081. ac_prev=docdir ;;
  1082. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1083. docdir=$ac_optarg ;;
  1084. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1085. ac_prev=dvidir ;;
  1086. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1087. dvidir=$ac_optarg ;;
  1088. -enable-* | --enable-*)
  1089. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1090. # Reject names that are not valid shell variable names.
  1091. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1092. { $as_echo "$as_me: error: invalid feature name: $ac_useropt" >&2
  1093. { (exit 1); exit 1; }; }
  1094. ac_useropt_orig=$ac_useropt
  1095. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1096. case $ac_user_opts in
  1097. *"
  1098. "enable_$ac_useropt"
  1099. "*) ;;
  1100. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1101. ac_unrecognized_sep=', ';;
  1102. esac
  1103. eval enable_$ac_useropt=\$ac_optarg ;;
  1104. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1105. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1106. | --exec | --exe | --ex)
  1107. ac_prev=exec_prefix ;;
  1108. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1109. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1110. | --exec=* | --exe=* | --ex=*)
  1111. exec_prefix=$ac_optarg ;;
  1112. -gas | --gas | --ga | --g)
  1113. # Obsolete; use --with-gas.
  1114. with_gas=yes ;;
  1115. -help | --help | --hel | --he | -h)
  1116. ac_init_help=long ;;
  1117. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1118. ac_init_help=recursive ;;
  1119. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1120. ac_init_help=short ;;
  1121. -host | --host | --hos | --ho)
  1122. ac_prev=host_alias ;;
  1123. -host=* | --host=* | --hos=* | --ho=*)
  1124. host_alias=$ac_optarg ;;
  1125. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1126. ac_prev=htmldir ;;
  1127. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1128. | --ht=*)
  1129. htmldir=$ac_optarg ;;
  1130. -includedir | --includedir | --includedi | --included | --include \
  1131. | --includ | --inclu | --incl | --inc)
  1132. ac_prev=includedir ;;
  1133. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1134. | --includ=* | --inclu=* | --incl=* | --inc=*)
  1135. includedir=$ac_optarg ;;
  1136. -infodir | --infodir | --infodi | --infod | --info | --inf)
  1137. ac_prev=infodir ;;
  1138. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1139. infodir=$ac_optarg ;;
  1140. -libdir | --libdir | --libdi | --libd)
  1141. ac_prev=libdir ;;
  1142. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1143. libdir=$ac_optarg ;;
  1144. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1145. | --libexe | --libex | --libe)
  1146. ac_prev=libexecdir ;;
  1147. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1148. | --libexe=* | --libex=* | --libe=*)
  1149. libexecdir=$ac_optarg ;;
  1150. -localedir | --localedir | --localedi | --localed | --locale)
  1151. ac_prev=localedir ;;
  1152. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1153. localedir=$ac_optarg ;;
  1154. -localstatedir | --localstatedir | --localstatedi | --localstated \
  1155. | --localstate | --localstat | --localsta | --localst | --locals)
  1156. ac_prev=localstatedir ;;
  1157. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1158. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1159. localstatedir=$ac_optarg ;;
  1160. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1161. ac_prev=mandir ;;
  1162. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1163. mandir=$ac_optarg ;;
  1164. -nfp | --nfp | --nf)
  1165. # Obsolete; use --without-fp.
  1166. with_fp=no ;;
  1167. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1168. | --no-cr | --no-c | -n)
  1169. no_create=yes ;;
  1170. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1171. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1172. no_recursion=yes ;;
  1173. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1174. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1175. | --oldin | --oldi | --old | --ol | --o)
  1176. ac_prev=oldincludedir ;;
  1177. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1178. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1179. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1180. oldincludedir=$ac_optarg ;;
  1181. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1182. ac_prev=prefix ;;
  1183. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1184. prefix=$ac_optarg ;;
  1185. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1186. | --program-pre | --program-pr | --program-p)
  1187. ac_prev=program_prefix ;;
  1188. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1189. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1190. program_prefix=$ac_optarg ;;
  1191. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1192. | --program-suf | --program-su | --program-s)
  1193. ac_prev=program_suffix ;;
  1194. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1195. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1196. program_suffix=$ac_optarg ;;
  1197. -program-transform-name | --program-transform-name \
  1198. | --program-transform-nam | --program-transform-na \
  1199. | --program-transform-n | --program-transform- \
  1200. | --program-transform | --program-transfor \
  1201. | --program-transfo | --program-transf \
  1202. | --program-trans | --program-tran \
  1203. | --progr-tra | --program-tr | --program-t)
  1204. ac_prev=program_transform_name ;;
  1205. -program-transform-name=* | --program-transform-name=* \
  1206. | --program-transform-nam=* | --program-transform-na=* \
  1207. | --program-transform-n=* | --program-transform-=* \
  1208. | --program-transform=* | --program-transfor=* \
  1209. | --program-transfo=* | --program-transf=* \
  1210. | --program-trans=* | --program-tran=* \
  1211. | --progr-tra=* | --program-tr=* | --program-t=*)
  1212. program_transform_name=$ac_optarg ;;
  1213. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1214. ac_prev=pdfdir ;;
  1215. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1216. pdfdir=$ac_optarg ;;
  1217. -psdir | --psdir | --psdi | --psd | --ps)
  1218. ac_prev=psdir ;;
  1219. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1220. psdir=$ac_optarg ;;
  1221. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1222. | -silent | --silent | --silen | --sile | --sil)
  1223. silent=yes ;;
  1224. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1225. ac_prev=sbindir ;;
  1226. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1227. | --sbi=* | --sb=*)
  1228. sbindir=$ac_optarg ;;
  1229. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1230. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1231. | --sharedst | --shareds | --shared | --share | --shar \
  1232. | --sha | --sh)
  1233. ac_prev=sharedstatedir ;;
  1234. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1235. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1236. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1237. | --sha=* | --sh=*)
  1238. sharedstatedir=$ac_optarg ;;
  1239. -site | --site | --sit)
  1240. ac_prev=site ;;
  1241. -site=* | --site=* | --sit=*)
  1242. site=$ac_optarg ;;
  1243. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1244. ac_prev=srcdir ;;
  1245. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1246. srcdir=$ac_optarg ;;
  1247. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1248. | --syscon | --sysco | --sysc | --sys | --sy)
  1249. ac_prev=sysconfdir ;;
  1250. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1251. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1252. sysconfdir=$ac_optarg ;;
  1253. -target | --target | --targe | --targ | --tar | --ta | --t)
  1254. ac_prev=target_alias ;;
  1255. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1256. target_alias=$ac_optarg ;;
  1257. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1258. verbose=yes ;;
  1259. -version | --version | --versio | --versi | --vers | -V)
  1260. ac_init_version=: ;;
  1261. -with-* | --with-*)
  1262. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1263. # Reject names that are not valid shell variable names.
  1264. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1265. { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1266. { (exit 1); exit 1; }; }
  1267. ac_useropt_orig=$ac_useropt
  1268. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1269. case $ac_user_opts in
  1270. *"
  1271. "with_$ac_useropt"
  1272. "*) ;;
  1273. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1274. ac_unrecognized_sep=', ';;
  1275. esac
  1276. eval with_$ac_useropt=\$ac_optarg ;;
  1277. -without-* | --without-*)
  1278. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1279. # Reject names that are not valid shell variable names.
  1280. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1281. { $as_echo "$as_me: error: invalid package name: $ac_useropt" >&2
  1282. { (exit 1); exit 1; }; }
  1283. ac_useropt_orig=$ac_useropt
  1284. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1285. case $ac_user_opts in
  1286. *"
  1287. "with_$ac_useropt"
  1288. "*) ;;
  1289. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1290. ac_unrecognized_sep=', ';;
  1291. esac
  1292. eval with_$ac_useropt=no ;;
  1293. --x)
  1294. # Obsolete; use --with-x.
  1295. with_x=yes ;;
  1296. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1297. | --x-incl | --x-inc | --x-in | --x-i)
  1298. ac_prev=x_includes ;;
  1299. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1300. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1301. x_includes=$ac_optarg ;;
  1302. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1303. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1304. ac_prev=x_libraries ;;
  1305. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1306. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1307. x_libraries=$ac_optarg ;;
  1308. -*) { $as_echo "$as_me: error: unrecognized option: $ac_option
  1309. Try \`$0 --help' for more information." >&2
  1310. { (exit 1); exit 1; }; }
  1311. ;;
  1312. *=*)
  1313. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1314. # Reject names that are not valid shell variable names.
  1315. expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
  1316. { $as_echo "$as_me: error: invalid variable name: $ac_envvar" >&2
  1317. { (exit 1); exit 1; }; }
  1318. eval $ac_envvar=\$ac_optarg
  1319. export $ac_envvar ;;
  1320. *)
  1321. # FIXME: should be removed in autoconf 3.0.
  1322. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1323. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1324. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1325. : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
  1326. ;;
  1327. esac
  1328. done
  1329. if test -n "$ac_prev"; then
  1330. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1331. { $as_echo "$as_me: error: missing argument to $ac_option" >&2
  1332. { (exit 1); exit 1; }; }
  1333. fi
  1334. if test -n "$ac_unrecognized_opts"; then
  1335. case $enable_option_checking in
  1336. no) ;;
  1337. fatal) { $as_echo "$as_me: error: unrecognized options: $ac_unrecognized_opts" >&2
  1338. { (exit 1); exit 1; }; } ;;
  1339. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1340. esac
  1341. fi
  1342. # Check all directory arguments for consistency.
  1343. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1344. datadir sysconfdir sharedstatedir localstatedir includedir \
  1345. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1346. libdir localedir mandir
  1347. do
  1348. eval ac_val=\$$ac_var
  1349. # Remove trailing slashes.
  1350. case $ac_val in
  1351. */ )
  1352. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1353. eval $ac_var=\$ac_val;;
  1354. esac
  1355. # Be sure to have absolute directory names.
  1356. case $ac_val in
  1357. [\\/$]* | ?:[\\/]* ) continue;;
  1358. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1359. esac
  1360. { $as_echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
  1361. { (exit 1); exit 1; }; }
  1362. done
  1363. # There might be people who depend on the old broken behavior: `$host'
  1364. # used to hold the argument of --host etc.
  1365. # FIXME: To remove some day.
  1366. build=$build_alias
  1367. host=$host_alias
  1368. target=$target_alias
  1369. # FIXME: To remove some day.
  1370. if test "x$host_alias" != x; then
  1371. if test "x$build_alias" = x; then
  1372. cross_compiling=maybe
  1373. $as_echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
  1374. If a cross compiler is detected then cross compile mode will be used." >&2
  1375. elif test "x$build_alias" != "x$host_alias"; then
  1376. cross_compiling=yes
  1377. fi
  1378. fi
  1379. ac_tool_prefix=
  1380. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1381. test "$silent" = yes && exec 6>/dev/null
  1382. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1383. ac_ls_di=`ls -di .` &&
  1384. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1385. { $as_echo "$as_me: error: working directory cannot be determined" >&2
  1386. { (exit 1); exit 1; }; }
  1387. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1388. { $as_echo "$as_me: error: pwd does not report name of working directory" >&2
  1389. { (exit 1); exit 1; }; }
  1390. # Find the source files, if location was not specified.
  1391. if test -z "$srcdir"; then
  1392. ac_srcdir_defaulted=yes
  1393. # Try the directory containing this script, then the parent directory.
  1394. ac_confdir=`$as_dirname -- "$as_myself" ||
  1395. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1396. X"$as_myself" : 'X\(//\)[^/]' \| \
  1397. X"$as_myself" : 'X\(//\)$' \| \
  1398. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1399. $as_echo X"$as_myself" |
  1400. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1401. s//\1/
  1402. q
  1403. }
  1404. /^X\(\/\/\)[^/].*/{
  1405. s//\1/
  1406. q
  1407. }
  1408. /^X\(\/\/\)$/{
  1409. s//\1/
  1410. q
  1411. }
  1412. /^X\(\/\).*/{
  1413. s//\1/
  1414. q
  1415. }
  1416. s/.*/./; q'`
  1417. srcdir=$ac_confdir
  1418. if test ! -r "$srcdir/$ac_unique_file"; then
  1419. srcdir=..
  1420. fi
  1421. else
  1422. ac_srcdir_defaulted=no
  1423. fi
  1424. if test ! -r "$srcdir/$ac_unique_file"; then
  1425. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1426. { $as_echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
  1427. { (exit 1); exit 1; }; }
  1428. fi
  1429. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1430. ac_abs_confdir=`(
  1431. cd "$srcdir" && test -r "./$ac_unique_file" || { $as_echo "$as_me: error: $ac_msg" >&2
  1432. { (exit 1); exit 1; }; }
  1433. pwd)`
  1434. # When building in place, set srcdir=.
  1435. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1436. srcdir=.
  1437. fi
  1438. # Remove unnecessary trailing slashes from srcdir.
  1439. # Double slashes in file names in object file debugging info
  1440. # mess up M-x gdb in Emacs.
  1441. case $srcdir in
  1442. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1443. esac
  1444. for ac_var in $ac_precious_vars; do
  1445. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1446. eval ac_env_${ac_var}_value=\$${ac_var}
  1447. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1448. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1449. done
  1450. #
  1451. # Report the --help message.
  1452. #
  1453. if test "$ac_init_help" = "long"; then
  1454. # Omit some internal or obsolete options to make the list less imposing.
  1455. # This message is too long to be a string in the A/UX 3.1 sh.
  1456. cat <<_ACEOF
  1457. \`configure' configures this package to adapt to many kinds of systems.
  1458. Usage: $0 [OPTION]... [VAR=VALUE]...
  1459. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1460. VAR=VALUE. See below for descriptions of some of the useful variables.
  1461. Defaults for the options are specified in brackets.
  1462. Configuration:
  1463. -h, --help display this help and exit
  1464. --help=short display options specific to this package
  1465. --help=recursive display the short help of all the included packages
  1466. -V, --version display version information and exit
  1467. -q, --quiet, --silent do not print \`checking...' messages
  1468. --cache-file=FILE cache test results in FILE [disabled]
  1469. -C, --config-cache alias for \`--cache-file=config.cache'
  1470. -n, --no-create do not create output files
  1471. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1472. Installation directories:
  1473. --prefix=PREFIX install architecture-independent files in PREFIX
  1474. [$ac_default_prefix]
  1475. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1476. [PREFIX]
  1477. By default, \`make install' will install all the files in
  1478. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1479. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1480. for instance \`--prefix=\$HOME'.
  1481. For better control, use the options below.
  1482. Fine tuning of the installation directories:
  1483. --bindir=DIR user executables [EPREFIX/bin]
  1484. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1485. --libexecdir=DIR program executables [EPREFIX/libexec]
  1486. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1487. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1488. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1489. --libdir=DIR object code libraries [EPREFIX/lib]
  1490. --includedir=DIR C header files [PREFIX/include]
  1491. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1492. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1493. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1494. --infodir=DIR info documentation [DATAROOTDIR/info]
  1495. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1496. --mandir=DIR man documentation [DATAROOTDIR/man]
  1497. --docdir=DIR documentation root [DATAROOTDIR/doc/PACKAGE]
  1498. --htmldir=DIR html documentation [DOCDIR]
  1499. --dvidir=DIR dvi documentation [DOCDIR]
  1500. --pdfdir=DIR pdf documentation [DOCDIR]
  1501. --psdir=DIR ps documentation [DOCDIR]
  1502. _ACEOF
  1503. cat <<\_ACEOF
  1504. Program names:
  1505. --program-prefix=PREFIX prepend PREFIX to installed program names
  1506. --program-suffix=SUFFIX append SUFFIX to installed program names
  1507. --program-transform-name=PROGRAM run sed PROGRAM on installed program names
  1508. System types:
  1509. --build=BUILD configure for building on BUILD [guessed]
  1510. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1511. _ACEOF
  1512. fi
  1513. if test -n "$ac_init_help"; then
  1514. cat <<\_ACEOF
  1515. Optional Features:
  1516. --disable-option-checking ignore unrecognized --enable/--with options
  1517. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1518. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1519. --disable-dependency-tracking speeds up one-time build
  1520. --enable-dependency-tracking do not reject slow dependency extractors
  1521. --enable-shared[=PKGS] build shared libraries [default=yes]
  1522. --enable-static[=PKGS] build static libraries [default=yes]
  1523. --enable-fast-install[=PKGS]
  1524. optimize for fast installation [default=yes]
  1525. --disable-libtool-lock avoid locking (might break parallel builds)
  1526. --enable-rebuild-docs[=yes/no] rebuild some generated docs [default=yes]
  1527. --enable-ipv6[=yes/no] enables compilation of IPv6 code [default=yes]
  1528. Optional Packages:
  1529. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  1530. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  1531. --with-pic try to use only PIC/non-PIC objects [default=use
  1532. both]
  1533. --with-gnu-ld assume the C compiler uses GNU ld [default=no]
  1534. --with-c14n add the Canonicalization support (on)
  1535. --with-catalog add the Catalog support (on)
  1536. --with-debug add the debugging module (on)
  1537. --with-docbook add Docbook SGML support (on)
  1538. --with-fexceptions add GCC flag -fexceptions for C++ exceptions (off)
  1539. --with-ftp add the FTP support (on)
  1540. --with-history add history support to xmllint shell(off)
  1541. --with-html add the HTML support (on)
  1542. --with-html-dir=path path to base html directory, default
  1543. $datadir/doc/html
  1544. --with-html-subdir=path directory used under html-dir, default
  1545. $PACKAGE-$VERSION/html
  1546. --with-http add the HTTP support (on)
  1547. --with-iconv[=DIR] add ICONV support (on)
  1548. --with-iso8859x add ISO8859X support if no iconv (on)
  1549. --with-legacy add deprecated APIs for compatibility (on)
  1550. --with-mem-debug add the memory debugging module (off)
  1551. --with-minimum build a minimally sized library (off)
  1552. --with-output add the serialization support (on)
  1553. --with-pattern add the xmlPattern selection interface (on)
  1554. --with-push add the PUSH parser interfaces (on)
  1555. --with-python[=DIR] build Python bindings if found
  1556. --with-reader add the xmlReader parsing interface (on)
  1557. --with-readline=DIR use readline in DIR
  1558. --with-regexps add Regular Expressions support (on)
  1559. --with-run-debug add the runtime debugging module (off)
  1560. --with-sax1 add the older SAX1 interface (on)
  1561. --with-schemas add Relax-NG and Schemas support (on)
  1562. --with-schematron add Schematron support (on)
  1563. --with-threads add multithread support(on)
  1564. --with-thread-alloc add per-thread memory(off)
  1565. --with-tree add the DOM like tree manipulation APIs (on)
  1566. --with-valid add the DTD validation support (on)
  1567. --with-writer add the xmlWriter saving interface (on)
  1568. --with-xinclude add the XInclude support (on)
  1569. --with-xpath add the XPATH support (on)
  1570. --with-xptr add the XPointer support (on)
  1571. --with-modules add the dynamic modules support (on)
  1572. --with-zlib[=DIR] use libz in DIR
  1573. --with-coverage build for code coverage with GCC (off)
  1574. Some influential environment variables:
  1575. CC C compiler command
  1576. CFLAGS C compiler flags
  1577. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  1578. nonstandard directory <lib dir>
  1579. LIBS libraries to pass to the linker, e.g. -l<library>
  1580. CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
  1581. you have headers in a nonstandard directory <include dir>
  1582. CPP C preprocessor
  1583. Use these variables to override the choices made by `configure' or to help
  1584. it to find libraries and programs with nonstandard names/locations.
  1585. _ACEOF
  1586. ac_status=$?
  1587. fi
  1588. if test "$ac_init_help" = "recursive"; then
  1589. # If there are subdirs, report their specific --help.
  1590. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  1591. test -d "$ac_dir" ||
  1592. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  1593. continue
  1594. ac_builddir=.
  1595. case "$ac_dir" in
  1596. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1597. *)
  1598. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  1599. # A ".." for each directory in $ac_dir_suffix.
  1600. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  1601. case $ac_top_builddir_sub in
  1602. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  1603. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  1604. esac ;;
  1605. esac
  1606. ac_abs_top_builddir=$ac_pwd
  1607. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  1608. # for backward compatibility:
  1609. ac_top_builddir=$ac_top_build_prefix
  1610. case $srcdir in
  1611. .) # We are building in place.
  1612. ac_srcdir=.
  1613. ac_top_srcdir=$ac_top_builddir_sub
  1614. ac_abs_top_srcdir=$ac_pwd ;;
  1615. [\\/]* | ?:[\\/]* ) # Absolute name.
  1616. ac_srcdir=$srcdir$ac_dir_suffix;
  1617. ac_top_srcdir=$srcdir
  1618. ac_abs_top_srcdir=$srcdir ;;
  1619. *) # Relative name.
  1620. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  1621. ac_top_srcdir=$ac_top_build_prefix$srcdir
  1622. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  1623. esac
  1624. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  1625. cd "$ac_dir" || { ac_status=$?; continue; }
  1626. # Check for guested configure.
  1627. if test -f "$ac_srcdir/configure.gnu"; then
  1628. echo &&
  1629. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  1630. elif test -f "$ac_srcdir/configure"; then
  1631. echo &&
  1632. $SHELL "$ac_srcdir/configure" --help=recursive
  1633. else
  1634. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  1635. fi || ac_status=$?
  1636. cd "$ac_pwd" || { ac_status=$?; break; }
  1637. done
  1638. fi
  1639. test -n "$ac_init_help" && exit $ac_status
  1640. if $ac_init_version; then
  1641. cat <<\_ACEOF
  1642. configure
  1643. generated by GNU Autoconf 2.63
  1644. Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
  1645. 2002, 2003, 2004, 2005, 2006, 2007, 2008 Free Software Foundation, Inc.
  1646. This configure script is free software; the Free Software Foundation
  1647. gives unlimited permission to copy, distribute and modify it.
  1648. _ACEOF
  1649. exit
  1650. fi
  1651. cat >config.log <<_ACEOF
  1652. This file contains any messages produced by compilers while
  1653. running configure, to aid debugging if configure makes a mistake.
  1654. It was created by $as_me, which was
  1655. generated by GNU Autoconf 2.63. Invocation command line was
  1656. $ $0 $@
  1657. _ACEOF
  1658. exec 5>>config.log
  1659. {
  1660. cat <<_ASUNAME
  1661. ## --------- ##
  1662. ## Platform. ##
  1663. ## --------- ##
  1664. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  1665. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  1666. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  1667. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  1668. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  1669. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  1670. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  1671. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  1672. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  1673. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  1674. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  1675. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  1676. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  1677. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  1678. _ASUNAME
  1679. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  1680. for as_dir in $PATH
  1681. do
  1682. IFS=$as_save_IFS
  1683. test -z "$as_dir" && as_dir=.
  1684. $as_echo "PATH: $as_dir"
  1685. done
  1686. IFS=$as_save_IFS
  1687. } >&5
  1688. cat >&5 <<_ACEOF
  1689. ## ----------- ##
  1690. ## Core tests. ##
  1691. ## ----------- ##
  1692. _ACEOF
  1693. # Keep a trace of the command line.
  1694. # Strip out --no-create and --no-recursion so they do not pile up.
  1695. # Strip out --silent because we don't want to record it for future runs.
  1696. # Also quote any args containing shell meta-characters.
  1697. # Make two passes to allow for proper duplicate-argument suppression.
  1698. ac_configure_args=
  1699. ac_configure_args0=
  1700. ac_configure_args1=
  1701. ac_must_keep_next=false
  1702. for ac_pass in 1 2
  1703. do
  1704. for ac_arg
  1705. do
  1706. case $ac_arg in
  1707. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  1708. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1709. | -silent | --silent | --silen | --sile | --sil)
  1710. continue ;;
  1711. *\'*)
  1712. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  1713. esac
  1714. case $ac_pass in
  1715. 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
  1716. 2)
  1717. ac_configure_args1="$ac_configure_args1 '$ac_arg'"
  1718. if test $ac_must_keep_next = true; then
  1719. ac_must_keep_next=false # Got value, back to normal.
  1720. else
  1721. case $ac_arg in
  1722. *=* | --config-cache | -C | -disable-* | --disable-* \
  1723. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  1724. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  1725. | -with-* | --with-* | -without-* | --without-* | --x)
  1726. case "$ac_configure_args0 " in
  1727. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  1728. esac
  1729. ;;
  1730. -* ) ac_must_keep_next=true ;;
  1731. esac
  1732. fi
  1733. ac_configure_args="$ac_configure_args '$ac_arg'"
  1734. ;;
  1735. esac
  1736. done
  1737. done
  1738. $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
  1739. $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
  1740. # When interrupted or exit'd, cleanup temporary files, and complete
  1741. # config.log. We remove comments because anyway the quotes in there
  1742. # would cause problems or look ugly.
  1743. # WARNING: Use '\'' to represent an apostrophe within the trap.
  1744. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  1745. trap 'exit_status=$?
  1746. # Save into config.log some information that might help in debugging.
  1747. {
  1748. echo
  1749. cat <<\_ASBOX
  1750. ## ---------------- ##
  1751. ## Cache variables. ##
  1752. ## ---------------- ##
  1753. _ASBOX
  1754. echo
  1755. # The following way of writing the cache mishandles newlines in values,
  1756. (
  1757. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  1758. eval ac_val=\$$ac_var
  1759. case $ac_val in #(
  1760. *${as_nl}*)
  1761. case $ac_var in #(
  1762. *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  1763. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  1764. esac
  1765. case $ac_var in #(
  1766. _ | IFS | as_nl) ;; #(
  1767. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  1768. *) $as_unset $ac_var ;;
  1769. esac ;;
  1770. esac
  1771. done
  1772. (set) 2>&1 |
  1773. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  1774. *${as_nl}ac_space=\ *)
  1775. sed -n \
  1776. "s/'\''/'\''\\\\'\'''\''/g;
  1777. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  1778. ;; #(
  1779. *)
  1780. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  1781. ;;
  1782. esac |
  1783. sort
  1784. )
  1785. echo
  1786. cat <<\_ASBOX
  1787. ## ----------------- ##
  1788. ## Output variables. ##
  1789. ## ----------------- ##
  1790. _ASBOX
  1791. echo
  1792. for ac_var in $ac_subst_vars
  1793. do
  1794. eval ac_val=\$$ac_var
  1795. case $ac_val in
  1796. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1797. esac
  1798. $as_echo "$ac_var='\''$ac_val'\''"
  1799. done | sort
  1800. echo
  1801. if test -n "$ac_subst_files"; then
  1802. cat <<\_ASBOX
  1803. ## ------------------- ##
  1804. ## File substitutions. ##
  1805. ## ------------------- ##
  1806. _ASBOX
  1807. echo
  1808. for ac_var in $ac_subst_files
  1809. do
  1810. eval ac_val=\$$ac_var
  1811. case $ac_val in
  1812. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  1813. esac
  1814. $as_echo "$ac_var='\''$ac_val'\''"
  1815. done | sort
  1816. echo
  1817. fi
  1818. if test -s confdefs.h; then
  1819. cat <<\_ASBOX
  1820. ## ----------- ##
  1821. ## confdefs.h. ##
  1822. ## ----------- ##
  1823. _ASBOX
  1824. echo
  1825. cat confdefs.h
  1826. echo
  1827. fi
  1828. test "$ac_signal" != 0 &&
  1829. $as_echo "$as_me: caught signal $ac_signal"
  1830. $as_echo "$as_me: exit $exit_status"
  1831. } >&5
  1832. rm -f core *.core core.conftest.* &&
  1833. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  1834. exit $exit_status
  1835. ' 0
  1836. for ac_signal in 1 2 13 15; do
  1837. trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
  1838. done
  1839. ac_signal=0
  1840. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  1841. rm -f -r conftest* confdefs.h
  1842. # Predefined preprocessor variables.
  1843. cat >>confdefs.h <<_ACEOF
  1844. #define PACKAGE_NAME "$PACKAGE_NAME"
  1845. _ACEOF
  1846. cat >>confdefs.h <<_ACEOF
  1847. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  1848. _ACEOF
  1849. cat >>confdefs.h <<_ACEOF
  1850. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  1851. _ACEOF
  1852. cat >>confdefs.h <<_ACEOF
  1853. #define PACKAGE_STRING "$PACKAGE_STRING"
  1854. _ACEOF
  1855. cat >>confdefs.h <<_ACEOF
  1856. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  1857. _ACEOF
  1858. # Let the site file select an alternate cache file if it wants to.
  1859. # Prefer an explicitly selected file to automatically selected ones.
  1860. ac_site_file1=NONE
  1861. ac_site_file2=NONE
  1862. if test -n "$CONFIG_SITE"; then
  1863. ac_site_file1=$CONFIG_SITE
  1864. elif test "x$prefix" != xNONE; then
  1865. ac_site_file1=$prefix/share/config.site
  1866. ac_site_file2=$prefix/etc/config.site
  1867. else
  1868. ac_site_file1=$ac_default_prefix/share/config.site
  1869. ac_site_file2=$ac_default_prefix/etc/config.site
  1870. fi
  1871. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  1872. do
  1873. test "x$ac_site_file" = xNONE && continue
  1874. if test -r "$ac_site_file"; then
  1875. { $as_echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
  1876. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  1877. sed 's/^/| /' "$ac_site_file" >&5
  1878. . "$ac_site_file"
  1879. fi
  1880. done
  1881. if test -r "$cache_file"; then
  1882. # Some versions of bash will fail to source /dev/null (special
  1883. # files actually), so we avoid doing that.
  1884. if test -f "$cache_file"; then
  1885. { $as_echo "$as_me:$LINENO: loading cache $cache_file" >&5
  1886. $as_echo "$as_me: loading cache $cache_file" >&6;}
  1887. case $cache_file in
  1888. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  1889. *) . "./$cache_file";;
  1890. esac
  1891. fi
  1892. else
  1893. { $as_echo "$as_me:$LINENO: creating cache $cache_file" >&5
  1894. $as_echo "$as_me: creating cache $cache_file" >&6;}
  1895. >$cache_file
  1896. fi
  1897. # Check that the precious variables saved in the cache have kept the same
  1898. # value.
  1899. ac_cache_corrupted=false
  1900. for ac_var in $ac_precious_vars; do
  1901. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  1902. eval ac_new_set=\$ac_env_${ac_var}_set
  1903. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  1904. eval ac_new_val=\$ac_env_${ac_var}_value
  1905. case $ac_old_set,$ac_new_set in
  1906. set,)
  1907. { $as_echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  1908. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  1909. ac_cache_corrupted=: ;;
  1910. ,set)
  1911. { $as_echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
  1912. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  1913. ac_cache_corrupted=: ;;
  1914. ,);;
  1915. *)
  1916. if test "x$ac_old_val" != "x$ac_new_val"; then
  1917. # differences in whitespace do not lead to failure.
  1918. ac_old_val_w=`echo x $ac_old_val`
  1919. ac_new_val_w=`echo x $ac_new_val`
  1920. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  1921. { $as_echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
  1922. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  1923. ac_cache_corrupted=:
  1924. else
  1925. { $as_echo "$as_me:$LINENO: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  1926. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  1927. eval $ac_var=\$ac_old_val
  1928. fi
  1929. { $as_echo "$as_me:$LINENO: former value: \`$ac_old_val'" >&5
  1930. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  1931. { $as_echo "$as_me:$LINENO: current value: \`$ac_new_val'" >&5
  1932. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  1933. fi;;
  1934. esac
  1935. # Pass precious variables to config.status.
  1936. if test "$ac_new_set" = set; then
  1937. case $ac_new_val in
  1938. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  1939. *) ac_arg=$ac_var=$ac_new_val ;;
  1940. esac
  1941. case " $ac_configure_args " in
  1942. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  1943. *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
  1944. esac
  1945. fi
  1946. done
  1947. if $ac_cache_corrupted; then
  1948. { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  1949. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  1950. { $as_echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
  1951. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  1952. { { $as_echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
  1953. $as_echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
  1954. { (exit 1); exit 1; }; }
  1955. fi
  1956. ac_ext=c
  1957. ac_cpp='$CPP $CPPFLAGS'
  1958. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  1959. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  1960. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  1961. ac_config_headers="$ac_config_headers config.h"
  1962. ac_aux_dir=
  1963. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  1964. if test -f "$ac_dir/install-sh"; then
  1965. ac_aux_dir=$ac_dir
  1966. ac_install_sh="$ac_aux_dir/install-sh -c"
  1967. break
  1968. elif test -f "$ac_dir/install.sh"; then
  1969. ac_aux_dir=$ac_dir
  1970. ac_install_sh="$ac_aux_dir/install.sh -c"
  1971. break
  1972. elif test -f "$ac_dir/shtool"; then
  1973. ac_aux_dir=$ac_dir
  1974. ac_install_sh="$ac_aux_dir/shtool install -c"
  1975. break
  1976. fi
  1977. done
  1978. if test -z "$ac_aux_dir"; then
  1979. { { $as_echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
  1980. $as_echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
  1981. { (exit 1); exit 1; }; }
  1982. fi
  1983. # These three variables are undocumented and unsupported,
  1984. # and are intended to be withdrawn in a future Autoconf release.
  1985. # They can cause serious problems if a builder's source tree is in a directory
  1986. # whose full name contains unusual characters.
  1987. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  1988. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  1989. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  1990. # Make sure we can run config.sub.
  1991. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  1992. { { $as_echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
  1993. $as_echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
  1994. { (exit 1); exit 1; }; }
  1995. { $as_echo "$as_me:$LINENO: checking build system type" >&5
  1996. $as_echo_n "checking build system type... " >&6; }
  1997. if test "${ac_cv_build+set}" = set; then
  1998. $as_echo_n "(cached) " >&6
  1999. else
  2000. ac_build_alias=$build_alias
  2001. test "x$ac_build_alias" = x &&
  2002. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  2003. test "x$ac_build_alias" = x &&
  2004. { { $as_echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
  2005. $as_echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
  2006. { (exit 1); exit 1; }; }
  2007. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  2008. { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
  2009. $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
  2010. { (exit 1); exit 1; }; }
  2011. fi
  2012. { $as_echo "$as_me:$LINENO: result: $ac_cv_build" >&5
  2013. $as_echo "$ac_cv_build" >&6; }
  2014. case $ac_cv_build in
  2015. *-*-*) ;;
  2016. *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
  2017. $as_echo "$as_me: error: invalid value of canonical build" >&2;}
  2018. { (exit 1); exit 1; }; };;
  2019. esac
  2020. build=$ac_cv_build
  2021. ac_save_IFS=$IFS; IFS='-'
  2022. set x $ac_cv_build
  2023. shift
  2024. build_cpu=$1
  2025. build_vendor=$2
  2026. shift; shift
  2027. # Remember, the first character of IFS is used to create $*,
  2028. # except with old shells:
  2029. build_os=$*
  2030. IFS=$ac_save_IFS
  2031. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  2032. { $as_echo "$as_me:$LINENO: checking host system type" >&5
  2033. $as_echo_n "checking host system type... " >&6; }
  2034. if test "${ac_cv_host+set}" = set; then
  2035. $as_echo_n "(cached) " >&6
  2036. else
  2037. if test "x$host_alias" = x; then
  2038. ac_cv_host=$ac_cv_build
  2039. else
  2040. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  2041. { { $as_echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
  2042. $as_echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
  2043. { (exit 1); exit 1; }; }
  2044. fi
  2045. fi
  2046. { $as_echo "$as_me:$LINENO: result: $ac_cv_host" >&5
  2047. $as_echo "$ac_cv_host" >&6; }
  2048. case $ac_cv_host in
  2049. *-*-*) ;;
  2050. *) { { $as_echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
  2051. $as_echo "$as_me: error: invalid value of canonical host" >&2;}
  2052. { (exit 1); exit 1; }; };;
  2053. esac
  2054. host=$ac_cv_host
  2055. ac_save_IFS=$IFS; IFS='-'
  2056. set x $ac_cv_host
  2057. shift
  2058. host_cpu=$1
  2059. host_vendor=$2
  2060. shift; shift
  2061. # Remember, the first character of IFS is used to create $*,
  2062. # except with old shells:
  2063. host_os=$*
  2064. IFS=$ac_save_IFS
  2065. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  2066. LIBXML_MAJOR_VERSION=2
  2067. LIBXML_MINOR_VERSION=7
  2068. LIBXML_MICRO_VERSION=6
  2069. LIBXML_MICRO_VERSION_SUFFIX=
  2070. LIBXML_VERSION=$LIBXML_MAJOR_VERSION.$LIBXML_MINOR_VERSION.$LIBXML_MICRO_VERSION$LIBXML_MICRO_VERSION_SUFFIX
  2071. LIBXML_VERSION_INFO=`expr $LIBXML_MAJOR_VERSION + $LIBXML_MINOR_VERSION`:$LIBXML_MICRO_VERSION:$LIBXML_MINOR_VERSION
  2072. LIBXML_VERSION_NUMBER=`expr $LIBXML_MAJOR_VERSION \* 10000 + $LIBXML_MINOR_VERSION \* 100 + $LIBXML_MICRO_VERSION`
  2073. if test -f CVS/Entries ; then
  2074. extra=`grep ChangeLog CVS/Entries | grep -v LIBXML | sed -e s\%/ChangeLog/1\.%% -e s\%/.*$%%`
  2075. echo extra=$extra
  2076. if test "$extra" != ""
  2077. then
  2078. LIBXML_VERSION_EXTRA="-CVS$extra"
  2079. fi
  2080. else if test -d .svn ; then
  2081. extra=`svn info | grep Revision | sed 's+Revision: ++'`
  2082. echo extra=$extra
  2083. if test "$extra" != ""
  2084. then
  2085. LIBXML_VERSION_EXTRA="-SVN$extra"
  2086. fi
  2087. else if test -d .git ; then
  2088. extra=`git describe | sed 's+LIBXML[0-9.]*-++'`
  2089. echo extra=$extra
  2090. if test "$extra" != ""
  2091. then
  2092. LIBXML_VERSION_EXTRA="-GIT$extra"
  2093. fi
  2094. fi
  2095. fi
  2096. fi
  2097. VERSION=${LIBXML_VERSION}
  2098. am__api_version='1.11'
  2099. # Find a good install program. We prefer a C program (faster),
  2100. # so one script is as good as another. But avoid the broken or
  2101. # incompatible versions:
  2102. # SysV /etc/install, /usr/sbin/install
  2103. # SunOS /usr/etc/install
  2104. # IRIX /sbin/install
  2105. # AIX /bin/install
  2106. # AmigaOS /C/install, which installs bootblocks on floppy discs
  2107. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  2108. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  2109. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  2110. # OS/2's system install, which has a completely different semantic
  2111. # ./install, which can be erroneously created by make from ./install.sh.
  2112. # Reject install programs that cannot install multiple files.
  2113. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  2114. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  2115. if test -z "$INSTALL"; then
  2116. if test "${ac_cv_path_install+set}" = set; then
  2117. $as_echo_n "(cached) " >&6
  2118. else
  2119. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2120. for as_dir in $PATH
  2121. do
  2122. IFS=$as_save_IFS
  2123. test -z "$as_dir" && as_dir=.
  2124. # Account for people who put trailing slashes in PATH elements.
  2125. case $as_dir/ in
  2126. ./ | .// | /cC/* | \
  2127. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  2128. ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  2129. /usr/ucb/* ) ;;
  2130. *)
  2131. # OSF1 and SCO ODT 3.0 have their own names for install.
  2132. # Don't use installbsd from OSF since it installs stuff as root
  2133. # by default.
  2134. for ac_prog in ginstall scoinst install; do
  2135. for ac_exec_ext in '' $ac_executable_extensions; do
  2136. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  2137. if test $ac_prog = install &&
  2138. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2139. # AIX install. It has an incompatible calling convention.
  2140. :
  2141. elif test $ac_prog = install &&
  2142. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  2143. # program-specific install script used by HP pwplus--don't use.
  2144. :
  2145. else
  2146. rm -rf conftest.one conftest.two conftest.dir
  2147. echo one > conftest.one
  2148. echo two > conftest.two
  2149. mkdir conftest.dir
  2150. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  2151. test -s conftest.one && test -s conftest.two &&
  2152. test -s conftest.dir/conftest.one &&
  2153. test -s conftest.dir/conftest.two
  2154. then
  2155. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  2156. break 3
  2157. fi
  2158. fi
  2159. fi
  2160. done
  2161. done
  2162. ;;
  2163. esac
  2164. done
  2165. IFS=$as_save_IFS
  2166. rm -rf conftest.one conftest.two conftest.dir
  2167. fi
  2168. if test "${ac_cv_path_install+set}" = set; then
  2169. INSTALL=$ac_cv_path_install
  2170. else
  2171. # As a last resort, use the slow shell script. Don't cache a
  2172. # value for INSTALL within a source directory, because that will
  2173. # break other packages using the cache if that directory is
  2174. # removed, or if the value is a relative name.
  2175. INSTALL=$ac_install_sh
  2176. fi
  2177. fi
  2178. { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  2179. $as_echo "$INSTALL" >&6; }
  2180. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  2181. # It thinks the first close brace ends the variable substitution.
  2182. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  2183. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  2184. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  2185. { $as_echo "$as_me:$LINENO: checking whether build environment is sane" >&5
  2186. $as_echo_n "checking whether build environment is sane... " >&6; }
  2187. # Just in case
  2188. sleep 1
  2189. echo timestamp > conftest.file
  2190. # Reject unsafe characters in $srcdir or the absolute working directory
  2191. # name. Accept space and tab only in the latter.
  2192. am_lf='
  2193. '
  2194. case `pwd` in
  2195. *[\\\"\#\$\&\'\`$am_lf]*)
  2196. { { $as_echo "$as_me:$LINENO: error: unsafe absolute working directory name" >&5
  2197. $as_echo "$as_me: error: unsafe absolute working directory name" >&2;}
  2198. { (exit 1); exit 1; }; };;
  2199. esac
  2200. case $srcdir in
  2201. *[\\\"\#\$\&\'\`$am_lf\ \ ]*)
  2202. { { $as_echo "$as_me:$LINENO: error: unsafe srcdir value: \`$srcdir'" >&5
  2203. $as_echo "$as_me: error: unsafe srcdir value: \`$srcdir'" >&2;}
  2204. { (exit 1); exit 1; }; };;
  2205. esac
  2206. # Do `set' in a subshell so we don't clobber the current shell's
  2207. # arguments. Must try -L first in case configure is actually a
  2208. # symlink; some systems play weird games with the mod time of symlinks
  2209. # (eg FreeBSD returns the mod time of the symlink's containing
  2210. # directory).
  2211. if (
  2212. set X `ls -Lt "$srcdir/configure" conftest.file 2> /dev/null`
  2213. if test "$*" = "X"; then
  2214. # -L didn't work.
  2215. set X `ls -t "$srcdir/configure" conftest.file`
  2216. fi
  2217. rm -f conftest.file
  2218. if test "$*" != "X $srcdir/configure conftest.file" \
  2219. && test "$*" != "X conftest.file $srcdir/configure"; then
  2220. # If neither matched, then we have a broken ls. This can happen
  2221. # if, for instance, CONFIG_SHELL is bash and it inherits a
  2222. # broken ls alias from the environment. This has actually
  2223. # happened. Such a system could not be considered "sane".
  2224. { { $as_echo "$as_me:$LINENO: error: ls -t appears to fail. Make sure there is not a broken
  2225. alias in your environment" >&5
  2226. $as_echo "$as_me: error: ls -t appears to fail. Make sure there is not a broken
  2227. alias in your environment" >&2;}
  2228. { (exit 1); exit 1; }; }
  2229. fi
  2230. test "$2" = conftest.file
  2231. )
  2232. then
  2233. # Ok.
  2234. :
  2235. else
  2236. { { $as_echo "$as_me:$LINENO: error: newly created file is older than distributed files!
  2237. Check your system clock" >&5
  2238. $as_echo "$as_me: error: newly created file is older than distributed files!
  2239. Check your system clock" >&2;}
  2240. { (exit 1); exit 1; }; }
  2241. fi
  2242. { $as_echo "$as_me:$LINENO: result: yes" >&5
  2243. $as_echo "yes" >&6; }
  2244. test "$program_prefix" != NONE &&
  2245. program_transform_name="s&^&$program_prefix&;$program_transform_name"
  2246. # Use a double $ so make ignores it.
  2247. test "$program_suffix" != NONE &&
  2248. program_transform_name="s&\$&$program_suffix&;$program_transform_name"
  2249. # Double any \ or $.
  2250. # By default was `s,x,x', remove it if useless.
  2251. ac_script='s/[\\$]/&&/g;s/;s,x,x,$//'
  2252. program_transform_name=`$as_echo "$program_transform_name" | sed "$ac_script"`
  2253. # expand $ac_aux_dir to an absolute path
  2254. am_aux_dir=`cd $ac_aux_dir && pwd`
  2255. if test x"${MISSING+set}" != xset; then
  2256. case $am_aux_dir in
  2257. *\ * | *\ *)
  2258. MISSING="\${SHELL} \"$am_aux_dir/missing\"" ;;
  2259. *)
  2260. MISSING="\${SHELL} $am_aux_dir/missing" ;;
  2261. esac
  2262. fi
  2263. # Use eval to expand $SHELL
  2264. if eval "$MISSING --run true"; then
  2265. am_missing_run="$MISSING --run "
  2266. else
  2267. am_missing_run=
  2268. { $as_echo "$as_me:$LINENO: WARNING: \`missing' script is too old or missing" >&5
  2269. $as_echo "$as_me: WARNING: \`missing' script is too old or missing" >&2;}
  2270. fi
  2271. if test x"${install_sh}" != xset; then
  2272. case $am_aux_dir in
  2273. *\ * | *\ *)
  2274. install_sh="\${SHELL} '$am_aux_dir/install-sh'" ;;
  2275. *)
  2276. install_sh="\${SHELL} $am_aux_dir/install-sh"
  2277. esac
  2278. fi
  2279. # Installed binaries are usually stripped using `strip' when the user
  2280. # run `make install-strip'. However `strip' might not be the right
  2281. # tool to use in cross-compilation environments, therefore Automake
  2282. # will honor the `STRIP' environment variable to overrule this program.
  2283. if test "$cross_compiling" != no; then
  2284. if test -n "$ac_tool_prefix"; then
  2285. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  2286. set dummy ${ac_tool_prefix}strip; ac_word=$2
  2287. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2288. $as_echo_n "checking for $ac_word... " >&6; }
  2289. if test "${ac_cv_prog_STRIP+set}" = set; then
  2290. $as_echo_n "(cached) " >&6
  2291. else
  2292. if test -n "$STRIP"; then
  2293. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  2294. else
  2295. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2296. for as_dir in $PATH
  2297. do
  2298. IFS=$as_save_IFS
  2299. test -z "$as_dir" && as_dir=.
  2300. for ac_exec_ext in '' $ac_executable_extensions; do
  2301. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2302. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  2303. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2304. break 2
  2305. fi
  2306. done
  2307. done
  2308. IFS=$as_save_IFS
  2309. fi
  2310. fi
  2311. STRIP=$ac_cv_prog_STRIP
  2312. if test -n "$STRIP"; then
  2313. { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  2314. $as_echo "$STRIP" >&6; }
  2315. else
  2316. { $as_echo "$as_me:$LINENO: result: no" >&5
  2317. $as_echo "no" >&6; }
  2318. fi
  2319. fi
  2320. if test -z "$ac_cv_prog_STRIP"; then
  2321. ac_ct_STRIP=$STRIP
  2322. # Extract the first word of "strip", so it can be a program name with args.
  2323. set dummy strip; ac_word=$2
  2324. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2325. $as_echo_n "checking for $ac_word... " >&6; }
  2326. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  2327. $as_echo_n "(cached) " >&6
  2328. else
  2329. if test -n "$ac_ct_STRIP"; then
  2330. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  2331. else
  2332. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2333. for as_dir in $PATH
  2334. do
  2335. IFS=$as_save_IFS
  2336. test -z "$as_dir" && as_dir=.
  2337. for ac_exec_ext in '' $ac_executable_extensions; do
  2338. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2339. ac_cv_prog_ac_ct_STRIP="strip"
  2340. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2341. break 2
  2342. fi
  2343. done
  2344. done
  2345. IFS=$as_save_IFS
  2346. fi
  2347. fi
  2348. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  2349. if test -n "$ac_ct_STRIP"; then
  2350. { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  2351. $as_echo "$ac_ct_STRIP" >&6; }
  2352. else
  2353. { $as_echo "$as_me:$LINENO: result: no" >&5
  2354. $as_echo "no" >&6; }
  2355. fi
  2356. if test "x$ac_ct_STRIP" = x; then
  2357. STRIP=":"
  2358. else
  2359. case $cross_compiling:$ac_tool_warned in
  2360. yes:)
  2361. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  2362. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2363. ac_tool_warned=yes ;;
  2364. esac
  2365. STRIP=$ac_ct_STRIP
  2366. fi
  2367. else
  2368. STRIP="$ac_cv_prog_STRIP"
  2369. fi
  2370. fi
  2371. INSTALL_STRIP_PROGRAM="\$(install_sh) -c -s"
  2372. { $as_echo "$as_me:$LINENO: checking for a thread-safe mkdir -p" >&5
  2373. $as_echo_n "checking for a thread-safe mkdir -p... " >&6; }
  2374. if test -z "$MKDIR_P"; then
  2375. if test "${ac_cv_path_mkdir+set}" = set; then
  2376. $as_echo_n "(cached) " >&6
  2377. else
  2378. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2379. for as_dir in $PATH$PATH_SEPARATOR/opt/sfw/bin
  2380. do
  2381. IFS=$as_save_IFS
  2382. test -z "$as_dir" && as_dir=.
  2383. for ac_prog in mkdir gmkdir; do
  2384. for ac_exec_ext in '' $ac_executable_extensions; do
  2385. { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; } || continue
  2386. case `"$as_dir/$ac_prog$ac_exec_ext" --version 2>&1` in #(
  2387. 'mkdir (GNU coreutils) '* | \
  2388. 'mkdir (coreutils) '* | \
  2389. 'mkdir (fileutils) '4.1*)
  2390. ac_cv_path_mkdir=$as_dir/$ac_prog$ac_exec_ext
  2391. break 3;;
  2392. esac
  2393. done
  2394. done
  2395. done
  2396. IFS=$as_save_IFS
  2397. fi
  2398. if test "${ac_cv_path_mkdir+set}" = set; then
  2399. MKDIR_P="$ac_cv_path_mkdir -p"
  2400. else
  2401. # As a last resort, use the slow shell script. Don't cache a
  2402. # value for MKDIR_P within a source directory, because that will
  2403. # break other packages using the cache if that directory is
  2404. # removed, or if the value is a relative name.
  2405. test -d ./--version && rmdir ./--version
  2406. MKDIR_P="$ac_install_sh -d"
  2407. fi
  2408. fi
  2409. { $as_echo "$as_me:$LINENO: result: $MKDIR_P" >&5
  2410. $as_echo "$MKDIR_P" >&6; }
  2411. mkdir_p="$MKDIR_P"
  2412. case $mkdir_p in
  2413. [\\/$]* | ?:[\\/]*) ;;
  2414. */*) mkdir_p="\$(top_builddir)/$mkdir_p" ;;
  2415. esac
  2416. for ac_prog in gawk mawk nawk awk
  2417. do
  2418. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2419. set dummy $ac_prog; ac_word=$2
  2420. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2421. $as_echo_n "checking for $ac_word... " >&6; }
  2422. if test "${ac_cv_prog_AWK+set}" = set; then
  2423. $as_echo_n "(cached) " >&6
  2424. else
  2425. if test -n "$AWK"; then
  2426. ac_cv_prog_AWK="$AWK" # Let the user override the test.
  2427. else
  2428. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2429. for as_dir in $PATH
  2430. do
  2431. IFS=$as_save_IFS
  2432. test -z "$as_dir" && as_dir=.
  2433. for ac_exec_ext in '' $ac_executable_extensions; do
  2434. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2435. ac_cv_prog_AWK="$ac_prog"
  2436. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2437. break 2
  2438. fi
  2439. done
  2440. done
  2441. IFS=$as_save_IFS
  2442. fi
  2443. fi
  2444. AWK=$ac_cv_prog_AWK
  2445. if test -n "$AWK"; then
  2446. { $as_echo "$as_me:$LINENO: result: $AWK" >&5
  2447. $as_echo "$AWK" >&6; }
  2448. else
  2449. { $as_echo "$as_me:$LINENO: result: no" >&5
  2450. $as_echo "no" >&6; }
  2451. fi
  2452. test -n "$AWK" && break
  2453. done
  2454. { $as_echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  2455. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  2456. set x ${MAKE-make}
  2457. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  2458. if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
  2459. $as_echo_n "(cached) " >&6
  2460. else
  2461. cat >conftest.make <<\_ACEOF
  2462. SHELL = /bin/sh
  2463. all:
  2464. @echo '@@@%%%=$(MAKE)=@@@%%%'
  2465. _ACEOF
  2466. # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
  2467. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  2468. *@@@%%%=?*=@@@%%%*)
  2469. eval ac_cv_prog_make_${ac_make}_set=yes;;
  2470. *)
  2471. eval ac_cv_prog_make_${ac_make}_set=no;;
  2472. esac
  2473. rm -f conftest.make
  2474. fi
  2475. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  2476. { $as_echo "$as_me:$LINENO: result: yes" >&5
  2477. $as_echo "yes" >&6; }
  2478. SET_MAKE=
  2479. else
  2480. { $as_echo "$as_me:$LINENO: result: no" >&5
  2481. $as_echo "no" >&6; }
  2482. SET_MAKE="MAKE=${MAKE-make}"
  2483. fi
  2484. rm -rf .tst 2>/dev/null
  2485. mkdir .tst 2>/dev/null
  2486. if test -d .tst; then
  2487. am__leading_dot=.
  2488. else
  2489. am__leading_dot=_
  2490. fi
  2491. rmdir .tst 2>/dev/null
  2492. if test "`cd $srcdir && pwd`" != "`pwd`"; then
  2493. # Use -I$(srcdir) only when $(srcdir) != ., so that make's output
  2494. # is not polluted with repeated "-I."
  2495. am__isrc=' -I$(srcdir)'
  2496. # test to see if srcdir already configured
  2497. if test -f $srcdir/config.status; then
  2498. { { $as_echo "$as_me:$LINENO: error: source directory already configured; run \"make distclean\" there first" >&5
  2499. $as_echo "$as_me: error: source directory already configured; run \"make distclean\" there first" >&2;}
  2500. { (exit 1); exit 1; }; }
  2501. fi
  2502. fi
  2503. # test whether we have cygpath
  2504. if test -z "$CYGPATH_W"; then
  2505. if (cygpath --version) >/dev/null 2>/dev/null; then
  2506. CYGPATH_W='cygpath -w'
  2507. else
  2508. CYGPATH_W=echo
  2509. fi
  2510. fi
  2511. # Define the identity of the package.
  2512. PACKAGE=libxml2
  2513. VERSION=$VERSION
  2514. cat >>confdefs.h <<_ACEOF
  2515. #define PACKAGE "$PACKAGE"
  2516. _ACEOF
  2517. cat >>confdefs.h <<_ACEOF
  2518. #define VERSION "$VERSION"
  2519. _ACEOF
  2520. # Some tools Automake needs.
  2521. ACLOCAL=${ACLOCAL-"${am_missing_run}aclocal-${am__api_version}"}
  2522. AUTOCONF=${AUTOCONF-"${am_missing_run}autoconf"}
  2523. AUTOMAKE=${AUTOMAKE-"${am_missing_run}automake-${am__api_version}"}
  2524. AUTOHEADER=${AUTOHEADER-"${am_missing_run}autoheader"}
  2525. MAKEINFO=${MAKEINFO-"${am_missing_run}makeinfo"}
  2526. # We need awk for the "check" target. The system "awk" is bad on
  2527. # some platforms.
  2528. # Always define AMTAR for backward compatibility.
  2529. AMTAR=${AMTAR-"${am_missing_run}tar"}
  2530. am__tar='${AMTAR} chof - "$$tardir"'; am__untar='${AMTAR} xf -'
  2531. ac_ext=c
  2532. ac_cpp='$CPP $CPPFLAGS'
  2533. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  2534. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  2535. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  2536. if test -n "$ac_tool_prefix"; then
  2537. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  2538. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  2539. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2540. $as_echo_n "checking for $ac_word... " >&6; }
  2541. if test "${ac_cv_prog_CC+set}" = set; then
  2542. $as_echo_n "(cached) " >&6
  2543. else
  2544. if test -n "$CC"; then
  2545. ac_cv_prog_CC="$CC" # Let the user override the test.
  2546. else
  2547. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2548. for as_dir in $PATH
  2549. do
  2550. IFS=$as_save_IFS
  2551. test -z "$as_dir" && as_dir=.
  2552. for ac_exec_ext in '' $ac_executable_extensions; do
  2553. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2554. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  2555. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2556. break 2
  2557. fi
  2558. done
  2559. done
  2560. IFS=$as_save_IFS
  2561. fi
  2562. fi
  2563. CC=$ac_cv_prog_CC
  2564. if test -n "$CC"; then
  2565. { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2566. $as_echo "$CC" >&6; }
  2567. else
  2568. { $as_echo "$as_me:$LINENO: result: no" >&5
  2569. $as_echo "no" >&6; }
  2570. fi
  2571. fi
  2572. if test -z "$ac_cv_prog_CC"; then
  2573. ac_ct_CC=$CC
  2574. # Extract the first word of "gcc", so it can be a program name with args.
  2575. set dummy gcc; ac_word=$2
  2576. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2577. $as_echo_n "checking for $ac_word... " >&6; }
  2578. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2579. $as_echo_n "(cached) " >&6
  2580. else
  2581. if test -n "$ac_ct_CC"; then
  2582. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2583. else
  2584. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2585. for as_dir in $PATH
  2586. do
  2587. IFS=$as_save_IFS
  2588. test -z "$as_dir" && as_dir=.
  2589. for ac_exec_ext in '' $ac_executable_extensions; do
  2590. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2591. ac_cv_prog_ac_ct_CC="gcc"
  2592. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2593. break 2
  2594. fi
  2595. done
  2596. done
  2597. IFS=$as_save_IFS
  2598. fi
  2599. fi
  2600. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2601. if test -n "$ac_ct_CC"; then
  2602. { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2603. $as_echo "$ac_ct_CC" >&6; }
  2604. else
  2605. { $as_echo "$as_me:$LINENO: result: no" >&5
  2606. $as_echo "no" >&6; }
  2607. fi
  2608. if test "x$ac_ct_CC" = x; then
  2609. CC=""
  2610. else
  2611. case $cross_compiling:$ac_tool_warned in
  2612. yes:)
  2613. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  2614. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2615. ac_tool_warned=yes ;;
  2616. esac
  2617. CC=$ac_ct_CC
  2618. fi
  2619. else
  2620. CC="$ac_cv_prog_CC"
  2621. fi
  2622. if test -z "$CC"; then
  2623. if test -n "$ac_tool_prefix"; then
  2624. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  2625. set dummy ${ac_tool_prefix}cc; ac_word=$2
  2626. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2627. $as_echo_n "checking for $ac_word... " >&6; }
  2628. if test "${ac_cv_prog_CC+set}" = set; then
  2629. $as_echo_n "(cached) " >&6
  2630. else
  2631. if test -n "$CC"; then
  2632. ac_cv_prog_CC="$CC" # Let the user override the test.
  2633. else
  2634. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2635. for as_dir in $PATH
  2636. do
  2637. IFS=$as_save_IFS
  2638. test -z "$as_dir" && as_dir=.
  2639. for ac_exec_ext in '' $ac_executable_extensions; do
  2640. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2641. ac_cv_prog_CC="${ac_tool_prefix}cc"
  2642. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2643. break 2
  2644. fi
  2645. done
  2646. done
  2647. IFS=$as_save_IFS
  2648. fi
  2649. fi
  2650. CC=$ac_cv_prog_CC
  2651. if test -n "$CC"; then
  2652. { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2653. $as_echo "$CC" >&6; }
  2654. else
  2655. { $as_echo "$as_me:$LINENO: result: no" >&5
  2656. $as_echo "no" >&6; }
  2657. fi
  2658. fi
  2659. fi
  2660. if test -z "$CC"; then
  2661. # Extract the first word of "cc", so it can be a program name with args.
  2662. set dummy cc; ac_word=$2
  2663. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2664. $as_echo_n "checking for $ac_word... " >&6; }
  2665. if test "${ac_cv_prog_CC+set}" = set; then
  2666. $as_echo_n "(cached) " >&6
  2667. else
  2668. if test -n "$CC"; then
  2669. ac_cv_prog_CC="$CC" # Let the user override the test.
  2670. else
  2671. ac_prog_rejected=no
  2672. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2673. for as_dir in $PATH
  2674. do
  2675. IFS=$as_save_IFS
  2676. test -z "$as_dir" && as_dir=.
  2677. for ac_exec_ext in '' $ac_executable_extensions; do
  2678. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2679. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  2680. ac_prog_rejected=yes
  2681. continue
  2682. fi
  2683. ac_cv_prog_CC="cc"
  2684. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2685. break 2
  2686. fi
  2687. done
  2688. done
  2689. IFS=$as_save_IFS
  2690. if test $ac_prog_rejected = yes; then
  2691. # We found a bogon in the path, so make sure we never use it.
  2692. set dummy $ac_cv_prog_CC
  2693. shift
  2694. if test $# != 0; then
  2695. # We chose a different compiler from the bogus one.
  2696. # However, it has the same basename, so the bogon will be chosen
  2697. # first if we set CC to just the basename; use the full file name.
  2698. shift
  2699. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  2700. fi
  2701. fi
  2702. fi
  2703. fi
  2704. CC=$ac_cv_prog_CC
  2705. if test -n "$CC"; then
  2706. { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2707. $as_echo "$CC" >&6; }
  2708. else
  2709. { $as_echo "$as_me:$LINENO: result: no" >&5
  2710. $as_echo "no" >&6; }
  2711. fi
  2712. fi
  2713. if test -z "$CC"; then
  2714. if test -n "$ac_tool_prefix"; then
  2715. for ac_prog in cl.exe
  2716. do
  2717. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  2718. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  2719. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2720. $as_echo_n "checking for $ac_word... " >&6; }
  2721. if test "${ac_cv_prog_CC+set}" = set; then
  2722. $as_echo_n "(cached) " >&6
  2723. else
  2724. if test -n "$CC"; then
  2725. ac_cv_prog_CC="$CC" # Let the user override the test.
  2726. else
  2727. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2728. for as_dir in $PATH
  2729. do
  2730. IFS=$as_save_IFS
  2731. test -z "$as_dir" && as_dir=.
  2732. for ac_exec_ext in '' $ac_executable_extensions; do
  2733. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2734. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  2735. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2736. break 2
  2737. fi
  2738. done
  2739. done
  2740. IFS=$as_save_IFS
  2741. fi
  2742. fi
  2743. CC=$ac_cv_prog_CC
  2744. if test -n "$CC"; then
  2745. { $as_echo "$as_me:$LINENO: result: $CC" >&5
  2746. $as_echo "$CC" >&6; }
  2747. else
  2748. { $as_echo "$as_me:$LINENO: result: no" >&5
  2749. $as_echo "no" >&6; }
  2750. fi
  2751. test -n "$CC" && break
  2752. done
  2753. fi
  2754. if test -z "$CC"; then
  2755. ac_ct_CC=$CC
  2756. for ac_prog in cl.exe
  2757. do
  2758. # Extract the first word of "$ac_prog", so it can be a program name with args.
  2759. set dummy $ac_prog; ac_word=$2
  2760. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  2761. $as_echo_n "checking for $ac_word... " >&6; }
  2762. if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
  2763. $as_echo_n "(cached) " >&6
  2764. else
  2765. if test -n "$ac_ct_CC"; then
  2766. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  2767. else
  2768. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  2769. for as_dir in $PATH
  2770. do
  2771. IFS=$as_save_IFS
  2772. test -z "$as_dir" && as_dir=.
  2773. for ac_exec_ext in '' $ac_executable_extensions; do
  2774. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  2775. ac_cv_prog_ac_ct_CC="$ac_prog"
  2776. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  2777. break 2
  2778. fi
  2779. done
  2780. done
  2781. IFS=$as_save_IFS
  2782. fi
  2783. fi
  2784. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  2785. if test -n "$ac_ct_CC"; then
  2786. { $as_echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
  2787. $as_echo "$ac_ct_CC" >&6; }
  2788. else
  2789. { $as_echo "$as_me:$LINENO: result: no" >&5
  2790. $as_echo "no" >&6; }
  2791. fi
  2792. test -n "$ac_ct_CC" && break
  2793. done
  2794. if test "x$ac_ct_CC" = x; then
  2795. CC=""
  2796. else
  2797. case $cross_compiling:$ac_tool_warned in
  2798. yes:)
  2799. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  2800. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  2801. ac_tool_warned=yes ;;
  2802. esac
  2803. CC=$ac_ct_CC
  2804. fi
  2805. fi
  2806. fi
  2807. test -z "$CC" && { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  2808. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2809. { { $as_echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
  2810. See \`config.log' for more details." >&5
  2811. $as_echo "$as_me: error: no acceptable C compiler found in \$PATH
  2812. See \`config.log' for more details." >&2;}
  2813. { (exit 1); exit 1; }; }; }
  2814. # Provide some information about the compiler.
  2815. $as_echo "$as_me:$LINENO: checking for C compiler version" >&5
  2816. set X $ac_compile
  2817. ac_compiler=$2
  2818. { (ac_try="$ac_compiler --version >&5"
  2819. case "(($ac_try" in
  2820. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2821. *) ac_try_echo=$ac_try;;
  2822. esac
  2823. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2824. $as_echo "$ac_try_echo") >&5
  2825. (eval "$ac_compiler --version >&5") 2>&5
  2826. ac_status=$?
  2827. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2828. (exit $ac_status); }
  2829. { (ac_try="$ac_compiler -v >&5"
  2830. case "(($ac_try" in
  2831. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2832. *) ac_try_echo=$ac_try;;
  2833. esac
  2834. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2835. $as_echo "$ac_try_echo") >&5
  2836. (eval "$ac_compiler -v >&5") 2>&5
  2837. ac_status=$?
  2838. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2839. (exit $ac_status); }
  2840. { (ac_try="$ac_compiler -V >&5"
  2841. case "(($ac_try" in
  2842. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2843. *) ac_try_echo=$ac_try;;
  2844. esac
  2845. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2846. $as_echo "$ac_try_echo") >&5
  2847. (eval "$ac_compiler -V >&5") 2>&5
  2848. ac_status=$?
  2849. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2850. (exit $ac_status); }
  2851. cat >conftest.$ac_ext <<_ACEOF
  2852. /* confdefs.h. */
  2853. _ACEOF
  2854. cat confdefs.h >>conftest.$ac_ext
  2855. cat >>conftest.$ac_ext <<_ACEOF
  2856. /* end confdefs.h. */
  2857. int
  2858. main ()
  2859. {
  2860. ;
  2861. return 0;
  2862. }
  2863. _ACEOF
  2864. ac_clean_files_save=$ac_clean_files
  2865. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  2866. # Try to create an executable without -o first, disregard a.out.
  2867. # It will help us diagnose broken compilers, and finding out an intuition
  2868. # of exeext.
  2869. { $as_echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
  2870. $as_echo_n "checking for C compiler default output file name... " >&6; }
  2871. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  2872. # The possible output files:
  2873. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  2874. ac_rmfiles=
  2875. for ac_file in $ac_files
  2876. do
  2877. case $ac_file in
  2878. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  2879. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  2880. esac
  2881. done
  2882. rm -f $ac_rmfiles
  2883. if { (ac_try="$ac_link_default"
  2884. case "(($ac_try" in
  2885. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2886. *) ac_try_echo=$ac_try;;
  2887. esac
  2888. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2889. $as_echo "$ac_try_echo") >&5
  2890. (eval "$ac_link_default") 2>&5
  2891. ac_status=$?
  2892. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2893. (exit $ac_status); }; then
  2894. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  2895. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  2896. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  2897. # so that the user can short-circuit this test for compilers unknown to
  2898. # Autoconf.
  2899. for ac_file in $ac_files ''
  2900. do
  2901. test -f "$ac_file" || continue
  2902. case $ac_file in
  2903. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  2904. ;;
  2905. [ab].out )
  2906. # We found the default executable, but exeext='' is most
  2907. # certainly right.
  2908. break;;
  2909. *.* )
  2910. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  2911. then :; else
  2912. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  2913. fi
  2914. # We set ac_cv_exeext here because the later test for it is not
  2915. # safe: cross compilers may not add the suffix if given an `-o'
  2916. # argument, so we may need to know it at that point already.
  2917. # Even if this section looks crufty: it has the advantage of
  2918. # actually working.
  2919. break;;
  2920. * )
  2921. break;;
  2922. esac
  2923. done
  2924. test "$ac_cv_exeext" = no && ac_cv_exeext=
  2925. else
  2926. ac_file=''
  2927. fi
  2928. { $as_echo "$as_me:$LINENO: result: $ac_file" >&5
  2929. $as_echo "$ac_file" >&6; }
  2930. if test -z "$ac_file"; then
  2931. $as_echo "$as_me: failed program was:" >&5
  2932. sed 's/^/| /' conftest.$ac_ext >&5
  2933. { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  2934. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2935. { { $as_echo "$as_me:$LINENO: error: C compiler cannot create executables
  2936. See \`config.log' for more details." >&5
  2937. $as_echo "$as_me: error: C compiler cannot create executables
  2938. See \`config.log' for more details." >&2;}
  2939. { (exit 77); exit 77; }; }; }
  2940. fi
  2941. ac_exeext=$ac_cv_exeext
  2942. # Check that the compiler produces executables we can run. If not, either
  2943. # the compiler is broken, or we cross compile.
  2944. { $as_echo "$as_me:$LINENO: checking whether the C compiler works" >&5
  2945. $as_echo_n "checking whether the C compiler works... " >&6; }
  2946. # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
  2947. # If not cross compiling, check that we can run a simple program.
  2948. if test "$cross_compiling" != yes; then
  2949. if { ac_try='./$ac_file'
  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:$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:$LINENO: \$? = $ac_status" >&5
  2959. (exit $ac_status); }; }; 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:$LINENO: error: in \`$ac_pwd':" >&5
  2966. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  2967. { { $as_echo "$as_me:$LINENO: error: cannot run C compiled programs.
  2968. If you meant to cross compile, use \`--host'.
  2969. See \`config.log' for more details." >&5
  2970. $as_echo "$as_me: error: cannot run C compiled programs.
  2971. If you meant to cross compile, use \`--host'.
  2972. See \`config.log' for more details." >&2;}
  2973. { (exit 1); exit 1; }; }; }
  2974. fi
  2975. fi
  2976. fi
  2977. { $as_echo "$as_me:$LINENO: result: yes" >&5
  2978. $as_echo "yes" >&6; }
  2979. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  2980. ac_clean_files=$ac_clean_files_save
  2981. # Check that the compiler produces executables we can run. If not, either
  2982. # the compiler is broken, or we cross compile.
  2983. { $as_echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
  2984. $as_echo_n "checking whether we are cross compiling... " >&6; }
  2985. { $as_echo "$as_me:$LINENO: result: $cross_compiling" >&5
  2986. $as_echo "$cross_compiling" >&6; }
  2987. { $as_echo "$as_me:$LINENO: checking for suffix of executables" >&5
  2988. $as_echo_n "checking for suffix of executables... " >&6; }
  2989. if { (ac_try="$ac_link"
  2990. case "(($ac_try" in
  2991. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2992. *) ac_try_echo=$ac_try;;
  2993. esac
  2994. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  2995. $as_echo "$ac_try_echo") >&5
  2996. (eval "$ac_link") 2>&5
  2997. ac_status=$?
  2998. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  2999. (exit $ac_status); }; then
  3000. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  3001. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  3002. # work properly (i.e., refer to `conftest.exe'), while it won't with
  3003. # `rm'.
  3004. for ac_file in conftest.exe conftest conftest.*; do
  3005. test -f "$ac_file" || continue
  3006. case $ac_file in
  3007. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  3008. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  3009. break;;
  3010. * ) break;;
  3011. esac
  3012. done
  3013. else
  3014. { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3015. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3016. { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
  3017. See \`config.log' for more details." >&5
  3018. $as_echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
  3019. See \`config.log' for more details." >&2;}
  3020. { (exit 1); exit 1; }; }; }
  3021. fi
  3022. rm -f conftest$ac_cv_exeext
  3023. { $as_echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
  3024. $as_echo "$ac_cv_exeext" >&6; }
  3025. rm -f conftest.$ac_ext
  3026. EXEEXT=$ac_cv_exeext
  3027. ac_exeext=$EXEEXT
  3028. { $as_echo "$as_me:$LINENO: checking for suffix of object files" >&5
  3029. $as_echo_n "checking for suffix of object files... " >&6; }
  3030. if test "${ac_cv_objext+set}" = set; then
  3031. $as_echo_n "(cached) " >&6
  3032. else
  3033. cat >conftest.$ac_ext <<_ACEOF
  3034. /* confdefs.h. */
  3035. _ACEOF
  3036. cat confdefs.h >>conftest.$ac_ext
  3037. cat >>conftest.$ac_ext <<_ACEOF
  3038. /* end confdefs.h. */
  3039. int
  3040. main ()
  3041. {
  3042. ;
  3043. return 0;
  3044. }
  3045. _ACEOF
  3046. rm -f conftest.o conftest.obj
  3047. if { (ac_try="$ac_compile"
  3048. case "(($ac_try" in
  3049. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3050. *) ac_try_echo=$ac_try;;
  3051. esac
  3052. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3053. $as_echo "$ac_try_echo") >&5
  3054. (eval "$ac_compile") 2>&5
  3055. ac_status=$?
  3056. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3057. (exit $ac_status); }; then
  3058. for ac_file in conftest.o conftest.obj conftest.*; do
  3059. test -f "$ac_file" || continue;
  3060. case $ac_file in
  3061. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  3062. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  3063. break;;
  3064. esac
  3065. done
  3066. else
  3067. $as_echo "$as_me: failed program was:" >&5
  3068. sed 's/^/| /' conftest.$ac_ext >&5
  3069. { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3070. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3071. { { $as_echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
  3072. See \`config.log' for more details." >&5
  3073. $as_echo "$as_me: error: cannot compute suffix of object files: cannot compile
  3074. See \`config.log' for more details." >&2;}
  3075. { (exit 1); exit 1; }; }; }
  3076. fi
  3077. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  3078. fi
  3079. { $as_echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
  3080. $as_echo "$ac_cv_objext" >&6; }
  3081. OBJEXT=$ac_cv_objext
  3082. ac_objext=$OBJEXT
  3083. { $as_echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
  3084. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  3085. if test "${ac_cv_c_compiler_gnu+set}" = set; then
  3086. $as_echo_n "(cached) " >&6
  3087. else
  3088. cat >conftest.$ac_ext <<_ACEOF
  3089. /* confdefs.h. */
  3090. _ACEOF
  3091. cat confdefs.h >>conftest.$ac_ext
  3092. cat >>conftest.$ac_ext <<_ACEOF
  3093. /* end confdefs.h. */
  3094. int
  3095. main ()
  3096. {
  3097. #ifndef __GNUC__
  3098. choke me
  3099. #endif
  3100. ;
  3101. return 0;
  3102. }
  3103. _ACEOF
  3104. rm -f conftest.$ac_objext
  3105. if { (ac_try="$ac_compile"
  3106. case "(($ac_try" in
  3107. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3108. *) ac_try_echo=$ac_try;;
  3109. esac
  3110. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3111. $as_echo "$ac_try_echo") >&5
  3112. (eval "$ac_compile") 2>conftest.er1
  3113. ac_status=$?
  3114. grep -v '^ *+' conftest.er1 >conftest.err
  3115. rm -f conftest.er1
  3116. cat conftest.err >&5
  3117. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3118. (exit $ac_status); } && {
  3119. test -z "$ac_c_werror_flag" ||
  3120. test ! -s conftest.err
  3121. } && test -s conftest.$ac_objext; then
  3122. ac_compiler_gnu=yes
  3123. else
  3124. $as_echo "$as_me: failed program was:" >&5
  3125. sed 's/^/| /' conftest.$ac_ext >&5
  3126. ac_compiler_gnu=no
  3127. fi
  3128. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3129. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  3130. fi
  3131. { $as_echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
  3132. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  3133. if test $ac_compiler_gnu = yes; then
  3134. GCC=yes
  3135. else
  3136. GCC=
  3137. fi
  3138. ac_test_CFLAGS=${CFLAGS+set}
  3139. ac_save_CFLAGS=$CFLAGS
  3140. { $as_echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
  3141. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  3142. if test "${ac_cv_prog_cc_g+set}" = set; then
  3143. $as_echo_n "(cached) " >&6
  3144. else
  3145. ac_save_c_werror_flag=$ac_c_werror_flag
  3146. ac_c_werror_flag=yes
  3147. ac_cv_prog_cc_g=no
  3148. CFLAGS="-g"
  3149. cat >conftest.$ac_ext <<_ACEOF
  3150. /* confdefs.h. */
  3151. _ACEOF
  3152. cat confdefs.h >>conftest.$ac_ext
  3153. cat >>conftest.$ac_ext <<_ACEOF
  3154. /* end confdefs.h. */
  3155. int
  3156. main ()
  3157. {
  3158. ;
  3159. return 0;
  3160. }
  3161. _ACEOF
  3162. rm -f conftest.$ac_objext
  3163. if { (ac_try="$ac_compile"
  3164. case "(($ac_try" in
  3165. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3166. *) ac_try_echo=$ac_try;;
  3167. esac
  3168. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3169. $as_echo "$ac_try_echo") >&5
  3170. (eval "$ac_compile") 2>conftest.er1
  3171. ac_status=$?
  3172. grep -v '^ *+' conftest.er1 >conftest.err
  3173. rm -f conftest.er1
  3174. cat conftest.err >&5
  3175. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3176. (exit $ac_status); } && {
  3177. test -z "$ac_c_werror_flag" ||
  3178. test ! -s conftest.err
  3179. } && test -s conftest.$ac_objext; then
  3180. ac_cv_prog_cc_g=yes
  3181. else
  3182. $as_echo "$as_me: failed program was:" >&5
  3183. sed 's/^/| /' conftest.$ac_ext >&5
  3184. CFLAGS=""
  3185. cat >conftest.$ac_ext <<_ACEOF
  3186. /* confdefs.h. */
  3187. _ACEOF
  3188. cat confdefs.h >>conftest.$ac_ext
  3189. cat >>conftest.$ac_ext <<_ACEOF
  3190. /* end confdefs.h. */
  3191. int
  3192. main ()
  3193. {
  3194. ;
  3195. return 0;
  3196. }
  3197. _ACEOF
  3198. rm -f conftest.$ac_objext
  3199. if { (ac_try="$ac_compile"
  3200. case "(($ac_try" in
  3201. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3202. *) ac_try_echo=$ac_try;;
  3203. esac
  3204. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3205. $as_echo "$ac_try_echo") >&5
  3206. (eval "$ac_compile") 2>conftest.er1
  3207. ac_status=$?
  3208. grep -v '^ *+' conftest.er1 >conftest.err
  3209. rm -f conftest.er1
  3210. cat conftest.err >&5
  3211. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3212. (exit $ac_status); } && {
  3213. test -z "$ac_c_werror_flag" ||
  3214. test ! -s conftest.err
  3215. } && test -s conftest.$ac_objext; then
  3216. :
  3217. else
  3218. $as_echo "$as_me: failed program was:" >&5
  3219. sed 's/^/| /' conftest.$ac_ext >&5
  3220. ac_c_werror_flag=$ac_save_c_werror_flag
  3221. CFLAGS="-g"
  3222. cat >conftest.$ac_ext <<_ACEOF
  3223. /* confdefs.h. */
  3224. _ACEOF
  3225. cat confdefs.h >>conftest.$ac_ext
  3226. cat >>conftest.$ac_ext <<_ACEOF
  3227. /* end confdefs.h. */
  3228. int
  3229. main ()
  3230. {
  3231. ;
  3232. return 0;
  3233. }
  3234. _ACEOF
  3235. rm -f conftest.$ac_objext
  3236. if { (ac_try="$ac_compile"
  3237. case "(($ac_try" in
  3238. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3239. *) ac_try_echo=$ac_try;;
  3240. esac
  3241. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3242. $as_echo "$ac_try_echo") >&5
  3243. (eval "$ac_compile") 2>conftest.er1
  3244. ac_status=$?
  3245. grep -v '^ *+' conftest.er1 >conftest.err
  3246. rm -f conftest.er1
  3247. cat conftest.err >&5
  3248. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3249. (exit $ac_status); } && {
  3250. test -z "$ac_c_werror_flag" ||
  3251. test ! -s conftest.err
  3252. } && test -s conftest.$ac_objext; then
  3253. ac_cv_prog_cc_g=yes
  3254. else
  3255. $as_echo "$as_me: failed program was:" >&5
  3256. sed 's/^/| /' conftest.$ac_ext >&5
  3257. fi
  3258. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3259. fi
  3260. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3261. fi
  3262. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3263. ac_c_werror_flag=$ac_save_c_werror_flag
  3264. fi
  3265. { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
  3266. $as_echo "$ac_cv_prog_cc_g" >&6; }
  3267. if test "$ac_test_CFLAGS" = set; then
  3268. CFLAGS=$ac_save_CFLAGS
  3269. elif test $ac_cv_prog_cc_g = yes; then
  3270. if test "$GCC" = yes; then
  3271. CFLAGS="-g -O2"
  3272. else
  3273. CFLAGS="-g"
  3274. fi
  3275. else
  3276. if test "$GCC" = yes; then
  3277. CFLAGS="-O2"
  3278. else
  3279. CFLAGS=
  3280. fi
  3281. fi
  3282. { $as_echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
  3283. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  3284. if test "${ac_cv_prog_cc_c89+set}" = set; then
  3285. $as_echo_n "(cached) " >&6
  3286. else
  3287. ac_cv_prog_cc_c89=no
  3288. ac_save_CC=$CC
  3289. cat >conftest.$ac_ext <<_ACEOF
  3290. /* confdefs.h. */
  3291. _ACEOF
  3292. cat confdefs.h >>conftest.$ac_ext
  3293. cat >>conftest.$ac_ext <<_ACEOF
  3294. /* end confdefs.h. */
  3295. #include <stdarg.h>
  3296. #include <stdio.h>
  3297. #include <sys/types.h>
  3298. #include <sys/stat.h>
  3299. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  3300. struct buf { int x; };
  3301. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  3302. static char *e (p, i)
  3303. char **p;
  3304. int i;
  3305. {
  3306. return p[i];
  3307. }
  3308. static char *f (char * (*g) (char **, int), char **p, ...)
  3309. {
  3310. char *s;
  3311. va_list v;
  3312. va_start (v,p);
  3313. s = g (p, va_arg (v,int));
  3314. va_end (v);
  3315. return s;
  3316. }
  3317. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  3318. function prototypes and stuff, but not '\xHH' hex character constants.
  3319. These don't provoke an error unfortunately, instead are silently treated
  3320. as 'x'. The following induces an error, until -std is added to get
  3321. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  3322. array size at least. It's necessary to write '\x00'==0 to get something
  3323. that's true only with -std. */
  3324. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  3325. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  3326. inside strings and character constants. */
  3327. #define FOO(x) 'x'
  3328. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  3329. int test (int i, double x);
  3330. struct s1 {int (*f) (int a);};
  3331. struct s2 {int (*f) (double a);};
  3332. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  3333. int argc;
  3334. char **argv;
  3335. int
  3336. main ()
  3337. {
  3338. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  3339. ;
  3340. return 0;
  3341. }
  3342. _ACEOF
  3343. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  3344. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  3345. do
  3346. CC="$ac_save_CC $ac_arg"
  3347. rm -f conftest.$ac_objext
  3348. if { (ac_try="$ac_compile"
  3349. case "(($ac_try" in
  3350. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3351. *) ac_try_echo=$ac_try;;
  3352. esac
  3353. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3354. $as_echo "$ac_try_echo") >&5
  3355. (eval "$ac_compile") 2>conftest.er1
  3356. ac_status=$?
  3357. grep -v '^ *+' conftest.er1 >conftest.err
  3358. rm -f conftest.er1
  3359. cat conftest.err >&5
  3360. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3361. (exit $ac_status); } && {
  3362. test -z "$ac_c_werror_flag" ||
  3363. test ! -s conftest.err
  3364. } && test -s conftest.$ac_objext; then
  3365. ac_cv_prog_cc_c89=$ac_arg
  3366. else
  3367. $as_echo "$as_me: failed program was:" >&5
  3368. sed 's/^/| /' conftest.$ac_ext >&5
  3369. fi
  3370. rm -f core conftest.err conftest.$ac_objext
  3371. test "x$ac_cv_prog_cc_c89" != "xno" && break
  3372. done
  3373. rm -f conftest.$ac_ext
  3374. CC=$ac_save_CC
  3375. fi
  3376. # AC_CACHE_VAL
  3377. case "x$ac_cv_prog_cc_c89" in
  3378. x)
  3379. { $as_echo "$as_me:$LINENO: result: none needed" >&5
  3380. $as_echo "none needed" >&6; } ;;
  3381. xno)
  3382. { $as_echo "$as_me:$LINENO: result: unsupported" >&5
  3383. $as_echo "unsupported" >&6; } ;;
  3384. *)
  3385. CC="$CC $ac_cv_prog_cc_c89"
  3386. { $as_echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
  3387. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  3388. esac
  3389. ac_ext=c
  3390. ac_cpp='$CPP $CPPFLAGS'
  3391. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3392. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3393. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3394. DEPDIR="${am__leading_dot}deps"
  3395. ac_config_commands="$ac_config_commands depfiles"
  3396. am_make=${MAKE-make}
  3397. cat > confinc << 'END'
  3398. am__doit:
  3399. @echo this is the am__doit target
  3400. .PHONY: am__doit
  3401. END
  3402. # If we don't find an include directive, just comment out the code.
  3403. { $as_echo "$as_me:$LINENO: checking for style of include used by $am_make" >&5
  3404. $as_echo_n "checking for style of include used by $am_make... " >&6; }
  3405. am__include="#"
  3406. am__quote=
  3407. _am_result=none
  3408. # First try GNU make style include.
  3409. echo "include confinc" > confmf
  3410. # Ignore all kinds of additional output from `make'.
  3411. case `$am_make -s -f confmf 2> /dev/null` in #(
  3412. *the\ am__doit\ target*)
  3413. am__include=include
  3414. am__quote=
  3415. _am_result=GNU
  3416. ;;
  3417. esac
  3418. # Now try BSD make style include.
  3419. if test "$am__include" = "#"; then
  3420. echo '.include "confinc"' > confmf
  3421. case `$am_make -s -f confmf 2> /dev/null` in #(
  3422. *the\ am__doit\ target*)
  3423. am__include=.include
  3424. am__quote="\""
  3425. _am_result=BSD
  3426. ;;
  3427. esac
  3428. fi
  3429. { $as_echo "$as_me:$LINENO: result: $_am_result" >&5
  3430. $as_echo "$_am_result" >&6; }
  3431. rm -f confinc confmf
  3432. # Check whether --enable-dependency-tracking was given.
  3433. if test "${enable_dependency_tracking+set}" = set; then
  3434. enableval=$enable_dependency_tracking;
  3435. fi
  3436. if test "x$enable_dependency_tracking" != xno; then
  3437. am_depcomp="$ac_aux_dir/depcomp"
  3438. AMDEPBACKSLASH='\'
  3439. fi
  3440. if test "x$enable_dependency_tracking" != xno; then
  3441. AMDEP_TRUE=
  3442. AMDEP_FALSE='#'
  3443. else
  3444. AMDEP_TRUE='#'
  3445. AMDEP_FALSE=
  3446. fi
  3447. depcc="$CC" am_compiler_list=
  3448. { $as_echo "$as_me:$LINENO: checking dependency style of $depcc" >&5
  3449. $as_echo_n "checking dependency style of $depcc... " >&6; }
  3450. if test "${am_cv_CC_dependencies_compiler_type+set}" = set; then
  3451. $as_echo_n "(cached) " >&6
  3452. else
  3453. if test -z "$AMDEP_TRUE" && test -f "$am_depcomp"; then
  3454. # We make a subdir and do the tests there. Otherwise we can end up
  3455. # making bogus files that we don't know about and never remove. For
  3456. # instance it was reported that on HP-UX the gcc test will end up
  3457. # making a dummy file named `D' -- because `-MD' means `put the output
  3458. # in D'.
  3459. mkdir conftest.dir
  3460. # Copy depcomp to subdir because otherwise we won't find it if we're
  3461. # using a relative directory.
  3462. cp "$am_depcomp" conftest.dir
  3463. cd conftest.dir
  3464. # We will build objects and dependencies in a subdirectory because
  3465. # it helps to detect inapplicable dependency modes. For instance
  3466. # both Tru64's cc and ICC support -MD to output dependencies as a
  3467. # side effect of compilation, but ICC will put the dependencies in
  3468. # the current directory while Tru64 will put them in the object
  3469. # directory.
  3470. mkdir sub
  3471. am_cv_CC_dependencies_compiler_type=none
  3472. if test "$am_compiler_list" = ""; then
  3473. am_compiler_list=`sed -n 's/^#*\([a-zA-Z0-9]*\))$/\1/p' < ./depcomp`
  3474. fi
  3475. am__universal=false
  3476. case " $depcc " in #(
  3477. *\ -arch\ *\ -arch\ *) am__universal=true ;;
  3478. esac
  3479. for depmode in $am_compiler_list; do
  3480. # Setup a source with many dependencies, because some compilers
  3481. # like to wrap large dependency lists on column 80 (with \), and
  3482. # we should not choose a depcomp mode which is confused by this.
  3483. #
  3484. # We need to recreate these files for each test, as the compiler may
  3485. # overwrite some of them when testing with obscure command lines.
  3486. # This happens at least with the AIX C compiler.
  3487. : > sub/conftest.c
  3488. for i in 1 2 3 4 5 6; do
  3489. echo '#include "conftst'$i'.h"' >> sub/conftest.c
  3490. # Using `: > sub/conftst$i.h' creates only sub/conftst1.h with
  3491. # Solaris 8's {/usr,}/bin/sh.
  3492. touch sub/conftst$i.h
  3493. done
  3494. echo "${am__include} ${am__quote}sub/conftest.Po${am__quote}" > confmf
  3495. # We check with `-c' and `-o' for the sake of the "dashmstdout"
  3496. # mode. It turns out that the SunPro C++ compiler does not properly
  3497. # handle `-M -o', and we need to detect this. Also, some Intel
  3498. # versions had trouble with output in subdirs
  3499. am__obj=sub/conftest.${OBJEXT-o}
  3500. am__minus_obj="-o $am__obj"
  3501. case $depmode in
  3502. gcc)
  3503. # This depmode causes a compiler race in universal mode.
  3504. test "$am__universal" = false || continue
  3505. ;;
  3506. nosideeffect)
  3507. # after this tag, mechanisms are not by side-effect, so they'll
  3508. # only be used when explicitly requested
  3509. if test "x$enable_dependency_tracking" = xyes; then
  3510. continue
  3511. else
  3512. break
  3513. fi
  3514. ;;
  3515. msvisualcpp | msvcmsys)
  3516. # This compiler won't grok `-c -o', but also, the minuso test has
  3517. # not run yet. These depmodes are late enough in the game, and
  3518. # so weak that their functioning should not be impacted.
  3519. am__obj=conftest.${OBJEXT-o}
  3520. am__minus_obj=
  3521. ;;
  3522. none) break ;;
  3523. esac
  3524. if depmode=$depmode \
  3525. source=sub/conftest.c object=$am__obj \
  3526. depfile=sub/conftest.Po tmpdepfile=sub/conftest.TPo \
  3527. $SHELL ./depcomp $depcc -c $am__minus_obj sub/conftest.c \
  3528. >/dev/null 2>conftest.err &&
  3529. grep sub/conftst1.h sub/conftest.Po > /dev/null 2>&1 &&
  3530. grep sub/conftst6.h sub/conftest.Po > /dev/null 2>&1 &&
  3531. grep $am__obj sub/conftest.Po > /dev/null 2>&1 &&
  3532. ${MAKE-make} -s -f confmf > /dev/null 2>&1; then
  3533. # icc doesn't choke on unknown options, it will just issue warnings
  3534. # or remarks (even with -Werror). So we grep stderr for any message
  3535. # that says an option was ignored or not supported.
  3536. # When given -MP, icc 7.0 and 7.1 complain thusly:
  3537. # icc: Command line warning: ignoring option '-M'; no argument required
  3538. # The diagnosis changed in icc 8.0:
  3539. # icc: Command line remark: option '-MP' not supported
  3540. if (grep 'ignoring option' conftest.err ||
  3541. grep 'not supported' conftest.err) >/dev/null 2>&1; then :; else
  3542. am_cv_CC_dependencies_compiler_type=$depmode
  3543. break
  3544. fi
  3545. fi
  3546. done
  3547. cd ..
  3548. rm -rf conftest.dir
  3549. else
  3550. am_cv_CC_dependencies_compiler_type=none
  3551. fi
  3552. fi
  3553. { $as_echo "$as_me:$LINENO: result: $am_cv_CC_dependencies_compiler_type" >&5
  3554. $as_echo "$am_cv_CC_dependencies_compiler_type" >&6; }
  3555. CCDEPMODE=depmode=$am_cv_CC_dependencies_compiler_type
  3556. if
  3557. test "x$enable_dependency_tracking" != xno \
  3558. && test "$am_cv_CC_dependencies_compiler_type" = gcc3; then
  3559. am__fastdepCC_TRUE=
  3560. am__fastdepCC_FALSE='#'
  3561. else
  3562. am__fastdepCC_TRUE='#'
  3563. am__fastdepCC_FALSE=
  3564. fi
  3565. # Find a good install program. We prefer a C program (faster),
  3566. # so one script is as good as another. But avoid the broken or
  3567. # incompatible versions:
  3568. # SysV /etc/install, /usr/sbin/install
  3569. # SunOS /usr/etc/install
  3570. # IRIX /sbin/install
  3571. # AIX /bin/install
  3572. # AmigaOS /C/install, which installs bootblocks on floppy discs
  3573. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  3574. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  3575. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  3576. # OS/2's system install, which has a completely different semantic
  3577. # ./install, which can be erroneously created by make from ./install.sh.
  3578. # Reject install programs that cannot install multiple files.
  3579. { $as_echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
  3580. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  3581. if test -z "$INSTALL"; then
  3582. if test "${ac_cv_path_install+set}" = set; then
  3583. $as_echo_n "(cached) " >&6
  3584. else
  3585. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3586. for as_dir in $PATH
  3587. do
  3588. IFS=$as_save_IFS
  3589. test -z "$as_dir" && as_dir=.
  3590. # Account for people who put trailing slashes in PATH elements.
  3591. case $as_dir/ in
  3592. ./ | .// | /cC/* | \
  3593. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  3594. ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
  3595. /usr/ucb/* ) ;;
  3596. *)
  3597. # OSF1 and SCO ODT 3.0 have their own names for install.
  3598. # Don't use installbsd from OSF since it installs stuff as root
  3599. # by default.
  3600. for ac_prog in ginstall scoinst install; do
  3601. for ac_exec_ext in '' $ac_executable_extensions; do
  3602. if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
  3603. if test $ac_prog = install &&
  3604. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  3605. # AIX install. It has an incompatible calling convention.
  3606. :
  3607. elif test $ac_prog = install &&
  3608. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  3609. # program-specific install script used by HP pwplus--don't use.
  3610. :
  3611. else
  3612. rm -rf conftest.one conftest.two conftest.dir
  3613. echo one > conftest.one
  3614. echo two > conftest.two
  3615. mkdir conftest.dir
  3616. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  3617. test -s conftest.one && test -s conftest.two &&
  3618. test -s conftest.dir/conftest.one &&
  3619. test -s conftest.dir/conftest.two
  3620. then
  3621. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  3622. break 3
  3623. fi
  3624. fi
  3625. fi
  3626. done
  3627. done
  3628. ;;
  3629. esac
  3630. done
  3631. IFS=$as_save_IFS
  3632. rm -rf conftest.one conftest.two conftest.dir
  3633. fi
  3634. if test "${ac_cv_path_install+set}" = set; then
  3635. INSTALL=$ac_cv_path_install
  3636. else
  3637. # As a last resort, use the slow shell script. Don't cache a
  3638. # value for INSTALL within a source directory, because that will
  3639. # break other packages using the cache if that directory is
  3640. # removed, or if the value is a relative name.
  3641. INSTALL=$ac_install_sh
  3642. fi
  3643. fi
  3644. { $as_echo "$as_me:$LINENO: result: $INSTALL" >&5
  3645. $as_echo "$INSTALL" >&6; }
  3646. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  3647. # It thinks the first close brace ends the variable substitution.
  3648. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  3649. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  3650. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  3651. ac_ext=c
  3652. ac_cpp='$CPP $CPPFLAGS'
  3653. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3654. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3655. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3656. { $as_echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
  3657. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  3658. # On Suns, sometimes $CPP names a directory.
  3659. if test -n "$CPP" && test -d "$CPP"; then
  3660. CPP=
  3661. fi
  3662. if test -z "$CPP"; then
  3663. if test "${ac_cv_prog_CPP+set}" = set; then
  3664. $as_echo_n "(cached) " >&6
  3665. else
  3666. # Double quotes because CPP needs to be expanded
  3667. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  3668. do
  3669. ac_preproc_ok=false
  3670. for ac_c_preproc_warn_flag in '' yes
  3671. do
  3672. # Use a header file that comes with gcc, so configuring glibc
  3673. # with a fresh cross-compiler works.
  3674. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3675. # <limits.h> exists even on freestanding compilers.
  3676. # On the NeXT, cc -E runs the code through the compiler's parser,
  3677. # not just through cpp. "Syntax error" is here to catch this case.
  3678. cat >conftest.$ac_ext <<_ACEOF
  3679. /* confdefs.h. */
  3680. _ACEOF
  3681. cat confdefs.h >>conftest.$ac_ext
  3682. cat >>conftest.$ac_ext <<_ACEOF
  3683. /* end confdefs.h. */
  3684. #ifdef __STDC__
  3685. # include <limits.h>
  3686. #else
  3687. # include <assert.h>
  3688. #endif
  3689. Syntax error
  3690. _ACEOF
  3691. if { (ac_try="$ac_cpp conftest.$ac_ext"
  3692. case "(($ac_try" in
  3693. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3694. *) ac_try_echo=$ac_try;;
  3695. esac
  3696. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3697. $as_echo "$ac_try_echo") >&5
  3698. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3699. ac_status=$?
  3700. grep -v '^ *+' conftest.er1 >conftest.err
  3701. rm -f conftest.er1
  3702. cat conftest.err >&5
  3703. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3704. (exit $ac_status); } >/dev/null && {
  3705. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3706. test ! -s conftest.err
  3707. }; then
  3708. :
  3709. else
  3710. $as_echo "$as_me: failed program was:" >&5
  3711. sed 's/^/| /' conftest.$ac_ext >&5
  3712. # Broken: fails on valid input.
  3713. continue
  3714. fi
  3715. rm -f conftest.err conftest.$ac_ext
  3716. # OK, works on sane cases. Now check whether nonexistent headers
  3717. # can be detected and how.
  3718. cat >conftest.$ac_ext <<_ACEOF
  3719. /* confdefs.h. */
  3720. _ACEOF
  3721. cat confdefs.h >>conftest.$ac_ext
  3722. cat >>conftest.$ac_ext <<_ACEOF
  3723. /* end confdefs.h. */
  3724. #include <ac_nonexistent.h>
  3725. _ACEOF
  3726. if { (ac_try="$ac_cpp conftest.$ac_ext"
  3727. case "(($ac_try" in
  3728. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3729. *) ac_try_echo=$ac_try;;
  3730. esac
  3731. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3732. $as_echo "$ac_try_echo") >&5
  3733. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3734. ac_status=$?
  3735. grep -v '^ *+' conftest.er1 >conftest.err
  3736. rm -f conftest.er1
  3737. cat conftest.err >&5
  3738. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3739. (exit $ac_status); } >/dev/null && {
  3740. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3741. test ! -s conftest.err
  3742. }; then
  3743. # Broken: success on invalid input.
  3744. continue
  3745. else
  3746. $as_echo "$as_me: failed program was:" >&5
  3747. sed 's/^/| /' conftest.$ac_ext >&5
  3748. # Passes both tests.
  3749. ac_preproc_ok=:
  3750. break
  3751. fi
  3752. rm -f conftest.err conftest.$ac_ext
  3753. done
  3754. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3755. rm -f conftest.err conftest.$ac_ext
  3756. if $ac_preproc_ok; then
  3757. break
  3758. fi
  3759. done
  3760. ac_cv_prog_CPP=$CPP
  3761. fi
  3762. CPP=$ac_cv_prog_CPP
  3763. else
  3764. ac_cv_prog_CPP=$CPP
  3765. fi
  3766. { $as_echo "$as_me:$LINENO: result: $CPP" >&5
  3767. $as_echo "$CPP" >&6; }
  3768. ac_preproc_ok=false
  3769. for ac_c_preproc_warn_flag in '' yes
  3770. do
  3771. # Use a header file that comes with gcc, so configuring glibc
  3772. # with a fresh cross-compiler works.
  3773. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3774. # <limits.h> exists even on freestanding compilers.
  3775. # On the NeXT, cc -E runs the code through the compiler's parser,
  3776. # not just through cpp. "Syntax error" is here to catch this case.
  3777. cat >conftest.$ac_ext <<_ACEOF
  3778. /* confdefs.h. */
  3779. _ACEOF
  3780. cat confdefs.h >>conftest.$ac_ext
  3781. cat >>conftest.$ac_ext <<_ACEOF
  3782. /* end confdefs.h. */
  3783. #ifdef __STDC__
  3784. # include <limits.h>
  3785. #else
  3786. # include <assert.h>
  3787. #endif
  3788. Syntax error
  3789. _ACEOF
  3790. if { (ac_try="$ac_cpp conftest.$ac_ext"
  3791. case "(($ac_try" in
  3792. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3793. *) ac_try_echo=$ac_try;;
  3794. esac
  3795. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3796. $as_echo "$ac_try_echo") >&5
  3797. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3798. ac_status=$?
  3799. grep -v '^ *+' conftest.er1 >conftest.err
  3800. rm -f conftest.er1
  3801. cat conftest.err >&5
  3802. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3803. (exit $ac_status); } >/dev/null && {
  3804. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3805. test ! -s conftest.err
  3806. }; then
  3807. :
  3808. else
  3809. $as_echo "$as_me: failed program was:" >&5
  3810. sed 's/^/| /' conftest.$ac_ext >&5
  3811. # Broken: fails on valid input.
  3812. continue
  3813. fi
  3814. rm -f conftest.err conftest.$ac_ext
  3815. # OK, works on sane cases. Now check whether nonexistent headers
  3816. # can be detected and how.
  3817. cat >conftest.$ac_ext <<_ACEOF
  3818. /* confdefs.h. */
  3819. _ACEOF
  3820. cat confdefs.h >>conftest.$ac_ext
  3821. cat >>conftest.$ac_ext <<_ACEOF
  3822. /* end confdefs.h. */
  3823. #include <ac_nonexistent.h>
  3824. _ACEOF
  3825. if { (ac_try="$ac_cpp conftest.$ac_ext"
  3826. case "(($ac_try" in
  3827. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3828. *) ac_try_echo=$ac_try;;
  3829. esac
  3830. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  3831. $as_echo "$ac_try_echo") >&5
  3832. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  3833. ac_status=$?
  3834. grep -v '^ *+' conftest.er1 >conftest.err
  3835. rm -f conftest.er1
  3836. cat conftest.err >&5
  3837. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  3838. (exit $ac_status); } >/dev/null && {
  3839. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  3840. test ! -s conftest.err
  3841. }; then
  3842. # Broken: success on invalid input.
  3843. continue
  3844. else
  3845. $as_echo "$as_me: failed program was:" >&5
  3846. sed 's/^/| /' conftest.$ac_ext >&5
  3847. # Passes both tests.
  3848. ac_preproc_ok=:
  3849. break
  3850. fi
  3851. rm -f conftest.err conftest.$ac_ext
  3852. done
  3853. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  3854. rm -f conftest.err conftest.$ac_ext
  3855. if $ac_preproc_ok; then
  3856. :
  3857. else
  3858. { { $as_echo "$as_me:$LINENO: error: in \`$ac_pwd':" >&5
  3859. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3860. { { $as_echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
  3861. See \`config.log' for more details." >&5
  3862. $as_echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
  3863. See \`config.log' for more details." >&2;}
  3864. { (exit 1); exit 1; }; }; }
  3865. fi
  3866. ac_ext=c
  3867. ac_cpp='$CPP $CPPFLAGS'
  3868. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3869. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3870. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3871. # Extract the first word of "rm", so it can be a program name with args.
  3872. set dummy rm; ac_word=$2
  3873. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3874. $as_echo_n "checking for $ac_word... " >&6; }
  3875. if test "${ac_cv_path_RM+set}" = set; then
  3876. $as_echo_n "(cached) " >&6
  3877. else
  3878. case $RM in
  3879. [\\/]* | ?:[\\/]*)
  3880. ac_cv_path_RM="$RM" # Let the user override the test with a path.
  3881. ;;
  3882. *)
  3883. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3884. for as_dir in $PATH
  3885. do
  3886. IFS=$as_save_IFS
  3887. test -z "$as_dir" && as_dir=.
  3888. for ac_exec_ext in '' $ac_executable_extensions; do
  3889. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3890. ac_cv_path_RM="$as_dir/$ac_word$ac_exec_ext"
  3891. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3892. break 2
  3893. fi
  3894. done
  3895. done
  3896. IFS=$as_save_IFS
  3897. test -z "$ac_cv_path_RM" && ac_cv_path_RM="/bin/rm"
  3898. ;;
  3899. esac
  3900. fi
  3901. RM=$ac_cv_path_RM
  3902. if test -n "$RM"; then
  3903. { $as_echo "$as_me:$LINENO: result: $RM" >&5
  3904. $as_echo "$RM" >&6; }
  3905. else
  3906. { $as_echo "$as_me:$LINENO: result: no" >&5
  3907. $as_echo "no" >&6; }
  3908. fi
  3909. # Extract the first word of "mv", so it can be a program name with args.
  3910. set dummy mv; ac_word=$2
  3911. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3912. $as_echo_n "checking for $ac_word... " >&6; }
  3913. if test "${ac_cv_path_MV+set}" = set; then
  3914. $as_echo_n "(cached) " >&6
  3915. else
  3916. case $MV in
  3917. [\\/]* | ?:[\\/]*)
  3918. ac_cv_path_MV="$MV" # Let the user override the test with a path.
  3919. ;;
  3920. *)
  3921. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3922. for as_dir in $PATH
  3923. do
  3924. IFS=$as_save_IFS
  3925. test -z "$as_dir" && as_dir=.
  3926. for ac_exec_ext in '' $ac_executable_extensions; do
  3927. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3928. ac_cv_path_MV="$as_dir/$ac_word$ac_exec_ext"
  3929. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3930. break 2
  3931. fi
  3932. done
  3933. done
  3934. IFS=$as_save_IFS
  3935. test -z "$ac_cv_path_MV" && ac_cv_path_MV="/bin/mv"
  3936. ;;
  3937. esac
  3938. fi
  3939. MV=$ac_cv_path_MV
  3940. if test -n "$MV"; then
  3941. { $as_echo "$as_me:$LINENO: result: $MV" >&5
  3942. $as_echo "$MV" >&6; }
  3943. else
  3944. { $as_echo "$as_me:$LINENO: result: no" >&5
  3945. $as_echo "no" >&6; }
  3946. fi
  3947. # Extract the first word of "tar", so it can be a program name with args.
  3948. set dummy tar; ac_word=$2
  3949. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3950. $as_echo_n "checking for $ac_word... " >&6; }
  3951. if test "${ac_cv_path_TAR+set}" = set; then
  3952. $as_echo_n "(cached) " >&6
  3953. else
  3954. case $TAR in
  3955. [\\/]* | ?:[\\/]*)
  3956. ac_cv_path_TAR="$TAR" # Let the user override the test with a path.
  3957. ;;
  3958. *)
  3959. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3960. for as_dir in $PATH
  3961. do
  3962. IFS=$as_save_IFS
  3963. test -z "$as_dir" && as_dir=.
  3964. for ac_exec_ext in '' $ac_executable_extensions; do
  3965. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  3966. ac_cv_path_TAR="$as_dir/$ac_word$ac_exec_ext"
  3967. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  3968. break 2
  3969. fi
  3970. done
  3971. done
  3972. IFS=$as_save_IFS
  3973. test -z "$ac_cv_path_TAR" && ac_cv_path_TAR="/bin/tar"
  3974. ;;
  3975. esac
  3976. fi
  3977. TAR=$ac_cv_path_TAR
  3978. if test -n "$TAR"; then
  3979. { $as_echo "$as_me:$LINENO: result: $TAR" >&5
  3980. $as_echo "$TAR" >&6; }
  3981. else
  3982. { $as_echo "$as_me:$LINENO: result: no" >&5
  3983. $as_echo "no" >&6; }
  3984. fi
  3985. # Extract the first word of "perl", so it can be a program name with args.
  3986. set dummy perl; ac_word=$2
  3987. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  3988. $as_echo_n "checking for $ac_word... " >&6; }
  3989. if test "${ac_cv_path_PERL+set}" = set; then
  3990. $as_echo_n "(cached) " >&6
  3991. else
  3992. case $PERL in
  3993. [\\/]* | ?:[\\/]*)
  3994. ac_cv_path_PERL="$PERL" # Let the user override the test with a path.
  3995. ;;
  3996. *)
  3997. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3998. for as_dir in $PATH
  3999. do
  4000. IFS=$as_save_IFS
  4001. test -z "$as_dir" && as_dir=.
  4002. for ac_exec_ext in '' $ac_executable_extensions; do
  4003. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4004. ac_cv_path_PERL="$as_dir/$ac_word$ac_exec_ext"
  4005. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4006. break 2
  4007. fi
  4008. done
  4009. done
  4010. IFS=$as_save_IFS
  4011. test -z "$ac_cv_path_PERL" && ac_cv_path_PERL="/usr/bin/perl"
  4012. ;;
  4013. esac
  4014. fi
  4015. PERL=$ac_cv_path_PERL
  4016. if test -n "$PERL"; then
  4017. { $as_echo "$as_me:$LINENO: result: $PERL" >&5
  4018. $as_echo "$PERL" >&6; }
  4019. else
  4020. { $as_echo "$as_me:$LINENO: result: no" >&5
  4021. $as_echo "no" >&6; }
  4022. fi
  4023. # Extract the first word of "wget", so it can be a program name with args.
  4024. set dummy wget; ac_word=$2
  4025. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4026. $as_echo_n "checking for $ac_word... " >&6; }
  4027. if test "${ac_cv_path_WGET+set}" = set; then
  4028. $as_echo_n "(cached) " >&6
  4029. else
  4030. case $WGET in
  4031. [\\/]* | ?:[\\/]*)
  4032. ac_cv_path_WGET="$WGET" # Let the user override the test with a path.
  4033. ;;
  4034. *)
  4035. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4036. for as_dir in $PATH
  4037. do
  4038. IFS=$as_save_IFS
  4039. test -z "$as_dir" && as_dir=.
  4040. for ac_exec_ext in '' $ac_executable_extensions; do
  4041. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4042. ac_cv_path_WGET="$as_dir/$ac_word$ac_exec_ext"
  4043. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4044. break 2
  4045. fi
  4046. done
  4047. done
  4048. IFS=$as_save_IFS
  4049. test -z "$ac_cv_path_WGET" && ac_cv_path_WGET="/usr/bin/wget"
  4050. ;;
  4051. esac
  4052. fi
  4053. WGET=$ac_cv_path_WGET
  4054. if test -n "$WGET"; then
  4055. { $as_echo "$as_me:$LINENO: result: $WGET" >&5
  4056. $as_echo "$WGET" >&6; }
  4057. else
  4058. { $as_echo "$as_me:$LINENO: result: no" >&5
  4059. $as_echo "no" >&6; }
  4060. fi
  4061. # Extract the first word of "xmllint", so it can be a program name with args.
  4062. set dummy xmllint; ac_word=$2
  4063. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4064. $as_echo_n "checking for $ac_word... " >&6; }
  4065. if test "${ac_cv_path_XMLLINT+set}" = set; then
  4066. $as_echo_n "(cached) " >&6
  4067. else
  4068. case $XMLLINT in
  4069. [\\/]* | ?:[\\/]*)
  4070. ac_cv_path_XMLLINT="$XMLLINT" # Let the user override the test with a path.
  4071. ;;
  4072. *)
  4073. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4074. for as_dir in $PATH
  4075. do
  4076. IFS=$as_save_IFS
  4077. test -z "$as_dir" && as_dir=.
  4078. for ac_exec_ext in '' $ac_executable_extensions; do
  4079. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4080. ac_cv_path_XMLLINT="$as_dir/$ac_word$ac_exec_ext"
  4081. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4082. break 2
  4083. fi
  4084. done
  4085. done
  4086. IFS=$as_save_IFS
  4087. test -z "$ac_cv_path_XMLLINT" && ac_cv_path_XMLLINT="/usr/bin/xmllint"
  4088. ;;
  4089. esac
  4090. fi
  4091. XMLLINT=$ac_cv_path_XMLLINT
  4092. if test -n "$XMLLINT"; then
  4093. { $as_echo "$as_me:$LINENO: result: $XMLLINT" >&5
  4094. $as_echo "$XMLLINT" >&6; }
  4095. else
  4096. { $as_echo "$as_me:$LINENO: result: no" >&5
  4097. $as_echo "no" >&6; }
  4098. fi
  4099. # Extract the first word of "xsltproc", so it can be a program name with args.
  4100. set dummy xsltproc; ac_word=$2
  4101. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4102. $as_echo_n "checking for $ac_word... " >&6; }
  4103. if test "${ac_cv_path_XSLTPROC+set}" = set; then
  4104. $as_echo_n "(cached) " >&6
  4105. else
  4106. case $XSLTPROC in
  4107. [\\/]* | ?:[\\/]*)
  4108. ac_cv_path_XSLTPROC="$XSLTPROC" # Let the user override the test with a path.
  4109. ;;
  4110. *)
  4111. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4112. for as_dir in $PATH
  4113. do
  4114. IFS=$as_save_IFS
  4115. test -z "$as_dir" && as_dir=.
  4116. for ac_exec_ext in '' $ac_executable_extensions; do
  4117. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4118. ac_cv_path_XSLTPROC="$as_dir/$ac_word$ac_exec_ext"
  4119. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4120. break 2
  4121. fi
  4122. done
  4123. done
  4124. IFS=$as_save_IFS
  4125. test -z "$ac_cv_path_XSLTPROC" && ac_cv_path_XSLTPROC="/usr/bin/xsltproc"
  4126. ;;
  4127. esac
  4128. fi
  4129. XSLTPROC=$ac_cv_path_XSLTPROC
  4130. if test -n "$XSLTPROC"; then
  4131. { $as_echo "$as_me:$LINENO: result: $XSLTPROC" >&5
  4132. $as_echo "$XSLTPROC" >&6; }
  4133. else
  4134. { $as_echo "$as_me:$LINENO: result: no" >&5
  4135. $as_echo "no" >&6; }
  4136. fi
  4137. { $as_echo "$as_me:$LINENO: checking for function prototypes" >&5
  4138. $as_echo_n "checking for function prototypes... " >&6; }
  4139. if test "$ac_cv_prog_cc_c89" != no; then
  4140. { $as_echo "$as_me:$LINENO: result: yes" >&5
  4141. $as_echo "yes" >&6; }
  4142. cat >>confdefs.h <<\_ACEOF
  4143. #define PROTOTYPES 1
  4144. _ACEOF
  4145. cat >>confdefs.h <<\_ACEOF
  4146. #define __PROTOTYPES 1
  4147. _ACEOF
  4148. else
  4149. { $as_echo "$as_me:$LINENO: result: no" >&5
  4150. $as_echo "no" >&6; }
  4151. fi
  4152. { $as_echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
  4153. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  4154. if test "${ac_cv_path_GREP+set}" = set; then
  4155. $as_echo_n "(cached) " >&6
  4156. else
  4157. if test -z "$GREP"; then
  4158. ac_path_GREP_found=false
  4159. # Loop through the user's path and test for each of PROGNAME-LIST
  4160. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4161. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4162. do
  4163. IFS=$as_save_IFS
  4164. test -z "$as_dir" && as_dir=.
  4165. for ac_prog in grep ggrep; do
  4166. for ac_exec_ext in '' $ac_executable_extensions; do
  4167. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  4168. { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
  4169. # Check for GNU ac_path_GREP and select it if it is found.
  4170. # Check for GNU $ac_path_GREP
  4171. case `"$ac_path_GREP" --version 2>&1` in
  4172. *GNU*)
  4173. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  4174. *)
  4175. ac_count=0
  4176. $as_echo_n 0123456789 >"conftest.in"
  4177. while :
  4178. do
  4179. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4180. mv "conftest.tmp" "conftest.in"
  4181. cp "conftest.in" "conftest.nl"
  4182. $as_echo 'GREP' >> "conftest.nl"
  4183. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4184. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4185. ac_count=`expr $ac_count + 1`
  4186. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  4187. # Best one so far, save it but keep looking for a better one
  4188. ac_cv_path_GREP="$ac_path_GREP"
  4189. ac_path_GREP_max=$ac_count
  4190. fi
  4191. # 10*(2^10) chars as input seems more than enough
  4192. test $ac_count -gt 10 && break
  4193. done
  4194. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4195. esac
  4196. $ac_path_GREP_found && break 3
  4197. done
  4198. done
  4199. done
  4200. IFS=$as_save_IFS
  4201. if test -z "$ac_cv_path_GREP"; then
  4202. { { $as_echo "$as_me:$LINENO: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4203. $as_echo "$as_me: error: no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4204. { (exit 1); exit 1; }; }
  4205. fi
  4206. else
  4207. ac_cv_path_GREP=$GREP
  4208. fi
  4209. fi
  4210. { $as_echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
  4211. $as_echo "$ac_cv_path_GREP" >&6; }
  4212. GREP="$ac_cv_path_GREP"
  4213. { $as_echo "$as_me:$LINENO: checking for egrep" >&5
  4214. $as_echo_n "checking for egrep... " >&6; }
  4215. if test "${ac_cv_path_EGREP+set}" = set; then
  4216. $as_echo_n "(cached) " >&6
  4217. else
  4218. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  4219. then ac_cv_path_EGREP="$GREP -E"
  4220. else
  4221. if test -z "$EGREP"; then
  4222. ac_path_EGREP_found=false
  4223. # Loop through the user's path and test for each of PROGNAME-LIST
  4224. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4225. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4226. do
  4227. IFS=$as_save_IFS
  4228. test -z "$as_dir" && as_dir=.
  4229. for ac_prog in egrep; do
  4230. for ac_exec_ext in '' $ac_executable_extensions; do
  4231. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  4232. { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
  4233. # Check for GNU ac_path_EGREP and select it if it is found.
  4234. # Check for GNU $ac_path_EGREP
  4235. case `"$ac_path_EGREP" --version 2>&1` in
  4236. *GNU*)
  4237. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  4238. *)
  4239. ac_count=0
  4240. $as_echo_n 0123456789 >"conftest.in"
  4241. while :
  4242. do
  4243. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4244. mv "conftest.tmp" "conftest.in"
  4245. cp "conftest.in" "conftest.nl"
  4246. $as_echo 'EGREP' >> "conftest.nl"
  4247. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4248. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4249. ac_count=`expr $ac_count + 1`
  4250. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  4251. # Best one so far, save it but keep looking for a better one
  4252. ac_cv_path_EGREP="$ac_path_EGREP"
  4253. ac_path_EGREP_max=$ac_count
  4254. fi
  4255. # 10*(2^10) chars as input seems more than enough
  4256. test $ac_count -gt 10 && break
  4257. done
  4258. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4259. esac
  4260. $ac_path_EGREP_found && break 3
  4261. done
  4262. done
  4263. done
  4264. IFS=$as_save_IFS
  4265. if test -z "$ac_cv_path_EGREP"; then
  4266. { { $as_echo "$as_me:$LINENO: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  4267. $as_echo "$as_me: error: no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  4268. { (exit 1); exit 1; }; }
  4269. fi
  4270. else
  4271. ac_cv_path_EGREP=$EGREP
  4272. fi
  4273. fi
  4274. fi
  4275. { $as_echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
  4276. $as_echo "$ac_cv_path_EGREP" >&6; }
  4277. EGREP="$ac_cv_path_EGREP"
  4278. { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  4279. $as_echo_n "checking for ANSI C header files... " >&6; }
  4280. if test "${ac_cv_header_stdc+set}" = set; then
  4281. $as_echo_n "(cached) " >&6
  4282. else
  4283. cat >conftest.$ac_ext <<_ACEOF
  4284. /* confdefs.h. */
  4285. _ACEOF
  4286. cat confdefs.h >>conftest.$ac_ext
  4287. cat >>conftest.$ac_ext <<_ACEOF
  4288. /* end confdefs.h. */
  4289. #include <stdlib.h>
  4290. #include <stdarg.h>
  4291. #include <string.h>
  4292. #include <float.h>
  4293. int
  4294. main ()
  4295. {
  4296. ;
  4297. return 0;
  4298. }
  4299. _ACEOF
  4300. rm -f conftest.$ac_objext
  4301. if { (ac_try="$ac_compile"
  4302. case "(($ac_try" in
  4303. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4304. *) ac_try_echo=$ac_try;;
  4305. esac
  4306. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4307. $as_echo "$ac_try_echo") >&5
  4308. (eval "$ac_compile") 2>conftest.er1
  4309. ac_status=$?
  4310. grep -v '^ *+' conftest.er1 >conftest.err
  4311. rm -f conftest.er1
  4312. cat conftest.err >&5
  4313. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4314. (exit $ac_status); } && {
  4315. test -z "$ac_c_werror_flag" ||
  4316. test ! -s conftest.err
  4317. } && test -s conftest.$ac_objext; then
  4318. ac_cv_header_stdc=yes
  4319. else
  4320. $as_echo "$as_me: failed program was:" >&5
  4321. sed 's/^/| /' conftest.$ac_ext >&5
  4322. ac_cv_header_stdc=no
  4323. fi
  4324. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4325. if test $ac_cv_header_stdc = yes; then
  4326. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  4327. cat >conftest.$ac_ext <<_ACEOF
  4328. /* confdefs.h. */
  4329. _ACEOF
  4330. cat confdefs.h >>conftest.$ac_ext
  4331. cat >>conftest.$ac_ext <<_ACEOF
  4332. /* end confdefs.h. */
  4333. #include <string.h>
  4334. _ACEOF
  4335. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4336. $EGREP "memchr" >/dev/null 2>&1; then
  4337. :
  4338. else
  4339. ac_cv_header_stdc=no
  4340. fi
  4341. rm -f conftest*
  4342. fi
  4343. if test $ac_cv_header_stdc = yes; then
  4344. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  4345. cat >conftest.$ac_ext <<_ACEOF
  4346. /* confdefs.h. */
  4347. _ACEOF
  4348. cat confdefs.h >>conftest.$ac_ext
  4349. cat >>conftest.$ac_ext <<_ACEOF
  4350. /* end confdefs.h. */
  4351. #include <stdlib.h>
  4352. _ACEOF
  4353. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  4354. $EGREP "free" >/dev/null 2>&1; then
  4355. :
  4356. else
  4357. ac_cv_header_stdc=no
  4358. fi
  4359. rm -f conftest*
  4360. fi
  4361. if test $ac_cv_header_stdc = yes; then
  4362. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  4363. if test "$cross_compiling" = yes; then
  4364. :
  4365. else
  4366. cat >conftest.$ac_ext <<_ACEOF
  4367. /* confdefs.h. */
  4368. _ACEOF
  4369. cat confdefs.h >>conftest.$ac_ext
  4370. cat >>conftest.$ac_ext <<_ACEOF
  4371. /* end confdefs.h. */
  4372. #include <ctype.h>
  4373. #include <stdlib.h>
  4374. #if ((' ' & 0x0FF) == 0x020)
  4375. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  4376. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  4377. #else
  4378. # define ISLOWER(c) \
  4379. (('a' <= (c) && (c) <= 'i') \
  4380. || ('j' <= (c) && (c) <= 'r') \
  4381. || ('s' <= (c) && (c) <= 'z'))
  4382. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  4383. #endif
  4384. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  4385. int
  4386. main ()
  4387. {
  4388. int i;
  4389. for (i = 0; i < 256; i++)
  4390. if (XOR (islower (i), ISLOWER (i))
  4391. || toupper (i) != TOUPPER (i))
  4392. return 2;
  4393. return 0;
  4394. }
  4395. _ACEOF
  4396. rm -f conftest$ac_exeext
  4397. if { (ac_try="$ac_link"
  4398. case "(($ac_try" in
  4399. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4400. *) ac_try_echo=$ac_try;;
  4401. esac
  4402. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4403. $as_echo "$ac_try_echo") >&5
  4404. (eval "$ac_link") 2>&5
  4405. ac_status=$?
  4406. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4407. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  4408. { (case "(($ac_try" in
  4409. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4410. *) ac_try_echo=$ac_try;;
  4411. esac
  4412. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4413. $as_echo "$ac_try_echo") >&5
  4414. (eval "$ac_try") 2>&5
  4415. ac_status=$?
  4416. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4417. (exit $ac_status); }; }; then
  4418. :
  4419. else
  4420. $as_echo "$as_me: program exited with status $ac_status" >&5
  4421. $as_echo "$as_me: failed program was:" >&5
  4422. sed 's/^/| /' conftest.$ac_ext >&5
  4423. ( exit $ac_status )
  4424. ac_cv_header_stdc=no
  4425. fi
  4426. rm -rf conftest.dSYM
  4427. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  4428. fi
  4429. fi
  4430. fi
  4431. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  4432. $as_echo "$ac_cv_header_stdc" >&6; }
  4433. if test $ac_cv_header_stdc = yes; then
  4434. cat >>confdefs.h <<\_ACEOF
  4435. #define STDC_HEADERS 1
  4436. _ACEOF
  4437. fi
  4438. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  4439. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  4440. inttypes.h stdint.h unistd.h
  4441. do
  4442. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4443. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  4444. $as_echo_n "checking for $ac_header... " >&6; }
  4445. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4446. $as_echo_n "(cached) " >&6
  4447. else
  4448. cat >conftest.$ac_ext <<_ACEOF
  4449. /* confdefs.h. */
  4450. _ACEOF
  4451. cat confdefs.h >>conftest.$ac_ext
  4452. cat >>conftest.$ac_ext <<_ACEOF
  4453. /* end confdefs.h. */
  4454. $ac_includes_default
  4455. #include <$ac_header>
  4456. _ACEOF
  4457. rm -f conftest.$ac_objext
  4458. if { (ac_try="$ac_compile"
  4459. case "(($ac_try" in
  4460. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4461. *) ac_try_echo=$ac_try;;
  4462. esac
  4463. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4464. $as_echo "$ac_try_echo") >&5
  4465. (eval "$ac_compile") 2>conftest.er1
  4466. ac_status=$?
  4467. grep -v '^ *+' conftest.er1 >conftest.err
  4468. rm -f conftest.er1
  4469. cat conftest.err >&5
  4470. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4471. (exit $ac_status); } && {
  4472. test -z "$ac_c_werror_flag" ||
  4473. test ! -s conftest.err
  4474. } && test -s conftest.$ac_objext; then
  4475. eval "$as_ac_Header=yes"
  4476. else
  4477. $as_echo "$as_me: failed program was:" >&5
  4478. sed 's/^/| /' conftest.$ac_ext >&5
  4479. eval "$as_ac_Header=no"
  4480. fi
  4481. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4482. fi
  4483. ac_res=`eval 'as_val=${'$as_ac_Header'}
  4484. $as_echo "$as_val"'`
  4485. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  4486. $as_echo "$ac_res" >&6; }
  4487. as_val=`eval 'as_val=${'$as_ac_Header'}
  4488. $as_echo "$as_val"'`
  4489. if test "x$as_val" = x""yes; then
  4490. cat >>confdefs.h <<_ACEOF
  4491. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4492. _ACEOF
  4493. fi
  4494. done
  4495. if test "$ac_cv_prog_cc_stdc" != no; then
  4496. U= ANSI2KNR=
  4497. else
  4498. U=_ ANSI2KNR=./ansi2knr
  4499. fi
  4500. # Ensure some checks needed by ansi2knr itself.
  4501. for ac_header in string.h
  4502. do
  4503. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  4504. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4505. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  4506. $as_echo_n "checking for $ac_header... " >&6; }
  4507. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4508. $as_echo_n "(cached) " >&6
  4509. fi
  4510. ac_res=`eval 'as_val=${'$as_ac_Header'}
  4511. $as_echo "$as_val"'`
  4512. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  4513. $as_echo "$ac_res" >&6; }
  4514. else
  4515. # Is the header compilable?
  4516. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  4517. $as_echo_n "checking $ac_header usability... " >&6; }
  4518. cat >conftest.$ac_ext <<_ACEOF
  4519. /* confdefs.h. */
  4520. _ACEOF
  4521. cat confdefs.h >>conftest.$ac_ext
  4522. cat >>conftest.$ac_ext <<_ACEOF
  4523. /* end confdefs.h. */
  4524. $ac_includes_default
  4525. #include <$ac_header>
  4526. _ACEOF
  4527. rm -f conftest.$ac_objext
  4528. if { (ac_try="$ac_compile"
  4529. case "(($ac_try" in
  4530. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4531. *) ac_try_echo=$ac_try;;
  4532. esac
  4533. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4534. $as_echo "$ac_try_echo") >&5
  4535. (eval "$ac_compile") 2>conftest.er1
  4536. ac_status=$?
  4537. grep -v '^ *+' conftest.er1 >conftest.err
  4538. rm -f conftest.er1
  4539. cat conftest.err >&5
  4540. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4541. (exit $ac_status); } && {
  4542. test -z "$ac_c_werror_flag" ||
  4543. test ! -s conftest.err
  4544. } && test -s conftest.$ac_objext; then
  4545. ac_header_compiler=yes
  4546. else
  4547. $as_echo "$as_me: failed program was:" >&5
  4548. sed 's/^/| /' conftest.$ac_ext >&5
  4549. ac_header_compiler=no
  4550. fi
  4551. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4552. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  4553. $as_echo "$ac_header_compiler" >&6; }
  4554. # Is the header present?
  4555. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  4556. $as_echo_n "checking $ac_header presence... " >&6; }
  4557. cat >conftest.$ac_ext <<_ACEOF
  4558. /* confdefs.h. */
  4559. _ACEOF
  4560. cat confdefs.h >>conftest.$ac_ext
  4561. cat >>conftest.$ac_ext <<_ACEOF
  4562. /* end confdefs.h. */
  4563. #include <$ac_header>
  4564. _ACEOF
  4565. if { (ac_try="$ac_cpp conftest.$ac_ext"
  4566. case "(($ac_try" in
  4567. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4568. *) ac_try_echo=$ac_try;;
  4569. esac
  4570. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  4571. $as_echo "$ac_try_echo") >&5
  4572. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  4573. ac_status=$?
  4574. grep -v '^ *+' conftest.er1 >conftest.err
  4575. rm -f conftest.er1
  4576. cat conftest.err >&5
  4577. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  4578. (exit $ac_status); } >/dev/null && {
  4579. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  4580. test ! -s conftest.err
  4581. }; then
  4582. ac_header_preproc=yes
  4583. else
  4584. $as_echo "$as_me: failed program was:" >&5
  4585. sed 's/^/| /' conftest.$ac_ext >&5
  4586. ac_header_preproc=no
  4587. fi
  4588. rm -f conftest.err conftest.$ac_ext
  4589. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  4590. $as_echo "$ac_header_preproc" >&6; }
  4591. # So? What about this header?
  4592. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  4593. yes:no: )
  4594. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  4595. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  4596. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  4597. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  4598. ac_header_preproc=yes
  4599. ;;
  4600. no:yes:* )
  4601. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  4602. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  4603. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  4604. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  4605. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  4606. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  4607. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  4608. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  4609. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  4610. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  4611. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  4612. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  4613. ;;
  4614. esac
  4615. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  4616. $as_echo_n "checking for $ac_header... " >&6; }
  4617. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  4618. $as_echo_n "(cached) " >&6
  4619. else
  4620. eval "$as_ac_Header=\$ac_header_preproc"
  4621. fi
  4622. ac_res=`eval 'as_val=${'$as_ac_Header'}
  4623. $as_echo "$as_val"'`
  4624. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  4625. $as_echo "$ac_res" >&6; }
  4626. fi
  4627. as_val=`eval 'as_val=${'$as_ac_Header'}
  4628. $as_echo "$as_val"'`
  4629. if test "x$as_val" = x""yes; then
  4630. cat >>confdefs.h <<_ACEOF
  4631. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  4632. _ACEOF
  4633. fi
  4634. done
  4635. test "x$U" != "x" && { { $as_echo "$as_me:$LINENO: error: Compiler not ANSI compliant" >&5
  4636. $as_echo "$as_me: error: Compiler not ANSI compliant" >&2;}
  4637. { (exit 1); exit 1; }; }
  4638. enable_win32_dll=yes
  4639. case $host in
  4640. *-*-cygwin* | *-*-mingw* | *-*-pw32* | *-cegcc*)
  4641. if test -n "$ac_tool_prefix"; then
  4642. # Extract the first word of "${ac_tool_prefix}as", so it can be a program name with args.
  4643. set dummy ${ac_tool_prefix}as; ac_word=$2
  4644. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4645. $as_echo_n "checking for $ac_word... " >&6; }
  4646. if test "${ac_cv_prog_AS+set}" = set; then
  4647. $as_echo_n "(cached) " >&6
  4648. else
  4649. if test -n "$AS"; then
  4650. ac_cv_prog_AS="$AS" # Let the user override the test.
  4651. else
  4652. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4653. for as_dir in $PATH
  4654. do
  4655. IFS=$as_save_IFS
  4656. test -z "$as_dir" && as_dir=.
  4657. for ac_exec_ext in '' $ac_executable_extensions; do
  4658. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4659. ac_cv_prog_AS="${ac_tool_prefix}as"
  4660. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4661. break 2
  4662. fi
  4663. done
  4664. done
  4665. IFS=$as_save_IFS
  4666. fi
  4667. fi
  4668. AS=$ac_cv_prog_AS
  4669. if test -n "$AS"; then
  4670. { $as_echo "$as_me:$LINENO: result: $AS" >&5
  4671. $as_echo "$AS" >&6; }
  4672. else
  4673. { $as_echo "$as_me:$LINENO: result: no" >&5
  4674. $as_echo "no" >&6; }
  4675. fi
  4676. fi
  4677. if test -z "$ac_cv_prog_AS"; then
  4678. ac_ct_AS=$AS
  4679. # Extract the first word of "as", so it can be a program name with args.
  4680. set dummy as; ac_word=$2
  4681. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4682. $as_echo_n "checking for $ac_word... " >&6; }
  4683. if test "${ac_cv_prog_ac_ct_AS+set}" = set; then
  4684. $as_echo_n "(cached) " >&6
  4685. else
  4686. if test -n "$ac_ct_AS"; then
  4687. ac_cv_prog_ac_ct_AS="$ac_ct_AS" # Let the user override the test.
  4688. else
  4689. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4690. for as_dir in $PATH
  4691. do
  4692. IFS=$as_save_IFS
  4693. test -z "$as_dir" && as_dir=.
  4694. for ac_exec_ext in '' $ac_executable_extensions; do
  4695. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4696. ac_cv_prog_ac_ct_AS="as"
  4697. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4698. break 2
  4699. fi
  4700. done
  4701. done
  4702. IFS=$as_save_IFS
  4703. fi
  4704. fi
  4705. ac_ct_AS=$ac_cv_prog_ac_ct_AS
  4706. if test -n "$ac_ct_AS"; then
  4707. { $as_echo "$as_me:$LINENO: result: $ac_ct_AS" >&5
  4708. $as_echo "$ac_ct_AS" >&6; }
  4709. else
  4710. { $as_echo "$as_me:$LINENO: result: no" >&5
  4711. $as_echo "no" >&6; }
  4712. fi
  4713. if test "x$ac_ct_AS" = x; then
  4714. AS="false"
  4715. else
  4716. case $cross_compiling:$ac_tool_warned in
  4717. yes:)
  4718. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  4719. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4720. ac_tool_warned=yes ;;
  4721. esac
  4722. AS=$ac_ct_AS
  4723. fi
  4724. else
  4725. AS="$ac_cv_prog_AS"
  4726. fi
  4727. if test -n "$ac_tool_prefix"; then
  4728. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  4729. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  4730. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4731. $as_echo_n "checking for $ac_word... " >&6; }
  4732. if test "${ac_cv_prog_DLLTOOL+set}" = set; then
  4733. $as_echo_n "(cached) " >&6
  4734. else
  4735. if test -n "$DLLTOOL"; then
  4736. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  4737. else
  4738. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4739. for as_dir in $PATH
  4740. do
  4741. IFS=$as_save_IFS
  4742. test -z "$as_dir" && as_dir=.
  4743. for ac_exec_ext in '' $ac_executable_extensions; do
  4744. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4745. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  4746. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4747. break 2
  4748. fi
  4749. done
  4750. done
  4751. IFS=$as_save_IFS
  4752. fi
  4753. fi
  4754. DLLTOOL=$ac_cv_prog_DLLTOOL
  4755. if test -n "$DLLTOOL"; then
  4756. { $as_echo "$as_me:$LINENO: result: $DLLTOOL" >&5
  4757. $as_echo "$DLLTOOL" >&6; }
  4758. else
  4759. { $as_echo "$as_me:$LINENO: result: no" >&5
  4760. $as_echo "no" >&6; }
  4761. fi
  4762. fi
  4763. if test -z "$ac_cv_prog_DLLTOOL"; then
  4764. ac_ct_DLLTOOL=$DLLTOOL
  4765. # Extract the first word of "dlltool", so it can be a program name with args.
  4766. set dummy dlltool; ac_word=$2
  4767. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4768. $as_echo_n "checking for $ac_word... " >&6; }
  4769. if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
  4770. $as_echo_n "(cached) " >&6
  4771. else
  4772. if test -n "$ac_ct_DLLTOOL"; then
  4773. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  4774. else
  4775. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4776. for as_dir in $PATH
  4777. do
  4778. IFS=$as_save_IFS
  4779. test -z "$as_dir" && as_dir=.
  4780. for ac_exec_ext in '' $ac_executable_extensions; do
  4781. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4782. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  4783. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4784. break 2
  4785. fi
  4786. done
  4787. done
  4788. IFS=$as_save_IFS
  4789. fi
  4790. fi
  4791. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  4792. if test -n "$ac_ct_DLLTOOL"; then
  4793. { $as_echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
  4794. $as_echo "$ac_ct_DLLTOOL" >&6; }
  4795. else
  4796. { $as_echo "$as_me:$LINENO: result: no" >&5
  4797. $as_echo "no" >&6; }
  4798. fi
  4799. if test "x$ac_ct_DLLTOOL" = x; then
  4800. DLLTOOL="false"
  4801. else
  4802. case $cross_compiling:$ac_tool_warned in
  4803. yes:)
  4804. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  4805. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4806. ac_tool_warned=yes ;;
  4807. esac
  4808. DLLTOOL=$ac_ct_DLLTOOL
  4809. fi
  4810. else
  4811. DLLTOOL="$ac_cv_prog_DLLTOOL"
  4812. fi
  4813. if test -n "$ac_tool_prefix"; then
  4814. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  4815. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  4816. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4817. $as_echo_n "checking for $ac_word... " >&6; }
  4818. if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  4819. $as_echo_n "(cached) " >&6
  4820. else
  4821. if test -n "$OBJDUMP"; then
  4822. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  4823. else
  4824. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4825. for as_dir in $PATH
  4826. do
  4827. IFS=$as_save_IFS
  4828. test -z "$as_dir" && as_dir=.
  4829. for ac_exec_ext in '' $ac_executable_extensions; do
  4830. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4831. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  4832. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4833. break 2
  4834. fi
  4835. done
  4836. done
  4837. IFS=$as_save_IFS
  4838. fi
  4839. fi
  4840. OBJDUMP=$ac_cv_prog_OBJDUMP
  4841. if test -n "$OBJDUMP"; then
  4842. { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  4843. $as_echo "$OBJDUMP" >&6; }
  4844. else
  4845. { $as_echo "$as_me:$LINENO: result: no" >&5
  4846. $as_echo "no" >&6; }
  4847. fi
  4848. fi
  4849. if test -z "$ac_cv_prog_OBJDUMP"; then
  4850. ac_ct_OBJDUMP=$OBJDUMP
  4851. # Extract the first word of "objdump", so it can be a program name with args.
  4852. set dummy objdump; ac_word=$2
  4853. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  4854. $as_echo_n "checking for $ac_word... " >&6; }
  4855. if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  4856. $as_echo_n "(cached) " >&6
  4857. else
  4858. if test -n "$ac_ct_OBJDUMP"; then
  4859. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  4860. else
  4861. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4862. for as_dir in $PATH
  4863. do
  4864. IFS=$as_save_IFS
  4865. test -z "$as_dir" && as_dir=.
  4866. for ac_exec_ext in '' $ac_executable_extensions; do
  4867. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  4868. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  4869. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  4870. break 2
  4871. fi
  4872. done
  4873. done
  4874. IFS=$as_save_IFS
  4875. fi
  4876. fi
  4877. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  4878. if test -n "$ac_ct_OBJDUMP"; then
  4879. { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  4880. $as_echo "$ac_ct_OBJDUMP" >&6; }
  4881. else
  4882. { $as_echo "$as_me:$LINENO: result: no" >&5
  4883. $as_echo "no" >&6; }
  4884. fi
  4885. if test "x$ac_ct_OBJDUMP" = x; then
  4886. OBJDUMP="false"
  4887. else
  4888. case $cross_compiling:$ac_tool_warned in
  4889. yes:)
  4890. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  4891. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4892. ac_tool_warned=yes ;;
  4893. esac
  4894. OBJDUMP=$ac_ct_OBJDUMP
  4895. fi
  4896. else
  4897. OBJDUMP="$ac_cv_prog_OBJDUMP"
  4898. fi
  4899. ;;
  4900. esac
  4901. test -z "$AS" && AS=as
  4902. test -z "$DLLTOOL" && DLLTOOL=dlltool
  4903. test -z "$OBJDUMP" && OBJDUMP=objdump
  4904. case `pwd` in
  4905. *\ * | *\ *)
  4906. { $as_echo "$as_me:$LINENO: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&5
  4907. $as_echo "$as_me: WARNING: Libtool does not cope well with whitespace in \`pwd\`" >&2;} ;;
  4908. esac
  4909. macro_version='2.2.6'
  4910. macro_revision='1.3012'
  4911. ltmain="$ac_aux_dir/ltmain.sh"
  4912. { $as_echo "$as_me:$LINENO: checking for a sed that does not truncate output" >&5
  4913. $as_echo_n "checking for a sed that does not truncate output... " >&6; }
  4914. if test "${ac_cv_path_SED+set}" = set; then
  4915. $as_echo_n "(cached) " >&6
  4916. else
  4917. ac_script=s/aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa/bbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbbb/
  4918. for ac_i in 1 2 3 4 5 6 7; do
  4919. ac_script="$ac_script$as_nl$ac_script"
  4920. done
  4921. echo "$ac_script" 2>/dev/null | sed 99q >conftest.sed
  4922. $as_unset ac_script || ac_script=
  4923. if test -z "$SED"; then
  4924. ac_path_SED_found=false
  4925. # Loop through the user's path and test for each of PROGNAME-LIST
  4926. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4927. for as_dir in $PATH
  4928. do
  4929. IFS=$as_save_IFS
  4930. test -z "$as_dir" && as_dir=.
  4931. for ac_prog in sed gsed; do
  4932. for ac_exec_ext in '' $ac_executable_extensions; do
  4933. ac_path_SED="$as_dir/$ac_prog$ac_exec_ext"
  4934. { test -f "$ac_path_SED" && $as_test_x "$ac_path_SED"; } || continue
  4935. # Check for GNU ac_path_SED and select it if it is found.
  4936. # Check for GNU $ac_path_SED
  4937. case `"$ac_path_SED" --version 2>&1` in
  4938. *GNU*)
  4939. ac_cv_path_SED="$ac_path_SED" ac_path_SED_found=:;;
  4940. *)
  4941. ac_count=0
  4942. $as_echo_n 0123456789 >"conftest.in"
  4943. while :
  4944. do
  4945. cat "conftest.in" "conftest.in" >"conftest.tmp"
  4946. mv "conftest.tmp" "conftest.in"
  4947. cp "conftest.in" "conftest.nl"
  4948. $as_echo '' >> "conftest.nl"
  4949. "$ac_path_SED" -f conftest.sed < "conftest.nl" >"conftest.out" 2>/dev/null || break
  4950. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  4951. ac_count=`expr $ac_count + 1`
  4952. if test $ac_count -gt ${ac_path_SED_max-0}; then
  4953. # Best one so far, save it but keep looking for a better one
  4954. ac_cv_path_SED="$ac_path_SED"
  4955. ac_path_SED_max=$ac_count
  4956. fi
  4957. # 10*(2^10) chars as input seems more than enough
  4958. test $ac_count -gt 10 && break
  4959. done
  4960. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  4961. esac
  4962. $ac_path_SED_found && break 3
  4963. done
  4964. done
  4965. done
  4966. IFS=$as_save_IFS
  4967. if test -z "$ac_cv_path_SED"; then
  4968. { { $as_echo "$as_me:$LINENO: error: no acceptable sed could be found in \$PATH" >&5
  4969. $as_echo "$as_me: error: no acceptable sed could be found in \$PATH" >&2;}
  4970. { (exit 1); exit 1; }; }
  4971. fi
  4972. else
  4973. ac_cv_path_SED=$SED
  4974. fi
  4975. fi
  4976. { $as_echo "$as_me:$LINENO: result: $ac_cv_path_SED" >&5
  4977. $as_echo "$ac_cv_path_SED" >&6; }
  4978. SED="$ac_cv_path_SED"
  4979. rm -f conftest.sed
  4980. test -z "$SED" && SED=sed
  4981. Xsed="$SED -e 1s/^X//"
  4982. { $as_echo "$as_me:$LINENO: checking for fgrep" >&5
  4983. $as_echo_n "checking for fgrep... " >&6; }
  4984. if test "${ac_cv_path_FGREP+set}" = set; then
  4985. $as_echo_n "(cached) " >&6
  4986. else
  4987. if echo 'ab*c' | $GREP -F 'ab*c' >/dev/null 2>&1
  4988. then ac_cv_path_FGREP="$GREP -F"
  4989. else
  4990. if test -z "$FGREP"; then
  4991. ac_path_FGREP_found=false
  4992. # Loop through the user's path and test for each of PROGNAME-LIST
  4993. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4994. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  4995. do
  4996. IFS=$as_save_IFS
  4997. test -z "$as_dir" && as_dir=.
  4998. for ac_prog in fgrep; do
  4999. for ac_exec_ext in '' $ac_executable_extensions; do
  5000. ac_path_FGREP="$as_dir/$ac_prog$ac_exec_ext"
  5001. { test -f "$ac_path_FGREP" && $as_test_x "$ac_path_FGREP"; } || continue
  5002. # Check for GNU ac_path_FGREP and select it if it is found.
  5003. # Check for GNU $ac_path_FGREP
  5004. case `"$ac_path_FGREP" --version 2>&1` in
  5005. *GNU*)
  5006. ac_cv_path_FGREP="$ac_path_FGREP" ac_path_FGREP_found=:;;
  5007. *)
  5008. ac_count=0
  5009. $as_echo_n 0123456789 >"conftest.in"
  5010. while :
  5011. do
  5012. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5013. mv "conftest.tmp" "conftest.in"
  5014. cp "conftest.in" "conftest.nl"
  5015. $as_echo 'FGREP' >> "conftest.nl"
  5016. "$ac_path_FGREP" FGREP < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5017. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5018. ac_count=`expr $ac_count + 1`
  5019. if test $ac_count -gt ${ac_path_FGREP_max-0}; then
  5020. # Best one so far, save it but keep looking for a better one
  5021. ac_cv_path_FGREP="$ac_path_FGREP"
  5022. ac_path_FGREP_max=$ac_count
  5023. fi
  5024. # 10*(2^10) chars as input seems more than enough
  5025. test $ac_count -gt 10 && break
  5026. done
  5027. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5028. esac
  5029. $ac_path_FGREP_found && break 3
  5030. done
  5031. done
  5032. done
  5033. IFS=$as_save_IFS
  5034. if test -z "$ac_cv_path_FGREP"; then
  5035. { { $as_echo "$as_me:$LINENO: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
  5036. $as_echo "$as_me: error: no acceptable fgrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
  5037. { (exit 1); exit 1; }; }
  5038. fi
  5039. else
  5040. ac_cv_path_FGREP=$FGREP
  5041. fi
  5042. fi
  5043. fi
  5044. { $as_echo "$as_me:$LINENO: result: $ac_cv_path_FGREP" >&5
  5045. $as_echo "$ac_cv_path_FGREP" >&6; }
  5046. FGREP="$ac_cv_path_FGREP"
  5047. test -z "$GREP" && GREP=grep
  5048. # Check whether --with-gnu-ld was given.
  5049. if test "${with_gnu_ld+set}" = set; then
  5050. withval=$with_gnu_ld; test "$withval" = no || with_gnu_ld=yes
  5051. else
  5052. with_gnu_ld=no
  5053. fi
  5054. ac_prog=ld
  5055. if test "$GCC" = yes; then
  5056. # Check if gcc -print-prog-name=ld gives a path.
  5057. { $as_echo "$as_me:$LINENO: checking for ld used by $CC" >&5
  5058. $as_echo_n "checking for ld used by $CC... " >&6; }
  5059. case $host in
  5060. *-*-mingw*)
  5061. # gcc leaves a trailing carriage return which upsets mingw
  5062. ac_prog=`($CC -print-prog-name=ld) 2>&5 | tr -d '\015'` ;;
  5063. *)
  5064. ac_prog=`($CC -print-prog-name=ld) 2>&5` ;;
  5065. esac
  5066. case $ac_prog in
  5067. # Accept absolute paths.
  5068. [\\/]* | ?:[\\/]*)
  5069. re_direlt='/[^/][^/]*/\.\./'
  5070. # Canonicalize the pathname of ld
  5071. ac_prog=`$ECHO "$ac_prog"| $SED 's%\\\\%/%g'`
  5072. while $ECHO "$ac_prog" | $GREP "$re_direlt" > /dev/null 2>&1; do
  5073. ac_prog=`$ECHO $ac_prog| $SED "s%$re_direlt%/%"`
  5074. done
  5075. test -z "$LD" && LD="$ac_prog"
  5076. ;;
  5077. "")
  5078. # If it fails, then pretend we aren't using GCC.
  5079. ac_prog=ld
  5080. ;;
  5081. *)
  5082. # If it is relative, then search for the first ld in PATH.
  5083. with_gnu_ld=unknown
  5084. ;;
  5085. esac
  5086. elif test "$with_gnu_ld" = yes; then
  5087. { $as_echo "$as_me:$LINENO: checking for GNU ld" >&5
  5088. $as_echo_n "checking for GNU ld... " >&6; }
  5089. else
  5090. { $as_echo "$as_me:$LINENO: checking for non-GNU ld" >&5
  5091. $as_echo_n "checking for non-GNU ld... " >&6; }
  5092. fi
  5093. if test "${lt_cv_path_LD+set}" = set; then
  5094. $as_echo_n "(cached) " >&6
  5095. else
  5096. if test -z "$LD"; then
  5097. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5098. for ac_dir in $PATH; do
  5099. IFS="$lt_save_ifs"
  5100. test -z "$ac_dir" && ac_dir=.
  5101. if test -f "$ac_dir/$ac_prog" || test -f "$ac_dir/$ac_prog$ac_exeext"; then
  5102. lt_cv_path_LD="$ac_dir/$ac_prog"
  5103. # Check to see if the program is GNU ld. I'd rather use --version,
  5104. # but apparently some variants of GNU ld only accept -v.
  5105. # Break only if it was the GNU/non-GNU ld that we prefer.
  5106. case `"$lt_cv_path_LD" -v 2>&1 </dev/null` in
  5107. *GNU* | *'with BFD'*)
  5108. test "$with_gnu_ld" != no && break
  5109. ;;
  5110. *)
  5111. test "$with_gnu_ld" != yes && break
  5112. ;;
  5113. esac
  5114. fi
  5115. done
  5116. IFS="$lt_save_ifs"
  5117. else
  5118. lt_cv_path_LD="$LD" # Let the user override the test with a path.
  5119. fi
  5120. fi
  5121. LD="$lt_cv_path_LD"
  5122. if test -n "$LD"; then
  5123. { $as_echo "$as_me:$LINENO: result: $LD" >&5
  5124. $as_echo "$LD" >&6; }
  5125. else
  5126. { $as_echo "$as_me:$LINENO: result: no" >&5
  5127. $as_echo "no" >&6; }
  5128. fi
  5129. test -z "$LD" && { { $as_echo "$as_me:$LINENO: error: no acceptable ld found in \$PATH" >&5
  5130. $as_echo "$as_me: error: no acceptable ld found in \$PATH" >&2;}
  5131. { (exit 1); exit 1; }; }
  5132. { $as_echo "$as_me:$LINENO: checking if the linker ($LD) is GNU ld" >&5
  5133. $as_echo_n "checking if the linker ($LD) is GNU ld... " >&6; }
  5134. if test "${lt_cv_prog_gnu_ld+set}" = set; then
  5135. $as_echo_n "(cached) " >&6
  5136. else
  5137. # I'd rather use --version here, but apparently some GNU lds only accept -v.
  5138. case `$LD -v 2>&1 </dev/null` in
  5139. *GNU* | *'with BFD'*)
  5140. lt_cv_prog_gnu_ld=yes
  5141. ;;
  5142. *)
  5143. lt_cv_prog_gnu_ld=no
  5144. ;;
  5145. esac
  5146. fi
  5147. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_gnu_ld" >&5
  5148. $as_echo "$lt_cv_prog_gnu_ld" >&6; }
  5149. with_gnu_ld=$lt_cv_prog_gnu_ld
  5150. { $as_echo "$as_me:$LINENO: checking for BSD- or MS-compatible name lister (nm)" >&5
  5151. $as_echo_n "checking for BSD- or MS-compatible name lister (nm)... " >&6; }
  5152. if test "${lt_cv_path_NM+set}" = set; then
  5153. $as_echo_n "(cached) " >&6
  5154. else
  5155. if test -n "$NM"; then
  5156. # Let the user override the test.
  5157. lt_cv_path_NM="$NM"
  5158. else
  5159. lt_nm_to_check="${ac_tool_prefix}nm"
  5160. if test -n "$ac_tool_prefix" && test "$build" = "$host"; then
  5161. lt_nm_to_check="$lt_nm_to_check nm"
  5162. fi
  5163. for lt_tmp_nm in $lt_nm_to_check; do
  5164. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  5165. for ac_dir in $PATH /usr/ccs/bin/elf /usr/ccs/bin /usr/ucb /bin; do
  5166. IFS="$lt_save_ifs"
  5167. test -z "$ac_dir" && ac_dir=.
  5168. tmp_nm="$ac_dir/$lt_tmp_nm"
  5169. if test -f "$tmp_nm" || test -f "$tmp_nm$ac_exeext" ; then
  5170. # Check to see if the nm accepts a BSD-compat flag.
  5171. # Adding the `sed 1q' prevents false positives on HP-UX, which says:
  5172. # nm: unknown option "B" ignored
  5173. # Tru64's nm complains that /dev/null is an invalid object file
  5174. case `"$tmp_nm" -B /dev/null 2>&1 | sed '1q'` in
  5175. */dev/null* | *'Invalid file or object type'*)
  5176. lt_cv_path_NM="$tmp_nm -B"
  5177. break
  5178. ;;
  5179. *)
  5180. case `"$tmp_nm" -p /dev/null 2>&1 | sed '1q'` in
  5181. */dev/null*)
  5182. lt_cv_path_NM="$tmp_nm -p"
  5183. break
  5184. ;;
  5185. *)
  5186. lt_cv_path_NM=${lt_cv_path_NM="$tmp_nm"} # keep the first match, but
  5187. continue # so that we can try to find one that supports BSD flags
  5188. ;;
  5189. esac
  5190. ;;
  5191. esac
  5192. fi
  5193. done
  5194. IFS="$lt_save_ifs"
  5195. done
  5196. : ${lt_cv_path_NM=no}
  5197. fi
  5198. fi
  5199. { $as_echo "$as_me:$LINENO: result: $lt_cv_path_NM" >&5
  5200. $as_echo "$lt_cv_path_NM" >&6; }
  5201. if test "$lt_cv_path_NM" != "no"; then
  5202. NM="$lt_cv_path_NM"
  5203. else
  5204. # Didn't find any BSD compatible name lister, look for dumpbin.
  5205. if test -n "$ac_tool_prefix"; then
  5206. for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  5207. do
  5208. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5209. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5210. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5211. $as_echo_n "checking for $ac_word... " >&6; }
  5212. if test "${ac_cv_prog_DUMPBIN+set}" = set; then
  5213. $as_echo_n "(cached) " >&6
  5214. else
  5215. if test -n "$DUMPBIN"; then
  5216. ac_cv_prog_DUMPBIN="$DUMPBIN" # Let the user override the test.
  5217. else
  5218. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5219. for as_dir in $PATH
  5220. do
  5221. IFS=$as_save_IFS
  5222. test -z "$as_dir" && as_dir=.
  5223. for ac_exec_ext in '' $ac_executable_extensions; do
  5224. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5225. ac_cv_prog_DUMPBIN="$ac_tool_prefix$ac_prog"
  5226. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5227. break 2
  5228. fi
  5229. done
  5230. done
  5231. IFS=$as_save_IFS
  5232. fi
  5233. fi
  5234. DUMPBIN=$ac_cv_prog_DUMPBIN
  5235. if test -n "$DUMPBIN"; then
  5236. { $as_echo "$as_me:$LINENO: result: $DUMPBIN" >&5
  5237. $as_echo "$DUMPBIN" >&6; }
  5238. else
  5239. { $as_echo "$as_me:$LINENO: result: no" >&5
  5240. $as_echo "no" >&6; }
  5241. fi
  5242. test -n "$DUMPBIN" && break
  5243. done
  5244. fi
  5245. if test -z "$DUMPBIN"; then
  5246. ac_ct_DUMPBIN=$DUMPBIN
  5247. for ac_prog in "dumpbin -symbols" "link -dump -symbols"
  5248. do
  5249. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5250. set dummy $ac_prog; ac_word=$2
  5251. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5252. $as_echo_n "checking for $ac_word... " >&6; }
  5253. if test "${ac_cv_prog_ac_ct_DUMPBIN+set}" = set; then
  5254. $as_echo_n "(cached) " >&6
  5255. else
  5256. if test -n "$ac_ct_DUMPBIN"; then
  5257. ac_cv_prog_ac_ct_DUMPBIN="$ac_ct_DUMPBIN" # Let the user override the test.
  5258. else
  5259. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5260. for as_dir in $PATH
  5261. do
  5262. IFS=$as_save_IFS
  5263. test -z "$as_dir" && as_dir=.
  5264. for ac_exec_ext in '' $ac_executable_extensions; do
  5265. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5266. ac_cv_prog_ac_ct_DUMPBIN="$ac_prog"
  5267. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5268. break 2
  5269. fi
  5270. done
  5271. done
  5272. IFS=$as_save_IFS
  5273. fi
  5274. fi
  5275. ac_ct_DUMPBIN=$ac_cv_prog_ac_ct_DUMPBIN
  5276. if test -n "$ac_ct_DUMPBIN"; then
  5277. { $as_echo "$as_me:$LINENO: result: $ac_ct_DUMPBIN" >&5
  5278. $as_echo "$ac_ct_DUMPBIN" >&6; }
  5279. else
  5280. { $as_echo "$as_me:$LINENO: result: no" >&5
  5281. $as_echo "no" >&6; }
  5282. fi
  5283. test -n "$ac_ct_DUMPBIN" && break
  5284. done
  5285. if test "x$ac_ct_DUMPBIN" = x; then
  5286. DUMPBIN=":"
  5287. else
  5288. case $cross_compiling:$ac_tool_warned in
  5289. yes:)
  5290. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5291. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5292. ac_tool_warned=yes ;;
  5293. esac
  5294. DUMPBIN=$ac_ct_DUMPBIN
  5295. fi
  5296. fi
  5297. if test "$DUMPBIN" != ":"; then
  5298. NM="$DUMPBIN"
  5299. fi
  5300. fi
  5301. test -z "$NM" && NM=nm
  5302. { $as_echo "$as_me:$LINENO: checking the name lister ($NM) interface" >&5
  5303. $as_echo_n "checking the name lister ($NM) interface... " >&6; }
  5304. if test "${lt_cv_nm_interface+set}" = set; then
  5305. $as_echo_n "(cached) " >&6
  5306. else
  5307. lt_cv_nm_interface="BSD nm"
  5308. echo "int some_variable = 0;" > conftest.$ac_ext
  5309. (eval echo "\"\$as_me:5952: $ac_compile\"" >&5)
  5310. (eval "$ac_compile" 2>conftest.err)
  5311. cat conftest.err >&5
  5312. (eval echo "\"\$as_me:5955: $NM \\\"conftest.$ac_objext\\\"\"" >&5)
  5313. (eval "$NM \"conftest.$ac_objext\"" 2>conftest.err > conftest.out)
  5314. cat conftest.err >&5
  5315. (eval echo "\"\$as_me:5958: output\"" >&5)
  5316. cat conftest.out >&5
  5317. if $GREP 'External.*some_variable' conftest.out > /dev/null; then
  5318. lt_cv_nm_interface="MS dumpbin"
  5319. fi
  5320. rm -f conftest*
  5321. fi
  5322. { $as_echo "$as_me:$LINENO: result: $lt_cv_nm_interface" >&5
  5323. $as_echo "$lt_cv_nm_interface" >&6; }
  5324. { $as_echo "$as_me:$LINENO: checking whether ln -s works" >&5
  5325. $as_echo_n "checking whether ln -s works... " >&6; }
  5326. LN_S=$as_ln_s
  5327. if test "$LN_S" = "ln -s"; then
  5328. { $as_echo "$as_me:$LINENO: result: yes" >&5
  5329. $as_echo "yes" >&6; }
  5330. else
  5331. { $as_echo "$as_me:$LINENO: result: no, using $LN_S" >&5
  5332. $as_echo "no, using $LN_S" >&6; }
  5333. fi
  5334. # find the maximum length of command line arguments
  5335. { $as_echo "$as_me:$LINENO: checking the maximum length of command line arguments" >&5
  5336. $as_echo_n "checking the maximum length of command line arguments... " >&6; }
  5337. if test "${lt_cv_sys_max_cmd_len+set}" = set; then
  5338. $as_echo_n "(cached) " >&6
  5339. else
  5340. i=0
  5341. teststring="ABCD"
  5342. case $build_os in
  5343. msdosdjgpp*)
  5344. # On DJGPP, this test can blow up pretty badly due to problems in libc
  5345. # (any single argument exceeding 2000 bytes causes a buffer overrun
  5346. # during glob expansion). Even if it were fixed, the result of this
  5347. # check would be larger than it should be.
  5348. lt_cv_sys_max_cmd_len=12288; # 12K is about right
  5349. ;;
  5350. gnu*)
  5351. # Under GNU Hurd, this test is not required because there is
  5352. # no limit to the length of command line arguments.
  5353. # Libtool will interpret -1 as no limit whatsoever
  5354. lt_cv_sys_max_cmd_len=-1;
  5355. ;;
  5356. cygwin* | mingw* | cegcc*)
  5357. # On Win9x/ME, this test blows up -- it succeeds, but takes
  5358. # about 5 minutes as the teststring grows exponentially.
  5359. # Worse, since 9x/ME are not pre-emptively multitasking,
  5360. # you end up with a "frozen" computer, even though with patience
  5361. # the test eventually succeeds (with a max line length of 256k).
  5362. # Instead, let's just punt: use the minimum linelength reported by
  5363. # all of the supported platforms: 8192 (on NT/2K/XP).
  5364. lt_cv_sys_max_cmd_len=8192;
  5365. ;;
  5366. amigaos*)
  5367. # On AmigaOS with pdksh, this test takes hours, literally.
  5368. # So we just punt and use a minimum line length of 8192.
  5369. lt_cv_sys_max_cmd_len=8192;
  5370. ;;
  5371. netbsd* | freebsd* | openbsd* | darwin* | dragonfly*)
  5372. # This has been around since 386BSD, at least. Likely further.
  5373. if test -x /sbin/sysctl; then
  5374. lt_cv_sys_max_cmd_len=`/sbin/sysctl -n kern.argmax`
  5375. elif test -x /usr/sbin/sysctl; then
  5376. lt_cv_sys_max_cmd_len=`/usr/sbin/sysctl -n kern.argmax`
  5377. else
  5378. lt_cv_sys_max_cmd_len=65536 # usable default for all BSDs
  5379. fi
  5380. # And add a safety zone
  5381. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5382. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5383. ;;
  5384. interix*)
  5385. # We know the value 262144 and hardcode it with a safety zone (like BSD)
  5386. lt_cv_sys_max_cmd_len=196608
  5387. ;;
  5388. osf*)
  5389. # Dr. Hans Ekkehard Plesser reports seeing a kernel panic running configure
  5390. # due to this test when exec_disable_arg_limit is 1 on Tru64. It is not
  5391. # nice to cause kernel panics so lets avoid the loop below.
  5392. # First set a reasonable default.
  5393. lt_cv_sys_max_cmd_len=16384
  5394. #
  5395. if test -x /sbin/sysconfig; then
  5396. case `/sbin/sysconfig -q proc exec_disable_arg_limit` in
  5397. *1*) lt_cv_sys_max_cmd_len=-1 ;;
  5398. esac
  5399. fi
  5400. ;;
  5401. sco3.2v5*)
  5402. lt_cv_sys_max_cmd_len=102400
  5403. ;;
  5404. sysv5* | sco5v6* | sysv4.2uw2*)
  5405. kargmax=`grep ARG_MAX /etc/conf/cf.d/stune 2>/dev/null`
  5406. if test -n "$kargmax"; then
  5407. lt_cv_sys_max_cmd_len=`echo $kargmax | sed 's/.*[ ]//'`
  5408. else
  5409. lt_cv_sys_max_cmd_len=32768
  5410. fi
  5411. ;;
  5412. *)
  5413. lt_cv_sys_max_cmd_len=`(getconf ARG_MAX) 2> /dev/null`
  5414. if test -n "$lt_cv_sys_max_cmd_len"; then
  5415. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 4`
  5416. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \* 3`
  5417. else
  5418. # Make teststring a little bigger before we do anything with it.
  5419. # a 1K string should be a reasonable start.
  5420. for i in 1 2 3 4 5 6 7 8 ; do
  5421. teststring=$teststring$teststring
  5422. done
  5423. SHELL=${SHELL-${CONFIG_SHELL-/bin/sh}}
  5424. # If test is not a shell built-in, we'll probably end up computing a
  5425. # maximum length that is only half of the actual maximum length, but
  5426. # we can't tell.
  5427. while { test "X"`$SHELL $0 --fallback-echo "X$teststring$teststring" 2>/dev/null` \
  5428. = "XX$teststring$teststring"; } >/dev/null 2>&1 &&
  5429. test $i != 17 # 1/2 MB should be enough
  5430. do
  5431. i=`expr $i + 1`
  5432. teststring=$teststring$teststring
  5433. done
  5434. # Only check the string length outside the loop.
  5435. lt_cv_sys_max_cmd_len=`expr "X$teststring" : ".*" 2>&1`
  5436. teststring=
  5437. # Add a significant safety factor because C++ compilers can tack on
  5438. # massive amounts of additional arguments before passing them to the
  5439. # linker. It appears as though 1/2 is a usable value.
  5440. lt_cv_sys_max_cmd_len=`expr $lt_cv_sys_max_cmd_len \/ 2`
  5441. fi
  5442. ;;
  5443. esac
  5444. fi
  5445. if test -n $lt_cv_sys_max_cmd_len ; then
  5446. { $as_echo "$as_me:$LINENO: result: $lt_cv_sys_max_cmd_len" >&5
  5447. $as_echo "$lt_cv_sys_max_cmd_len" >&6; }
  5448. else
  5449. { $as_echo "$as_me:$LINENO: result: none" >&5
  5450. $as_echo "none" >&6; }
  5451. fi
  5452. max_cmd_len=$lt_cv_sys_max_cmd_len
  5453. : ${CP="cp -f"}
  5454. : ${MV="mv -f"}
  5455. : ${RM="rm -f"}
  5456. { $as_echo "$as_me:$LINENO: checking whether the shell understands some XSI constructs" >&5
  5457. $as_echo_n "checking whether the shell understands some XSI constructs... " >&6; }
  5458. # Try some XSI features
  5459. xsi_shell=no
  5460. ( _lt_dummy="a/b/c"
  5461. test "${_lt_dummy##*/},${_lt_dummy%/*},"${_lt_dummy%"$_lt_dummy"}, \
  5462. = c,a/b,, \
  5463. && eval 'test $(( 1 + 1 )) -eq 2 \
  5464. && test "${#_lt_dummy}" -eq 5' ) >/dev/null 2>&1 \
  5465. && xsi_shell=yes
  5466. { $as_echo "$as_me:$LINENO: result: $xsi_shell" >&5
  5467. $as_echo "$xsi_shell" >&6; }
  5468. { $as_echo "$as_me:$LINENO: checking whether the shell understands \"+=\"" >&5
  5469. $as_echo_n "checking whether the shell understands \"+=\"... " >&6; }
  5470. lt_shell_append=no
  5471. ( foo=bar; set foo baz; eval "$1+=\$2" && test "$foo" = barbaz ) \
  5472. >/dev/null 2>&1 \
  5473. && lt_shell_append=yes
  5474. { $as_echo "$as_me:$LINENO: result: $lt_shell_append" >&5
  5475. $as_echo "$lt_shell_append" >&6; }
  5476. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  5477. lt_unset=unset
  5478. else
  5479. lt_unset=false
  5480. fi
  5481. # test EBCDIC or ASCII
  5482. case `echo X|tr X '\101'` in
  5483. A) # ASCII based system
  5484. # \n is not interpreted correctly by Solaris 8 /usr/ucb/tr
  5485. lt_SP2NL='tr \040 \012'
  5486. lt_NL2SP='tr \015\012 \040\040'
  5487. ;;
  5488. *) # EBCDIC based system
  5489. lt_SP2NL='tr \100 \n'
  5490. lt_NL2SP='tr \r\n \100\100'
  5491. ;;
  5492. esac
  5493. { $as_echo "$as_me:$LINENO: checking for $LD option to reload object files" >&5
  5494. $as_echo_n "checking for $LD option to reload object files... " >&6; }
  5495. if test "${lt_cv_ld_reload_flag+set}" = set; then
  5496. $as_echo_n "(cached) " >&6
  5497. else
  5498. lt_cv_ld_reload_flag='-r'
  5499. fi
  5500. { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_reload_flag" >&5
  5501. $as_echo "$lt_cv_ld_reload_flag" >&6; }
  5502. reload_flag=$lt_cv_ld_reload_flag
  5503. case $reload_flag in
  5504. "" | " "*) ;;
  5505. *) reload_flag=" $reload_flag" ;;
  5506. esac
  5507. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5508. case $host_os in
  5509. darwin*)
  5510. if test "$GCC" = yes; then
  5511. reload_cmds='$LTCC $LTCFLAGS -nostdlib ${wl}-r -o $output$reload_objs'
  5512. else
  5513. reload_cmds='$LD$reload_flag -o $output$reload_objs'
  5514. fi
  5515. ;;
  5516. esac
  5517. if test -n "$ac_tool_prefix"; then
  5518. # Extract the first word of "${ac_tool_prefix}objdump", so it can be a program name with args.
  5519. set dummy ${ac_tool_prefix}objdump; ac_word=$2
  5520. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5521. $as_echo_n "checking for $ac_word... " >&6; }
  5522. if test "${ac_cv_prog_OBJDUMP+set}" = set; then
  5523. $as_echo_n "(cached) " >&6
  5524. else
  5525. if test -n "$OBJDUMP"; then
  5526. ac_cv_prog_OBJDUMP="$OBJDUMP" # Let the user override the test.
  5527. else
  5528. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5529. for as_dir in $PATH
  5530. do
  5531. IFS=$as_save_IFS
  5532. test -z "$as_dir" && as_dir=.
  5533. for ac_exec_ext in '' $ac_executable_extensions; do
  5534. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5535. ac_cv_prog_OBJDUMP="${ac_tool_prefix}objdump"
  5536. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5537. break 2
  5538. fi
  5539. done
  5540. done
  5541. IFS=$as_save_IFS
  5542. fi
  5543. fi
  5544. OBJDUMP=$ac_cv_prog_OBJDUMP
  5545. if test -n "$OBJDUMP"; then
  5546. { $as_echo "$as_me:$LINENO: result: $OBJDUMP" >&5
  5547. $as_echo "$OBJDUMP" >&6; }
  5548. else
  5549. { $as_echo "$as_me:$LINENO: result: no" >&5
  5550. $as_echo "no" >&6; }
  5551. fi
  5552. fi
  5553. if test -z "$ac_cv_prog_OBJDUMP"; then
  5554. ac_ct_OBJDUMP=$OBJDUMP
  5555. # Extract the first word of "objdump", so it can be a program name with args.
  5556. set dummy objdump; ac_word=$2
  5557. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5558. $as_echo_n "checking for $ac_word... " >&6; }
  5559. if test "${ac_cv_prog_ac_ct_OBJDUMP+set}" = set; then
  5560. $as_echo_n "(cached) " >&6
  5561. else
  5562. if test -n "$ac_ct_OBJDUMP"; then
  5563. ac_cv_prog_ac_ct_OBJDUMP="$ac_ct_OBJDUMP" # Let the user override the test.
  5564. else
  5565. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5566. for as_dir in $PATH
  5567. do
  5568. IFS=$as_save_IFS
  5569. test -z "$as_dir" && as_dir=.
  5570. for ac_exec_ext in '' $ac_executable_extensions; do
  5571. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5572. ac_cv_prog_ac_ct_OBJDUMP="objdump"
  5573. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5574. break 2
  5575. fi
  5576. done
  5577. done
  5578. IFS=$as_save_IFS
  5579. fi
  5580. fi
  5581. ac_ct_OBJDUMP=$ac_cv_prog_ac_ct_OBJDUMP
  5582. if test -n "$ac_ct_OBJDUMP"; then
  5583. { $as_echo "$as_me:$LINENO: result: $ac_ct_OBJDUMP" >&5
  5584. $as_echo "$ac_ct_OBJDUMP" >&6; }
  5585. else
  5586. { $as_echo "$as_me:$LINENO: result: no" >&5
  5587. $as_echo "no" >&6; }
  5588. fi
  5589. if test "x$ac_ct_OBJDUMP" = x; then
  5590. OBJDUMP="false"
  5591. else
  5592. case $cross_compiling:$ac_tool_warned in
  5593. yes:)
  5594. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5595. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5596. ac_tool_warned=yes ;;
  5597. esac
  5598. OBJDUMP=$ac_ct_OBJDUMP
  5599. fi
  5600. else
  5601. OBJDUMP="$ac_cv_prog_OBJDUMP"
  5602. fi
  5603. test -z "$OBJDUMP" && OBJDUMP=objdump
  5604. { $as_echo "$as_me:$LINENO: checking how to recognize dependent libraries" >&5
  5605. $as_echo_n "checking how to recognize dependent libraries... " >&6; }
  5606. if test "${lt_cv_deplibs_check_method+set}" = set; then
  5607. $as_echo_n "(cached) " >&6
  5608. else
  5609. lt_cv_file_magic_cmd='$MAGIC_CMD'
  5610. lt_cv_file_magic_test_file=
  5611. lt_cv_deplibs_check_method='unknown'
  5612. # Need to set the preceding variable on all platforms that support
  5613. # interlibrary dependencies.
  5614. # 'none' -- dependencies not supported.
  5615. # `unknown' -- same as none, but documents that we really don't know.
  5616. # 'pass_all' -- all dependencies passed with no checks.
  5617. # 'test_compile' -- check by making test program.
  5618. # 'file_magic [[regex]]' -- check by looking for files in library path
  5619. # which responds to the $file_magic_cmd with a given extended regex.
  5620. # If you have `file' or equivalent on your system and you're not sure
  5621. # whether `pass_all' will *always* work, you probably want this one.
  5622. case $host_os in
  5623. aix[4-9]*)
  5624. lt_cv_deplibs_check_method=pass_all
  5625. ;;
  5626. beos*)
  5627. lt_cv_deplibs_check_method=pass_all
  5628. ;;
  5629. bsdi[45]*)
  5630. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib)'
  5631. lt_cv_file_magic_cmd='/usr/bin/file -L'
  5632. lt_cv_file_magic_test_file=/shlib/libc.so
  5633. ;;
  5634. cygwin*)
  5635. # func_win32_libid is a shell function defined in ltmain.sh
  5636. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5637. lt_cv_file_magic_cmd='func_win32_libid'
  5638. ;;
  5639. mingw* | pw32*)
  5640. # Base MSYS/MinGW do not provide the 'file' command needed by
  5641. # func_win32_libid shell function, so use a weaker test based on 'objdump',
  5642. # unless we find 'file', for example because we are cross-compiling.
  5643. if ( file / ) >/dev/null 2>&1; then
  5644. lt_cv_deplibs_check_method='file_magic ^x86 archive import|^x86 DLL'
  5645. lt_cv_file_magic_cmd='func_win32_libid'
  5646. else
  5647. lt_cv_deplibs_check_method='file_magic file format pei*-i386(.*architecture: i386)?'
  5648. lt_cv_file_magic_cmd='$OBJDUMP -f'
  5649. fi
  5650. ;;
  5651. cegcc)
  5652. # use the weaker test based on 'objdump'. See mingw*.
  5653. lt_cv_deplibs_check_method='file_magic file format pe-arm-.*little(.*architecture: arm)?'
  5654. lt_cv_file_magic_cmd='$OBJDUMP -f'
  5655. ;;
  5656. darwin* | rhapsody*)
  5657. lt_cv_deplibs_check_method=pass_all
  5658. ;;
  5659. freebsd* | dragonfly*)
  5660. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5661. case $host_cpu in
  5662. i*86 )
  5663. # Not sure whether the presence of OpenBSD here was a mistake.
  5664. # Let's accept both of them until this is cleared up.
  5665. lt_cv_deplibs_check_method='file_magic (FreeBSD|OpenBSD|DragonFly)/i[3-9]86 (compact )?demand paged shared library'
  5666. lt_cv_file_magic_cmd=/usr/bin/file
  5667. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so.*`
  5668. ;;
  5669. esac
  5670. else
  5671. lt_cv_deplibs_check_method=pass_all
  5672. fi
  5673. ;;
  5674. gnu*)
  5675. lt_cv_deplibs_check_method=pass_all
  5676. ;;
  5677. hpux10.20* | hpux11*)
  5678. lt_cv_file_magic_cmd=/usr/bin/file
  5679. case $host_cpu in
  5680. ia64*)
  5681. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - IA64'
  5682. lt_cv_file_magic_test_file=/usr/lib/hpux32/libc.so
  5683. ;;
  5684. hppa*64*)
  5685. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|ELF-[0-9][0-9]) shared object file - PA-RISC [0-9].[0-9]'
  5686. lt_cv_file_magic_test_file=/usr/lib/pa20_64/libc.sl
  5687. ;;
  5688. *)
  5689. lt_cv_deplibs_check_method='file_magic (s[0-9][0-9][0-9]|PA-RISC[0-9].[0-9]) shared library'
  5690. lt_cv_file_magic_test_file=/usr/lib/libc.sl
  5691. ;;
  5692. esac
  5693. ;;
  5694. interix[3-9]*)
  5695. # PIC code is broken on Interix 3.x, that's why |\.a not |_pic\.a here
  5696. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|\.a)$'
  5697. ;;
  5698. irix5* | irix6* | nonstopux*)
  5699. case $LD in
  5700. *-32|*"-32 ") libmagic=32-bit;;
  5701. *-n32|*"-n32 ") libmagic=N32;;
  5702. *-64|*"-64 ") libmagic=64-bit;;
  5703. *) libmagic=never-match;;
  5704. esac
  5705. lt_cv_deplibs_check_method=pass_all
  5706. ;;
  5707. # This must be Linux ELF.
  5708. linux* | k*bsd*-gnu)
  5709. lt_cv_deplibs_check_method=pass_all
  5710. ;;
  5711. netbsd*)
  5712. if echo __ELF__ | $CC -E - | $GREP __ELF__ > /dev/null; then
  5713. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5714. else
  5715. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so|_pic\.a)$'
  5716. fi
  5717. ;;
  5718. newos6*)
  5719. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (executable|dynamic lib)'
  5720. lt_cv_file_magic_cmd=/usr/bin/file
  5721. lt_cv_file_magic_test_file=/usr/lib/libnls.so
  5722. ;;
  5723. *nto* | *qnx*)
  5724. lt_cv_deplibs_check_method=pass_all
  5725. ;;
  5726. openbsd*)
  5727. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  5728. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|\.so|_pic\.a)$'
  5729. else
  5730. lt_cv_deplibs_check_method='match_pattern /lib[^/]+(\.so\.[0-9]+\.[0-9]+|_pic\.a)$'
  5731. fi
  5732. ;;
  5733. osf3* | osf4* | osf5*)
  5734. lt_cv_deplibs_check_method=pass_all
  5735. ;;
  5736. rdos*)
  5737. lt_cv_deplibs_check_method=pass_all
  5738. ;;
  5739. solaris*)
  5740. lt_cv_deplibs_check_method=pass_all
  5741. ;;
  5742. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  5743. lt_cv_deplibs_check_method=pass_all
  5744. ;;
  5745. sysv4 | sysv4.3*)
  5746. case $host_vendor in
  5747. motorola)
  5748. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [ML]SB (shared object|dynamic lib) M[0-9][0-9]* Version [0-9]'
  5749. lt_cv_file_magic_test_file=`echo /usr/lib/libc.so*`
  5750. ;;
  5751. ncr)
  5752. lt_cv_deplibs_check_method=pass_all
  5753. ;;
  5754. sequent)
  5755. lt_cv_file_magic_cmd='/bin/file'
  5756. lt_cv_deplibs_check_method='file_magic ELF [0-9][0-9]*-bit [LM]SB (shared object|dynamic lib )'
  5757. ;;
  5758. sni)
  5759. lt_cv_file_magic_cmd='/bin/file'
  5760. lt_cv_deplibs_check_method="file_magic ELF [0-9][0-9]*-bit [LM]SB dynamic lib"
  5761. lt_cv_file_magic_test_file=/lib/libc.so
  5762. ;;
  5763. siemens)
  5764. lt_cv_deplibs_check_method=pass_all
  5765. ;;
  5766. pc)
  5767. lt_cv_deplibs_check_method=pass_all
  5768. ;;
  5769. esac
  5770. ;;
  5771. tpf*)
  5772. lt_cv_deplibs_check_method=pass_all
  5773. ;;
  5774. esac
  5775. fi
  5776. { $as_echo "$as_me:$LINENO: result: $lt_cv_deplibs_check_method" >&5
  5777. $as_echo "$lt_cv_deplibs_check_method" >&6; }
  5778. file_magic_cmd=$lt_cv_file_magic_cmd
  5779. deplibs_check_method=$lt_cv_deplibs_check_method
  5780. test -z "$deplibs_check_method" && deplibs_check_method=unknown
  5781. if test -n "$ac_tool_prefix"; then
  5782. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  5783. set dummy ${ac_tool_prefix}ar; ac_word=$2
  5784. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5785. $as_echo_n "checking for $ac_word... " >&6; }
  5786. if test "${ac_cv_prog_AR+set}" = set; then
  5787. $as_echo_n "(cached) " >&6
  5788. else
  5789. if test -n "$AR"; then
  5790. ac_cv_prog_AR="$AR" # Let the user override the test.
  5791. else
  5792. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5793. for as_dir in $PATH
  5794. do
  5795. IFS=$as_save_IFS
  5796. test -z "$as_dir" && as_dir=.
  5797. for ac_exec_ext in '' $ac_executable_extensions; do
  5798. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5799. ac_cv_prog_AR="${ac_tool_prefix}ar"
  5800. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5801. break 2
  5802. fi
  5803. done
  5804. done
  5805. IFS=$as_save_IFS
  5806. fi
  5807. fi
  5808. AR=$ac_cv_prog_AR
  5809. if test -n "$AR"; then
  5810. { $as_echo "$as_me:$LINENO: result: $AR" >&5
  5811. $as_echo "$AR" >&6; }
  5812. else
  5813. { $as_echo "$as_me:$LINENO: result: no" >&5
  5814. $as_echo "no" >&6; }
  5815. fi
  5816. fi
  5817. if test -z "$ac_cv_prog_AR"; then
  5818. ac_ct_AR=$AR
  5819. # Extract the first word of "ar", so it can be a program name with args.
  5820. set dummy ar; ac_word=$2
  5821. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5822. $as_echo_n "checking for $ac_word... " >&6; }
  5823. if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
  5824. $as_echo_n "(cached) " >&6
  5825. else
  5826. if test -n "$ac_ct_AR"; then
  5827. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5828. else
  5829. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5830. for as_dir in $PATH
  5831. do
  5832. IFS=$as_save_IFS
  5833. test -z "$as_dir" && as_dir=.
  5834. for ac_exec_ext in '' $ac_executable_extensions; do
  5835. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5836. ac_cv_prog_ac_ct_AR="ar"
  5837. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5838. break 2
  5839. fi
  5840. done
  5841. done
  5842. IFS=$as_save_IFS
  5843. fi
  5844. fi
  5845. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5846. if test -n "$ac_ct_AR"; then
  5847. { $as_echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
  5848. $as_echo "$ac_ct_AR" >&6; }
  5849. else
  5850. { $as_echo "$as_me:$LINENO: result: no" >&5
  5851. $as_echo "no" >&6; }
  5852. fi
  5853. if test "x$ac_ct_AR" = x; then
  5854. AR="false"
  5855. else
  5856. case $cross_compiling:$ac_tool_warned in
  5857. yes:)
  5858. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5859. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5860. ac_tool_warned=yes ;;
  5861. esac
  5862. AR=$ac_ct_AR
  5863. fi
  5864. else
  5865. AR="$ac_cv_prog_AR"
  5866. fi
  5867. test -z "$AR" && AR=ar
  5868. test -z "$AR_FLAGS" && AR_FLAGS=cru
  5869. if test -n "$ac_tool_prefix"; then
  5870. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5871. set dummy ${ac_tool_prefix}strip; ac_word=$2
  5872. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5873. $as_echo_n "checking for $ac_word... " >&6; }
  5874. if test "${ac_cv_prog_STRIP+set}" = set; then
  5875. $as_echo_n "(cached) " >&6
  5876. else
  5877. if test -n "$STRIP"; then
  5878. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5879. else
  5880. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5881. for as_dir in $PATH
  5882. do
  5883. IFS=$as_save_IFS
  5884. test -z "$as_dir" && as_dir=.
  5885. for ac_exec_ext in '' $ac_executable_extensions; do
  5886. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5887. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5888. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5889. break 2
  5890. fi
  5891. done
  5892. done
  5893. IFS=$as_save_IFS
  5894. fi
  5895. fi
  5896. STRIP=$ac_cv_prog_STRIP
  5897. if test -n "$STRIP"; then
  5898. { $as_echo "$as_me:$LINENO: result: $STRIP" >&5
  5899. $as_echo "$STRIP" >&6; }
  5900. else
  5901. { $as_echo "$as_me:$LINENO: result: no" >&5
  5902. $as_echo "no" >&6; }
  5903. fi
  5904. fi
  5905. if test -z "$ac_cv_prog_STRIP"; then
  5906. ac_ct_STRIP=$STRIP
  5907. # Extract the first word of "strip", so it can be a program name with args.
  5908. set dummy strip; ac_word=$2
  5909. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5910. $as_echo_n "checking for $ac_word... " >&6; }
  5911. if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
  5912. $as_echo_n "(cached) " >&6
  5913. else
  5914. if test -n "$ac_ct_STRIP"; then
  5915. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5916. else
  5917. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5918. for as_dir in $PATH
  5919. do
  5920. IFS=$as_save_IFS
  5921. test -z "$as_dir" && as_dir=.
  5922. for ac_exec_ext in '' $ac_executable_extensions; do
  5923. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5924. ac_cv_prog_ac_ct_STRIP="strip"
  5925. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5926. break 2
  5927. fi
  5928. done
  5929. done
  5930. IFS=$as_save_IFS
  5931. fi
  5932. fi
  5933. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5934. if test -n "$ac_ct_STRIP"; then
  5935. { $as_echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
  5936. $as_echo "$ac_ct_STRIP" >&6; }
  5937. else
  5938. { $as_echo "$as_me:$LINENO: result: no" >&5
  5939. $as_echo "no" >&6; }
  5940. fi
  5941. if test "x$ac_ct_STRIP" = x; then
  5942. STRIP=":"
  5943. else
  5944. case $cross_compiling:$ac_tool_warned in
  5945. yes:)
  5946. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  5947. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5948. ac_tool_warned=yes ;;
  5949. esac
  5950. STRIP=$ac_ct_STRIP
  5951. fi
  5952. else
  5953. STRIP="$ac_cv_prog_STRIP"
  5954. fi
  5955. test -z "$STRIP" && STRIP=:
  5956. if test -n "$ac_tool_prefix"; then
  5957. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5958. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5959. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5960. $as_echo_n "checking for $ac_word... " >&6; }
  5961. if test "${ac_cv_prog_RANLIB+set}" = set; then
  5962. $as_echo_n "(cached) " >&6
  5963. else
  5964. if test -n "$RANLIB"; then
  5965. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5966. else
  5967. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5968. for as_dir in $PATH
  5969. do
  5970. IFS=$as_save_IFS
  5971. test -z "$as_dir" && as_dir=.
  5972. for ac_exec_ext in '' $ac_executable_extensions; do
  5973. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  5974. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5975. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  5976. break 2
  5977. fi
  5978. done
  5979. done
  5980. IFS=$as_save_IFS
  5981. fi
  5982. fi
  5983. RANLIB=$ac_cv_prog_RANLIB
  5984. if test -n "$RANLIB"; then
  5985. { $as_echo "$as_me:$LINENO: result: $RANLIB" >&5
  5986. $as_echo "$RANLIB" >&6; }
  5987. else
  5988. { $as_echo "$as_me:$LINENO: result: no" >&5
  5989. $as_echo "no" >&6; }
  5990. fi
  5991. fi
  5992. if test -z "$ac_cv_prog_RANLIB"; then
  5993. ac_ct_RANLIB=$RANLIB
  5994. # Extract the first word of "ranlib", so it can be a program name with args.
  5995. set dummy ranlib; ac_word=$2
  5996. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  5997. $as_echo_n "checking for $ac_word... " >&6; }
  5998. if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
  5999. $as_echo_n "(cached) " >&6
  6000. else
  6001. if test -n "$ac_ct_RANLIB"; then
  6002. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  6003. else
  6004. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6005. for as_dir in $PATH
  6006. do
  6007. IFS=$as_save_IFS
  6008. test -z "$as_dir" && as_dir=.
  6009. for ac_exec_ext in '' $ac_executable_extensions; do
  6010. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6011. ac_cv_prog_ac_ct_RANLIB="ranlib"
  6012. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6013. break 2
  6014. fi
  6015. done
  6016. done
  6017. IFS=$as_save_IFS
  6018. fi
  6019. fi
  6020. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  6021. if test -n "$ac_ct_RANLIB"; then
  6022. { $as_echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
  6023. $as_echo "$ac_ct_RANLIB" >&6; }
  6024. else
  6025. { $as_echo "$as_me:$LINENO: result: no" >&5
  6026. $as_echo "no" >&6; }
  6027. fi
  6028. if test "x$ac_ct_RANLIB" = x; then
  6029. RANLIB=":"
  6030. else
  6031. case $cross_compiling:$ac_tool_warned in
  6032. yes:)
  6033. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6034. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6035. ac_tool_warned=yes ;;
  6036. esac
  6037. RANLIB=$ac_ct_RANLIB
  6038. fi
  6039. else
  6040. RANLIB="$ac_cv_prog_RANLIB"
  6041. fi
  6042. test -z "$RANLIB" && RANLIB=:
  6043. # Determine commands to create old-style static archives.
  6044. old_archive_cmds='$AR $AR_FLAGS $oldlib$oldobjs'
  6045. old_postinstall_cmds='chmod 644 $oldlib'
  6046. old_postuninstall_cmds=
  6047. if test -n "$RANLIB"; then
  6048. case $host_os in
  6049. openbsd*)
  6050. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB -t \$oldlib"
  6051. ;;
  6052. *)
  6053. old_postinstall_cmds="$old_postinstall_cmds~\$RANLIB \$oldlib"
  6054. ;;
  6055. esac
  6056. old_archive_cmds="$old_archive_cmds~\$RANLIB \$oldlib"
  6057. fi
  6058. # If no C compiler was specified, use CC.
  6059. LTCC=${LTCC-"$CC"}
  6060. # If no C compiler flags were specified, use CFLAGS.
  6061. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  6062. # Allow CC to be a program name with arguments.
  6063. compiler=$CC
  6064. # Check for command to grab the raw symbol name followed by C symbol from nm.
  6065. { $as_echo "$as_me:$LINENO: checking command to parse $NM output from $compiler object" >&5
  6066. $as_echo_n "checking command to parse $NM output from $compiler object... " >&6; }
  6067. if test "${lt_cv_sys_global_symbol_pipe+set}" = set; then
  6068. $as_echo_n "(cached) " >&6
  6069. else
  6070. # These are sane defaults that work on at least a few old systems.
  6071. # [They come from Ultrix. What could be older than Ultrix?!! ;)]
  6072. # Character class describing NM global symbol codes.
  6073. symcode='[BCDEGRST]'
  6074. # Regexp to match symbols that can be accessed directly from C.
  6075. sympat='\([_A-Za-z][_A-Za-z0-9]*\)'
  6076. # Define system-specific variables.
  6077. case $host_os in
  6078. aix*)
  6079. symcode='[BCDT]'
  6080. ;;
  6081. cygwin* | mingw* | pw32* | cegcc*)
  6082. symcode='[ABCDGISTW]'
  6083. ;;
  6084. hpux*)
  6085. if test "$host_cpu" = ia64; then
  6086. symcode='[ABCDEGRST]'
  6087. fi
  6088. ;;
  6089. irix* | nonstopux*)
  6090. symcode='[BCDEGRST]'
  6091. ;;
  6092. osf*)
  6093. symcode='[BCDEGQRST]'
  6094. ;;
  6095. solaris*)
  6096. symcode='[BDRT]'
  6097. ;;
  6098. sco3.2v5*)
  6099. symcode='[DT]'
  6100. ;;
  6101. sysv4.2uw2*)
  6102. symcode='[DT]'
  6103. ;;
  6104. sysv5* | sco5v6* | unixware* | OpenUNIX*)
  6105. symcode='[ABDT]'
  6106. ;;
  6107. sysv4)
  6108. symcode='[DFNSTU]'
  6109. ;;
  6110. esac
  6111. # If we're using GNU nm, then use its standard symbol codes.
  6112. case `$NM -V 2>&1` in
  6113. *GNU* | *'with BFD'*)
  6114. symcode='[ABCDGIRSTW]' ;;
  6115. esac
  6116. # Transform an extracted symbol line into a proper C declaration.
  6117. # Some systems (esp. on ia64) link data and code symbols differently,
  6118. # so use this general approach.
  6119. lt_cv_sys_global_symbol_to_cdecl="sed -n -e 's/^T .* \(.*\)$/extern int \1();/p' -e 's/^$symcode* .* \(.*\)$/extern char \1;/p'"
  6120. # Transform an extracted symbol line into symbol name and symbol address
  6121. lt_cv_sys_global_symbol_to_c_name_address="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"\2\", (void *) \&\2},/p'"
  6122. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix="sed -n -e 's/^: \([^ ]*\) $/ {\\\"\1\\\", (void *) 0},/p' -e 's/^$symcode* \([^ ]*\) \(lib[^ ]*\)$/ {\"\2\", (void *) \&\2},/p' -e 's/^$symcode* \([^ ]*\) \([^ ]*\)$/ {\"lib\2\", (void *) \&\2},/p'"
  6123. # Handle CRLF in mingw tool chain
  6124. opt_cr=
  6125. case $build_os in
  6126. mingw*)
  6127. opt_cr=`$ECHO 'x\{0,1\}' | tr x '\015'` # option cr in regexp
  6128. ;;
  6129. esac
  6130. # Try without a prefix underscore, then with it.
  6131. for ac_symprfx in "" "_"; do
  6132. # Transform symcode, sympat, and symprfx into a raw symbol and a C symbol.
  6133. symxfrm="\\1 $ac_symprfx\\2 \\2"
  6134. # Write the raw and C identifiers.
  6135. if test "$lt_cv_nm_interface" = "MS dumpbin"; then
  6136. # Fake it for dumpbin and say T for any non-static function
  6137. # and D for any global variable.
  6138. # Also find C++ and __fastcall symbols from MSVC++,
  6139. # which start with @ or ?.
  6140. lt_cv_sys_global_symbol_pipe="$AWK '"\
  6141. " {last_section=section; section=\$ 3};"\
  6142. " /Section length .*#relocs.*(pick any)/{hide[last_section]=1};"\
  6143. " \$ 0!~/External *\|/{next};"\
  6144. " / 0+ UNDEF /{next}; / UNDEF \([^|]\)*()/{next};"\
  6145. " {if(hide[section]) next};"\
  6146. " {f=0}; \$ 0~/\(\).*\|/{f=1}; {printf f ? \"T \" : \"D \"};"\
  6147. " {split(\$ 0, a, /\||\r/); split(a[2], s)};"\
  6148. " s[1]~/^[@?]/{print s[1], s[1]; next};"\
  6149. " s[1]~prfx {split(s[1],t,\"@\"); print t[1], substr(t[1],length(prfx))}"\
  6150. " ' prfx=^$ac_symprfx"
  6151. else
  6152. lt_cv_sys_global_symbol_pipe="sed -n -e 's/^.*[ ]\($symcode$symcode*\)[ ][ ]*$ac_symprfx$sympat$opt_cr$/$symxfrm/p'"
  6153. fi
  6154. # Check to see that the pipe works correctly.
  6155. pipe_works=no
  6156. rm -f conftest*
  6157. cat > conftest.$ac_ext <<_LT_EOF
  6158. #ifdef __cplusplus
  6159. extern "C" {
  6160. #endif
  6161. char nm_test_var;
  6162. void nm_test_func(void);
  6163. void nm_test_func(void){}
  6164. #ifdef __cplusplus
  6165. }
  6166. #endif
  6167. int main(){nm_test_var='a';nm_test_func();return(0);}
  6168. _LT_EOF
  6169. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6170. (eval $ac_compile) 2>&5
  6171. ac_status=$?
  6172. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6173. (exit $ac_status); }; then
  6174. # Now try to grab the symbols.
  6175. nlist=conftest.nm
  6176. if { (eval echo "$as_me:$LINENO: \"$NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist\"") >&5
  6177. (eval $NM conftest.$ac_objext \| $lt_cv_sys_global_symbol_pipe \> $nlist) 2>&5
  6178. ac_status=$?
  6179. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6180. (exit $ac_status); } && test -s "$nlist"; then
  6181. # Try sorting and uniquifying the output.
  6182. if sort "$nlist" | uniq > "$nlist"T; then
  6183. mv -f "$nlist"T "$nlist"
  6184. else
  6185. rm -f "$nlist"T
  6186. fi
  6187. # Make sure that we snagged all the symbols we need.
  6188. if $GREP ' nm_test_var$' "$nlist" >/dev/null; then
  6189. if $GREP ' nm_test_func$' "$nlist" >/dev/null; then
  6190. cat <<_LT_EOF > conftest.$ac_ext
  6191. #ifdef __cplusplus
  6192. extern "C" {
  6193. #endif
  6194. _LT_EOF
  6195. # Now generate the symbol file.
  6196. eval "$lt_cv_sys_global_symbol_to_cdecl"' < "$nlist" | $GREP -v main >> conftest.$ac_ext'
  6197. cat <<_LT_EOF >> conftest.$ac_ext
  6198. /* The mapping between symbol names and symbols. */
  6199. const struct {
  6200. const char *name;
  6201. void *address;
  6202. }
  6203. lt__PROGRAM__LTX_preloaded_symbols[] =
  6204. {
  6205. { "@PROGRAM@", (void *) 0 },
  6206. _LT_EOF
  6207. $SED "s/^$symcode$symcode* \(.*\) \(.*\)$/ {\"\2\", (void *) \&\2},/" < "$nlist" | $GREP -v main >> conftest.$ac_ext
  6208. cat <<\_LT_EOF >> conftest.$ac_ext
  6209. {0, (void *) 0}
  6210. };
  6211. /* This works around a problem in FreeBSD linker */
  6212. #ifdef FREEBSD_WORKAROUND
  6213. static const void *lt_preloaded_setup() {
  6214. return lt__PROGRAM__LTX_preloaded_symbols;
  6215. }
  6216. #endif
  6217. #ifdef __cplusplus
  6218. }
  6219. #endif
  6220. _LT_EOF
  6221. # Now try linking the two files.
  6222. mv conftest.$ac_objext conftstm.$ac_objext
  6223. lt_save_LIBS="$LIBS"
  6224. lt_save_CFLAGS="$CFLAGS"
  6225. LIBS="conftstm.$ac_objext"
  6226. CFLAGS="$CFLAGS$lt_prog_compiler_no_builtin_flag"
  6227. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  6228. (eval $ac_link) 2>&5
  6229. ac_status=$?
  6230. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6231. (exit $ac_status); } && test -s conftest${ac_exeext}; then
  6232. pipe_works=yes
  6233. fi
  6234. LIBS="$lt_save_LIBS"
  6235. CFLAGS="$lt_save_CFLAGS"
  6236. else
  6237. echo "cannot find nm_test_func in $nlist" >&5
  6238. fi
  6239. else
  6240. echo "cannot find nm_test_var in $nlist" >&5
  6241. fi
  6242. else
  6243. echo "cannot run $lt_cv_sys_global_symbol_pipe" >&5
  6244. fi
  6245. else
  6246. echo "$progname: failed program was:" >&5
  6247. cat conftest.$ac_ext >&5
  6248. fi
  6249. rm -rf conftest* conftst*
  6250. # Do not use the global_symbol_pipe unless it works.
  6251. if test "$pipe_works" = yes; then
  6252. break
  6253. else
  6254. lt_cv_sys_global_symbol_pipe=
  6255. fi
  6256. done
  6257. fi
  6258. if test -z "$lt_cv_sys_global_symbol_pipe"; then
  6259. lt_cv_sys_global_symbol_to_cdecl=
  6260. fi
  6261. if test -z "$lt_cv_sys_global_symbol_pipe$lt_cv_sys_global_symbol_to_cdecl"; then
  6262. { $as_echo "$as_me:$LINENO: result: failed" >&5
  6263. $as_echo "failed" >&6; }
  6264. else
  6265. { $as_echo "$as_me:$LINENO: result: ok" >&5
  6266. $as_echo "ok" >&6; }
  6267. fi
  6268. # Check whether --enable-libtool-lock was given.
  6269. if test "${enable_libtool_lock+set}" = set; then
  6270. enableval=$enable_libtool_lock;
  6271. fi
  6272. test "x$enable_libtool_lock" != xno && enable_libtool_lock=yes
  6273. # Some flags need to be propagated to the compiler or linker for good
  6274. # libtool support.
  6275. case $host in
  6276. ia64-*-hpux*)
  6277. # Find out which ABI we are using.
  6278. echo 'int i;' > conftest.$ac_ext
  6279. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6280. (eval $ac_compile) 2>&5
  6281. ac_status=$?
  6282. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6283. (exit $ac_status); }; then
  6284. case `/usr/bin/file conftest.$ac_objext` in
  6285. *ELF-32*)
  6286. HPUX_IA64_MODE="32"
  6287. ;;
  6288. *ELF-64*)
  6289. HPUX_IA64_MODE="64"
  6290. ;;
  6291. esac
  6292. fi
  6293. rm -rf conftest*
  6294. ;;
  6295. *-*-irix6*)
  6296. # Find out which ABI we are using.
  6297. echo '#line 7160 "configure"' > conftest.$ac_ext
  6298. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6299. (eval $ac_compile) 2>&5
  6300. ac_status=$?
  6301. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6302. (exit $ac_status); }; then
  6303. if test "$lt_cv_prog_gnu_ld" = yes; then
  6304. case `/usr/bin/file conftest.$ac_objext` in
  6305. *32-bit*)
  6306. LD="${LD-ld} -melf32bsmip"
  6307. ;;
  6308. *N32*)
  6309. LD="${LD-ld} -melf32bmipn32"
  6310. ;;
  6311. *64-bit*)
  6312. LD="${LD-ld} -melf64bmip"
  6313. ;;
  6314. esac
  6315. else
  6316. case `/usr/bin/file conftest.$ac_objext` in
  6317. *32-bit*)
  6318. LD="${LD-ld} -32"
  6319. ;;
  6320. *N32*)
  6321. LD="${LD-ld} -n32"
  6322. ;;
  6323. *64-bit*)
  6324. LD="${LD-ld} -64"
  6325. ;;
  6326. esac
  6327. fi
  6328. fi
  6329. rm -rf conftest*
  6330. ;;
  6331. x86_64-*kfreebsd*-gnu|x86_64-*linux*|ppc*-*linux*|powerpc*-*linux*| \
  6332. s390*-*linux*|s390*-*tpf*|sparc*-*linux*)
  6333. # Find out which ABI we are using.
  6334. echo 'int i;' > conftest.$ac_ext
  6335. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6336. (eval $ac_compile) 2>&5
  6337. ac_status=$?
  6338. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6339. (exit $ac_status); }; then
  6340. case `/usr/bin/file conftest.o` in
  6341. *32-bit*)
  6342. case $host in
  6343. x86_64-*kfreebsd*-gnu)
  6344. LD="${LD-ld} -m elf_i386_fbsd"
  6345. ;;
  6346. x86_64-*linux*)
  6347. LD="${LD-ld} -m elf_i386"
  6348. ;;
  6349. ppc64-*linux*|powerpc64-*linux*)
  6350. LD="${LD-ld} -m elf32ppclinux"
  6351. ;;
  6352. s390x-*linux*)
  6353. LD="${LD-ld} -m elf_s390"
  6354. ;;
  6355. sparc64-*linux*)
  6356. LD="${LD-ld} -m elf32_sparc"
  6357. ;;
  6358. esac
  6359. ;;
  6360. *64-bit*)
  6361. case $host in
  6362. x86_64-*kfreebsd*-gnu)
  6363. LD="${LD-ld} -m elf_x86_64_fbsd"
  6364. ;;
  6365. x86_64-*linux*)
  6366. LD="${LD-ld} -m elf_x86_64"
  6367. ;;
  6368. ppc*-*linux*|powerpc*-*linux*)
  6369. LD="${LD-ld} -m elf64ppc"
  6370. ;;
  6371. s390*-*linux*|s390*-*tpf*)
  6372. LD="${LD-ld} -m elf64_s390"
  6373. ;;
  6374. sparc*-*linux*)
  6375. LD="${LD-ld} -m elf64_sparc"
  6376. ;;
  6377. esac
  6378. ;;
  6379. esac
  6380. fi
  6381. rm -rf conftest*
  6382. ;;
  6383. *-*-sco3.2v5*)
  6384. # On SCO OpenServer 5, we need -belf to get full-featured binaries.
  6385. SAVE_CFLAGS="$CFLAGS"
  6386. CFLAGS="$CFLAGS -belf"
  6387. { $as_echo "$as_me:$LINENO: checking whether the C compiler needs -belf" >&5
  6388. $as_echo_n "checking whether the C compiler needs -belf... " >&6; }
  6389. if test "${lt_cv_cc_needs_belf+set}" = set; then
  6390. $as_echo_n "(cached) " >&6
  6391. else
  6392. ac_ext=c
  6393. ac_cpp='$CPP $CPPFLAGS'
  6394. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6395. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6396. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6397. cat >conftest.$ac_ext <<_ACEOF
  6398. /* confdefs.h. */
  6399. _ACEOF
  6400. cat confdefs.h >>conftest.$ac_ext
  6401. cat >>conftest.$ac_ext <<_ACEOF
  6402. /* end confdefs.h. */
  6403. int
  6404. main ()
  6405. {
  6406. ;
  6407. return 0;
  6408. }
  6409. _ACEOF
  6410. rm -f conftest.$ac_objext conftest$ac_exeext
  6411. if { (ac_try="$ac_link"
  6412. case "(($ac_try" in
  6413. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6414. *) ac_try_echo=$ac_try;;
  6415. esac
  6416. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6417. $as_echo "$ac_try_echo") >&5
  6418. (eval "$ac_link") 2>conftest.er1
  6419. ac_status=$?
  6420. grep -v '^ *+' conftest.er1 >conftest.err
  6421. rm -f conftest.er1
  6422. cat conftest.err >&5
  6423. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6424. (exit $ac_status); } && {
  6425. test -z "$ac_c_werror_flag" ||
  6426. test ! -s conftest.err
  6427. } && test -s conftest$ac_exeext && {
  6428. test "$cross_compiling" = yes ||
  6429. $as_test_x conftest$ac_exeext
  6430. }; then
  6431. lt_cv_cc_needs_belf=yes
  6432. else
  6433. $as_echo "$as_me: failed program was:" >&5
  6434. sed 's/^/| /' conftest.$ac_ext >&5
  6435. lt_cv_cc_needs_belf=no
  6436. fi
  6437. rm -rf conftest.dSYM
  6438. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6439. conftest$ac_exeext conftest.$ac_ext
  6440. ac_ext=c
  6441. ac_cpp='$CPP $CPPFLAGS'
  6442. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6443. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6444. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6445. fi
  6446. { $as_echo "$as_me:$LINENO: result: $lt_cv_cc_needs_belf" >&5
  6447. $as_echo "$lt_cv_cc_needs_belf" >&6; }
  6448. if test x"$lt_cv_cc_needs_belf" != x"yes"; then
  6449. # this is probably gcc 2.8.0, egcs 1.0 or newer; no need for -belf
  6450. CFLAGS="$SAVE_CFLAGS"
  6451. fi
  6452. ;;
  6453. sparc*-*solaris*)
  6454. # Find out which ABI we are using.
  6455. echo 'int i;' > conftest.$ac_ext
  6456. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  6457. (eval $ac_compile) 2>&5
  6458. ac_status=$?
  6459. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6460. (exit $ac_status); }; then
  6461. case `/usr/bin/file conftest.o` in
  6462. *64-bit*)
  6463. case $lt_cv_prog_gnu_ld in
  6464. yes*) LD="${LD-ld} -m elf64_sparc" ;;
  6465. *)
  6466. if ${LD-ld} -64 -r -o conftest2.o conftest.o >/dev/null 2>&1; then
  6467. LD="${LD-ld} -64"
  6468. fi
  6469. ;;
  6470. esac
  6471. ;;
  6472. esac
  6473. fi
  6474. rm -rf conftest*
  6475. ;;
  6476. esac
  6477. need_locks="$enable_libtool_lock"
  6478. case $host_os in
  6479. rhapsody* | darwin*)
  6480. if test -n "$ac_tool_prefix"; then
  6481. # Extract the first word of "${ac_tool_prefix}dsymutil", so it can be a program name with args.
  6482. set dummy ${ac_tool_prefix}dsymutil; ac_word=$2
  6483. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6484. $as_echo_n "checking for $ac_word... " >&6; }
  6485. if test "${ac_cv_prog_DSYMUTIL+set}" = set; then
  6486. $as_echo_n "(cached) " >&6
  6487. else
  6488. if test -n "$DSYMUTIL"; then
  6489. ac_cv_prog_DSYMUTIL="$DSYMUTIL" # Let the user override the test.
  6490. else
  6491. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6492. for as_dir in $PATH
  6493. do
  6494. IFS=$as_save_IFS
  6495. test -z "$as_dir" && as_dir=.
  6496. for ac_exec_ext in '' $ac_executable_extensions; do
  6497. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6498. ac_cv_prog_DSYMUTIL="${ac_tool_prefix}dsymutil"
  6499. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6500. break 2
  6501. fi
  6502. done
  6503. done
  6504. IFS=$as_save_IFS
  6505. fi
  6506. fi
  6507. DSYMUTIL=$ac_cv_prog_DSYMUTIL
  6508. if test -n "$DSYMUTIL"; then
  6509. { $as_echo "$as_me:$LINENO: result: $DSYMUTIL" >&5
  6510. $as_echo "$DSYMUTIL" >&6; }
  6511. else
  6512. { $as_echo "$as_me:$LINENO: result: no" >&5
  6513. $as_echo "no" >&6; }
  6514. fi
  6515. fi
  6516. if test -z "$ac_cv_prog_DSYMUTIL"; then
  6517. ac_ct_DSYMUTIL=$DSYMUTIL
  6518. # Extract the first word of "dsymutil", so it can be a program name with args.
  6519. set dummy dsymutil; ac_word=$2
  6520. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6521. $as_echo_n "checking for $ac_word... " >&6; }
  6522. if test "${ac_cv_prog_ac_ct_DSYMUTIL+set}" = set; then
  6523. $as_echo_n "(cached) " >&6
  6524. else
  6525. if test -n "$ac_ct_DSYMUTIL"; then
  6526. ac_cv_prog_ac_ct_DSYMUTIL="$ac_ct_DSYMUTIL" # Let the user override the test.
  6527. else
  6528. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6529. for as_dir in $PATH
  6530. do
  6531. IFS=$as_save_IFS
  6532. test -z "$as_dir" && as_dir=.
  6533. for ac_exec_ext in '' $ac_executable_extensions; do
  6534. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6535. ac_cv_prog_ac_ct_DSYMUTIL="dsymutil"
  6536. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6537. break 2
  6538. fi
  6539. done
  6540. done
  6541. IFS=$as_save_IFS
  6542. fi
  6543. fi
  6544. ac_ct_DSYMUTIL=$ac_cv_prog_ac_ct_DSYMUTIL
  6545. if test -n "$ac_ct_DSYMUTIL"; then
  6546. { $as_echo "$as_me:$LINENO: result: $ac_ct_DSYMUTIL" >&5
  6547. $as_echo "$ac_ct_DSYMUTIL" >&6; }
  6548. else
  6549. { $as_echo "$as_me:$LINENO: result: no" >&5
  6550. $as_echo "no" >&6; }
  6551. fi
  6552. if test "x$ac_ct_DSYMUTIL" = x; then
  6553. DSYMUTIL=":"
  6554. else
  6555. case $cross_compiling:$ac_tool_warned in
  6556. yes:)
  6557. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6558. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6559. ac_tool_warned=yes ;;
  6560. esac
  6561. DSYMUTIL=$ac_ct_DSYMUTIL
  6562. fi
  6563. else
  6564. DSYMUTIL="$ac_cv_prog_DSYMUTIL"
  6565. fi
  6566. if test -n "$ac_tool_prefix"; then
  6567. # Extract the first word of "${ac_tool_prefix}nmedit", so it can be a program name with args.
  6568. set dummy ${ac_tool_prefix}nmedit; ac_word=$2
  6569. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6570. $as_echo_n "checking for $ac_word... " >&6; }
  6571. if test "${ac_cv_prog_NMEDIT+set}" = set; then
  6572. $as_echo_n "(cached) " >&6
  6573. else
  6574. if test -n "$NMEDIT"; then
  6575. ac_cv_prog_NMEDIT="$NMEDIT" # Let the user override the test.
  6576. else
  6577. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6578. for as_dir in $PATH
  6579. do
  6580. IFS=$as_save_IFS
  6581. test -z "$as_dir" && as_dir=.
  6582. for ac_exec_ext in '' $ac_executable_extensions; do
  6583. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6584. ac_cv_prog_NMEDIT="${ac_tool_prefix}nmedit"
  6585. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6586. break 2
  6587. fi
  6588. done
  6589. done
  6590. IFS=$as_save_IFS
  6591. fi
  6592. fi
  6593. NMEDIT=$ac_cv_prog_NMEDIT
  6594. if test -n "$NMEDIT"; then
  6595. { $as_echo "$as_me:$LINENO: result: $NMEDIT" >&5
  6596. $as_echo "$NMEDIT" >&6; }
  6597. else
  6598. { $as_echo "$as_me:$LINENO: result: no" >&5
  6599. $as_echo "no" >&6; }
  6600. fi
  6601. fi
  6602. if test -z "$ac_cv_prog_NMEDIT"; then
  6603. ac_ct_NMEDIT=$NMEDIT
  6604. # Extract the first word of "nmedit", so it can be a program name with args.
  6605. set dummy nmedit; ac_word=$2
  6606. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6607. $as_echo_n "checking for $ac_word... " >&6; }
  6608. if test "${ac_cv_prog_ac_ct_NMEDIT+set}" = set; then
  6609. $as_echo_n "(cached) " >&6
  6610. else
  6611. if test -n "$ac_ct_NMEDIT"; then
  6612. ac_cv_prog_ac_ct_NMEDIT="$ac_ct_NMEDIT" # Let the user override the test.
  6613. else
  6614. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6615. for as_dir in $PATH
  6616. do
  6617. IFS=$as_save_IFS
  6618. test -z "$as_dir" && as_dir=.
  6619. for ac_exec_ext in '' $ac_executable_extensions; do
  6620. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6621. ac_cv_prog_ac_ct_NMEDIT="nmedit"
  6622. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6623. break 2
  6624. fi
  6625. done
  6626. done
  6627. IFS=$as_save_IFS
  6628. fi
  6629. fi
  6630. ac_ct_NMEDIT=$ac_cv_prog_ac_ct_NMEDIT
  6631. if test -n "$ac_ct_NMEDIT"; then
  6632. { $as_echo "$as_me:$LINENO: result: $ac_ct_NMEDIT" >&5
  6633. $as_echo "$ac_ct_NMEDIT" >&6; }
  6634. else
  6635. { $as_echo "$as_me:$LINENO: result: no" >&5
  6636. $as_echo "no" >&6; }
  6637. fi
  6638. if test "x$ac_ct_NMEDIT" = x; then
  6639. NMEDIT=":"
  6640. else
  6641. case $cross_compiling:$ac_tool_warned in
  6642. yes:)
  6643. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6644. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6645. ac_tool_warned=yes ;;
  6646. esac
  6647. NMEDIT=$ac_ct_NMEDIT
  6648. fi
  6649. else
  6650. NMEDIT="$ac_cv_prog_NMEDIT"
  6651. fi
  6652. if test -n "$ac_tool_prefix"; then
  6653. # Extract the first word of "${ac_tool_prefix}lipo", so it can be a program name with args.
  6654. set dummy ${ac_tool_prefix}lipo; ac_word=$2
  6655. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6656. $as_echo_n "checking for $ac_word... " >&6; }
  6657. if test "${ac_cv_prog_LIPO+set}" = set; then
  6658. $as_echo_n "(cached) " >&6
  6659. else
  6660. if test -n "$LIPO"; then
  6661. ac_cv_prog_LIPO="$LIPO" # Let the user override the test.
  6662. else
  6663. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6664. for as_dir in $PATH
  6665. do
  6666. IFS=$as_save_IFS
  6667. test -z "$as_dir" && as_dir=.
  6668. for ac_exec_ext in '' $ac_executable_extensions; do
  6669. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6670. ac_cv_prog_LIPO="${ac_tool_prefix}lipo"
  6671. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6672. break 2
  6673. fi
  6674. done
  6675. done
  6676. IFS=$as_save_IFS
  6677. fi
  6678. fi
  6679. LIPO=$ac_cv_prog_LIPO
  6680. if test -n "$LIPO"; then
  6681. { $as_echo "$as_me:$LINENO: result: $LIPO" >&5
  6682. $as_echo "$LIPO" >&6; }
  6683. else
  6684. { $as_echo "$as_me:$LINENO: result: no" >&5
  6685. $as_echo "no" >&6; }
  6686. fi
  6687. fi
  6688. if test -z "$ac_cv_prog_LIPO"; then
  6689. ac_ct_LIPO=$LIPO
  6690. # Extract the first word of "lipo", so it can be a program name with args.
  6691. set dummy lipo; ac_word=$2
  6692. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6693. $as_echo_n "checking for $ac_word... " >&6; }
  6694. if test "${ac_cv_prog_ac_ct_LIPO+set}" = set; then
  6695. $as_echo_n "(cached) " >&6
  6696. else
  6697. if test -n "$ac_ct_LIPO"; then
  6698. ac_cv_prog_ac_ct_LIPO="$ac_ct_LIPO" # Let the user override the test.
  6699. else
  6700. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6701. for as_dir in $PATH
  6702. do
  6703. IFS=$as_save_IFS
  6704. test -z "$as_dir" && as_dir=.
  6705. for ac_exec_ext in '' $ac_executable_extensions; do
  6706. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6707. ac_cv_prog_ac_ct_LIPO="lipo"
  6708. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6709. break 2
  6710. fi
  6711. done
  6712. done
  6713. IFS=$as_save_IFS
  6714. fi
  6715. fi
  6716. ac_ct_LIPO=$ac_cv_prog_ac_ct_LIPO
  6717. if test -n "$ac_ct_LIPO"; then
  6718. { $as_echo "$as_me:$LINENO: result: $ac_ct_LIPO" >&5
  6719. $as_echo "$ac_ct_LIPO" >&6; }
  6720. else
  6721. { $as_echo "$as_me:$LINENO: result: no" >&5
  6722. $as_echo "no" >&6; }
  6723. fi
  6724. if test "x$ac_ct_LIPO" = x; then
  6725. LIPO=":"
  6726. else
  6727. case $cross_compiling:$ac_tool_warned in
  6728. yes:)
  6729. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6730. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6731. ac_tool_warned=yes ;;
  6732. esac
  6733. LIPO=$ac_ct_LIPO
  6734. fi
  6735. else
  6736. LIPO="$ac_cv_prog_LIPO"
  6737. fi
  6738. if test -n "$ac_tool_prefix"; then
  6739. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  6740. set dummy ${ac_tool_prefix}otool; ac_word=$2
  6741. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6742. $as_echo_n "checking for $ac_word... " >&6; }
  6743. if test "${ac_cv_prog_OTOOL+set}" = set; then
  6744. $as_echo_n "(cached) " >&6
  6745. else
  6746. if test -n "$OTOOL"; then
  6747. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  6748. else
  6749. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6750. for as_dir in $PATH
  6751. do
  6752. IFS=$as_save_IFS
  6753. test -z "$as_dir" && as_dir=.
  6754. for ac_exec_ext in '' $ac_executable_extensions; do
  6755. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6756. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  6757. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6758. break 2
  6759. fi
  6760. done
  6761. done
  6762. IFS=$as_save_IFS
  6763. fi
  6764. fi
  6765. OTOOL=$ac_cv_prog_OTOOL
  6766. if test -n "$OTOOL"; then
  6767. { $as_echo "$as_me:$LINENO: result: $OTOOL" >&5
  6768. $as_echo "$OTOOL" >&6; }
  6769. else
  6770. { $as_echo "$as_me:$LINENO: result: no" >&5
  6771. $as_echo "no" >&6; }
  6772. fi
  6773. fi
  6774. if test -z "$ac_cv_prog_OTOOL"; then
  6775. ac_ct_OTOOL=$OTOOL
  6776. # Extract the first word of "otool", so it can be a program name with args.
  6777. set dummy otool; ac_word=$2
  6778. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6779. $as_echo_n "checking for $ac_word... " >&6; }
  6780. if test "${ac_cv_prog_ac_ct_OTOOL+set}" = set; then
  6781. $as_echo_n "(cached) " >&6
  6782. else
  6783. if test -n "$ac_ct_OTOOL"; then
  6784. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  6785. else
  6786. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6787. for as_dir in $PATH
  6788. do
  6789. IFS=$as_save_IFS
  6790. test -z "$as_dir" && as_dir=.
  6791. for ac_exec_ext in '' $ac_executable_extensions; do
  6792. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6793. ac_cv_prog_ac_ct_OTOOL="otool"
  6794. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6795. break 2
  6796. fi
  6797. done
  6798. done
  6799. IFS=$as_save_IFS
  6800. fi
  6801. fi
  6802. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  6803. if test -n "$ac_ct_OTOOL"; then
  6804. { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL" >&5
  6805. $as_echo "$ac_ct_OTOOL" >&6; }
  6806. else
  6807. { $as_echo "$as_me:$LINENO: result: no" >&5
  6808. $as_echo "no" >&6; }
  6809. fi
  6810. if test "x$ac_ct_OTOOL" = x; then
  6811. OTOOL=":"
  6812. else
  6813. case $cross_compiling:$ac_tool_warned in
  6814. yes:)
  6815. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6816. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6817. ac_tool_warned=yes ;;
  6818. esac
  6819. OTOOL=$ac_ct_OTOOL
  6820. fi
  6821. else
  6822. OTOOL="$ac_cv_prog_OTOOL"
  6823. fi
  6824. if test -n "$ac_tool_prefix"; then
  6825. # Extract the first word of "${ac_tool_prefix}otool64", so it can be a program name with args.
  6826. set dummy ${ac_tool_prefix}otool64; ac_word=$2
  6827. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6828. $as_echo_n "checking for $ac_word... " >&6; }
  6829. if test "${ac_cv_prog_OTOOL64+set}" = set; then
  6830. $as_echo_n "(cached) " >&6
  6831. else
  6832. if test -n "$OTOOL64"; then
  6833. ac_cv_prog_OTOOL64="$OTOOL64" # Let the user override the test.
  6834. else
  6835. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6836. for as_dir in $PATH
  6837. do
  6838. IFS=$as_save_IFS
  6839. test -z "$as_dir" && as_dir=.
  6840. for ac_exec_ext in '' $ac_executable_extensions; do
  6841. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6842. ac_cv_prog_OTOOL64="${ac_tool_prefix}otool64"
  6843. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6844. break 2
  6845. fi
  6846. done
  6847. done
  6848. IFS=$as_save_IFS
  6849. fi
  6850. fi
  6851. OTOOL64=$ac_cv_prog_OTOOL64
  6852. if test -n "$OTOOL64"; then
  6853. { $as_echo "$as_me:$LINENO: result: $OTOOL64" >&5
  6854. $as_echo "$OTOOL64" >&6; }
  6855. else
  6856. { $as_echo "$as_me:$LINENO: result: no" >&5
  6857. $as_echo "no" >&6; }
  6858. fi
  6859. fi
  6860. if test -z "$ac_cv_prog_OTOOL64"; then
  6861. ac_ct_OTOOL64=$OTOOL64
  6862. # Extract the first word of "otool64", so it can be a program name with args.
  6863. set dummy otool64; ac_word=$2
  6864. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  6865. $as_echo_n "checking for $ac_word... " >&6; }
  6866. if test "${ac_cv_prog_ac_ct_OTOOL64+set}" = set; then
  6867. $as_echo_n "(cached) " >&6
  6868. else
  6869. if test -n "$ac_ct_OTOOL64"; then
  6870. ac_cv_prog_ac_ct_OTOOL64="$ac_ct_OTOOL64" # Let the user override the test.
  6871. else
  6872. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6873. for as_dir in $PATH
  6874. do
  6875. IFS=$as_save_IFS
  6876. test -z "$as_dir" && as_dir=.
  6877. for ac_exec_ext in '' $ac_executable_extensions; do
  6878. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  6879. ac_cv_prog_ac_ct_OTOOL64="otool64"
  6880. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  6881. break 2
  6882. fi
  6883. done
  6884. done
  6885. IFS=$as_save_IFS
  6886. fi
  6887. fi
  6888. ac_ct_OTOOL64=$ac_cv_prog_ac_ct_OTOOL64
  6889. if test -n "$ac_ct_OTOOL64"; then
  6890. { $as_echo "$as_me:$LINENO: result: $ac_ct_OTOOL64" >&5
  6891. $as_echo "$ac_ct_OTOOL64" >&6; }
  6892. else
  6893. { $as_echo "$as_me:$LINENO: result: no" >&5
  6894. $as_echo "no" >&6; }
  6895. fi
  6896. if test "x$ac_ct_OTOOL64" = x; then
  6897. OTOOL64=":"
  6898. else
  6899. case $cross_compiling:$ac_tool_warned in
  6900. yes:)
  6901. { $as_echo "$as_me:$LINENO: WARNING: using cross tools not prefixed with host triplet" >&5
  6902. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  6903. ac_tool_warned=yes ;;
  6904. esac
  6905. OTOOL64=$ac_ct_OTOOL64
  6906. fi
  6907. else
  6908. OTOOL64="$ac_cv_prog_OTOOL64"
  6909. fi
  6910. { $as_echo "$as_me:$LINENO: checking for -single_module linker flag" >&5
  6911. $as_echo_n "checking for -single_module linker flag... " >&6; }
  6912. if test "${lt_cv_apple_cc_single_mod+set}" = set; then
  6913. $as_echo_n "(cached) " >&6
  6914. else
  6915. lt_cv_apple_cc_single_mod=no
  6916. if test -z "${LT_MULTI_MODULE}"; then
  6917. # By default we will add the -single_module flag. You can override
  6918. # by either setting the environment variable LT_MULTI_MODULE
  6919. # non-empty at configure time, or by adding -multi_module to the
  6920. # link flags.
  6921. rm -rf libconftest.dylib*
  6922. echo "int foo(void){return 1;}" > conftest.c
  6923. echo "$LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6924. -dynamiclib -Wl,-single_module conftest.c" >&5
  6925. $LTCC $LTCFLAGS $LDFLAGS -o libconftest.dylib \
  6926. -dynamiclib -Wl,-single_module conftest.c 2>conftest.err
  6927. _lt_result=$?
  6928. if test -f libconftest.dylib && test ! -s conftest.err && test $_lt_result = 0; then
  6929. lt_cv_apple_cc_single_mod=yes
  6930. else
  6931. cat conftest.err >&5
  6932. fi
  6933. rm -rf libconftest.dylib*
  6934. rm -f conftest.*
  6935. fi
  6936. fi
  6937. { $as_echo "$as_me:$LINENO: result: $lt_cv_apple_cc_single_mod" >&5
  6938. $as_echo "$lt_cv_apple_cc_single_mod" >&6; }
  6939. { $as_echo "$as_me:$LINENO: checking for -exported_symbols_list linker flag" >&5
  6940. $as_echo_n "checking for -exported_symbols_list linker flag... " >&6; }
  6941. if test "${lt_cv_ld_exported_symbols_list+set}" = set; then
  6942. $as_echo_n "(cached) " >&6
  6943. else
  6944. lt_cv_ld_exported_symbols_list=no
  6945. save_LDFLAGS=$LDFLAGS
  6946. echo "_main" > conftest.sym
  6947. LDFLAGS="$LDFLAGS -Wl,-exported_symbols_list,conftest.sym"
  6948. cat >conftest.$ac_ext <<_ACEOF
  6949. /* confdefs.h. */
  6950. _ACEOF
  6951. cat confdefs.h >>conftest.$ac_ext
  6952. cat >>conftest.$ac_ext <<_ACEOF
  6953. /* end confdefs.h. */
  6954. int
  6955. main ()
  6956. {
  6957. ;
  6958. return 0;
  6959. }
  6960. _ACEOF
  6961. rm -f conftest.$ac_objext conftest$ac_exeext
  6962. if { (ac_try="$ac_link"
  6963. case "(($ac_try" in
  6964. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  6965. *) ac_try_echo=$ac_try;;
  6966. esac
  6967. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  6968. $as_echo "$ac_try_echo") >&5
  6969. (eval "$ac_link") 2>conftest.er1
  6970. ac_status=$?
  6971. grep -v '^ *+' conftest.er1 >conftest.err
  6972. rm -f conftest.er1
  6973. cat conftest.err >&5
  6974. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  6975. (exit $ac_status); } && {
  6976. test -z "$ac_c_werror_flag" ||
  6977. test ! -s conftest.err
  6978. } && test -s conftest$ac_exeext && {
  6979. test "$cross_compiling" = yes ||
  6980. $as_test_x conftest$ac_exeext
  6981. }; then
  6982. lt_cv_ld_exported_symbols_list=yes
  6983. else
  6984. $as_echo "$as_me: failed program was:" >&5
  6985. sed 's/^/| /' conftest.$ac_ext >&5
  6986. lt_cv_ld_exported_symbols_list=no
  6987. fi
  6988. rm -rf conftest.dSYM
  6989. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  6990. conftest$ac_exeext conftest.$ac_ext
  6991. LDFLAGS="$save_LDFLAGS"
  6992. fi
  6993. { $as_echo "$as_me:$LINENO: result: $lt_cv_ld_exported_symbols_list" >&5
  6994. $as_echo "$lt_cv_ld_exported_symbols_list" >&6; }
  6995. case $host_os in
  6996. rhapsody* | darwin1.[012])
  6997. _lt_dar_allow_undefined='${wl}-undefined ${wl}suppress' ;;
  6998. darwin1.*)
  6999. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7000. darwin*) # darwin 5.x on
  7001. # if running on 10.5 or later, the deployment target defaults
  7002. # to the OS version, if on x86, and 10.4, the deployment
  7003. # target defaults to 10.4. Don't you love it?
  7004. case ${MACOSX_DEPLOYMENT_TARGET-10.0},$host in
  7005. 10.0,*86*-darwin8*|10.0,*-darwin[91]*)
  7006. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7007. 10.[012]*)
  7008. _lt_dar_allow_undefined='${wl}-flat_namespace ${wl}-undefined ${wl}suppress' ;;
  7009. 10.*)
  7010. _lt_dar_allow_undefined='${wl}-undefined ${wl}dynamic_lookup' ;;
  7011. esac
  7012. ;;
  7013. esac
  7014. if test "$lt_cv_apple_cc_single_mod" = "yes"; then
  7015. _lt_dar_single_mod='$single_module'
  7016. fi
  7017. if test "$lt_cv_ld_exported_symbols_list" = "yes"; then
  7018. _lt_dar_export_syms=' ${wl}-exported_symbols_list,$output_objdir/${libname}-symbols.expsym'
  7019. else
  7020. _lt_dar_export_syms='~$NMEDIT -s $output_objdir/${libname}-symbols.expsym ${lib}'
  7021. fi
  7022. if test "$DSYMUTIL" != ":"; then
  7023. _lt_dsymutil='~$DSYMUTIL $lib || :'
  7024. else
  7025. _lt_dsymutil=
  7026. fi
  7027. ;;
  7028. esac
  7029. for ac_header in dlfcn.h
  7030. do
  7031. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7032. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  7033. $as_echo_n "checking for $ac_header... " >&6; }
  7034. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  7035. $as_echo_n "(cached) " >&6
  7036. else
  7037. cat >conftest.$ac_ext <<_ACEOF
  7038. /* confdefs.h. */
  7039. _ACEOF
  7040. cat confdefs.h >>conftest.$ac_ext
  7041. cat >>conftest.$ac_ext <<_ACEOF
  7042. /* end confdefs.h. */
  7043. $ac_includes_default
  7044. #include <$ac_header>
  7045. _ACEOF
  7046. rm -f conftest.$ac_objext
  7047. if { (ac_try="$ac_compile"
  7048. case "(($ac_try" in
  7049. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7050. *) ac_try_echo=$ac_try;;
  7051. esac
  7052. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  7053. $as_echo "$ac_try_echo") >&5
  7054. (eval "$ac_compile") 2>conftest.er1
  7055. ac_status=$?
  7056. grep -v '^ *+' conftest.er1 >conftest.err
  7057. rm -f conftest.er1
  7058. cat conftest.err >&5
  7059. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  7060. (exit $ac_status); } && {
  7061. test -z "$ac_c_werror_flag" ||
  7062. test ! -s conftest.err
  7063. } && test -s conftest.$ac_objext; then
  7064. eval "$as_ac_Header=yes"
  7065. else
  7066. $as_echo "$as_me: failed program was:" >&5
  7067. sed 's/^/| /' conftest.$ac_ext >&5
  7068. eval "$as_ac_Header=no"
  7069. fi
  7070. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7071. fi
  7072. ac_res=`eval 'as_val=${'$as_ac_Header'}
  7073. $as_echo "$as_val"'`
  7074. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  7075. $as_echo "$ac_res" >&6; }
  7076. as_val=`eval 'as_val=${'$as_ac_Header'}
  7077. $as_echo "$as_val"'`
  7078. if test "x$as_val" = x""yes; then
  7079. cat >>confdefs.h <<_ACEOF
  7080. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7081. _ACEOF
  7082. fi
  7083. done
  7084. # Set options
  7085. enable_dlopen=no
  7086. # Check whether --enable-shared was given.
  7087. if test "${enable_shared+set}" = set; then
  7088. enableval=$enable_shared; p=${PACKAGE-default}
  7089. case $enableval in
  7090. yes) enable_shared=yes ;;
  7091. no) enable_shared=no ;;
  7092. *)
  7093. enable_shared=no
  7094. # Look at the argument we got. We use all the common list separators.
  7095. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7096. for pkg in $enableval; do
  7097. IFS="$lt_save_ifs"
  7098. if test "X$pkg" = "X$p"; then
  7099. enable_shared=yes
  7100. fi
  7101. done
  7102. IFS="$lt_save_ifs"
  7103. ;;
  7104. esac
  7105. else
  7106. enable_shared=yes
  7107. fi
  7108. # Check whether --enable-static was given.
  7109. if test "${enable_static+set}" = set; then
  7110. enableval=$enable_static; p=${PACKAGE-default}
  7111. case $enableval in
  7112. yes) enable_static=yes ;;
  7113. no) enable_static=no ;;
  7114. *)
  7115. enable_static=no
  7116. # Look at the argument we got. We use all the common list separators.
  7117. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7118. for pkg in $enableval; do
  7119. IFS="$lt_save_ifs"
  7120. if test "X$pkg" = "X$p"; then
  7121. enable_static=yes
  7122. fi
  7123. done
  7124. IFS="$lt_save_ifs"
  7125. ;;
  7126. esac
  7127. else
  7128. enable_static=yes
  7129. fi
  7130. # Check whether --with-pic was given.
  7131. if test "${with_pic+set}" = set; then
  7132. withval=$with_pic; pic_mode="$withval"
  7133. else
  7134. pic_mode=default
  7135. fi
  7136. test -z "$pic_mode" && pic_mode=default
  7137. # Check whether --enable-fast-install was given.
  7138. if test "${enable_fast_install+set}" = set; then
  7139. enableval=$enable_fast_install; p=${PACKAGE-default}
  7140. case $enableval in
  7141. yes) enable_fast_install=yes ;;
  7142. no) enable_fast_install=no ;;
  7143. *)
  7144. enable_fast_install=no
  7145. # Look at the argument we got. We use all the common list separators.
  7146. lt_save_ifs="$IFS"; IFS="${IFS}$PATH_SEPARATOR,"
  7147. for pkg in $enableval; do
  7148. IFS="$lt_save_ifs"
  7149. if test "X$pkg" = "X$p"; then
  7150. enable_fast_install=yes
  7151. fi
  7152. done
  7153. IFS="$lt_save_ifs"
  7154. ;;
  7155. esac
  7156. else
  7157. enable_fast_install=yes
  7158. fi
  7159. # This can be used to rebuild libtool when needed
  7160. LIBTOOL_DEPS="$ltmain"
  7161. # Always use our own libtool.
  7162. LIBTOOL='$(SHELL) $(top_builddir)/libtool'
  7163. test -z "$LN_S" && LN_S="ln -s"
  7164. if test -n "${ZSH_VERSION+set}" ; then
  7165. setopt NO_GLOB_SUBST
  7166. fi
  7167. { $as_echo "$as_me:$LINENO: checking for objdir" >&5
  7168. $as_echo_n "checking for objdir... " >&6; }
  7169. if test "${lt_cv_objdir+set}" = set; then
  7170. $as_echo_n "(cached) " >&6
  7171. else
  7172. rm -f .libs 2>/dev/null
  7173. mkdir .libs 2>/dev/null
  7174. if test -d .libs; then
  7175. lt_cv_objdir=.libs
  7176. else
  7177. # MS-DOS does not allow filenames that begin with a dot.
  7178. lt_cv_objdir=_libs
  7179. fi
  7180. rmdir .libs 2>/dev/null
  7181. fi
  7182. { $as_echo "$as_me:$LINENO: result: $lt_cv_objdir" >&5
  7183. $as_echo "$lt_cv_objdir" >&6; }
  7184. objdir=$lt_cv_objdir
  7185. cat >>confdefs.h <<_ACEOF
  7186. #define LT_OBJDIR "$lt_cv_objdir/"
  7187. _ACEOF
  7188. case $host_os in
  7189. aix3*)
  7190. # AIX sometimes has problems with the GCC collect2 program. For some
  7191. # reason, if we set the COLLECT_NAMES environment variable, the problems
  7192. # vanish in a puff of smoke.
  7193. if test "X${COLLECT_NAMES+set}" != Xset; then
  7194. COLLECT_NAMES=
  7195. export COLLECT_NAMES
  7196. fi
  7197. ;;
  7198. esac
  7199. # Sed substitution that helps us do robust quoting. It backslashifies
  7200. # metacharacters that are still active within double-quoted strings.
  7201. sed_quote_subst='s/\(["`$\\]\)/\\\1/g'
  7202. # Same as above, but do not quote variable references.
  7203. double_quote_subst='s/\(["`\\]\)/\\\1/g'
  7204. # Sed substitution to delay expansion of an escaped shell variable in a
  7205. # double_quote_subst'ed string.
  7206. delay_variable_subst='s/\\\\\\\\\\\$/\\\\\\$/g'
  7207. # Sed substitution to delay expansion of an escaped single quote.
  7208. delay_single_quote_subst='s/'\''/'\'\\\\\\\'\''/g'
  7209. # Sed substitution to avoid accidental globbing in evaled expressions
  7210. no_glob_subst='s/\*/\\\*/g'
  7211. # Global variables:
  7212. ofile=libtool
  7213. can_build_shared=yes
  7214. # All known linkers require a `.a' archive for static linking (except MSVC,
  7215. # which needs '.lib').
  7216. libext=a
  7217. with_gnu_ld="$lt_cv_prog_gnu_ld"
  7218. old_CC="$CC"
  7219. old_CFLAGS="$CFLAGS"
  7220. # Set sane defaults for various variables
  7221. test -z "$CC" && CC=cc
  7222. test -z "$LTCC" && LTCC=$CC
  7223. test -z "$LTCFLAGS" && LTCFLAGS=$CFLAGS
  7224. test -z "$LD" && LD=ld
  7225. test -z "$ac_objext" && ac_objext=o
  7226. for cc_temp in $compiler""; do
  7227. case $cc_temp in
  7228. compile | *[\\/]compile | ccache | *[\\/]ccache ) ;;
  7229. distcc | *[\\/]distcc | purify | *[\\/]purify ) ;;
  7230. \-*) ;;
  7231. *) break;;
  7232. esac
  7233. done
  7234. cc_basename=`$ECHO "X$cc_temp" | $Xsed -e 's%.*/%%' -e "s%^$host_alias-%%"`
  7235. # Only perform the check for file, if the check method requires it
  7236. test -z "$MAGIC_CMD" && MAGIC_CMD=file
  7237. case $deplibs_check_method in
  7238. file_magic*)
  7239. if test "$file_magic_cmd" = '$MAGIC_CMD'; then
  7240. { $as_echo "$as_me:$LINENO: checking for ${ac_tool_prefix}file" >&5
  7241. $as_echo_n "checking for ${ac_tool_prefix}file... " >&6; }
  7242. if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  7243. $as_echo_n "(cached) " >&6
  7244. else
  7245. case $MAGIC_CMD in
  7246. [\\/*] | ?:[\\/]*)
  7247. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7248. ;;
  7249. *)
  7250. lt_save_MAGIC_CMD="$MAGIC_CMD"
  7251. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7252. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7253. for ac_dir in $ac_dummy; do
  7254. IFS="$lt_save_ifs"
  7255. test -z "$ac_dir" && ac_dir=.
  7256. if test -f $ac_dir/${ac_tool_prefix}file; then
  7257. lt_cv_path_MAGIC_CMD="$ac_dir/${ac_tool_prefix}file"
  7258. if test -n "$file_magic_test_file"; then
  7259. case $deplibs_check_method in
  7260. "file_magic "*)
  7261. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7262. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7263. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7264. $EGREP "$file_magic_regex" > /dev/null; then
  7265. :
  7266. else
  7267. cat <<_LT_EOF 1>&2
  7268. *** Warning: the command libtool uses to detect shared libraries,
  7269. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7270. *** The result is that libtool may fail to recognize shared libraries
  7271. *** as such. This will affect the creation of libtool libraries that
  7272. *** depend on shared libraries, but programs linked with such libtool
  7273. *** libraries will work regardless of this problem. Nevertheless, you
  7274. *** may want to report the problem to your system manager and/or to
  7275. *** bug-libtool@gnu.org
  7276. _LT_EOF
  7277. fi ;;
  7278. esac
  7279. fi
  7280. break
  7281. fi
  7282. done
  7283. IFS="$lt_save_ifs"
  7284. MAGIC_CMD="$lt_save_MAGIC_CMD"
  7285. ;;
  7286. esac
  7287. fi
  7288. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7289. if test -n "$MAGIC_CMD"; then
  7290. { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  7291. $as_echo "$MAGIC_CMD" >&6; }
  7292. else
  7293. { $as_echo "$as_me:$LINENO: result: no" >&5
  7294. $as_echo "no" >&6; }
  7295. fi
  7296. if test -z "$lt_cv_path_MAGIC_CMD"; then
  7297. if test -n "$ac_tool_prefix"; then
  7298. { $as_echo "$as_me:$LINENO: checking for file" >&5
  7299. $as_echo_n "checking for file... " >&6; }
  7300. if test "${lt_cv_path_MAGIC_CMD+set}" = set; then
  7301. $as_echo_n "(cached) " >&6
  7302. else
  7303. case $MAGIC_CMD in
  7304. [\\/*] | ?:[\\/]*)
  7305. lt_cv_path_MAGIC_CMD="$MAGIC_CMD" # Let the user override the test with a path.
  7306. ;;
  7307. *)
  7308. lt_save_MAGIC_CMD="$MAGIC_CMD"
  7309. lt_save_ifs="$IFS"; IFS=$PATH_SEPARATOR
  7310. ac_dummy="/usr/bin$PATH_SEPARATOR$PATH"
  7311. for ac_dir in $ac_dummy; do
  7312. IFS="$lt_save_ifs"
  7313. test -z "$ac_dir" && ac_dir=.
  7314. if test -f $ac_dir/file; then
  7315. lt_cv_path_MAGIC_CMD="$ac_dir/file"
  7316. if test -n "$file_magic_test_file"; then
  7317. case $deplibs_check_method in
  7318. "file_magic "*)
  7319. file_magic_regex=`expr "$deplibs_check_method" : "file_magic \(.*\)"`
  7320. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7321. if eval $file_magic_cmd \$file_magic_test_file 2> /dev/null |
  7322. $EGREP "$file_magic_regex" > /dev/null; then
  7323. :
  7324. else
  7325. cat <<_LT_EOF 1>&2
  7326. *** Warning: the command libtool uses to detect shared libraries,
  7327. *** $file_magic_cmd, produces output that libtool cannot recognize.
  7328. *** The result is that libtool may fail to recognize shared libraries
  7329. *** as such. This will affect the creation of libtool libraries that
  7330. *** depend on shared libraries, but programs linked with such libtool
  7331. *** libraries will work regardless of this problem. Nevertheless, you
  7332. *** may want to report the problem to your system manager and/or to
  7333. *** bug-libtool@gnu.org
  7334. _LT_EOF
  7335. fi ;;
  7336. esac
  7337. fi
  7338. break
  7339. fi
  7340. done
  7341. IFS="$lt_save_ifs"
  7342. MAGIC_CMD="$lt_save_MAGIC_CMD"
  7343. ;;
  7344. esac
  7345. fi
  7346. MAGIC_CMD="$lt_cv_path_MAGIC_CMD"
  7347. if test -n "$MAGIC_CMD"; then
  7348. { $as_echo "$as_me:$LINENO: result: $MAGIC_CMD" >&5
  7349. $as_echo "$MAGIC_CMD" >&6; }
  7350. else
  7351. { $as_echo "$as_me:$LINENO: result: no" >&5
  7352. $as_echo "no" >&6; }
  7353. fi
  7354. else
  7355. MAGIC_CMD=:
  7356. fi
  7357. fi
  7358. fi
  7359. ;;
  7360. esac
  7361. # Use C for the default configuration in the libtool script
  7362. lt_save_CC="$CC"
  7363. ac_ext=c
  7364. ac_cpp='$CPP $CPPFLAGS'
  7365. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7366. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7367. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7368. # Source file extension for C test sources.
  7369. ac_ext=c
  7370. # Object file extension for compiled C test sources.
  7371. objext=o
  7372. objext=$objext
  7373. # Code to be used in simple compile tests
  7374. lt_simple_compile_test_code="int some_variable = 0;"
  7375. # Code to be used in simple link tests
  7376. lt_simple_link_test_code='int main(){return(0);}'
  7377. # If no C compiler was specified, use CC.
  7378. LTCC=${LTCC-"$CC"}
  7379. # If no C compiler flags were specified, use CFLAGS.
  7380. LTCFLAGS=${LTCFLAGS-"$CFLAGS"}
  7381. # Allow CC to be a program name with arguments.
  7382. compiler=$CC
  7383. # Save the default compiler, since it gets overwritten when the other
  7384. # tags are being tested, and _LT_TAGVAR(compiler, []) is a NOP.
  7385. compiler_DEFAULT=$CC
  7386. # save warnings/boilerplate of simple test code
  7387. ac_outfile=conftest.$ac_objext
  7388. echo "$lt_simple_compile_test_code" >conftest.$ac_ext
  7389. eval "$ac_compile" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7390. _lt_compiler_boilerplate=`cat conftest.err`
  7391. $RM conftest*
  7392. ac_outfile=conftest.$ac_objext
  7393. echo "$lt_simple_link_test_code" >conftest.$ac_ext
  7394. eval "$ac_link" 2>&1 >/dev/null | $SED '/^$/d; /^ *+/d' >conftest.err
  7395. _lt_linker_boilerplate=`cat conftest.err`
  7396. $RM -r conftest*
  7397. if test -n "$compiler"; then
  7398. lt_prog_compiler_no_builtin_flag=
  7399. if test "$GCC" = yes; then
  7400. lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  7401. { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  7402. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  7403. if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  7404. $as_echo_n "(cached) " >&6
  7405. else
  7406. lt_cv_prog_compiler_rtti_exceptions=no
  7407. ac_outfile=conftest.$ac_objext
  7408. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7409. lt_compiler_flag="-fno-rtti -fno-exceptions"
  7410. # Insert the option either (1) after the last *FLAGS variable, or
  7411. # (2) before a word containing "conftest.", or (3) at the end.
  7412. # Note that $ac_compile itself does not contain backslashes and begins
  7413. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7414. # The option is referenced via a variable to avoid confusing sed.
  7415. lt_compile=`echo "$ac_compile" | $SED \
  7416. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7417. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7418. -e 's:$: $lt_compiler_flag:'`
  7419. (eval echo "\"\$as_me:8523: $lt_compile\"" >&5)
  7420. (eval "$lt_compile" 2>conftest.err)
  7421. ac_status=$?
  7422. cat conftest.err >&5
  7423. echo "$as_me:8527: \$? = $ac_status" >&5
  7424. if (exit $ac_status) && test -s "$ac_outfile"; then
  7425. # The compiler can only warn and ignore the option if not recognized
  7426. # So say no if there are warnings other than the usual output.
  7427. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  7428. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7429. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7430. lt_cv_prog_compiler_rtti_exceptions=yes
  7431. fi
  7432. fi
  7433. $RM conftest*
  7434. fi
  7435. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  7436. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  7437. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  7438. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  7439. else
  7440. :
  7441. fi
  7442. fi
  7443. lt_prog_compiler_wl=
  7444. lt_prog_compiler_pic=
  7445. lt_prog_compiler_static=
  7446. { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  7447. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  7448. if test "$GCC" = yes; then
  7449. lt_prog_compiler_wl='-Wl,'
  7450. lt_prog_compiler_static='-static'
  7451. case $host_os in
  7452. aix*)
  7453. # All AIX code is PIC.
  7454. if test "$host_cpu" = ia64; then
  7455. # AIX 5 now supports IA64 processor
  7456. lt_prog_compiler_static='-Bstatic'
  7457. fi
  7458. ;;
  7459. amigaos*)
  7460. case $host_cpu in
  7461. powerpc)
  7462. # see comment about AmigaOS4 .so support
  7463. lt_prog_compiler_pic='-fPIC'
  7464. ;;
  7465. m68k)
  7466. # FIXME: we need at least 68020 code to build shared libraries, but
  7467. # adding the `-m68020' flag to GCC prevents building anything better,
  7468. # like `-m68040'.
  7469. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  7470. ;;
  7471. esac
  7472. ;;
  7473. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  7474. # PIC is the default for these OSes.
  7475. ;;
  7476. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7477. # This hack is so that the source file can tell whether it is being
  7478. # built for inclusion in a dll (and should export symbols for example).
  7479. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  7480. # (--disable-auto-import) libraries
  7481. lt_prog_compiler_pic='-DDLL_EXPORT'
  7482. ;;
  7483. darwin* | rhapsody*)
  7484. # PIC is the default on this platform
  7485. # Common symbols not allowed in MH_DYLIB files
  7486. lt_prog_compiler_pic='-fno-common'
  7487. ;;
  7488. hpux*)
  7489. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  7490. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  7491. # sets the default TLS model and affects inlining.
  7492. case $host_cpu in
  7493. hppa*64*)
  7494. # +Z the default
  7495. ;;
  7496. *)
  7497. lt_prog_compiler_pic='-fPIC'
  7498. ;;
  7499. esac
  7500. ;;
  7501. interix[3-9]*)
  7502. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  7503. # Instead, we relocate shared libraries at runtime.
  7504. ;;
  7505. msdosdjgpp*)
  7506. # Just because we use GCC doesn't mean we suddenly get shared libraries
  7507. # on systems that don't support them.
  7508. lt_prog_compiler_can_build_shared=no
  7509. enable_shared=no
  7510. ;;
  7511. *nto* | *qnx*)
  7512. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7513. # it will coredump.
  7514. lt_prog_compiler_pic='-fPIC -shared'
  7515. ;;
  7516. sysv4*MP*)
  7517. if test -d /usr/nec; then
  7518. lt_prog_compiler_pic=-Kconform_pic
  7519. fi
  7520. ;;
  7521. *)
  7522. lt_prog_compiler_pic='-fPIC'
  7523. ;;
  7524. esac
  7525. else
  7526. # PORTME Check for flag to pass linker flags through the system compiler.
  7527. case $host_os in
  7528. aix*)
  7529. lt_prog_compiler_wl='-Wl,'
  7530. if test "$host_cpu" = ia64; then
  7531. # AIX 5 now supports IA64 processor
  7532. lt_prog_compiler_static='-Bstatic'
  7533. else
  7534. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  7535. fi
  7536. ;;
  7537. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7538. # This hack is so that the source file can tell whether it is being
  7539. # built for inclusion in a dll (and should export symbols for example).
  7540. lt_prog_compiler_pic='-DDLL_EXPORT'
  7541. ;;
  7542. hpux9* | hpux10* | hpux11*)
  7543. lt_prog_compiler_wl='-Wl,'
  7544. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  7545. # not for PA HP-UX.
  7546. case $host_cpu in
  7547. hppa*64*|ia64*)
  7548. # +Z the default
  7549. ;;
  7550. *)
  7551. lt_prog_compiler_pic='+Z'
  7552. ;;
  7553. esac
  7554. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  7555. lt_prog_compiler_static='${wl}-a ${wl}archive'
  7556. ;;
  7557. irix5* | irix6* | nonstopux*)
  7558. lt_prog_compiler_wl='-Wl,'
  7559. # PIC (with -KPIC) is the default.
  7560. lt_prog_compiler_static='-non_shared'
  7561. ;;
  7562. linux* | k*bsd*-gnu)
  7563. case $cc_basename in
  7564. # old Intel for x86_64 which still supported -KPIC.
  7565. ecc*)
  7566. lt_prog_compiler_wl='-Wl,'
  7567. lt_prog_compiler_pic='-KPIC'
  7568. lt_prog_compiler_static='-static'
  7569. ;;
  7570. # icc used to be incompatible with GCC.
  7571. # ICC 10 doesn't accept -KPIC any more.
  7572. icc* | ifort*)
  7573. lt_prog_compiler_wl='-Wl,'
  7574. lt_prog_compiler_pic='-fPIC'
  7575. lt_prog_compiler_static='-static'
  7576. ;;
  7577. # Lahey Fortran 8.1.
  7578. lf95*)
  7579. lt_prog_compiler_wl='-Wl,'
  7580. lt_prog_compiler_pic='--shared'
  7581. lt_prog_compiler_static='--static'
  7582. ;;
  7583. pgcc* | pgf77* | pgf90* | pgf95*)
  7584. # Portland Group compilers (*not* the Pentium gcc compiler,
  7585. # which looks to be a dead project)
  7586. lt_prog_compiler_wl='-Wl,'
  7587. lt_prog_compiler_pic='-fpic'
  7588. lt_prog_compiler_static='-Bstatic'
  7589. ;;
  7590. ccc*)
  7591. lt_prog_compiler_wl='-Wl,'
  7592. # All Alpha code is PIC.
  7593. lt_prog_compiler_static='-non_shared'
  7594. ;;
  7595. xl*)
  7596. # IBM XL C 8.0/Fortran 10.1 on PPC
  7597. lt_prog_compiler_wl='-Wl,'
  7598. lt_prog_compiler_pic='-qpic'
  7599. lt_prog_compiler_static='-qstaticlink'
  7600. ;;
  7601. *)
  7602. case `$CC -V 2>&1 | sed 5q` in
  7603. *Sun\ C*)
  7604. # Sun C 5.9
  7605. lt_prog_compiler_pic='-KPIC'
  7606. lt_prog_compiler_static='-Bstatic'
  7607. lt_prog_compiler_wl='-Wl,'
  7608. ;;
  7609. *Sun\ F*)
  7610. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  7611. lt_prog_compiler_pic='-KPIC'
  7612. lt_prog_compiler_static='-Bstatic'
  7613. lt_prog_compiler_wl=''
  7614. ;;
  7615. esac
  7616. ;;
  7617. esac
  7618. ;;
  7619. newsos6)
  7620. lt_prog_compiler_pic='-KPIC'
  7621. lt_prog_compiler_static='-Bstatic'
  7622. ;;
  7623. *nto* | *qnx*)
  7624. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7625. # it will coredump.
  7626. lt_prog_compiler_pic='-fPIC -shared'
  7627. ;;
  7628. osf3* | osf4* | osf5*)
  7629. lt_prog_compiler_wl='-Wl,'
  7630. # All OSF/1 code is PIC.
  7631. lt_prog_compiler_static='-non_shared'
  7632. ;;
  7633. rdos*)
  7634. lt_prog_compiler_static='-non_shared'
  7635. ;;
  7636. solaris*)
  7637. lt_prog_compiler_pic='-KPIC'
  7638. lt_prog_compiler_static='-Bstatic'
  7639. case $cc_basename in
  7640. f77* | f90* | f95*)
  7641. lt_prog_compiler_wl='-Qoption ld ';;
  7642. *)
  7643. lt_prog_compiler_wl='-Wl,';;
  7644. esac
  7645. ;;
  7646. sunos4*)
  7647. lt_prog_compiler_wl='-Qoption ld '
  7648. lt_prog_compiler_pic='-PIC'
  7649. lt_prog_compiler_static='-Bstatic'
  7650. ;;
  7651. sysv4 | sysv4.2uw2* | sysv4.3*)
  7652. lt_prog_compiler_wl='-Wl,'
  7653. lt_prog_compiler_pic='-KPIC'
  7654. lt_prog_compiler_static='-Bstatic'
  7655. ;;
  7656. sysv4*MP*)
  7657. if test -d /usr/nec ;then
  7658. lt_prog_compiler_pic='-Kconform_pic'
  7659. lt_prog_compiler_static='-Bstatic'
  7660. fi
  7661. ;;
  7662. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  7663. lt_prog_compiler_wl='-Wl,'
  7664. lt_prog_compiler_pic='-KPIC'
  7665. lt_prog_compiler_static='-Bstatic'
  7666. ;;
  7667. unicos*)
  7668. lt_prog_compiler_wl='-Wl,'
  7669. lt_prog_compiler_can_build_shared=no
  7670. ;;
  7671. uts4*)
  7672. lt_prog_compiler_pic='-pic'
  7673. lt_prog_compiler_static='-Bstatic'
  7674. ;;
  7675. *)
  7676. lt_prog_compiler_can_build_shared=no
  7677. ;;
  7678. esac
  7679. fi
  7680. case $host_os in
  7681. # For platforms which do not support PIC, -DPIC is meaningless:
  7682. *djgpp*)
  7683. lt_prog_compiler_pic=
  7684. ;;
  7685. *)
  7686. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  7687. ;;
  7688. esac
  7689. { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  7690. $as_echo "$lt_prog_compiler_pic" >&6; }
  7691. #
  7692. # Check to make sure the PIC flag actually works.
  7693. #
  7694. if test -n "$lt_prog_compiler_pic"; then
  7695. { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  7696. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  7697. if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
  7698. $as_echo_n "(cached) " >&6
  7699. else
  7700. lt_cv_prog_compiler_pic_works=no
  7701. ac_outfile=conftest.$ac_objext
  7702. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7703. lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  7704. # Insert the option either (1) after the last *FLAGS variable, or
  7705. # (2) before a word containing "conftest.", or (3) at the end.
  7706. # Note that $ac_compile itself does not contain backslashes and begins
  7707. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7708. # The option is referenced via a variable to avoid confusing sed.
  7709. lt_compile=`echo "$ac_compile" | $SED \
  7710. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7711. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7712. -e 's:$: $lt_compiler_flag:'`
  7713. (eval echo "\"\$as_me:8862: $lt_compile\"" >&5)
  7714. (eval "$lt_compile" 2>conftest.err)
  7715. ac_status=$?
  7716. cat conftest.err >&5
  7717. echo "$as_me:8866: \$? = $ac_status" >&5
  7718. if (exit $ac_status) && test -s "$ac_outfile"; then
  7719. # The compiler can only warn and ignore the option if not recognized
  7720. # So say no if there are warnings other than the usual output.
  7721. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  7722. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7723. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7724. lt_cv_prog_compiler_pic_works=yes
  7725. fi
  7726. fi
  7727. $RM conftest*
  7728. fi
  7729. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
  7730. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  7731. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  7732. case $lt_prog_compiler_pic in
  7733. "" | " "*) ;;
  7734. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  7735. esac
  7736. else
  7737. lt_prog_compiler_pic=
  7738. lt_prog_compiler_can_build_shared=no
  7739. fi
  7740. fi
  7741. #
  7742. # Check to make sure the static flag actually works.
  7743. #
  7744. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  7745. { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  7746. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  7747. if test "${lt_cv_prog_compiler_static_works+set}" = set; then
  7748. $as_echo_n "(cached) " >&6
  7749. else
  7750. lt_cv_prog_compiler_static_works=no
  7751. save_LDFLAGS="$LDFLAGS"
  7752. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  7753. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  7754. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  7755. # The linker can only warn and ignore the option if not recognized
  7756. # So say no if there are warnings
  7757. if test -s conftest.err; then
  7758. # Append any errors to the config.log.
  7759. cat conftest.err 1>&5
  7760. $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  7761. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7762. if diff conftest.exp conftest.er2 >/dev/null; then
  7763. lt_cv_prog_compiler_static_works=yes
  7764. fi
  7765. else
  7766. lt_cv_prog_compiler_static_works=yes
  7767. fi
  7768. fi
  7769. $RM -r conftest*
  7770. LDFLAGS="$save_LDFLAGS"
  7771. fi
  7772. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
  7773. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  7774. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  7775. :
  7776. else
  7777. lt_prog_compiler_static=
  7778. fi
  7779. { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  7780. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7781. if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  7782. $as_echo_n "(cached) " >&6
  7783. else
  7784. lt_cv_prog_compiler_c_o=no
  7785. $RM -r conftest 2>/dev/null
  7786. mkdir conftest
  7787. cd conftest
  7788. mkdir out
  7789. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7790. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7791. # Insert the option either (1) after the last *FLAGS variable, or
  7792. # (2) before a word containing "conftest.", or (3) at the end.
  7793. # Note that $ac_compile itself does not contain backslashes and begins
  7794. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7795. lt_compile=`echo "$ac_compile" | $SED \
  7796. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7797. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7798. -e 's:$: $lt_compiler_flag:'`
  7799. (eval echo "\"\$as_me:8967: $lt_compile\"" >&5)
  7800. (eval "$lt_compile" 2>out/conftest.err)
  7801. ac_status=$?
  7802. cat out/conftest.err >&5
  7803. echo "$as_me:8971: \$? = $ac_status" >&5
  7804. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7805. then
  7806. # The compiler can only warn and ignore the option if not recognized
  7807. # So say no if there are warnings
  7808. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  7809. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7810. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7811. lt_cv_prog_compiler_c_o=yes
  7812. fi
  7813. fi
  7814. chmod u+w . 2>&5
  7815. $RM conftest*
  7816. # SGI C++ compiler will create directory out/ii_files/ for
  7817. # template instantiation
  7818. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7819. $RM out/* && rmdir out
  7820. cd ..
  7821. $RM -r conftest
  7822. $RM conftest*
  7823. fi
  7824. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  7825. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7826. { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  7827. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7828. if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  7829. $as_echo_n "(cached) " >&6
  7830. else
  7831. lt_cv_prog_compiler_c_o=no
  7832. $RM -r conftest 2>/dev/null
  7833. mkdir conftest
  7834. cd conftest
  7835. mkdir out
  7836. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7837. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7838. # Insert the option either (1) after the last *FLAGS variable, or
  7839. # (2) before a word containing "conftest.", or (3) at the end.
  7840. # Note that $ac_compile itself does not contain backslashes and begins
  7841. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7842. lt_compile=`echo "$ac_compile" | $SED \
  7843. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7844. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7845. -e 's:$: $lt_compiler_flag:'`
  7846. (eval echo "\"\$as_me:9022: $lt_compile\"" >&5)
  7847. (eval "$lt_compile" 2>out/conftest.err)
  7848. ac_status=$?
  7849. cat out/conftest.err >&5
  7850. echo "$as_me:9026: \$? = $ac_status" >&5
  7851. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7852. then
  7853. # The compiler can only warn and ignore the option if not recognized
  7854. # So say no if there are warnings
  7855. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  7856. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7857. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7858. lt_cv_prog_compiler_c_o=yes
  7859. fi
  7860. fi
  7861. chmod u+w . 2>&5
  7862. $RM conftest*
  7863. # SGI C++ compiler will create directory out/ii_files/ for
  7864. # template instantiation
  7865. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7866. $RM out/* && rmdir out
  7867. cd ..
  7868. $RM -r conftest
  7869. $RM conftest*
  7870. fi
  7871. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  7872. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7873. hard_links="nottested"
  7874. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  7875. # do not overwrite the value of need_locks provided by the user
  7876. { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  7877. $as_echo_n "checking if we can lock with hard links... " >&6; }
  7878. hard_links=yes
  7879. $RM conftest*
  7880. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7881. touch conftest.a
  7882. ln conftest.a conftest.b 2>&5 || hard_links=no
  7883. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7884. { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
  7885. $as_echo "$hard_links" >&6; }
  7886. if test "$hard_links" = no; then
  7887. { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  7888. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  7889. need_locks=warn
  7890. fi
  7891. else
  7892. need_locks=no
  7893. fi
  7894. { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  7895. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  7896. runpath_var=
  7897. allow_undefined_flag=
  7898. always_export_symbols=no
  7899. archive_cmds=
  7900. archive_expsym_cmds=
  7901. compiler_needs_object=no
  7902. enable_shared_with_static_runtimes=no
  7903. export_dynamic_flag_spec=
  7904. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  7905. hardcode_automatic=no
  7906. hardcode_direct=no
  7907. hardcode_direct_absolute=no
  7908. hardcode_libdir_flag_spec=
  7909. hardcode_libdir_flag_spec_ld=
  7910. hardcode_libdir_separator=
  7911. hardcode_minus_L=no
  7912. hardcode_shlibpath_var=unsupported
  7913. inherit_rpath=no
  7914. link_all_deplibs=unknown
  7915. module_cmds=
  7916. module_expsym_cmds=
  7917. old_archive_from_new_cmds=
  7918. old_archive_from_expsyms_cmds=
  7919. thread_safe_flag_spec=
  7920. whole_archive_flag_spec=
  7921. # include_expsyms should be a list of space-separated symbols to be *always*
  7922. # included in the symbol list
  7923. include_expsyms=
  7924. # exclude_expsyms can be an extended regexp of symbols to exclude
  7925. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  7926. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  7927. # as well as any symbol that contains `d'.
  7928. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  7929. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  7930. # platforms (ab)use it in PIC code, but their linkers get confused if
  7931. # the symbol is explicitly referenced. Since portable code cannot
  7932. # rely on this symbol name, it's probably fine to never include it in
  7933. # preloaded symbol tables.
  7934. # Exclude shared library initialization/finalization symbols.
  7935. extract_expsyms_cmds=
  7936. case $host_os in
  7937. cygwin* | mingw* | pw32* | cegcc*)
  7938. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  7939. # When not using gcc, we currently assume that we are using
  7940. # Microsoft Visual C++.
  7941. if test "$GCC" != yes; then
  7942. with_gnu_ld=no
  7943. fi
  7944. ;;
  7945. interix*)
  7946. # we just hope/assume this is gcc and not c89 (= MSVC++)
  7947. with_gnu_ld=yes
  7948. ;;
  7949. openbsd*)
  7950. with_gnu_ld=no
  7951. ;;
  7952. esac
  7953. ld_shlibs=yes
  7954. if test "$with_gnu_ld" = yes; then
  7955. # If archive_cmds runs LD, not CC, wlarc should be empty
  7956. wlarc='${wl}'
  7957. # Set some defaults for GNU ld with shared library support. These
  7958. # are reset later if shared libraries are not supported. Putting them
  7959. # here allows them to be overridden if necessary.
  7960. runpath_var=LD_RUN_PATH
  7961. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7962. export_dynamic_flag_spec='${wl}--export-dynamic'
  7963. # ancient GNU ld didn't support --whole-archive et. al.
  7964. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  7965. whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  7966. else
  7967. whole_archive_flag_spec=
  7968. fi
  7969. supports_anon_versioning=no
  7970. case `$LD -v 2>&1` in
  7971. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  7972. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  7973. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  7974. *\ 2.11.*) ;; # other 2.11 versions
  7975. *) supports_anon_versioning=yes ;;
  7976. esac
  7977. # See if GNU ld supports shared libraries.
  7978. case $host_os in
  7979. aix[3-9]*)
  7980. # On AIX/PPC, the GNU linker is very broken
  7981. if test "$host_cpu" != ia64; then
  7982. ld_shlibs=no
  7983. cat <<_LT_EOF 1>&2
  7984. *** Warning: the GNU linker, at least up to release 2.9.1, is reported
  7985. *** to be unable to reliably create shared libraries on AIX.
  7986. *** Therefore, libtool is disabling shared libraries support. If you
  7987. *** really care for shared libraries, you may want to modify your PATH
  7988. *** so that a non-GNU linker is found, and then restart.
  7989. _LT_EOF
  7990. fi
  7991. ;;
  7992. amigaos*)
  7993. case $host_cpu in
  7994. powerpc)
  7995. # see comment about AmigaOS4 .so support
  7996. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  7997. archive_expsym_cmds=''
  7998. ;;
  7999. m68k)
  8000. archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  8001. hardcode_libdir_flag_spec='-L$libdir'
  8002. hardcode_minus_L=yes
  8003. ;;
  8004. esac
  8005. ;;
  8006. beos*)
  8007. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8008. allow_undefined_flag=unsupported
  8009. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  8010. # support --undefined. This deserves some investigation. FIXME
  8011. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8012. else
  8013. ld_shlibs=no
  8014. fi
  8015. ;;
  8016. cygwin* | mingw* | pw32* | cegcc*)
  8017. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  8018. # as there is no search path for DLLs.
  8019. hardcode_libdir_flag_spec='-L$libdir'
  8020. allow_undefined_flag=unsupported
  8021. always_export_symbols=no
  8022. enable_shared_with_static_runtimes=yes
  8023. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  8024. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  8025. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8026. # If the export-symbols file already is a .def file (1st line
  8027. # is EXPORTS), use it as is; otherwise, prepend...
  8028. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  8029. cp $export_symbols $output_objdir/$soname.def;
  8030. else
  8031. echo EXPORTS > $output_objdir/$soname.def;
  8032. cat $export_symbols >> $output_objdir/$soname.def;
  8033. fi~
  8034. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8035. else
  8036. ld_shlibs=no
  8037. fi
  8038. ;;
  8039. interix[3-9]*)
  8040. hardcode_direct=no
  8041. hardcode_shlibpath_var=no
  8042. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8043. export_dynamic_flag_spec='${wl}-E'
  8044. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  8045. # Instead, shared libraries are loaded at an image base (0x10000000 by
  8046. # default) and relocated if they conflict, which is a slow very memory
  8047. # consuming and fragmenting process. To avoid this, we pick a random,
  8048. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  8049. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  8050. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  8051. archive_expsym_cmds='sed "s,^,_," $export_symbols >$output_objdir/$soname.expsym~$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--retain-symbols-file,$output_objdir/$soname.expsym ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  8052. ;;
  8053. gnu* | linux* | tpf* | k*bsd*-gnu)
  8054. tmp_diet=no
  8055. if test "$host_os" = linux-dietlibc; then
  8056. case $cc_basename in
  8057. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  8058. esac
  8059. fi
  8060. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  8061. && test "$tmp_diet" = no
  8062. then
  8063. tmp_addflag=
  8064. tmp_sharedflag='-shared'
  8065. case $cc_basename,$host_cpu in
  8066. pgcc*) # Portland Group C compiler
  8067. whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  8068. tmp_addflag=' $pic_flag'
  8069. ;;
  8070. pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  8071. whole_archive_flag_spec='${wl}--whole-archive`for conv in $convenience\"\"; do test -n \"$conv\" && new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  8072. tmp_addflag=' $pic_flag -Mnomain' ;;
  8073. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  8074. tmp_addflag=' -i_dynamic' ;;
  8075. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  8076. tmp_addflag=' -i_dynamic -nofor_main' ;;
  8077. ifc* | ifort*) # Intel Fortran compiler
  8078. tmp_addflag=' -nofor_main' ;;
  8079. lf95*) # Lahey Fortran 8.1
  8080. whole_archive_flag_spec=
  8081. tmp_sharedflag='--shared' ;;
  8082. xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  8083. tmp_sharedflag='-qmkshrobj'
  8084. tmp_addflag= ;;
  8085. esac
  8086. case `$CC -V 2>&1 | sed 5q` in
  8087. *Sun\ C*) # Sun C 5.9
  8088. whole_archive_flag_spec='${wl}--whole-archive`new_convenience=; for conv in $convenience\"\"; do test -z \"$conv\" || new_convenience=\"$new_convenience,$conv\"; done; $ECHO \"$new_convenience\"` ${wl}--no-whole-archive'
  8089. compiler_needs_object=yes
  8090. tmp_sharedflag='-G' ;;
  8091. *Sun\ F*) # Sun Fortran 8.3
  8092. tmp_sharedflag='-G' ;;
  8093. esac
  8094. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8095. if test "x$supports_anon_versioning" = xyes; then
  8096. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8097. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8098. echo "local: *; };" >> $output_objdir/$libname.ver~
  8099. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  8100. fi
  8101. case $cc_basename in
  8102. xlf*)
  8103. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  8104. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  8105. hardcode_libdir_flag_spec=
  8106. hardcode_libdir_flag_spec_ld='-rpath $libdir'
  8107. archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  8108. if test "x$supports_anon_versioning" = xyes; then
  8109. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8110. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8111. echo "local: *; };" >> $output_objdir/$libname.ver~
  8112. $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  8113. fi
  8114. ;;
  8115. esac
  8116. else
  8117. ld_shlibs=no
  8118. fi
  8119. ;;
  8120. netbsd*)
  8121. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8122. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  8123. wlarc=
  8124. else
  8125. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8126. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8127. fi
  8128. ;;
  8129. solaris*)
  8130. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  8131. ld_shlibs=no
  8132. cat <<_LT_EOF 1>&2
  8133. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  8134. *** create shared libraries on Solaris systems. Therefore, libtool
  8135. *** is disabling shared libraries support. We urge you to upgrade GNU
  8136. *** binutils to release 2.9.1 or newer. Another option is to modify
  8137. *** your PATH or compiler configuration so that the native linker is
  8138. *** used, and then restart.
  8139. _LT_EOF
  8140. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8141. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8142. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8143. else
  8144. ld_shlibs=no
  8145. fi
  8146. ;;
  8147. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  8148. case `$LD -v 2>&1` in
  8149. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  8150. ld_shlibs=no
  8151. cat <<_LT_EOF 1>&2
  8152. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  8153. *** reliably create shared libraries on SCO systems. Therefore, libtool
  8154. *** is disabling shared libraries support. We urge you to upgrade GNU
  8155. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  8156. *** your PATH or compiler configuration so that the native linker is
  8157. *** used, and then restart.
  8158. _LT_EOF
  8159. ;;
  8160. *)
  8161. # For security reasons, it is highly recommended that you always
  8162. # use absolute paths for naming shared libraries, and exclude the
  8163. # DT_RUNPATH tag from executables and libraries. But doing so
  8164. # requires that you compile everything twice, which is a pain.
  8165. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8166. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8167. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8168. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8169. else
  8170. ld_shlibs=no
  8171. fi
  8172. ;;
  8173. esac
  8174. ;;
  8175. sunos4*)
  8176. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8177. wlarc=
  8178. hardcode_direct=yes
  8179. hardcode_shlibpath_var=no
  8180. ;;
  8181. *)
  8182. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8183. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8184. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8185. else
  8186. ld_shlibs=no
  8187. fi
  8188. ;;
  8189. esac
  8190. if test "$ld_shlibs" = no; then
  8191. runpath_var=
  8192. hardcode_libdir_flag_spec=
  8193. export_dynamic_flag_spec=
  8194. whole_archive_flag_spec=
  8195. fi
  8196. else
  8197. # PORTME fill in a description of your system's linker (not GNU ld)
  8198. case $host_os in
  8199. aix3*)
  8200. allow_undefined_flag=unsupported
  8201. always_export_symbols=yes
  8202. archive_expsym_cmds='$LD -o $output_objdir/$soname $libobjs $deplibs $linker_flags -bE:$export_symbols -T512 -H512 -bM:SRE~$AR $AR_FLAGS $lib $output_objdir/$soname'
  8203. # Note: this linker hardcodes the directories in LIBPATH if there
  8204. # are no directories specified by -L.
  8205. hardcode_minus_L=yes
  8206. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  8207. # Neither direct hardcoding nor static linking is supported with a
  8208. # broken collect2.
  8209. hardcode_direct=unsupported
  8210. fi
  8211. ;;
  8212. aix[4-9]*)
  8213. if test "$host_cpu" = ia64; then
  8214. # On IA64, the linker does run time linking by default, so we don't
  8215. # have to do anything special.
  8216. aix_use_runtimelinking=no
  8217. exp_sym_flag='-Bexport'
  8218. no_entry_flag=""
  8219. else
  8220. # If we're using GNU nm, then we don't want the "-C" option.
  8221. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  8222. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  8223. export_symbols_cmds='$NM -Bpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  8224. else
  8225. export_symbols_cmds='$NM -BCpg $libobjs $convenience | awk '\''{ if (((\$ 2 == "T") || (\$ 2 == "D") || (\$ 2 == "B")) && (substr(\$ 3,1,1) != ".")) { print \$ 3 } }'\'' | sort -u > $export_symbols'
  8226. fi
  8227. aix_use_runtimelinking=no
  8228. # Test if we are trying to use run time linking or normal
  8229. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  8230. # need to do runtime linking.
  8231. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  8232. for ld_flag in $LDFLAGS; do
  8233. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  8234. aix_use_runtimelinking=yes
  8235. break
  8236. fi
  8237. done
  8238. ;;
  8239. esac
  8240. exp_sym_flag='-bexport'
  8241. no_entry_flag='-bnoentry'
  8242. fi
  8243. # When large executables or shared objects are built, AIX ld can
  8244. # have problems creating the table of contents. If linking a library
  8245. # or program results in "error TOC overflow" add -mminimal-toc to
  8246. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  8247. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  8248. archive_cmds=''
  8249. hardcode_direct=yes
  8250. hardcode_direct_absolute=yes
  8251. hardcode_libdir_separator=':'
  8252. link_all_deplibs=yes
  8253. file_list_spec='${wl}-f,'
  8254. if test "$GCC" = yes; then
  8255. case $host_os in aix4.[012]|aix4.[012].*)
  8256. # We only want to do this on AIX 4.2 and lower, the check
  8257. # below for broken collect2 doesn't work under 4.3+
  8258. collect2name=`${CC} -print-prog-name=collect2`
  8259. if test -f "$collect2name" &&
  8260. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  8261. then
  8262. # We have reworked collect2
  8263. :
  8264. else
  8265. # We have old collect2
  8266. hardcode_direct=unsupported
  8267. # It fails to find uninstalled libraries when the uninstalled
  8268. # path is not listed in the libpath. Setting hardcode_minus_L
  8269. # to unsupported forces relinking
  8270. hardcode_minus_L=yes
  8271. hardcode_libdir_flag_spec='-L$libdir'
  8272. hardcode_libdir_separator=
  8273. fi
  8274. ;;
  8275. esac
  8276. shared_flag='-shared'
  8277. if test "$aix_use_runtimelinking" = yes; then
  8278. shared_flag="$shared_flag "'${wl}-G'
  8279. fi
  8280. else
  8281. # not using gcc
  8282. if test "$host_cpu" = ia64; then
  8283. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  8284. # chokes on -Wl,-G. The following line is correct:
  8285. shared_flag='-G'
  8286. else
  8287. if test "$aix_use_runtimelinking" = yes; then
  8288. shared_flag='${wl}-G'
  8289. else
  8290. shared_flag='${wl}-bM:SRE'
  8291. fi
  8292. fi
  8293. fi
  8294. export_dynamic_flag_spec='${wl}-bexpall'
  8295. # It seems that -bexpall does not export symbols beginning with
  8296. # underscore (_), so it is better to generate a list of symbols to export.
  8297. always_export_symbols=yes
  8298. if test "$aix_use_runtimelinking" = yes; then
  8299. # Warning - without using the other runtime loading flags (-brtl),
  8300. # -berok will link without error, but may produce a broken library.
  8301. allow_undefined_flag='-berok'
  8302. # Determine the default libpath from the value encoded in an
  8303. # empty executable.
  8304. cat >conftest.$ac_ext <<_ACEOF
  8305. /* confdefs.h. */
  8306. _ACEOF
  8307. cat confdefs.h >>conftest.$ac_ext
  8308. cat >>conftest.$ac_ext <<_ACEOF
  8309. /* end confdefs.h. */
  8310. int
  8311. main ()
  8312. {
  8313. ;
  8314. return 0;
  8315. }
  8316. _ACEOF
  8317. rm -f conftest.$ac_objext conftest$ac_exeext
  8318. if { (ac_try="$ac_link"
  8319. case "(($ac_try" in
  8320. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8321. *) ac_try_echo=$ac_try;;
  8322. esac
  8323. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8324. $as_echo "$ac_try_echo") >&5
  8325. (eval "$ac_link") 2>conftest.er1
  8326. ac_status=$?
  8327. grep -v '^ *+' conftest.er1 >conftest.err
  8328. rm -f conftest.er1
  8329. cat conftest.err >&5
  8330. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8331. (exit $ac_status); } && {
  8332. test -z "$ac_c_werror_flag" ||
  8333. test ! -s conftest.err
  8334. } && test -s conftest$ac_exeext && {
  8335. test "$cross_compiling" = yes ||
  8336. $as_test_x conftest$ac_exeext
  8337. }; then
  8338. lt_aix_libpath_sed='
  8339. /Import File Strings/,/^$/ {
  8340. /^0/ {
  8341. s/^0 *\(.*\)$/\1/
  8342. p
  8343. }
  8344. }'
  8345. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8346. # Check for a 64-bit object if we didn't find anything.
  8347. if test -z "$aix_libpath"; then
  8348. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8349. fi
  8350. else
  8351. $as_echo "$as_me: failed program was:" >&5
  8352. sed 's/^/| /' conftest.$ac_ext >&5
  8353. fi
  8354. rm -rf conftest.dSYM
  8355. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8356. conftest$ac_exeext conftest.$ac_ext
  8357. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  8358. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8359. archive_expsym_cmds='$CC -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags `if test "x${allow_undefined_flag}" != "x"; then $ECHO "X${wl}${allow_undefined_flag}" | $Xsed; else :; fi` '"\${wl}$exp_sym_flag:\$export_symbols $shared_flag"
  8360. else
  8361. if test "$host_cpu" = ia64; then
  8362. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  8363. allow_undefined_flag="-z nodefs"
  8364. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs '"\${wl}$no_entry_flag"' $compiler_flags ${wl}${allow_undefined_flag} '"\${wl}$exp_sym_flag:\$export_symbols"
  8365. else
  8366. # Determine the default libpath from the value encoded in an
  8367. # empty executable.
  8368. cat >conftest.$ac_ext <<_ACEOF
  8369. /* confdefs.h. */
  8370. _ACEOF
  8371. cat confdefs.h >>conftest.$ac_ext
  8372. cat >>conftest.$ac_ext <<_ACEOF
  8373. /* end confdefs.h. */
  8374. int
  8375. main ()
  8376. {
  8377. ;
  8378. return 0;
  8379. }
  8380. _ACEOF
  8381. rm -f conftest.$ac_objext conftest$ac_exeext
  8382. if { (ac_try="$ac_link"
  8383. case "(($ac_try" in
  8384. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8385. *) ac_try_echo=$ac_try;;
  8386. esac
  8387. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8388. $as_echo "$ac_try_echo") >&5
  8389. (eval "$ac_link") 2>conftest.er1
  8390. ac_status=$?
  8391. grep -v '^ *+' conftest.er1 >conftest.err
  8392. rm -f conftest.er1
  8393. cat conftest.err >&5
  8394. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8395. (exit $ac_status); } && {
  8396. test -z "$ac_c_werror_flag" ||
  8397. test ! -s conftest.err
  8398. } && test -s conftest$ac_exeext && {
  8399. test "$cross_compiling" = yes ||
  8400. $as_test_x conftest$ac_exeext
  8401. }; then
  8402. lt_aix_libpath_sed='
  8403. /Import File Strings/,/^$/ {
  8404. /^0/ {
  8405. s/^0 *\(.*\)$/\1/
  8406. p
  8407. }
  8408. }'
  8409. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8410. # Check for a 64-bit object if we didn't find anything.
  8411. if test -z "$aix_libpath"; then
  8412. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8413. fi
  8414. else
  8415. $as_echo "$as_me: failed program was:" >&5
  8416. sed 's/^/| /' conftest.$ac_ext >&5
  8417. fi
  8418. rm -rf conftest.dSYM
  8419. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8420. conftest$ac_exeext conftest.$ac_ext
  8421. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  8422. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8423. # Warning - without using the other run time loading flags,
  8424. # -berok will link without error, but may produce a broken library.
  8425. no_undefined_flag=' ${wl}-bernotok'
  8426. allow_undefined_flag=' ${wl}-berok'
  8427. # Exported symbols can be pulled into shared objects from archives
  8428. whole_archive_flag_spec='$convenience'
  8429. archive_cmds_need_lc=yes
  8430. # This is similar to how AIX traditionally builds its shared libraries.
  8431. archive_expsym_cmds="\$CC $shared_flag"' -o $output_objdir/$soname $libobjs $deplibs ${wl}-bnoentry $compiler_flags ${wl}-bE:$export_symbols${allow_undefined_flag}~$AR $AR_FLAGS $output_objdir/$libname$release.a $output_objdir/$soname'
  8432. fi
  8433. fi
  8434. ;;
  8435. amigaos*)
  8436. case $host_cpu in
  8437. powerpc)
  8438. # see comment about AmigaOS4 .so support
  8439. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8440. archive_expsym_cmds=''
  8441. ;;
  8442. m68k)
  8443. archive_cmds='$RM $output_objdir/a2ixlibrary.data~$ECHO "#define NAME $libname" > $output_objdir/a2ixlibrary.data~$ECHO "#define LIBRARY_ID 1" >> $output_objdir/a2ixlibrary.data~$ECHO "#define VERSION $major" >> $output_objdir/a2ixlibrary.data~$ECHO "#define REVISION $revision" >> $output_objdir/a2ixlibrary.data~$AR $AR_FLAGS $lib $libobjs~$RANLIB $lib~(cd $output_objdir && a2ixlibrary -32)'
  8444. hardcode_libdir_flag_spec='-L$libdir'
  8445. hardcode_minus_L=yes
  8446. ;;
  8447. esac
  8448. ;;
  8449. bsdi[45]*)
  8450. export_dynamic_flag_spec=-rdynamic
  8451. ;;
  8452. cygwin* | mingw* | pw32* | cegcc*)
  8453. # When not using gcc, we currently assume that we are using
  8454. # Microsoft Visual C++.
  8455. # hardcode_libdir_flag_spec is actually meaningless, as there is
  8456. # no search path for DLLs.
  8457. hardcode_libdir_flag_spec=' '
  8458. allow_undefined_flag=unsupported
  8459. # Tell ltmain to make .lib files, not .a files.
  8460. libext=lib
  8461. # Tell ltmain to make .dll files, not .so files.
  8462. shrext_cmds=".dll"
  8463. # FIXME: Setting linknames here is a bad hack.
  8464. archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  8465. # The linker will automatically build a .lib file if we build a DLL.
  8466. old_archive_from_new_cmds='true'
  8467. # FIXME: Should let the user specify the lib program.
  8468. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  8469. fix_srcfile_path='`cygpath -w "$srcfile"`'
  8470. enable_shared_with_static_runtimes=yes
  8471. ;;
  8472. darwin* | rhapsody*)
  8473. archive_cmds_need_lc=no
  8474. hardcode_direct=no
  8475. hardcode_automatic=yes
  8476. hardcode_shlibpath_var=unsupported
  8477. whole_archive_flag_spec=''
  8478. link_all_deplibs=yes
  8479. allow_undefined_flag="$_lt_dar_allow_undefined"
  8480. case $cc_basename in
  8481. ifort*) _lt_dar_can_shared=yes ;;
  8482. *) _lt_dar_can_shared=$GCC ;;
  8483. esac
  8484. if test "$_lt_dar_can_shared" = "yes"; then
  8485. output_verbose_link_cmd=echo
  8486. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  8487. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  8488. archive_expsym_cmds="sed 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring ${_lt_dar_single_mod}${_lt_dar_export_syms}${_lt_dsymutil}"
  8489. module_expsym_cmds="sed -e 's,^,_,' < \$export_symbols > \$output_objdir/\${libname}-symbols.expsym~\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dar_export_syms}${_lt_dsymutil}"
  8490. else
  8491. ld_shlibs=no
  8492. fi
  8493. ;;
  8494. dgux*)
  8495. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8496. hardcode_libdir_flag_spec='-L$libdir'
  8497. hardcode_shlibpath_var=no
  8498. ;;
  8499. freebsd1*)
  8500. ld_shlibs=no
  8501. ;;
  8502. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  8503. # support. Future versions do this automatically, but an explicit c++rt0.o
  8504. # does not break anything, and helps significantly (at the cost of a little
  8505. # extra space).
  8506. freebsd2.2*)
  8507. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  8508. hardcode_libdir_flag_spec='-R$libdir'
  8509. hardcode_direct=yes
  8510. hardcode_shlibpath_var=no
  8511. ;;
  8512. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  8513. freebsd2*)
  8514. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8515. hardcode_direct=yes
  8516. hardcode_minus_L=yes
  8517. hardcode_shlibpath_var=no
  8518. ;;
  8519. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  8520. freebsd* | dragonfly*)
  8521. archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  8522. hardcode_libdir_flag_spec='-R$libdir'
  8523. hardcode_direct=yes
  8524. hardcode_shlibpath_var=no
  8525. ;;
  8526. hpux9*)
  8527. if test "$GCC" = yes; then
  8528. archive_cmds='$RM $output_objdir/$soname~$CC -shared -fPIC ${wl}+b ${wl}$install_libdir -o $output_objdir/$soname $libobjs $deplibs $compiler_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  8529. else
  8530. archive_cmds='$RM $output_objdir/$soname~$LD -b +b $install_libdir -o $output_objdir/$soname $libobjs $deplibs $linker_flags~test $output_objdir/$soname = $lib || mv $output_objdir/$soname $lib'
  8531. fi
  8532. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8533. hardcode_libdir_separator=:
  8534. hardcode_direct=yes
  8535. # hardcode_minus_L: Not really in the search PATH,
  8536. # but as the default location of the library.
  8537. hardcode_minus_L=yes
  8538. export_dynamic_flag_spec='${wl}-E'
  8539. ;;
  8540. hpux10*)
  8541. if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  8542. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8543. else
  8544. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8545. fi
  8546. if test "$with_gnu_ld" = no; then
  8547. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8548. hardcode_libdir_flag_spec_ld='+b $libdir'
  8549. hardcode_libdir_separator=:
  8550. hardcode_direct=yes
  8551. hardcode_direct_absolute=yes
  8552. export_dynamic_flag_spec='${wl}-E'
  8553. # hardcode_minus_L: Not really in the search PATH,
  8554. # but as the default location of the library.
  8555. hardcode_minus_L=yes
  8556. fi
  8557. ;;
  8558. hpux11*)
  8559. if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  8560. case $host_cpu in
  8561. hppa*64*)
  8562. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8563. ;;
  8564. ia64*)
  8565. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8566. ;;
  8567. *)
  8568. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8569. ;;
  8570. esac
  8571. else
  8572. case $host_cpu in
  8573. hppa*64*)
  8574. archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8575. ;;
  8576. ia64*)
  8577. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8578. ;;
  8579. *)
  8580. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8581. ;;
  8582. esac
  8583. fi
  8584. if test "$with_gnu_ld" = no; then
  8585. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8586. hardcode_libdir_separator=:
  8587. case $host_cpu in
  8588. hppa*64*|ia64*)
  8589. hardcode_direct=no
  8590. hardcode_shlibpath_var=no
  8591. ;;
  8592. *)
  8593. hardcode_direct=yes
  8594. hardcode_direct_absolute=yes
  8595. export_dynamic_flag_spec='${wl}-E'
  8596. # hardcode_minus_L: Not really in the search PATH,
  8597. # but as the default location of the library.
  8598. hardcode_minus_L=yes
  8599. ;;
  8600. esac
  8601. fi
  8602. ;;
  8603. irix5* | irix6* | nonstopux*)
  8604. if test "$GCC" = yes; then
  8605. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  8606. # Try to use the -exported_symbol ld option, if it does not
  8607. # work, assume that -exports_file does not work either and
  8608. # implicitly export all symbols.
  8609. save_LDFLAGS="$LDFLAGS"
  8610. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  8611. cat >conftest.$ac_ext <<_ACEOF
  8612. int foo(void) {}
  8613. _ACEOF
  8614. rm -f conftest.$ac_objext conftest$ac_exeext
  8615. if { (ac_try="$ac_link"
  8616. case "(($ac_try" in
  8617. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8618. *) ac_try_echo=$ac_try;;
  8619. esac
  8620. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8621. $as_echo "$ac_try_echo") >&5
  8622. (eval "$ac_link") 2>conftest.er1
  8623. ac_status=$?
  8624. grep -v '^ *+' conftest.er1 >conftest.err
  8625. rm -f conftest.er1
  8626. cat conftest.err >&5
  8627. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8628. (exit $ac_status); } && {
  8629. test -z "$ac_c_werror_flag" ||
  8630. test ! -s conftest.err
  8631. } && test -s conftest$ac_exeext && {
  8632. test "$cross_compiling" = yes ||
  8633. $as_test_x conftest$ac_exeext
  8634. }; then
  8635. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations ${wl}-exports_file ${wl}$export_symbols -o $lib'
  8636. else
  8637. $as_echo "$as_me: failed program was:" >&5
  8638. sed 's/^/| /' conftest.$ac_ext >&5
  8639. fi
  8640. rm -rf conftest.dSYM
  8641. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8642. conftest$ac_exeext conftest.$ac_ext
  8643. LDFLAGS="$save_LDFLAGS"
  8644. else
  8645. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  8646. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -exports_file $export_symbols -o $lib'
  8647. fi
  8648. archive_cmds_need_lc='no'
  8649. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8650. hardcode_libdir_separator=:
  8651. inherit_rpath=yes
  8652. link_all_deplibs=yes
  8653. ;;
  8654. netbsd*)
  8655. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8656. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  8657. else
  8658. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  8659. fi
  8660. hardcode_libdir_flag_spec='-R$libdir'
  8661. hardcode_direct=yes
  8662. hardcode_shlibpath_var=no
  8663. ;;
  8664. newsos6)
  8665. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8666. hardcode_direct=yes
  8667. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8668. hardcode_libdir_separator=:
  8669. hardcode_shlibpath_var=no
  8670. ;;
  8671. *nto* | *qnx*)
  8672. ;;
  8673. openbsd*)
  8674. if test -f /usr/libexec/ld.so; then
  8675. hardcode_direct=yes
  8676. hardcode_shlibpath_var=no
  8677. hardcode_direct_absolute=yes
  8678. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8679. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8680. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  8681. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8682. export_dynamic_flag_spec='${wl}-E'
  8683. else
  8684. case $host_os in
  8685. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  8686. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8687. hardcode_libdir_flag_spec='-R$libdir'
  8688. ;;
  8689. *)
  8690. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8691. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8692. ;;
  8693. esac
  8694. fi
  8695. else
  8696. ld_shlibs=no
  8697. fi
  8698. ;;
  8699. os2*)
  8700. hardcode_libdir_flag_spec='-L$libdir'
  8701. hardcode_minus_L=yes
  8702. allow_undefined_flag=unsupported
  8703. archive_cmds='$ECHO "LIBRARY $libname INITINSTANCE" > $output_objdir/$libname.def~$ECHO "DESCRIPTION \"$libname\"" >> $output_objdir/$libname.def~$ECHO DATA >> $output_objdir/$libname.def~$ECHO " SINGLE NONSHARED" >> $output_objdir/$libname.def~$ECHO EXPORTS >> $output_objdir/$libname.def~emxexp $libobjs >> $output_objdir/$libname.def~$CC -Zdll -Zcrtdll -o $lib $libobjs $deplibs $compiler_flags $output_objdir/$libname.def'
  8704. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  8705. ;;
  8706. osf3*)
  8707. if test "$GCC" = yes; then
  8708. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8709. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  8710. else
  8711. allow_undefined_flag=' -expect_unresolved \*'
  8712. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  8713. fi
  8714. archive_cmds_need_lc='no'
  8715. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8716. hardcode_libdir_separator=:
  8717. ;;
  8718. osf4* | osf5*) # as osf3* with the addition of -msym flag
  8719. if test "$GCC" = yes; then
  8720. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8721. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags ${wl}-msym ${wl}-soname ${wl}$soname `test -n "$verstring" && $ECHO "X${wl}-set_version ${wl}$verstring" | $Xsed` ${wl}-update_registry ${wl}${output_objdir}/so_locations -o $lib'
  8722. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8723. else
  8724. allow_undefined_flag=' -expect_unresolved \*'
  8725. archive_cmds='$CC -shared${allow_undefined_flag} $libobjs $deplibs $compiler_flags -msym -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib'
  8726. archive_expsym_cmds='for i in `cat $export_symbols`; do printf "%s %s\\n" -exported_symbol "\$i" >> $lib.exp; done; printf "%s\\n" "-hidden">> $lib.exp~
  8727. $CC -shared${allow_undefined_flag} ${wl}-input ${wl}$lib.exp $compiler_flags $libobjs $deplibs -soname $soname `test -n "$verstring" && $ECHO "X-set_version $verstring" | $Xsed` -update_registry ${output_objdir}/so_locations -o $lib~$RM $lib.exp'
  8728. # Both c and cxx compiler support -rpath directly
  8729. hardcode_libdir_flag_spec='-rpath $libdir'
  8730. fi
  8731. archive_cmds_need_lc='no'
  8732. hardcode_libdir_separator=:
  8733. ;;
  8734. solaris*)
  8735. no_undefined_flag=' -z defs'
  8736. if test "$GCC" = yes; then
  8737. wlarc='${wl}'
  8738. archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8739. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8740. $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8741. else
  8742. case `$CC -V 2>&1` in
  8743. *"Compilers 5.0"*)
  8744. wlarc=''
  8745. archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8746. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8747. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  8748. ;;
  8749. *)
  8750. wlarc='${wl}'
  8751. archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8752. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8753. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8754. ;;
  8755. esac
  8756. fi
  8757. hardcode_libdir_flag_spec='-R$libdir'
  8758. hardcode_shlibpath_var=no
  8759. case $host_os in
  8760. solaris2.[0-5] | solaris2.[0-5].*) ;;
  8761. *)
  8762. # The compiler driver will combine and reorder linker options,
  8763. # but understands `-z linker_flag'. GCC discards it without `$wl',
  8764. # but is careful enough not to reorder.
  8765. # Supported since Solaris 2.6 (maybe 2.5.1?)
  8766. if test "$GCC" = yes; then
  8767. whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  8768. else
  8769. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  8770. fi
  8771. ;;
  8772. esac
  8773. link_all_deplibs=yes
  8774. ;;
  8775. sunos4*)
  8776. if test "x$host_vendor" = xsequent; then
  8777. # Use $CC to link under sequent, because it throws in some extra .o
  8778. # files that make .init and .fini sections work.
  8779. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8780. else
  8781. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  8782. fi
  8783. hardcode_libdir_flag_spec='-L$libdir'
  8784. hardcode_direct=yes
  8785. hardcode_minus_L=yes
  8786. hardcode_shlibpath_var=no
  8787. ;;
  8788. sysv4)
  8789. case $host_vendor in
  8790. sni)
  8791. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8792. hardcode_direct=yes # is this really true???
  8793. ;;
  8794. siemens)
  8795. ## LD is ld it makes a PLAMLIB
  8796. ## CC just makes a GrossModule.
  8797. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  8798. reload_cmds='$CC -r -o $output$reload_objs'
  8799. hardcode_direct=no
  8800. ;;
  8801. motorola)
  8802. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8803. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  8804. ;;
  8805. esac
  8806. runpath_var='LD_RUN_PATH'
  8807. hardcode_shlibpath_var=no
  8808. ;;
  8809. sysv4.3*)
  8810. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8811. hardcode_shlibpath_var=no
  8812. export_dynamic_flag_spec='-Bexport'
  8813. ;;
  8814. sysv4*MP*)
  8815. if test -d /usr/nec; then
  8816. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8817. hardcode_shlibpath_var=no
  8818. runpath_var=LD_RUN_PATH
  8819. hardcode_runpath_var=yes
  8820. ld_shlibs=yes
  8821. fi
  8822. ;;
  8823. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  8824. no_undefined_flag='${wl}-z,text'
  8825. archive_cmds_need_lc=no
  8826. hardcode_shlibpath_var=no
  8827. runpath_var='LD_RUN_PATH'
  8828. if test "$GCC" = yes; then
  8829. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8830. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8831. else
  8832. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8833. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8834. fi
  8835. ;;
  8836. sysv5* | sco3.2v5* | sco5v6*)
  8837. # Note: We can NOT use -z defs as we might desire, because we do not
  8838. # link with -lc, and that would cause any symbols used from libc to
  8839. # always be unresolved, which means just about no library would
  8840. # ever link correctly. If we're not using GNU ld we use -z text
  8841. # though, which does catch some bad symbols but isn't as heavy-handed
  8842. # as -z defs.
  8843. no_undefined_flag='${wl}-z,text'
  8844. allow_undefined_flag='${wl}-z,nodefs'
  8845. archive_cmds_need_lc=no
  8846. hardcode_shlibpath_var=no
  8847. hardcode_libdir_flag_spec='${wl}-R,$libdir'
  8848. hardcode_libdir_separator=':'
  8849. link_all_deplibs=yes
  8850. export_dynamic_flag_spec='${wl}-Bexport'
  8851. runpath_var='LD_RUN_PATH'
  8852. if test "$GCC" = yes; then
  8853. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8854. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8855. else
  8856. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8857. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8858. fi
  8859. ;;
  8860. uts4*)
  8861. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8862. hardcode_libdir_flag_spec='-L$libdir'
  8863. hardcode_shlibpath_var=no
  8864. ;;
  8865. *)
  8866. ld_shlibs=no
  8867. ;;
  8868. esac
  8869. if test x$host_vendor = xsni; then
  8870. case $host in
  8871. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  8872. export_dynamic_flag_spec='${wl}-Blargedynsym'
  8873. ;;
  8874. esac
  8875. fi
  8876. fi
  8877. { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
  8878. $as_echo "$ld_shlibs" >&6; }
  8879. test "$ld_shlibs" = no && can_build_shared=no
  8880. with_gnu_ld=$with_gnu_ld
  8881. #
  8882. # Do we need to explicitly link libc?
  8883. #
  8884. case "x$archive_cmds_need_lc" in
  8885. x|xyes)
  8886. # Assume -lc should be added
  8887. archive_cmds_need_lc=yes
  8888. if test "$enable_shared" = yes && test "$GCC" = yes; then
  8889. case $archive_cmds in
  8890. *'~'*)
  8891. # FIXME: we may have to deal with multi-command sequences.
  8892. ;;
  8893. '$CC '*)
  8894. # Test whether the compiler implicitly links with -lc since on some
  8895. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  8896. # to ld, don't add -lc before -lgcc.
  8897. { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  8898. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  8899. $RM conftest*
  8900. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8901. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8902. (eval $ac_compile) 2>&5
  8903. ac_status=$?
  8904. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8905. (exit $ac_status); } 2>conftest.err; then
  8906. soname=conftest
  8907. lib=conftest
  8908. libobjs=conftest.$ac_objext
  8909. deplibs=
  8910. wl=$lt_prog_compiler_wl
  8911. pic_flag=$lt_prog_compiler_pic
  8912. compiler_flags=-v
  8913. linker_flags=-v
  8914. verstring=
  8915. output_objdir=.
  8916. libname=conftest
  8917. lt_save_allow_undefined_flag=$allow_undefined_flag
  8918. allow_undefined_flag=
  8919. if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
  8920. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  8921. ac_status=$?
  8922. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8923. (exit $ac_status); }
  8924. then
  8925. archive_cmds_need_lc=no
  8926. else
  8927. archive_cmds_need_lc=yes
  8928. fi
  8929. allow_undefined_flag=$lt_save_allow_undefined_flag
  8930. else
  8931. cat conftest.err 1>&5
  8932. fi
  8933. $RM conftest*
  8934. { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
  8935. $as_echo "$archive_cmds_need_lc" >&6; }
  8936. ;;
  8937. esac
  8938. fi
  8939. ;;
  8940. esac
  8941. { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  8942. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  8943. if test "$GCC" = yes; then
  8944. case $host_os in
  8945. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  8946. *) lt_awk_arg="/^libraries:/" ;;
  8947. esac
  8948. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  8949. if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  8950. # if the path contains ";" then we assume it to be the separator
  8951. # otherwise default to the standard path separator (i.e. ":") - it is
  8952. # assumed that no part of a normal pathname contains ";" but that should
  8953. # okay in the real world where ";" in dirpaths is itself problematic.
  8954. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  8955. else
  8956. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  8957. fi
  8958. # Ok, now we have the path, separated by spaces, we can step through it
  8959. # and add multilib dir if necessary.
  8960. lt_tmp_lt_search_path_spec=
  8961. lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  8962. for lt_sys_path in $lt_search_path_spec; do
  8963. if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  8964. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  8965. else
  8966. test -d "$lt_sys_path" && \
  8967. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  8968. fi
  8969. done
  8970. lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  8971. BEGIN {RS=" "; FS="/|\n";} {
  8972. lt_foo="";
  8973. lt_count=0;
  8974. for (lt_i = NF; lt_i > 0; lt_i--) {
  8975. if ($lt_i != "" && $lt_i != ".") {
  8976. if ($lt_i == "..") {
  8977. lt_count++;
  8978. } else {
  8979. if (lt_count == 0) {
  8980. lt_foo="/" $lt_i lt_foo;
  8981. } else {
  8982. lt_count--;
  8983. }
  8984. }
  8985. }
  8986. }
  8987. if (lt_foo != "") { lt_freq[lt_foo]++; }
  8988. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  8989. }'`
  8990. sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  8991. else
  8992. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  8993. fi
  8994. library_names_spec=
  8995. libname_spec='lib$name'
  8996. soname_spec=
  8997. shrext_cmds=".so"
  8998. postinstall_cmds=
  8999. postuninstall_cmds=
  9000. finish_cmds=
  9001. finish_eval=
  9002. shlibpath_var=
  9003. shlibpath_overrides_runpath=unknown
  9004. version_type=none
  9005. dynamic_linker="$host_os ld.so"
  9006. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  9007. need_lib_prefix=unknown
  9008. hardcode_into_libs=no
  9009. # when you set need_version to no, make sure it does not cause -set_version
  9010. # flags to be left without arguments
  9011. need_version=unknown
  9012. case $host_os in
  9013. aix3*)
  9014. version_type=linux
  9015. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  9016. shlibpath_var=LIBPATH
  9017. # AIX 3 has no versioning support, so we append a major version to the name.
  9018. soname_spec='${libname}${release}${shared_ext}$major'
  9019. ;;
  9020. aix[4-9]*)
  9021. version_type=linux
  9022. need_lib_prefix=no
  9023. need_version=no
  9024. hardcode_into_libs=yes
  9025. if test "$host_cpu" = ia64; then
  9026. # AIX 5 supports IA64
  9027. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  9028. shlibpath_var=LD_LIBRARY_PATH
  9029. else
  9030. # With GCC up to 2.95.x, collect2 would create an import file
  9031. # for dependence libraries. The import file would start with
  9032. # the line `#! .'. This would cause the generated library to
  9033. # depend on `.', always an invalid library. This was fixed in
  9034. # development snapshots of GCC prior to 3.0.
  9035. case $host_os in
  9036. aix4 | aix4.[01] | aix4.[01].*)
  9037. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  9038. echo ' yes '
  9039. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  9040. :
  9041. else
  9042. can_build_shared=no
  9043. fi
  9044. ;;
  9045. esac
  9046. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  9047. # soname into executable. Probably we can add versioning support to
  9048. # collect2, so additional links can be useful in future.
  9049. if test "$aix_use_runtimelinking" = yes; then
  9050. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  9051. # instead of lib<name>.a to let people know that these are not
  9052. # typical AIX shared libraries.
  9053. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9054. else
  9055. # We preserve .a as extension for shared libraries through AIX4.2
  9056. # and later when we are not doing run time linking.
  9057. library_names_spec='${libname}${release}.a $libname.a'
  9058. soname_spec='${libname}${release}${shared_ext}$major'
  9059. fi
  9060. shlibpath_var=LIBPATH
  9061. fi
  9062. ;;
  9063. amigaos*)
  9064. case $host_cpu in
  9065. powerpc)
  9066. # Since July 2007 AmigaOS4 officially supports .so libraries.
  9067. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  9068. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9069. ;;
  9070. m68k)
  9071. library_names_spec='$libname.ixlibrary $libname.a'
  9072. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  9073. finish_eval='for lib in `ls $libdir/*.ixlibrary 2>/dev/null`; do libname=`$ECHO "X$lib" | $Xsed -e '\''s%^.*/\([^/]*\)\.ixlibrary$%\1%'\''`; test $RM /sys/libs/${libname}_ixlibrary.a; $show "cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a"; cd /sys/libs && $LN_S $lib ${libname}_ixlibrary.a || exit 1; done'
  9074. ;;
  9075. esac
  9076. ;;
  9077. beos*)
  9078. library_names_spec='${libname}${shared_ext}'
  9079. dynamic_linker="$host_os ld.so"
  9080. shlibpath_var=LIBRARY_PATH
  9081. ;;
  9082. bsdi[45]*)
  9083. version_type=linux
  9084. need_version=no
  9085. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9086. soname_spec='${libname}${release}${shared_ext}$major'
  9087. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  9088. shlibpath_var=LD_LIBRARY_PATH
  9089. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  9090. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  9091. # the default ld.so.conf also contains /usr/contrib/lib and
  9092. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  9093. # libtool to hard-code these into programs
  9094. ;;
  9095. cygwin* | mingw* | pw32* | cegcc*)
  9096. version_type=windows
  9097. shrext_cmds=".dll"
  9098. need_version=no
  9099. need_lib_prefix=no
  9100. case $GCC,$host_os in
  9101. yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  9102. library_names_spec='$libname.dll.a'
  9103. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9104. postinstall_cmds='base_file=`basename \${file}`~
  9105. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  9106. dldir=$destdir/`dirname \$dlpath`~
  9107. test -d \$dldir || mkdir -p \$dldir~
  9108. $install_prog $dir/$dlname \$dldir/$dlname~
  9109. chmod a+x \$dldir/$dlname~
  9110. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  9111. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  9112. fi'
  9113. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9114. dlpath=$dir/\$dldll~
  9115. $RM \$dlpath'
  9116. shlibpath_overrides_runpath=yes
  9117. case $host_os in
  9118. cygwin*)
  9119. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  9120. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9121. sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  9122. ;;
  9123. mingw* | cegcc*)
  9124. # MinGW DLLs use traditional 'lib' prefix
  9125. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9126. sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  9127. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  9128. # It is most probably a Windows format PATH printed by
  9129. # mingw gcc, but we are running on Cygwin. Gcc prints its search
  9130. # path with ; separators, and with drive letters. We can handle the
  9131. # drive letters (cygwin fileutils understands them), so leave them,
  9132. # especially as we might pass files found there to a mingw objdump,
  9133. # which wouldn't understand a cygwinified path. Ahh.
  9134. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  9135. else
  9136. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9137. fi
  9138. ;;
  9139. pw32*)
  9140. # pw32 DLLs use 'pw' prefix rather than 'lib'
  9141. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9142. ;;
  9143. esac
  9144. ;;
  9145. *)
  9146. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  9147. ;;
  9148. esac
  9149. dynamic_linker='Win32 ld.exe'
  9150. # FIXME: first we should search . and the directory the executable is in
  9151. shlibpath_var=PATH
  9152. ;;
  9153. darwin* | rhapsody*)
  9154. dynamic_linker="$host_os dyld"
  9155. version_type=darwin
  9156. need_lib_prefix=no
  9157. need_version=no
  9158. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  9159. soname_spec='${libname}${release}${major}$shared_ext'
  9160. shlibpath_overrides_runpath=yes
  9161. shlibpath_var=DYLD_LIBRARY_PATH
  9162. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  9163. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  9164. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  9165. ;;
  9166. dgux*)
  9167. version_type=linux
  9168. need_lib_prefix=no
  9169. need_version=no
  9170. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  9171. soname_spec='${libname}${release}${shared_ext}$major'
  9172. shlibpath_var=LD_LIBRARY_PATH
  9173. ;;
  9174. freebsd1*)
  9175. dynamic_linker=no
  9176. ;;
  9177. freebsd* | dragonfly*)
  9178. # DragonFly does not have aout. When/if they implement a new
  9179. # versioning mechanism, adjust this.
  9180. if test -x /usr/bin/objformat; then
  9181. objformat=`/usr/bin/objformat`
  9182. else
  9183. case $host_os in
  9184. freebsd[123]*) objformat=aout ;;
  9185. *) objformat=elf ;;
  9186. esac
  9187. fi
  9188. version_type=freebsd-$objformat
  9189. case $version_type in
  9190. freebsd-elf*)
  9191. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9192. need_version=no
  9193. need_lib_prefix=no
  9194. ;;
  9195. freebsd-*)
  9196. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  9197. need_version=yes
  9198. ;;
  9199. esac
  9200. shlibpath_var=LD_LIBRARY_PATH
  9201. case $host_os in
  9202. freebsd2*)
  9203. shlibpath_overrides_runpath=yes
  9204. ;;
  9205. freebsd3.[01]* | freebsdelf3.[01]*)
  9206. shlibpath_overrides_runpath=yes
  9207. hardcode_into_libs=yes
  9208. ;;
  9209. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  9210. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  9211. shlibpath_overrides_runpath=no
  9212. hardcode_into_libs=yes
  9213. ;;
  9214. *) # from 4.6 on, and DragonFly
  9215. shlibpath_overrides_runpath=yes
  9216. hardcode_into_libs=yes
  9217. ;;
  9218. esac
  9219. ;;
  9220. gnu*)
  9221. version_type=linux
  9222. need_lib_prefix=no
  9223. need_version=no
  9224. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  9225. soname_spec='${libname}${release}${shared_ext}$major'
  9226. shlibpath_var=LD_LIBRARY_PATH
  9227. hardcode_into_libs=yes
  9228. ;;
  9229. hpux9* | hpux10* | hpux11*)
  9230. # Give a soname corresponding to the major version so that dld.sl refuses to
  9231. # link against other versions.
  9232. version_type=sunos
  9233. need_lib_prefix=no
  9234. need_version=no
  9235. case $host_cpu in
  9236. ia64*)
  9237. shrext_cmds='.so'
  9238. hardcode_into_libs=yes
  9239. dynamic_linker="$host_os dld.so"
  9240. shlibpath_var=LD_LIBRARY_PATH
  9241. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9242. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9243. soname_spec='${libname}${release}${shared_ext}$major'
  9244. if test "X$HPUX_IA64_MODE" = X32; then
  9245. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  9246. else
  9247. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  9248. fi
  9249. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9250. ;;
  9251. hppa*64*)
  9252. shrext_cmds='.sl'
  9253. hardcode_into_libs=yes
  9254. dynamic_linker="$host_os dld.sl"
  9255. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  9256. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9257. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9258. soname_spec='${libname}${release}${shared_ext}$major'
  9259. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  9260. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9261. ;;
  9262. *)
  9263. shrext_cmds='.sl'
  9264. dynamic_linker="$host_os dld.sl"
  9265. shlibpath_var=SHLIB_PATH
  9266. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  9267. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9268. soname_spec='${libname}${release}${shared_ext}$major'
  9269. ;;
  9270. esac
  9271. # HP-UX runs *really* slowly unless shared libraries are mode 555.
  9272. postinstall_cmds='chmod 555 $lib'
  9273. ;;
  9274. interix[3-9]*)
  9275. version_type=linux
  9276. need_lib_prefix=no
  9277. need_version=no
  9278. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9279. soname_spec='${libname}${release}${shared_ext}$major'
  9280. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  9281. shlibpath_var=LD_LIBRARY_PATH
  9282. shlibpath_overrides_runpath=no
  9283. hardcode_into_libs=yes
  9284. ;;
  9285. irix5* | irix6* | nonstopux*)
  9286. case $host_os in
  9287. nonstopux*) version_type=nonstopux ;;
  9288. *)
  9289. if test "$lt_cv_prog_gnu_ld" = yes; then
  9290. version_type=linux
  9291. else
  9292. version_type=irix
  9293. fi ;;
  9294. esac
  9295. need_lib_prefix=no
  9296. need_version=no
  9297. soname_spec='${libname}${release}${shared_ext}$major'
  9298. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  9299. case $host_os in
  9300. irix5* | nonstopux*)
  9301. libsuff= shlibsuff=
  9302. ;;
  9303. *)
  9304. case $LD in # libtool.m4 will add one of these switches to LD
  9305. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  9306. libsuff= shlibsuff= libmagic=32-bit;;
  9307. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  9308. libsuff=32 shlibsuff=N32 libmagic=N32;;
  9309. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  9310. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  9311. *) libsuff= shlibsuff= libmagic=never-match;;
  9312. esac
  9313. ;;
  9314. esac
  9315. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  9316. shlibpath_overrides_runpath=no
  9317. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  9318. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  9319. hardcode_into_libs=yes
  9320. ;;
  9321. # No shared lib support for Linux oldld, aout, or coff.
  9322. linux*oldld* | linux*aout* | linux*coff*)
  9323. dynamic_linker=no
  9324. ;;
  9325. # This must be Linux ELF.
  9326. linux* | k*bsd*-gnu)
  9327. version_type=linux
  9328. need_lib_prefix=no
  9329. need_version=no
  9330. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9331. soname_spec='${libname}${release}${shared_ext}$major'
  9332. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  9333. shlibpath_var=LD_LIBRARY_PATH
  9334. shlibpath_overrides_runpath=no
  9335. # Some binutils ld are patched to set DT_RUNPATH
  9336. save_LDFLAGS=$LDFLAGS
  9337. save_libdir=$libdir
  9338. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  9339. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  9340. cat >conftest.$ac_ext <<_ACEOF
  9341. /* confdefs.h. */
  9342. _ACEOF
  9343. cat confdefs.h >>conftest.$ac_ext
  9344. cat >>conftest.$ac_ext <<_ACEOF
  9345. /* end confdefs.h. */
  9346. int
  9347. main ()
  9348. {
  9349. ;
  9350. return 0;
  9351. }
  9352. _ACEOF
  9353. rm -f conftest.$ac_objext conftest$ac_exeext
  9354. if { (ac_try="$ac_link"
  9355. case "(($ac_try" in
  9356. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9357. *) ac_try_echo=$ac_try;;
  9358. esac
  9359. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9360. $as_echo "$ac_try_echo") >&5
  9361. (eval "$ac_link") 2>conftest.er1
  9362. ac_status=$?
  9363. grep -v '^ *+' conftest.er1 >conftest.err
  9364. rm -f conftest.er1
  9365. cat conftest.err >&5
  9366. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9367. (exit $ac_status); } && {
  9368. test -z "$ac_c_werror_flag" ||
  9369. test ! -s conftest.err
  9370. } && test -s conftest$ac_exeext && {
  9371. test "$cross_compiling" = yes ||
  9372. $as_test_x conftest$ac_exeext
  9373. }; then
  9374. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
  9375. shlibpath_overrides_runpath=yes
  9376. fi
  9377. else
  9378. $as_echo "$as_me: failed program was:" >&5
  9379. sed 's/^/| /' conftest.$ac_ext >&5
  9380. fi
  9381. rm -rf conftest.dSYM
  9382. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9383. conftest$ac_exeext conftest.$ac_ext
  9384. LDFLAGS=$save_LDFLAGS
  9385. libdir=$save_libdir
  9386. # This implies no fast_install, which is unacceptable.
  9387. # Some rework will be needed to allow for fast_install
  9388. # before this can be enabled.
  9389. hardcode_into_libs=yes
  9390. # Add ABI-specific directories to the system library path.
  9391. sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
  9392. # Append ld.so.conf contents to the search path
  9393. if test -f /etc/ld.so.conf; then
  9394. lt_ld_extra=`awk '/^include / { system(sprintf("cd /etc; cat %s 2>/dev/null", \$2)); skip = 1; } { if (!skip) print \$0; skip = 0; }' < /etc/ld.so.conf | $SED -e 's/#.*//;/^[ ]*hwcap[ ]/d;s/[:, ]/ /g;s/=[^=]*$//;s/=[^= ]* / /g;/^$/d' | tr '\n' ' '`
  9395. sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  9396. fi
  9397. # We used to test for /lib/ld.so.1 and disable shared libraries on
  9398. # powerpc, because MkLinux only supported shared libraries with the
  9399. # GNU dynamic linker. Since this was broken with cross compilers,
  9400. # most powerpc-linux boxes support dynamic linking these days and
  9401. # people can always --disable-shared, the test was removed, and we
  9402. # assume the GNU/Linux dynamic linker is in use.
  9403. dynamic_linker='GNU/Linux ld.so'
  9404. ;;
  9405. netbsd*)
  9406. version_type=sunos
  9407. need_lib_prefix=no
  9408. need_version=no
  9409. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9410. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9411. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9412. dynamic_linker='NetBSD (a.out) ld.so'
  9413. else
  9414. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9415. soname_spec='${libname}${release}${shared_ext}$major'
  9416. dynamic_linker='NetBSD ld.elf_so'
  9417. fi
  9418. shlibpath_var=LD_LIBRARY_PATH
  9419. shlibpath_overrides_runpath=yes
  9420. hardcode_into_libs=yes
  9421. ;;
  9422. newsos6)
  9423. version_type=linux
  9424. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9425. shlibpath_var=LD_LIBRARY_PATH
  9426. shlibpath_overrides_runpath=yes
  9427. ;;
  9428. *nto* | *qnx*)
  9429. version_type=qnx
  9430. need_lib_prefix=no
  9431. need_version=no
  9432. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9433. soname_spec='${libname}${release}${shared_ext}$major'
  9434. shlibpath_var=LD_LIBRARY_PATH
  9435. shlibpath_overrides_runpath=no
  9436. hardcode_into_libs=yes
  9437. dynamic_linker='ldqnx.so'
  9438. ;;
  9439. openbsd*)
  9440. version_type=sunos
  9441. sys_lib_dlsearch_path_spec="/usr/lib"
  9442. need_lib_prefix=no
  9443. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  9444. case $host_os in
  9445. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  9446. *) need_version=no ;;
  9447. esac
  9448. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9449. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9450. shlibpath_var=LD_LIBRARY_PATH
  9451. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9452. case $host_os in
  9453. openbsd2.[89] | openbsd2.[89].*)
  9454. shlibpath_overrides_runpath=no
  9455. ;;
  9456. *)
  9457. shlibpath_overrides_runpath=yes
  9458. ;;
  9459. esac
  9460. else
  9461. shlibpath_overrides_runpath=yes
  9462. fi
  9463. ;;
  9464. os2*)
  9465. libname_spec='$name'
  9466. shrext_cmds=".dll"
  9467. need_lib_prefix=no
  9468. library_names_spec='$libname${shared_ext} $libname.a'
  9469. dynamic_linker='OS/2 ld.exe'
  9470. shlibpath_var=LIBPATH
  9471. ;;
  9472. osf3* | osf4* | osf5*)
  9473. version_type=osf
  9474. need_lib_prefix=no
  9475. need_version=no
  9476. soname_spec='${libname}${release}${shared_ext}$major'
  9477. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9478. shlibpath_var=LD_LIBRARY_PATH
  9479. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  9480. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  9481. ;;
  9482. rdos*)
  9483. dynamic_linker=no
  9484. ;;
  9485. solaris*)
  9486. version_type=linux
  9487. need_lib_prefix=no
  9488. need_version=no
  9489. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9490. soname_spec='${libname}${release}${shared_ext}$major'
  9491. shlibpath_var=LD_LIBRARY_PATH
  9492. shlibpath_overrides_runpath=yes
  9493. hardcode_into_libs=yes
  9494. # ldd complains unless libraries are executable
  9495. postinstall_cmds='chmod +x $lib'
  9496. ;;
  9497. sunos4*)
  9498. version_type=sunos
  9499. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9500. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  9501. shlibpath_var=LD_LIBRARY_PATH
  9502. shlibpath_overrides_runpath=yes
  9503. if test "$with_gnu_ld" = yes; then
  9504. need_lib_prefix=no
  9505. fi
  9506. need_version=yes
  9507. ;;
  9508. sysv4 | sysv4.3*)
  9509. version_type=linux
  9510. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9511. soname_spec='${libname}${release}${shared_ext}$major'
  9512. shlibpath_var=LD_LIBRARY_PATH
  9513. case $host_vendor in
  9514. sni)
  9515. shlibpath_overrides_runpath=no
  9516. need_lib_prefix=no
  9517. runpath_var=LD_RUN_PATH
  9518. ;;
  9519. siemens)
  9520. need_lib_prefix=no
  9521. ;;
  9522. motorola)
  9523. need_lib_prefix=no
  9524. need_version=no
  9525. shlibpath_overrides_runpath=no
  9526. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  9527. ;;
  9528. esac
  9529. ;;
  9530. sysv4*MP*)
  9531. if test -d /usr/nec ;then
  9532. version_type=linux
  9533. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  9534. soname_spec='$libname${shared_ext}.$major'
  9535. shlibpath_var=LD_LIBRARY_PATH
  9536. fi
  9537. ;;
  9538. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  9539. version_type=freebsd-elf
  9540. need_lib_prefix=no
  9541. need_version=no
  9542. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9543. soname_spec='${libname}${release}${shared_ext}$major'
  9544. shlibpath_var=LD_LIBRARY_PATH
  9545. shlibpath_overrides_runpath=yes
  9546. hardcode_into_libs=yes
  9547. if test "$with_gnu_ld" = yes; then
  9548. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  9549. else
  9550. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  9551. case $host_os in
  9552. sco3.2v5*)
  9553. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  9554. ;;
  9555. esac
  9556. fi
  9557. sys_lib_dlsearch_path_spec='/usr/lib'
  9558. ;;
  9559. tpf*)
  9560. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  9561. version_type=linux
  9562. need_lib_prefix=no
  9563. need_version=no
  9564. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9565. shlibpath_var=LD_LIBRARY_PATH
  9566. shlibpath_overrides_runpath=no
  9567. hardcode_into_libs=yes
  9568. ;;
  9569. uts4*)
  9570. version_type=linux
  9571. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9572. soname_spec='${libname}${release}${shared_ext}$major'
  9573. shlibpath_var=LD_LIBRARY_PATH
  9574. ;;
  9575. *)
  9576. dynamic_linker=no
  9577. ;;
  9578. esac
  9579. { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  9580. $as_echo "$dynamic_linker" >&6; }
  9581. test "$dynamic_linker" = no && can_build_shared=no
  9582. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  9583. if test "$GCC" = yes; then
  9584. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  9585. fi
  9586. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  9587. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  9588. fi
  9589. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  9590. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  9591. fi
  9592. { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  9593. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  9594. hardcode_action=
  9595. if test -n "$hardcode_libdir_flag_spec" ||
  9596. test -n "$runpath_var" ||
  9597. test "X$hardcode_automatic" = "Xyes" ; then
  9598. # We can hardcode non-existent directories.
  9599. if test "$hardcode_direct" != no &&
  9600. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  9601. # have to relink, otherwise we might link with an installed library
  9602. # when we should be linking with a yet-to-be-installed one
  9603. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  9604. test "$hardcode_minus_L" != no; then
  9605. # Linking always hardcodes the temporary library directory.
  9606. hardcode_action=relink
  9607. else
  9608. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  9609. hardcode_action=immediate
  9610. fi
  9611. else
  9612. # We cannot hardcode anything, or else we can only hardcode existing
  9613. # directories.
  9614. hardcode_action=unsupported
  9615. fi
  9616. { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
  9617. $as_echo "$hardcode_action" >&6; }
  9618. if test "$hardcode_action" = relink ||
  9619. test "$inherit_rpath" = yes; then
  9620. # Fast installation is not supported
  9621. enable_fast_install=no
  9622. elif test "$shlibpath_overrides_runpath" = yes ||
  9623. test "$enable_shared" = no; then
  9624. # Fast installation is not necessary
  9625. enable_fast_install=needless
  9626. fi
  9627. if test "x$enable_dlopen" != xyes; then
  9628. enable_dlopen=unknown
  9629. enable_dlopen_self=unknown
  9630. enable_dlopen_self_static=unknown
  9631. else
  9632. lt_cv_dlopen=no
  9633. lt_cv_dlopen_libs=
  9634. case $host_os in
  9635. beos*)
  9636. lt_cv_dlopen="load_add_on"
  9637. lt_cv_dlopen_libs=
  9638. lt_cv_dlopen_self=yes
  9639. ;;
  9640. mingw* | pw32* | cegcc*)
  9641. lt_cv_dlopen="LoadLibrary"
  9642. lt_cv_dlopen_libs=
  9643. ;;
  9644. cygwin*)
  9645. lt_cv_dlopen="dlopen"
  9646. lt_cv_dlopen_libs=
  9647. ;;
  9648. darwin*)
  9649. # if libdl is installed we need to link against it
  9650. { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  9651. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9652. if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  9653. $as_echo_n "(cached) " >&6
  9654. else
  9655. ac_check_lib_save_LIBS=$LIBS
  9656. LIBS="-ldl $LIBS"
  9657. cat >conftest.$ac_ext <<_ACEOF
  9658. /* confdefs.h. */
  9659. _ACEOF
  9660. cat confdefs.h >>conftest.$ac_ext
  9661. cat >>conftest.$ac_ext <<_ACEOF
  9662. /* end confdefs.h. */
  9663. /* Override any GCC internal prototype to avoid an error.
  9664. Use char because int might match the return type of a GCC
  9665. builtin and then its argument prototype would still apply. */
  9666. #ifdef __cplusplus
  9667. extern "C"
  9668. #endif
  9669. char dlopen ();
  9670. int
  9671. main ()
  9672. {
  9673. return dlopen ();
  9674. ;
  9675. return 0;
  9676. }
  9677. _ACEOF
  9678. rm -f conftest.$ac_objext conftest$ac_exeext
  9679. if { (ac_try="$ac_link"
  9680. case "(($ac_try" in
  9681. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9682. *) ac_try_echo=$ac_try;;
  9683. esac
  9684. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9685. $as_echo "$ac_try_echo") >&5
  9686. (eval "$ac_link") 2>conftest.er1
  9687. ac_status=$?
  9688. grep -v '^ *+' conftest.er1 >conftest.err
  9689. rm -f conftest.er1
  9690. cat conftest.err >&5
  9691. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9692. (exit $ac_status); } && {
  9693. test -z "$ac_c_werror_flag" ||
  9694. test ! -s conftest.err
  9695. } && test -s conftest$ac_exeext && {
  9696. test "$cross_compiling" = yes ||
  9697. $as_test_x conftest$ac_exeext
  9698. }; then
  9699. ac_cv_lib_dl_dlopen=yes
  9700. else
  9701. $as_echo "$as_me: failed program was:" >&5
  9702. sed 's/^/| /' conftest.$ac_ext >&5
  9703. ac_cv_lib_dl_dlopen=no
  9704. fi
  9705. rm -rf conftest.dSYM
  9706. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9707. conftest$ac_exeext conftest.$ac_ext
  9708. LIBS=$ac_check_lib_save_LIBS
  9709. fi
  9710. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  9711. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9712. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
  9713. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  9714. else
  9715. lt_cv_dlopen="dyld"
  9716. lt_cv_dlopen_libs=
  9717. lt_cv_dlopen_self=yes
  9718. fi
  9719. ;;
  9720. *)
  9721. { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
  9722. $as_echo_n "checking for shl_load... " >&6; }
  9723. if test "${ac_cv_func_shl_load+set}" = set; then
  9724. $as_echo_n "(cached) " >&6
  9725. else
  9726. cat >conftest.$ac_ext <<_ACEOF
  9727. /* confdefs.h. */
  9728. _ACEOF
  9729. cat confdefs.h >>conftest.$ac_ext
  9730. cat >>conftest.$ac_ext <<_ACEOF
  9731. /* end confdefs.h. */
  9732. /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  9733. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  9734. #define shl_load innocuous_shl_load
  9735. /* System header to define __stub macros and hopefully few prototypes,
  9736. which can conflict with char shl_load (); below.
  9737. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9738. <limits.h> exists even on freestanding compilers. */
  9739. #ifdef __STDC__
  9740. # include <limits.h>
  9741. #else
  9742. # include <assert.h>
  9743. #endif
  9744. #undef shl_load
  9745. /* Override any GCC internal prototype to avoid an error.
  9746. Use char because int might match the return type of a GCC
  9747. builtin and then its argument prototype would still apply. */
  9748. #ifdef __cplusplus
  9749. extern "C"
  9750. #endif
  9751. char shl_load ();
  9752. /* The GNU C library defines this for functions which it implements
  9753. to always fail with ENOSYS. Some functions are actually named
  9754. something starting with __ and the normal name is an alias. */
  9755. #if defined __stub_shl_load || defined __stub___shl_load
  9756. choke me
  9757. #endif
  9758. int
  9759. main ()
  9760. {
  9761. return shl_load ();
  9762. ;
  9763. return 0;
  9764. }
  9765. _ACEOF
  9766. rm -f conftest.$ac_objext conftest$ac_exeext
  9767. if { (ac_try="$ac_link"
  9768. case "(($ac_try" in
  9769. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9770. *) ac_try_echo=$ac_try;;
  9771. esac
  9772. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9773. $as_echo "$ac_try_echo") >&5
  9774. (eval "$ac_link") 2>conftest.er1
  9775. ac_status=$?
  9776. grep -v '^ *+' conftest.er1 >conftest.err
  9777. rm -f conftest.er1
  9778. cat conftest.err >&5
  9779. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9780. (exit $ac_status); } && {
  9781. test -z "$ac_c_werror_flag" ||
  9782. test ! -s conftest.err
  9783. } && test -s conftest$ac_exeext && {
  9784. test "$cross_compiling" = yes ||
  9785. $as_test_x conftest$ac_exeext
  9786. }; then
  9787. ac_cv_func_shl_load=yes
  9788. else
  9789. $as_echo "$as_me: failed program was:" >&5
  9790. sed 's/^/| /' conftest.$ac_ext >&5
  9791. ac_cv_func_shl_load=no
  9792. fi
  9793. rm -rf conftest.dSYM
  9794. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9795. conftest$ac_exeext conftest.$ac_ext
  9796. fi
  9797. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  9798. $as_echo "$ac_cv_func_shl_load" >&6; }
  9799. if test "x$ac_cv_func_shl_load" = x""yes; then
  9800. lt_cv_dlopen="shl_load"
  9801. else
  9802. { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  9803. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  9804. if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  9805. $as_echo_n "(cached) " >&6
  9806. else
  9807. ac_check_lib_save_LIBS=$LIBS
  9808. LIBS="-ldld $LIBS"
  9809. cat >conftest.$ac_ext <<_ACEOF
  9810. /* confdefs.h. */
  9811. _ACEOF
  9812. cat confdefs.h >>conftest.$ac_ext
  9813. cat >>conftest.$ac_ext <<_ACEOF
  9814. /* end confdefs.h. */
  9815. /* Override any GCC internal prototype to avoid an error.
  9816. Use char because int might match the return type of a GCC
  9817. builtin and then its argument prototype would still apply. */
  9818. #ifdef __cplusplus
  9819. extern "C"
  9820. #endif
  9821. char shl_load ();
  9822. int
  9823. main ()
  9824. {
  9825. return shl_load ();
  9826. ;
  9827. return 0;
  9828. }
  9829. _ACEOF
  9830. rm -f conftest.$ac_objext conftest$ac_exeext
  9831. if { (ac_try="$ac_link"
  9832. case "(($ac_try" in
  9833. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9834. *) ac_try_echo=$ac_try;;
  9835. esac
  9836. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9837. $as_echo "$ac_try_echo") >&5
  9838. (eval "$ac_link") 2>conftest.er1
  9839. ac_status=$?
  9840. grep -v '^ *+' conftest.er1 >conftest.err
  9841. rm -f conftest.er1
  9842. cat conftest.err >&5
  9843. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9844. (exit $ac_status); } && {
  9845. test -z "$ac_c_werror_flag" ||
  9846. test ! -s conftest.err
  9847. } && test -s conftest$ac_exeext && {
  9848. test "$cross_compiling" = yes ||
  9849. $as_test_x conftest$ac_exeext
  9850. }; then
  9851. ac_cv_lib_dld_shl_load=yes
  9852. else
  9853. $as_echo "$as_me: failed program was:" >&5
  9854. sed 's/^/| /' conftest.$ac_ext >&5
  9855. ac_cv_lib_dld_shl_load=no
  9856. fi
  9857. rm -rf conftest.dSYM
  9858. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9859. conftest$ac_exeext conftest.$ac_ext
  9860. LIBS=$ac_check_lib_save_LIBS
  9861. fi
  9862. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  9863. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  9864. if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
  9865. lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  9866. else
  9867. { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
  9868. $as_echo_n "checking for dlopen... " >&6; }
  9869. if test "${ac_cv_func_dlopen+set}" = set; then
  9870. $as_echo_n "(cached) " >&6
  9871. else
  9872. cat >conftest.$ac_ext <<_ACEOF
  9873. /* confdefs.h. */
  9874. _ACEOF
  9875. cat confdefs.h >>conftest.$ac_ext
  9876. cat >>conftest.$ac_ext <<_ACEOF
  9877. /* end confdefs.h. */
  9878. /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  9879. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  9880. #define dlopen innocuous_dlopen
  9881. /* System header to define __stub macros and hopefully few prototypes,
  9882. which can conflict with char dlopen (); below.
  9883. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9884. <limits.h> exists even on freestanding compilers. */
  9885. #ifdef __STDC__
  9886. # include <limits.h>
  9887. #else
  9888. # include <assert.h>
  9889. #endif
  9890. #undef dlopen
  9891. /* Override any GCC internal prototype to avoid an error.
  9892. Use char because int might match the return type of a GCC
  9893. builtin and then its argument prototype would still apply. */
  9894. #ifdef __cplusplus
  9895. extern "C"
  9896. #endif
  9897. char dlopen ();
  9898. /* The GNU C library defines this for functions which it implements
  9899. to always fail with ENOSYS. Some functions are actually named
  9900. something starting with __ and the normal name is an alias. */
  9901. #if defined __stub_dlopen || defined __stub___dlopen
  9902. choke me
  9903. #endif
  9904. int
  9905. main ()
  9906. {
  9907. return dlopen ();
  9908. ;
  9909. return 0;
  9910. }
  9911. _ACEOF
  9912. rm -f conftest.$ac_objext conftest$ac_exeext
  9913. if { (ac_try="$ac_link"
  9914. case "(($ac_try" in
  9915. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9916. *) ac_try_echo=$ac_try;;
  9917. esac
  9918. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9919. $as_echo "$ac_try_echo") >&5
  9920. (eval "$ac_link") 2>conftest.er1
  9921. ac_status=$?
  9922. grep -v '^ *+' conftest.er1 >conftest.err
  9923. rm -f conftest.er1
  9924. cat conftest.err >&5
  9925. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9926. (exit $ac_status); } && {
  9927. test -z "$ac_c_werror_flag" ||
  9928. test ! -s conftest.err
  9929. } && test -s conftest$ac_exeext && {
  9930. test "$cross_compiling" = yes ||
  9931. $as_test_x conftest$ac_exeext
  9932. }; then
  9933. ac_cv_func_dlopen=yes
  9934. else
  9935. $as_echo "$as_me: failed program was:" >&5
  9936. sed 's/^/| /' conftest.$ac_ext >&5
  9937. ac_cv_func_dlopen=no
  9938. fi
  9939. rm -rf conftest.dSYM
  9940. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9941. conftest$ac_exeext conftest.$ac_ext
  9942. fi
  9943. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  9944. $as_echo "$ac_cv_func_dlopen" >&6; }
  9945. if test "x$ac_cv_func_dlopen" = x""yes; then
  9946. lt_cv_dlopen="dlopen"
  9947. else
  9948. { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  9949. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9950. if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  9951. $as_echo_n "(cached) " >&6
  9952. else
  9953. ac_check_lib_save_LIBS=$LIBS
  9954. LIBS="-ldl $LIBS"
  9955. cat >conftest.$ac_ext <<_ACEOF
  9956. /* confdefs.h. */
  9957. _ACEOF
  9958. cat confdefs.h >>conftest.$ac_ext
  9959. cat >>conftest.$ac_ext <<_ACEOF
  9960. /* end confdefs.h. */
  9961. /* Override any GCC internal prototype to avoid an error.
  9962. Use char because int might match the return type of a GCC
  9963. builtin and then its argument prototype would still apply. */
  9964. #ifdef __cplusplus
  9965. extern "C"
  9966. #endif
  9967. char dlopen ();
  9968. int
  9969. main ()
  9970. {
  9971. return dlopen ();
  9972. ;
  9973. return 0;
  9974. }
  9975. _ACEOF
  9976. rm -f conftest.$ac_objext conftest$ac_exeext
  9977. if { (ac_try="$ac_link"
  9978. case "(($ac_try" in
  9979. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9980. *) ac_try_echo=$ac_try;;
  9981. esac
  9982. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9983. $as_echo "$ac_try_echo") >&5
  9984. (eval "$ac_link") 2>conftest.er1
  9985. ac_status=$?
  9986. grep -v '^ *+' conftest.er1 >conftest.err
  9987. rm -f conftest.er1
  9988. cat conftest.err >&5
  9989. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9990. (exit $ac_status); } && {
  9991. test -z "$ac_c_werror_flag" ||
  9992. test ! -s conftest.err
  9993. } && test -s conftest$ac_exeext && {
  9994. test "$cross_compiling" = yes ||
  9995. $as_test_x conftest$ac_exeext
  9996. }; then
  9997. ac_cv_lib_dl_dlopen=yes
  9998. else
  9999. $as_echo "$as_me: failed program was:" >&5
  10000. sed 's/^/| /' conftest.$ac_ext >&5
  10001. ac_cv_lib_dl_dlopen=no
  10002. fi
  10003. rm -rf conftest.dSYM
  10004. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10005. conftest$ac_exeext conftest.$ac_ext
  10006. LIBS=$ac_check_lib_save_LIBS
  10007. fi
  10008. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  10009. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10010. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
  10011. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  10012. else
  10013. { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
  10014. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  10015. if test "${ac_cv_lib_svld_dlopen+set}" = set; then
  10016. $as_echo_n "(cached) " >&6
  10017. else
  10018. ac_check_lib_save_LIBS=$LIBS
  10019. LIBS="-lsvld $LIBS"
  10020. cat >conftest.$ac_ext <<_ACEOF
  10021. /* confdefs.h. */
  10022. _ACEOF
  10023. cat confdefs.h >>conftest.$ac_ext
  10024. cat >>conftest.$ac_ext <<_ACEOF
  10025. /* end confdefs.h. */
  10026. /* Override any GCC internal prototype to avoid an error.
  10027. Use char because int might match the return type of a GCC
  10028. builtin and then its argument prototype would still apply. */
  10029. #ifdef __cplusplus
  10030. extern "C"
  10031. #endif
  10032. char dlopen ();
  10033. int
  10034. main ()
  10035. {
  10036. return dlopen ();
  10037. ;
  10038. return 0;
  10039. }
  10040. _ACEOF
  10041. rm -f conftest.$ac_objext conftest$ac_exeext
  10042. if { (ac_try="$ac_link"
  10043. case "(($ac_try" in
  10044. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10045. *) ac_try_echo=$ac_try;;
  10046. esac
  10047. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10048. $as_echo "$ac_try_echo") >&5
  10049. (eval "$ac_link") 2>conftest.er1
  10050. ac_status=$?
  10051. grep -v '^ *+' conftest.er1 >conftest.err
  10052. rm -f conftest.er1
  10053. cat conftest.err >&5
  10054. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10055. (exit $ac_status); } && {
  10056. test -z "$ac_c_werror_flag" ||
  10057. test ! -s conftest.err
  10058. } && test -s conftest$ac_exeext && {
  10059. test "$cross_compiling" = yes ||
  10060. $as_test_x conftest$ac_exeext
  10061. }; then
  10062. ac_cv_lib_svld_dlopen=yes
  10063. else
  10064. $as_echo "$as_me: failed program was:" >&5
  10065. sed 's/^/| /' conftest.$ac_ext >&5
  10066. ac_cv_lib_svld_dlopen=no
  10067. fi
  10068. rm -rf conftest.dSYM
  10069. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10070. conftest$ac_exeext conftest.$ac_ext
  10071. LIBS=$ac_check_lib_save_LIBS
  10072. fi
  10073. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  10074. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  10075. if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
  10076. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  10077. else
  10078. { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
  10079. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  10080. if test "${ac_cv_lib_dld_dld_link+set}" = set; then
  10081. $as_echo_n "(cached) " >&6
  10082. else
  10083. ac_check_lib_save_LIBS=$LIBS
  10084. LIBS="-ldld $LIBS"
  10085. cat >conftest.$ac_ext <<_ACEOF
  10086. /* confdefs.h. */
  10087. _ACEOF
  10088. cat confdefs.h >>conftest.$ac_ext
  10089. cat >>conftest.$ac_ext <<_ACEOF
  10090. /* end confdefs.h. */
  10091. /* Override any GCC internal prototype to avoid an error.
  10092. Use char because int might match the return type of a GCC
  10093. builtin and then its argument prototype would still apply. */
  10094. #ifdef __cplusplus
  10095. extern "C"
  10096. #endif
  10097. char dld_link ();
  10098. int
  10099. main ()
  10100. {
  10101. return dld_link ();
  10102. ;
  10103. return 0;
  10104. }
  10105. _ACEOF
  10106. rm -f conftest.$ac_objext conftest$ac_exeext
  10107. if { (ac_try="$ac_link"
  10108. case "(($ac_try" in
  10109. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10110. *) ac_try_echo=$ac_try;;
  10111. esac
  10112. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10113. $as_echo "$ac_try_echo") >&5
  10114. (eval "$ac_link") 2>conftest.er1
  10115. ac_status=$?
  10116. grep -v '^ *+' conftest.er1 >conftest.err
  10117. rm -f conftest.er1
  10118. cat conftest.err >&5
  10119. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10120. (exit $ac_status); } && {
  10121. test -z "$ac_c_werror_flag" ||
  10122. test ! -s conftest.err
  10123. } && test -s conftest$ac_exeext && {
  10124. test "$cross_compiling" = yes ||
  10125. $as_test_x conftest$ac_exeext
  10126. }; then
  10127. ac_cv_lib_dld_dld_link=yes
  10128. else
  10129. $as_echo "$as_me: failed program was:" >&5
  10130. sed 's/^/| /' conftest.$ac_ext >&5
  10131. ac_cv_lib_dld_dld_link=no
  10132. fi
  10133. rm -rf conftest.dSYM
  10134. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10135. conftest$ac_exeext conftest.$ac_ext
  10136. LIBS=$ac_check_lib_save_LIBS
  10137. fi
  10138. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  10139. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  10140. if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
  10141. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  10142. fi
  10143. fi
  10144. fi
  10145. fi
  10146. fi
  10147. fi
  10148. ;;
  10149. esac
  10150. if test "x$lt_cv_dlopen" != xno; then
  10151. enable_dlopen=yes
  10152. else
  10153. enable_dlopen=no
  10154. fi
  10155. case $lt_cv_dlopen in
  10156. dlopen)
  10157. save_CPPFLAGS="$CPPFLAGS"
  10158. test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  10159. save_LDFLAGS="$LDFLAGS"
  10160. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  10161. save_LIBS="$LIBS"
  10162. LIBS="$lt_cv_dlopen_libs $LIBS"
  10163. { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
  10164. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  10165. if test "${lt_cv_dlopen_self+set}" = set; then
  10166. $as_echo_n "(cached) " >&6
  10167. else
  10168. if test "$cross_compiling" = yes; then :
  10169. lt_cv_dlopen_self=cross
  10170. else
  10171. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10172. lt_status=$lt_dlunknown
  10173. cat > conftest.$ac_ext <<_LT_EOF
  10174. #line 11825 "configure"
  10175. #include "confdefs.h"
  10176. #if HAVE_DLFCN_H
  10177. #include <dlfcn.h>
  10178. #endif
  10179. #include <stdio.h>
  10180. #ifdef RTLD_GLOBAL
  10181. # define LT_DLGLOBAL RTLD_GLOBAL
  10182. #else
  10183. # ifdef DL_GLOBAL
  10184. # define LT_DLGLOBAL DL_GLOBAL
  10185. # else
  10186. # define LT_DLGLOBAL 0
  10187. # endif
  10188. #endif
  10189. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10190. find out it does not work in some platform. */
  10191. #ifndef LT_DLLAZY_OR_NOW
  10192. # ifdef RTLD_LAZY
  10193. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10194. # else
  10195. # ifdef DL_LAZY
  10196. # define LT_DLLAZY_OR_NOW DL_LAZY
  10197. # else
  10198. # ifdef RTLD_NOW
  10199. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10200. # else
  10201. # ifdef DL_NOW
  10202. # define LT_DLLAZY_OR_NOW DL_NOW
  10203. # else
  10204. # define LT_DLLAZY_OR_NOW 0
  10205. # endif
  10206. # endif
  10207. # endif
  10208. # endif
  10209. #endif
  10210. void fnord() { int i=42;}
  10211. int main ()
  10212. {
  10213. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10214. int status = $lt_dlunknown;
  10215. if (self)
  10216. {
  10217. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10218. else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10219. /* dlclose (self); */
  10220. }
  10221. else
  10222. puts (dlerror ());
  10223. return status;
  10224. }
  10225. _LT_EOF
  10226. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10227. (eval $ac_link) 2>&5
  10228. ac_status=$?
  10229. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10230. (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  10231. (./conftest; exit; ) >&5 2>/dev/null
  10232. lt_status=$?
  10233. case x$lt_status in
  10234. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  10235. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  10236. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  10237. esac
  10238. else :
  10239. # compilation failed
  10240. lt_cv_dlopen_self=no
  10241. fi
  10242. fi
  10243. rm -fr conftest*
  10244. fi
  10245. { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
  10246. $as_echo "$lt_cv_dlopen_self" >&6; }
  10247. if test "x$lt_cv_dlopen_self" = xyes; then
  10248. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  10249. { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
  10250. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  10251. if test "${lt_cv_dlopen_self_static+set}" = set; then
  10252. $as_echo_n "(cached) " >&6
  10253. else
  10254. if test "$cross_compiling" = yes; then :
  10255. lt_cv_dlopen_self_static=cross
  10256. else
  10257. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10258. lt_status=$lt_dlunknown
  10259. cat > conftest.$ac_ext <<_LT_EOF
  10260. #line 11921 "configure"
  10261. #include "confdefs.h"
  10262. #if HAVE_DLFCN_H
  10263. #include <dlfcn.h>
  10264. #endif
  10265. #include <stdio.h>
  10266. #ifdef RTLD_GLOBAL
  10267. # define LT_DLGLOBAL RTLD_GLOBAL
  10268. #else
  10269. # ifdef DL_GLOBAL
  10270. # define LT_DLGLOBAL DL_GLOBAL
  10271. # else
  10272. # define LT_DLGLOBAL 0
  10273. # endif
  10274. #endif
  10275. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10276. find out it does not work in some platform. */
  10277. #ifndef LT_DLLAZY_OR_NOW
  10278. # ifdef RTLD_LAZY
  10279. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10280. # else
  10281. # ifdef DL_LAZY
  10282. # define LT_DLLAZY_OR_NOW DL_LAZY
  10283. # else
  10284. # ifdef RTLD_NOW
  10285. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10286. # else
  10287. # ifdef DL_NOW
  10288. # define LT_DLLAZY_OR_NOW DL_NOW
  10289. # else
  10290. # define LT_DLLAZY_OR_NOW 0
  10291. # endif
  10292. # endif
  10293. # endif
  10294. # endif
  10295. #endif
  10296. void fnord() { int i=42;}
  10297. int main ()
  10298. {
  10299. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10300. int status = $lt_dlunknown;
  10301. if (self)
  10302. {
  10303. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10304. else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10305. /* dlclose (self); */
  10306. }
  10307. else
  10308. puts (dlerror ());
  10309. return status;
  10310. }
  10311. _LT_EOF
  10312. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10313. (eval $ac_link) 2>&5
  10314. ac_status=$?
  10315. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10316. (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  10317. (./conftest; exit; ) >&5 2>/dev/null
  10318. lt_status=$?
  10319. case x$lt_status in
  10320. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  10321. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  10322. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  10323. esac
  10324. else :
  10325. # compilation failed
  10326. lt_cv_dlopen_self_static=no
  10327. fi
  10328. fi
  10329. rm -fr conftest*
  10330. fi
  10331. { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
  10332. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  10333. fi
  10334. CPPFLAGS="$save_CPPFLAGS"
  10335. LDFLAGS="$save_LDFLAGS"
  10336. LIBS="$save_LIBS"
  10337. ;;
  10338. esac
  10339. case $lt_cv_dlopen_self in
  10340. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  10341. *) enable_dlopen_self=unknown ;;
  10342. esac
  10343. case $lt_cv_dlopen_self_static in
  10344. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  10345. *) enable_dlopen_self_static=unknown ;;
  10346. esac
  10347. fi
  10348. striplib=
  10349. old_striplib=
  10350. { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
  10351. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  10352. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  10353. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  10354. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  10355. { $as_echo "$as_me:$LINENO: result: yes" >&5
  10356. $as_echo "yes" >&6; }
  10357. else
  10358. # FIXME - insert some real tests, host_os isn't really good enough
  10359. case $host_os in
  10360. darwin*)
  10361. if test -n "$STRIP" ; then
  10362. striplib="$STRIP -x"
  10363. old_striplib="$STRIP -S"
  10364. { $as_echo "$as_me:$LINENO: result: yes" >&5
  10365. $as_echo "yes" >&6; }
  10366. else
  10367. { $as_echo "$as_me:$LINENO: result: no" >&5
  10368. $as_echo "no" >&6; }
  10369. fi
  10370. ;;
  10371. *)
  10372. { $as_echo "$as_me:$LINENO: result: no" >&5
  10373. $as_echo "no" >&6; }
  10374. ;;
  10375. esac
  10376. fi
  10377. # Report which library types will actually be built
  10378. { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  10379. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  10380. { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
  10381. $as_echo "$can_build_shared" >&6; }
  10382. { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  10383. $as_echo_n "checking whether to build shared libraries... " >&6; }
  10384. test "$can_build_shared" = "no" && enable_shared=no
  10385. # On AIX, shared libraries and static libraries use the same namespace, and
  10386. # are all built from PIC.
  10387. case $host_os in
  10388. aix3*)
  10389. test "$enable_shared" = yes && enable_static=no
  10390. if test -n "$RANLIB"; then
  10391. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  10392. postinstall_cmds='$RANLIB $lib'
  10393. fi
  10394. ;;
  10395. aix[4-9]*)
  10396. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  10397. test "$enable_shared" = yes && enable_static=no
  10398. fi
  10399. ;;
  10400. esac
  10401. { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
  10402. $as_echo "$enable_shared" >&6; }
  10403. { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  10404. $as_echo_n "checking whether to build static libraries... " >&6; }
  10405. # Make sure either enable_shared or enable_static is yes.
  10406. test "$enable_shared" = yes || enable_static=yes
  10407. { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
  10408. $as_echo "$enable_static" >&6; }
  10409. fi
  10410. ac_ext=c
  10411. ac_cpp='$CPP $CPPFLAGS'
  10412. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10413. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10414. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10415. CC="$lt_save_CC"
  10416. ac_config_commands="$ac_config_commands libtool"
  10417. # Only expand once:
  10418. VERSION_SCRIPT_FLAGS=
  10419. $(/usr/bin/ld --help 2>&1 | grep -- --version-script >/dev/null) && \
  10420. VERSION_SCRIPT_FLAGS=-Wl,--version-script=
  10421. test "`uname`" == "SunOS" && \
  10422. VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,"
  10423. if test -n "$VERSION_SCRIPT_FLAGS"; then
  10424. USE_VERSION_SCRIPT_TRUE=
  10425. USE_VERSION_SCRIPT_FALSE='#'
  10426. else
  10427. USE_VERSION_SCRIPT_TRUE='#'
  10428. USE_VERSION_SCRIPT_FALSE=
  10429. fi
  10430. _cppflags="${CPPFLAGS}"
  10431. _ldflags="${LDFLAGS}"
  10432. # Check whether --with-c14n was given.
  10433. if test "${with_c14n+set}" = set; then
  10434. withval=$with_c14n;
  10435. fi
  10436. # Check whether --with-catalog was given.
  10437. if test "${with_catalog+set}" = set; then
  10438. withval=$with_catalog;
  10439. fi
  10440. # Check whether --with-debug was given.
  10441. if test "${with_debug+set}" = set; then
  10442. withval=$with_debug;
  10443. fi
  10444. # Check whether --with-docbook was given.
  10445. if test "${with_docbook+set}" = set; then
  10446. withval=$with_docbook;
  10447. fi
  10448. # Check whether --with-fexceptions was given.
  10449. if test "${with_fexceptions+set}" = set; then
  10450. withval=$with_fexceptions;
  10451. fi
  10452. # Check whether --with-ftp was given.
  10453. if test "${with_ftp+set}" = set; then
  10454. withval=$with_ftp;
  10455. fi
  10456. # Check whether --with-history was given.
  10457. if test "${with_history+set}" = set; then
  10458. withval=$with_history;
  10459. fi
  10460. # Check whether --with-html was given.
  10461. if test "${with_html+set}" = set; then
  10462. withval=$with_html;
  10463. fi
  10464. # Check whether --with-html-dir was given.
  10465. if test "${with_html_dir+set}" = set; then
  10466. withval=$with_html_dir; HTML_DIR=$withval
  10467. else
  10468. HTML_DIR='$(datadir)/doc'
  10469. fi
  10470. # Check whether --with-html-subdir was given.
  10471. if test "${with_html_subdir+set}" = set; then
  10472. withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"
  10473. else
  10474. HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
  10475. fi
  10476. # Check whether --with-http was given.
  10477. if test "${with_http+set}" = set; then
  10478. withval=$with_http;
  10479. fi
  10480. # Check whether --with-iconv was given.
  10481. if test "${with_iconv+set}" = set; then
  10482. withval=$with_iconv;
  10483. fi
  10484. # Check whether --with-iso8859x was given.
  10485. if test "${with_iso8859x+set}" = set; then
  10486. withval=$with_iso8859x;
  10487. fi
  10488. # Check whether --with-legacy was given.
  10489. if test "${with_legacy+set}" = set; then
  10490. withval=$with_legacy;
  10491. fi
  10492. # Check whether --with-mem_debug was given.
  10493. if test "${with_mem_debug+set}" = set; then
  10494. withval=$with_mem_debug;
  10495. fi
  10496. # Check whether --with-minimum was given.
  10497. if test "${with_minimum+set}" = set; then
  10498. withval=$with_minimum;
  10499. fi
  10500. # Check whether --with-output was given.
  10501. if test "${with_output+set}" = set; then
  10502. withval=$with_output;
  10503. fi
  10504. # Check whether --with-pattern was given.
  10505. if test "${with_pattern+set}" = set; then
  10506. withval=$with_pattern;
  10507. fi
  10508. # Check whether --with-push was given.
  10509. if test "${with_push+set}" = set; then
  10510. withval=$with_push;
  10511. fi
  10512. # Check whether --with-python was given.
  10513. if test "${with_python+set}" = set; then
  10514. withval=$with_python;
  10515. fi
  10516. # Check whether --with-reader was given.
  10517. if test "${with_reader+set}" = set; then
  10518. withval=$with_reader;
  10519. fi
  10520. # Check whether --with-readline was given.
  10521. if test "${with_readline+set}" = set; then
  10522. withval=$with_readline;
  10523. if test "$withval" != "no" -a "$withval" != "yes"; then
  10524. RDL_DIR=$withval
  10525. CPPFLAGS="${CPPFLAGS} -I$withval/include"
  10526. LDFLAGS="${LDFLAGS} -L$withval/lib"
  10527. fi
  10528. fi
  10529. # Check whether --with-regexps was given.
  10530. if test "${with_regexps+set}" = set; then
  10531. withval=$with_regexps;
  10532. fi
  10533. # Check whether --with-run_debug was given.
  10534. if test "${with_run_debug+set}" = set; then
  10535. withval=$with_run_debug;
  10536. fi
  10537. # Check whether --with-sax1 was given.
  10538. if test "${with_sax1+set}" = set; then
  10539. withval=$with_sax1;
  10540. fi
  10541. # Check whether --with-schemas was given.
  10542. if test "${with_schemas+set}" = set; then
  10543. withval=$with_schemas;
  10544. fi
  10545. # Check whether --with-schematron was given.
  10546. if test "${with_schematron+set}" = set; then
  10547. withval=$with_schematron;
  10548. fi
  10549. # Check whether --with-threads was given.
  10550. if test "${with_threads+set}" = set; then
  10551. withval=$with_threads;
  10552. fi
  10553. # Check whether --with-thread-alloc was given.
  10554. if test "${with_thread_alloc+set}" = set; then
  10555. withval=$with_thread_alloc;
  10556. fi
  10557. # Check whether --with-tree was given.
  10558. if test "${with_tree+set}" = set; then
  10559. withval=$with_tree;
  10560. fi
  10561. # Check whether --with-valid was given.
  10562. if test "${with_valid+set}" = set; then
  10563. withval=$with_valid;
  10564. fi
  10565. # Check whether --with-writer was given.
  10566. if test "${with_writer+set}" = set; then
  10567. withval=$with_writer;
  10568. fi
  10569. # Check whether --with-xinclude was given.
  10570. if test "${with_xinclude+set}" = set; then
  10571. withval=$with_xinclude;
  10572. fi
  10573. # Check whether --with-xpath was given.
  10574. if test "${with_xpath+set}" = set; then
  10575. withval=$with_xpath;
  10576. fi
  10577. # Check whether --with-xptr was given.
  10578. if test "${with_xptr+set}" = set; then
  10579. withval=$with_xptr;
  10580. fi
  10581. # Check whether --with-modules was given.
  10582. if test "${with_modules+set}" = set; then
  10583. withval=$with_modules;
  10584. fi
  10585. # Check whether --with-zlib was given.
  10586. if test "${with_zlib+set}" = set; then
  10587. withval=$with_zlib;
  10588. if test "$withval" != "no" -a "$withval" != "yes"; then
  10589. Z_DIR=$withval
  10590. CPPFLAGS="${CPPFLAGS} -I$withval/include"
  10591. LDFLAGS="${LDFLAGS} -L$withval/lib"
  10592. fi
  10593. fi
  10594. # Check whether --with-coverage was given.
  10595. if test "${with_coverage+set}" = set; then
  10596. withval=$with_coverage;
  10597. fi
  10598. # Check whether --enable-rebuild-docs was given.
  10599. if test "${enable_rebuild_docs+set}" = set; then
  10600. enableval=$enable_rebuild_docs;
  10601. fi
  10602. if test "$enable_rebuild_docs" = "no"; then
  10603. REBUILD_DOCS_TRUE=
  10604. REBUILD_DOCS_FALSE='#'
  10605. else
  10606. REBUILD_DOCS_TRUE='#'
  10607. REBUILD_DOCS_FALSE=
  10608. fi
  10609. if test "$with_schemas" = "yes"
  10610. then
  10611. with_pattern=yes
  10612. with_regexps=yes
  10613. fi
  10614. if test "$with_schematron" = "yes"
  10615. then
  10616. with_pattern=yes
  10617. with_xpath=yes
  10618. fi
  10619. if test "$with_reader" = "yes"
  10620. then
  10621. with_push=yes
  10622. fi
  10623. if test "$with_xptr" = "yes"
  10624. then
  10625. with_xpath=yes
  10626. fi
  10627. if test "$with_minimum" = "yes"
  10628. then
  10629. echo "Configuring for a minimal library"
  10630. if test "$with_c14n" = ""
  10631. then
  10632. with_c14n=no
  10633. fi
  10634. if test "$with_catalog" = ""
  10635. then
  10636. with_catalog=no
  10637. fi
  10638. echo So far so good!
  10639. if test "$with_debug" = ""
  10640. then
  10641. with_debug=no
  10642. fi
  10643. if test "$with_docbook" = ""
  10644. then
  10645. with_docbook=no
  10646. fi
  10647. if test "$with_fexceptions" = ""
  10648. then
  10649. with_fexceptions=no
  10650. fi
  10651. if test "$with_ftp" = ""
  10652. then
  10653. with_ftp=no
  10654. fi
  10655. if test "$with_history" = ""
  10656. then
  10657. with_history=no
  10658. fi
  10659. if test "$with_html" = ""
  10660. then
  10661. with_html=no
  10662. fi
  10663. if test "$with_http" = ""
  10664. then
  10665. with_http=no
  10666. fi
  10667. if test "$with_iconv" = ""
  10668. then
  10669. with_iconv=no
  10670. fi
  10671. if test "$with_iso8859x" = ""
  10672. then
  10673. with_iso8859x=no
  10674. fi
  10675. if test "$with_legacy" = ""
  10676. then
  10677. with_legacy=no
  10678. fi
  10679. if test "$with_mem_debug" = ""
  10680. then
  10681. with_mem_debug=no
  10682. fi
  10683. if test "$with_output" = ""
  10684. then
  10685. with_output=no
  10686. fi
  10687. if test "$with_pattern" = ""
  10688. then
  10689. with_pattern=no
  10690. fi
  10691. if test "$with_push" = ""
  10692. then
  10693. with_push=no
  10694. fi
  10695. if test "$with_python" = ""
  10696. then
  10697. with_python=no
  10698. fi
  10699. if test "$with_reader" = ""
  10700. then
  10701. with_reader=no
  10702. fi
  10703. if test "$with_readline" = ""
  10704. then
  10705. with_readline=no
  10706. fi
  10707. if test "$with_regexps" = ""
  10708. then
  10709. with_regexps=no
  10710. fi
  10711. if test "$with_run_debug" = ""
  10712. then
  10713. with_run_debug=no
  10714. fi
  10715. if test "$with_sax1" = ""
  10716. then
  10717. with_sax1=no
  10718. fi
  10719. if test "$with_schemas" = ""
  10720. then
  10721. with_schemas=no
  10722. fi
  10723. if test "$with_schematron" = ""
  10724. then
  10725. with_schematron=no
  10726. fi
  10727. if test "$with_threads" = ""
  10728. then
  10729. with_threads=no
  10730. fi
  10731. if test "$with_thread_alloc" = ""
  10732. then
  10733. with_thread_alloc=no
  10734. fi
  10735. if test "$with_tree" = ""
  10736. then
  10737. with_tree=no
  10738. fi
  10739. if test "$with_valid" = ""
  10740. then
  10741. with_valid=no
  10742. fi
  10743. if test "$with_writer" = ""
  10744. then
  10745. with_writer=no
  10746. fi
  10747. if test "$with_xinclude" = ""
  10748. then
  10749. with_xinclude=no
  10750. fi
  10751. if test "$with_xpath" = ""
  10752. then
  10753. with_xpath=no
  10754. fi
  10755. if test "$with_xptr" = ""
  10756. then
  10757. with_xptr=no
  10758. fi
  10759. if test "$with_zlib" = ""
  10760. then
  10761. with_zlib=no
  10762. fi
  10763. if test "$with_modules" = ""
  10764. then
  10765. with_modules=no
  10766. fi
  10767. fi
  10768. echo Checking zlib
  10769. WITH_ZLIB=0
  10770. if test "$with_zlib" = "no"; then
  10771. echo "Disabling compression support"
  10772. else
  10773. for ac_header in zlib.h
  10774. do
  10775. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  10776. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  10777. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  10778. $as_echo_n "checking for $ac_header... " >&6; }
  10779. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  10780. $as_echo_n "(cached) " >&6
  10781. fi
  10782. ac_res=`eval 'as_val=${'$as_ac_Header'}
  10783. $as_echo "$as_val"'`
  10784. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  10785. $as_echo "$ac_res" >&6; }
  10786. else
  10787. # Is the header compilable?
  10788. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  10789. $as_echo_n "checking $ac_header usability... " >&6; }
  10790. cat >conftest.$ac_ext <<_ACEOF
  10791. /* confdefs.h. */
  10792. _ACEOF
  10793. cat confdefs.h >>conftest.$ac_ext
  10794. cat >>conftest.$ac_ext <<_ACEOF
  10795. /* end confdefs.h. */
  10796. $ac_includes_default
  10797. #include <$ac_header>
  10798. _ACEOF
  10799. rm -f conftest.$ac_objext
  10800. if { (ac_try="$ac_compile"
  10801. case "(($ac_try" in
  10802. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10803. *) ac_try_echo=$ac_try;;
  10804. esac
  10805. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10806. $as_echo "$ac_try_echo") >&5
  10807. (eval "$ac_compile") 2>conftest.er1
  10808. ac_status=$?
  10809. grep -v '^ *+' conftest.er1 >conftest.err
  10810. rm -f conftest.er1
  10811. cat conftest.err >&5
  10812. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10813. (exit $ac_status); } && {
  10814. test -z "$ac_c_werror_flag" ||
  10815. test ! -s conftest.err
  10816. } && test -s conftest.$ac_objext; then
  10817. ac_header_compiler=yes
  10818. else
  10819. $as_echo "$as_me: failed program was:" >&5
  10820. sed 's/^/| /' conftest.$ac_ext >&5
  10821. ac_header_compiler=no
  10822. fi
  10823. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10824. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  10825. $as_echo "$ac_header_compiler" >&6; }
  10826. # Is the header present?
  10827. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  10828. $as_echo_n "checking $ac_header presence... " >&6; }
  10829. cat >conftest.$ac_ext <<_ACEOF
  10830. /* confdefs.h. */
  10831. _ACEOF
  10832. cat confdefs.h >>conftest.$ac_ext
  10833. cat >>conftest.$ac_ext <<_ACEOF
  10834. /* end confdefs.h. */
  10835. #include <$ac_header>
  10836. _ACEOF
  10837. if { (ac_try="$ac_cpp conftest.$ac_ext"
  10838. case "(($ac_try" in
  10839. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10840. *) ac_try_echo=$ac_try;;
  10841. esac
  10842. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10843. $as_echo "$ac_try_echo") >&5
  10844. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  10845. ac_status=$?
  10846. grep -v '^ *+' conftest.er1 >conftest.err
  10847. rm -f conftest.er1
  10848. cat conftest.err >&5
  10849. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10850. (exit $ac_status); } >/dev/null && {
  10851. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  10852. test ! -s conftest.err
  10853. }; then
  10854. ac_header_preproc=yes
  10855. else
  10856. $as_echo "$as_me: failed program was:" >&5
  10857. sed 's/^/| /' conftest.$ac_ext >&5
  10858. ac_header_preproc=no
  10859. fi
  10860. rm -f conftest.err conftest.$ac_ext
  10861. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  10862. $as_echo "$ac_header_preproc" >&6; }
  10863. # So? What about this header?
  10864. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  10865. yes:no: )
  10866. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  10867. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  10868. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  10869. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  10870. ac_header_preproc=yes
  10871. ;;
  10872. no:yes:* )
  10873. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  10874. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  10875. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  10876. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  10877. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  10878. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  10879. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  10880. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  10881. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  10882. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  10883. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  10884. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  10885. ;;
  10886. esac
  10887. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  10888. $as_echo_n "checking for $ac_header... " >&6; }
  10889. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  10890. $as_echo_n "(cached) " >&6
  10891. else
  10892. eval "$as_ac_Header=\$ac_header_preproc"
  10893. fi
  10894. ac_res=`eval 'as_val=${'$as_ac_Header'}
  10895. $as_echo "$as_val"'`
  10896. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  10897. $as_echo "$ac_res" >&6; }
  10898. fi
  10899. as_val=`eval 'as_val=${'$as_ac_Header'}
  10900. $as_echo "$as_val"'`
  10901. if test "x$as_val" = x""yes; then
  10902. cat >>confdefs.h <<_ACEOF
  10903. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  10904. _ACEOF
  10905. { $as_echo "$as_me:$LINENO: checking for gzread in -lz" >&5
  10906. $as_echo_n "checking for gzread in -lz... " >&6; }
  10907. if test "${ac_cv_lib_z_gzread+set}" = set; then
  10908. $as_echo_n "(cached) " >&6
  10909. else
  10910. ac_check_lib_save_LIBS=$LIBS
  10911. LIBS="-lz $LIBS"
  10912. cat >conftest.$ac_ext <<_ACEOF
  10913. /* confdefs.h. */
  10914. _ACEOF
  10915. cat confdefs.h >>conftest.$ac_ext
  10916. cat >>conftest.$ac_ext <<_ACEOF
  10917. /* end confdefs.h. */
  10918. /* Override any GCC internal prototype to avoid an error.
  10919. Use char because int might match the return type of a GCC
  10920. builtin and then its argument prototype would still apply. */
  10921. #ifdef __cplusplus
  10922. extern "C"
  10923. #endif
  10924. char gzread ();
  10925. int
  10926. main ()
  10927. {
  10928. return gzread ();
  10929. ;
  10930. return 0;
  10931. }
  10932. _ACEOF
  10933. rm -f conftest.$ac_objext conftest$ac_exeext
  10934. if { (ac_try="$ac_link"
  10935. case "(($ac_try" in
  10936. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10937. *) ac_try_echo=$ac_try;;
  10938. esac
  10939. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10940. $as_echo "$ac_try_echo") >&5
  10941. (eval "$ac_link") 2>conftest.er1
  10942. ac_status=$?
  10943. grep -v '^ *+' conftest.er1 >conftest.err
  10944. rm -f conftest.er1
  10945. cat conftest.err >&5
  10946. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10947. (exit $ac_status); } && {
  10948. test -z "$ac_c_werror_flag" ||
  10949. test ! -s conftest.err
  10950. } && test -s conftest$ac_exeext && {
  10951. test "$cross_compiling" = yes ||
  10952. $as_test_x conftest$ac_exeext
  10953. }; then
  10954. ac_cv_lib_z_gzread=yes
  10955. else
  10956. $as_echo "$as_me: failed program was:" >&5
  10957. sed 's/^/| /' conftest.$ac_ext >&5
  10958. ac_cv_lib_z_gzread=no
  10959. fi
  10960. rm -rf conftest.dSYM
  10961. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10962. conftest$ac_exeext conftest.$ac_ext
  10963. LIBS=$ac_check_lib_save_LIBS
  10964. fi
  10965. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
  10966. $as_echo "$ac_cv_lib_z_gzread" >&6; }
  10967. if test "x$ac_cv_lib_z_gzread" = x""yes; then
  10968. cat >>confdefs.h <<\_ACEOF
  10969. #define HAVE_LIBZ 1
  10970. _ACEOF
  10971. WITH_ZLIB=1
  10972. if test "x${Z_DIR}" != "x"; then
  10973. Z_CFLAGS="-I${Z_DIR}/include"
  10974. Z_LIBS="-L${Z_DIR}/lib -lz"
  10975. case ${host} in
  10976. *-*-solaris*)
  10977. Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
  10978. ;;
  10979. esac
  10980. else
  10981. Z_LIBS="-lz"
  10982. fi
  10983. fi
  10984. fi
  10985. done
  10986. fi
  10987. CPPFLAGS=${_cppflags}
  10988. LDFLAGS=${_ldflags}
  10989. echo Checking headers
  10990. ac_header_dirent=no
  10991. for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  10992. as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  10993. { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
  10994. $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
  10995. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  10996. $as_echo_n "(cached) " >&6
  10997. else
  10998. cat >conftest.$ac_ext <<_ACEOF
  10999. /* confdefs.h. */
  11000. _ACEOF
  11001. cat confdefs.h >>conftest.$ac_ext
  11002. cat >>conftest.$ac_ext <<_ACEOF
  11003. /* end confdefs.h. */
  11004. #include <sys/types.h>
  11005. #include <$ac_hdr>
  11006. int
  11007. main ()
  11008. {
  11009. if ((DIR *) 0)
  11010. return 0;
  11011. ;
  11012. return 0;
  11013. }
  11014. _ACEOF
  11015. rm -f conftest.$ac_objext
  11016. if { (ac_try="$ac_compile"
  11017. case "(($ac_try" in
  11018. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11019. *) ac_try_echo=$ac_try;;
  11020. esac
  11021. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11022. $as_echo "$ac_try_echo") >&5
  11023. (eval "$ac_compile") 2>conftest.er1
  11024. ac_status=$?
  11025. grep -v '^ *+' conftest.er1 >conftest.err
  11026. rm -f conftest.er1
  11027. cat conftest.err >&5
  11028. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11029. (exit $ac_status); } && {
  11030. test -z "$ac_c_werror_flag" ||
  11031. test ! -s conftest.err
  11032. } && test -s conftest.$ac_objext; then
  11033. eval "$as_ac_Header=yes"
  11034. else
  11035. $as_echo "$as_me: failed program was:" >&5
  11036. sed 's/^/| /' conftest.$ac_ext >&5
  11037. eval "$as_ac_Header=no"
  11038. fi
  11039. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11040. fi
  11041. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11042. $as_echo "$as_val"'`
  11043. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11044. $as_echo "$ac_res" >&6; }
  11045. as_val=`eval 'as_val=${'$as_ac_Header'}
  11046. $as_echo "$as_val"'`
  11047. if test "x$as_val" = x""yes; then
  11048. cat >>confdefs.h <<_ACEOF
  11049. #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  11050. _ACEOF
  11051. ac_header_dirent=$ac_hdr; break
  11052. fi
  11053. done
  11054. # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  11055. if test $ac_header_dirent = dirent.h; then
  11056. { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
  11057. $as_echo_n "checking for library containing opendir... " >&6; }
  11058. if test "${ac_cv_search_opendir+set}" = set; then
  11059. $as_echo_n "(cached) " >&6
  11060. else
  11061. ac_func_search_save_LIBS=$LIBS
  11062. cat >conftest.$ac_ext <<_ACEOF
  11063. /* confdefs.h. */
  11064. _ACEOF
  11065. cat confdefs.h >>conftest.$ac_ext
  11066. cat >>conftest.$ac_ext <<_ACEOF
  11067. /* end confdefs.h. */
  11068. /* Override any GCC internal prototype to avoid an error.
  11069. Use char because int might match the return type of a GCC
  11070. builtin and then its argument prototype would still apply. */
  11071. #ifdef __cplusplus
  11072. extern "C"
  11073. #endif
  11074. char opendir ();
  11075. int
  11076. main ()
  11077. {
  11078. return opendir ();
  11079. ;
  11080. return 0;
  11081. }
  11082. _ACEOF
  11083. for ac_lib in '' dir; do
  11084. if test -z "$ac_lib"; then
  11085. ac_res="none required"
  11086. else
  11087. ac_res=-l$ac_lib
  11088. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  11089. fi
  11090. rm -f conftest.$ac_objext conftest$ac_exeext
  11091. if { (ac_try="$ac_link"
  11092. case "(($ac_try" in
  11093. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11094. *) ac_try_echo=$ac_try;;
  11095. esac
  11096. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11097. $as_echo "$ac_try_echo") >&5
  11098. (eval "$ac_link") 2>conftest.er1
  11099. ac_status=$?
  11100. grep -v '^ *+' conftest.er1 >conftest.err
  11101. rm -f conftest.er1
  11102. cat conftest.err >&5
  11103. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11104. (exit $ac_status); } && {
  11105. test -z "$ac_c_werror_flag" ||
  11106. test ! -s conftest.err
  11107. } && test -s conftest$ac_exeext && {
  11108. test "$cross_compiling" = yes ||
  11109. $as_test_x conftest$ac_exeext
  11110. }; then
  11111. ac_cv_search_opendir=$ac_res
  11112. else
  11113. $as_echo "$as_me: failed program was:" >&5
  11114. sed 's/^/| /' conftest.$ac_ext >&5
  11115. fi
  11116. rm -rf conftest.dSYM
  11117. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  11118. conftest$ac_exeext
  11119. if test "${ac_cv_search_opendir+set}" = set; then
  11120. break
  11121. fi
  11122. done
  11123. if test "${ac_cv_search_opendir+set}" = set; then
  11124. :
  11125. else
  11126. ac_cv_search_opendir=no
  11127. fi
  11128. rm conftest.$ac_ext
  11129. LIBS=$ac_func_search_save_LIBS
  11130. fi
  11131. { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  11132. $as_echo "$ac_cv_search_opendir" >&6; }
  11133. ac_res=$ac_cv_search_opendir
  11134. if test "$ac_res" != no; then
  11135. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  11136. fi
  11137. else
  11138. { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
  11139. $as_echo_n "checking for library containing opendir... " >&6; }
  11140. if test "${ac_cv_search_opendir+set}" = set; then
  11141. $as_echo_n "(cached) " >&6
  11142. else
  11143. ac_func_search_save_LIBS=$LIBS
  11144. cat >conftest.$ac_ext <<_ACEOF
  11145. /* confdefs.h. */
  11146. _ACEOF
  11147. cat confdefs.h >>conftest.$ac_ext
  11148. cat >>conftest.$ac_ext <<_ACEOF
  11149. /* end confdefs.h. */
  11150. /* Override any GCC internal prototype to avoid an error.
  11151. Use char because int might match the return type of a GCC
  11152. builtin and then its argument prototype would still apply. */
  11153. #ifdef __cplusplus
  11154. extern "C"
  11155. #endif
  11156. char opendir ();
  11157. int
  11158. main ()
  11159. {
  11160. return opendir ();
  11161. ;
  11162. return 0;
  11163. }
  11164. _ACEOF
  11165. for ac_lib in '' x; do
  11166. if test -z "$ac_lib"; then
  11167. ac_res="none required"
  11168. else
  11169. ac_res=-l$ac_lib
  11170. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  11171. fi
  11172. rm -f conftest.$ac_objext conftest$ac_exeext
  11173. if { (ac_try="$ac_link"
  11174. case "(($ac_try" in
  11175. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11176. *) ac_try_echo=$ac_try;;
  11177. esac
  11178. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11179. $as_echo "$ac_try_echo") >&5
  11180. (eval "$ac_link") 2>conftest.er1
  11181. ac_status=$?
  11182. grep -v '^ *+' conftest.er1 >conftest.err
  11183. rm -f conftest.er1
  11184. cat conftest.err >&5
  11185. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11186. (exit $ac_status); } && {
  11187. test -z "$ac_c_werror_flag" ||
  11188. test ! -s conftest.err
  11189. } && test -s conftest$ac_exeext && {
  11190. test "$cross_compiling" = yes ||
  11191. $as_test_x conftest$ac_exeext
  11192. }; then
  11193. ac_cv_search_opendir=$ac_res
  11194. else
  11195. $as_echo "$as_me: failed program was:" >&5
  11196. sed 's/^/| /' conftest.$ac_ext >&5
  11197. fi
  11198. rm -rf conftest.dSYM
  11199. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  11200. conftest$ac_exeext
  11201. if test "${ac_cv_search_opendir+set}" = set; then
  11202. break
  11203. fi
  11204. done
  11205. if test "${ac_cv_search_opendir+set}" = set; then
  11206. :
  11207. else
  11208. ac_cv_search_opendir=no
  11209. fi
  11210. rm conftest.$ac_ext
  11211. LIBS=$ac_func_search_save_LIBS
  11212. fi
  11213. { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  11214. $as_echo "$ac_cv_search_opendir" >&6; }
  11215. ac_res=$ac_cv_search_opendir
  11216. if test "$ac_res" != no; then
  11217. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  11218. fi
  11219. fi
  11220. { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  11221. $as_echo_n "checking for ANSI C header files... " >&6; }
  11222. if test "${ac_cv_header_stdc+set}" = set; then
  11223. $as_echo_n "(cached) " >&6
  11224. else
  11225. cat >conftest.$ac_ext <<_ACEOF
  11226. /* confdefs.h. */
  11227. _ACEOF
  11228. cat confdefs.h >>conftest.$ac_ext
  11229. cat >>conftest.$ac_ext <<_ACEOF
  11230. /* end confdefs.h. */
  11231. #include <stdlib.h>
  11232. #include <stdarg.h>
  11233. #include <string.h>
  11234. #include <float.h>
  11235. int
  11236. main ()
  11237. {
  11238. ;
  11239. return 0;
  11240. }
  11241. _ACEOF
  11242. rm -f conftest.$ac_objext
  11243. if { (ac_try="$ac_compile"
  11244. case "(($ac_try" in
  11245. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11246. *) ac_try_echo=$ac_try;;
  11247. esac
  11248. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11249. $as_echo "$ac_try_echo") >&5
  11250. (eval "$ac_compile") 2>conftest.er1
  11251. ac_status=$?
  11252. grep -v '^ *+' conftest.er1 >conftest.err
  11253. rm -f conftest.er1
  11254. cat conftest.err >&5
  11255. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11256. (exit $ac_status); } && {
  11257. test -z "$ac_c_werror_flag" ||
  11258. test ! -s conftest.err
  11259. } && test -s conftest.$ac_objext; then
  11260. ac_cv_header_stdc=yes
  11261. else
  11262. $as_echo "$as_me: failed program was:" >&5
  11263. sed 's/^/| /' conftest.$ac_ext >&5
  11264. ac_cv_header_stdc=no
  11265. fi
  11266. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11267. if test $ac_cv_header_stdc = yes; then
  11268. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  11269. cat >conftest.$ac_ext <<_ACEOF
  11270. /* confdefs.h. */
  11271. _ACEOF
  11272. cat confdefs.h >>conftest.$ac_ext
  11273. cat >>conftest.$ac_ext <<_ACEOF
  11274. /* end confdefs.h. */
  11275. #include <string.h>
  11276. _ACEOF
  11277. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  11278. $EGREP "memchr" >/dev/null 2>&1; then
  11279. :
  11280. else
  11281. ac_cv_header_stdc=no
  11282. fi
  11283. rm -f conftest*
  11284. fi
  11285. if test $ac_cv_header_stdc = yes; then
  11286. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  11287. cat >conftest.$ac_ext <<_ACEOF
  11288. /* confdefs.h. */
  11289. _ACEOF
  11290. cat confdefs.h >>conftest.$ac_ext
  11291. cat >>conftest.$ac_ext <<_ACEOF
  11292. /* end confdefs.h. */
  11293. #include <stdlib.h>
  11294. _ACEOF
  11295. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  11296. $EGREP "free" >/dev/null 2>&1; then
  11297. :
  11298. else
  11299. ac_cv_header_stdc=no
  11300. fi
  11301. rm -f conftest*
  11302. fi
  11303. if test $ac_cv_header_stdc = yes; then
  11304. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  11305. if test "$cross_compiling" = yes; then
  11306. :
  11307. else
  11308. cat >conftest.$ac_ext <<_ACEOF
  11309. /* confdefs.h. */
  11310. _ACEOF
  11311. cat confdefs.h >>conftest.$ac_ext
  11312. cat >>conftest.$ac_ext <<_ACEOF
  11313. /* end confdefs.h. */
  11314. #include <ctype.h>
  11315. #include <stdlib.h>
  11316. #if ((' ' & 0x0FF) == 0x020)
  11317. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  11318. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  11319. #else
  11320. # define ISLOWER(c) \
  11321. (('a' <= (c) && (c) <= 'i') \
  11322. || ('j' <= (c) && (c) <= 'r') \
  11323. || ('s' <= (c) && (c) <= 'z'))
  11324. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  11325. #endif
  11326. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  11327. int
  11328. main ()
  11329. {
  11330. int i;
  11331. for (i = 0; i < 256; i++)
  11332. if (XOR (islower (i), ISLOWER (i))
  11333. || toupper (i) != TOUPPER (i))
  11334. return 2;
  11335. return 0;
  11336. }
  11337. _ACEOF
  11338. rm -f conftest$ac_exeext
  11339. if { (ac_try="$ac_link"
  11340. case "(($ac_try" in
  11341. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11342. *) ac_try_echo=$ac_try;;
  11343. esac
  11344. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11345. $as_echo "$ac_try_echo") >&5
  11346. (eval "$ac_link") 2>&5
  11347. ac_status=$?
  11348. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11349. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  11350. { (case "(($ac_try" in
  11351. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11352. *) ac_try_echo=$ac_try;;
  11353. esac
  11354. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11355. $as_echo "$ac_try_echo") >&5
  11356. (eval "$ac_try") 2>&5
  11357. ac_status=$?
  11358. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11359. (exit $ac_status); }; }; then
  11360. :
  11361. else
  11362. $as_echo "$as_me: program exited with status $ac_status" >&5
  11363. $as_echo "$as_me: failed program was:" >&5
  11364. sed 's/^/| /' conftest.$ac_ext >&5
  11365. ( exit $ac_status )
  11366. ac_cv_header_stdc=no
  11367. fi
  11368. rm -rf conftest.dSYM
  11369. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  11370. fi
  11371. fi
  11372. fi
  11373. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  11374. $as_echo "$ac_cv_header_stdc" >&6; }
  11375. if test $ac_cv_header_stdc = yes; then
  11376. cat >>confdefs.h <<\_ACEOF
  11377. #define STDC_HEADERS 1
  11378. _ACEOF
  11379. fi
  11380. for ac_header in fcntl.h
  11381. do
  11382. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11383. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11384. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11385. $as_echo_n "checking for $ac_header... " >&6; }
  11386. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11387. $as_echo_n "(cached) " >&6
  11388. fi
  11389. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11390. $as_echo "$as_val"'`
  11391. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11392. $as_echo "$ac_res" >&6; }
  11393. else
  11394. # Is the header compilable?
  11395. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11396. $as_echo_n "checking $ac_header usability... " >&6; }
  11397. cat >conftest.$ac_ext <<_ACEOF
  11398. /* confdefs.h. */
  11399. _ACEOF
  11400. cat confdefs.h >>conftest.$ac_ext
  11401. cat >>conftest.$ac_ext <<_ACEOF
  11402. /* end confdefs.h. */
  11403. $ac_includes_default
  11404. #include <$ac_header>
  11405. _ACEOF
  11406. rm -f conftest.$ac_objext
  11407. if { (ac_try="$ac_compile"
  11408. case "(($ac_try" in
  11409. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11410. *) ac_try_echo=$ac_try;;
  11411. esac
  11412. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11413. $as_echo "$ac_try_echo") >&5
  11414. (eval "$ac_compile") 2>conftest.er1
  11415. ac_status=$?
  11416. grep -v '^ *+' conftest.er1 >conftest.err
  11417. rm -f conftest.er1
  11418. cat conftest.err >&5
  11419. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11420. (exit $ac_status); } && {
  11421. test -z "$ac_c_werror_flag" ||
  11422. test ! -s conftest.err
  11423. } && test -s conftest.$ac_objext; then
  11424. ac_header_compiler=yes
  11425. else
  11426. $as_echo "$as_me: failed program was:" >&5
  11427. sed 's/^/| /' conftest.$ac_ext >&5
  11428. ac_header_compiler=no
  11429. fi
  11430. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11431. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11432. $as_echo "$ac_header_compiler" >&6; }
  11433. # Is the header present?
  11434. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11435. $as_echo_n "checking $ac_header presence... " >&6; }
  11436. cat >conftest.$ac_ext <<_ACEOF
  11437. /* confdefs.h. */
  11438. _ACEOF
  11439. cat confdefs.h >>conftest.$ac_ext
  11440. cat >>conftest.$ac_ext <<_ACEOF
  11441. /* end confdefs.h. */
  11442. #include <$ac_header>
  11443. _ACEOF
  11444. if { (ac_try="$ac_cpp conftest.$ac_ext"
  11445. case "(($ac_try" in
  11446. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11447. *) ac_try_echo=$ac_try;;
  11448. esac
  11449. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11450. $as_echo "$ac_try_echo") >&5
  11451. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11452. ac_status=$?
  11453. grep -v '^ *+' conftest.er1 >conftest.err
  11454. rm -f conftest.er1
  11455. cat conftest.err >&5
  11456. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11457. (exit $ac_status); } >/dev/null && {
  11458. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11459. test ! -s conftest.err
  11460. }; then
  11461. ac_header_preproc=yes
  11462. else
  11463. $as_echo "$as_me: failed program was:" >&5
  11464. sed 's/^/| /' conftest.$ac_ext >&5
  11465. ac_header_preproc=no
  11466. fi
  11467. rm -f conftest.err conftest.$ac_ext
  11468. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11469. $as_echo "$ac_header_preproc" >&6; }
  11470. # So? What about this header?
  11471. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  11472. yes:no: )
  11473. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  11474. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  11475. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  11476. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  11477. ac_header_preproc=yes
  11478. ;;
  11479. no:yes:* )
  11480. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  11481. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  11482. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  11483. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  11484. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  11485. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  11486. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  11487. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  11488. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  11489. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  11490. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  11491. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  11492. ;;
  11493. esac
  11494. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11495. $as_echo_n "checking for $ac_header... " >&6; }
  11496. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11497. $as_echo_n "(cached) " >&6
  11498. else
  11499. eval "$as_ac_Header=\$ac_header_preproc"
  11500. fi
  11501. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11502. $as_echo "$as_val"'`
  11503. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11504. $as_echo "$ac_res" >&6; }
  11505. fi
  11506. as_val=`eval 'as_val=${'$as_ac_Header'}
  11507. $as_echo "$as_val"'`
  11508. if test "x$as_val" = x""yes; then
  11509. cat >>confdefs.h <<_ACEOF
  11510. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11511. _ACEOF
  11512. fi
  11513. done
  11514. for ac_header in unistd.h
  11515. do
  11516. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11517. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11518. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11519. $as_echo_n "checking for $ac_header... " >&6; }
  11520. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11521. $as_echo_n "(cached) " >&6
  11522. fi
  11523. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11524. $as_echo "$as_val"'`
  11525. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11526. $as_echo "$ac_res" >&6; }
  11527. else
  11528. # Is the header compilable?
  11529. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11530. $as_echo_n "checking $ac_header usability... " >&6; }
  11531. cat >conftest.$ac_ext <<_ACEOF
  11532. /* confdefs.h. */
  11533. _ACEOF
  11534. cat confdefs.h >>conftest.$ac_ext
  11535. cat >>conftest.$ac_ext <<_ACEOF
  11536. /* end confdefs.h. */
  11537. $ac_includes_default
  11538. #include <$ac_header>
  11539. _ACEOF
  11540. rm -f conftest.$ac_objext
  11541. if { (ac_try="$ac_compile"
  11542. case "(($ac_try" in
  11543. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11544. *) ac_try_echo=$ac_try;;
  11545. esac
  11546. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11547. $as_echo "$ac_try_echo") >&5
  11548. (eval "$ac_compile") 2>conftest.er1
  11549. ac_status=$?
  11550. grep -v '^ *+' conftest.er1 >conftest.err
  11551. rm -f conftest.er1
  11552. cat conftest.err >&5
  11553. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11554. (exit $ac_status); } && {
  11555. test -z "$ac_c_werror_flag" ||
  11556. test ! -s conftest.err
  11557. } && test -s conftest.$ac_objext; then
  11558. ac_header_compiler=yes
  11559. else
  11560. $as_echo "$as_me: failed program was:" >&5
  11561. sed 's/^/| /' conftest.$ac_ext >&5
  11562. ac_header_compiler=no
  11563. fi
  11564. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11565. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11566. $as_echo "$ac_header_compiler" >&6; }
  11567. # Is the header present?
  11568. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11569. $as_echo_n "checking $ac_header presence... " >&6; }
  11570. cat >conftest.$ac_ext <<_ACEOF
  11571. /* confdefs.h. */
  11572. _ACEOF
  11573. cat confdefs.h >>conftest.$ac_ext
  11574. cat >>conftest.$ac_ext <<_ACEOF
  11575. /* end confdefs.h. */
  11576. #include <$ac_header>
  11577. _ACEOF
  11578. if { (ac_try="$ac_cpp conftest.$ac_ext"
  11579. case "(($ac_try" in
  11580. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11581. *) ac_try_echo=$ac_try;;
  11582. esac
  11583. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11584. $as_echo "$ac_try_echo") >&5
  11585. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11586. ac_status=$?
  11587. grep -v '^ *+' conftest.er1 >conftest.err
  11588. rm -f conftest.er1
  11589. cat conftest.err >&5
  11590. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11591. (exit $ac_status); } >/dev/null && {
  11592. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11593. test ! -s conftest.err
  11594. }; then
  11595. ac_header_preproc=yes
  11596. else
  11597. $as_echo "$as_me: failed program was:" >&5
  11598. sed 's/^/| /' conftest.$ac_ext >&5
  11599. ac_header_preproc=no
  11600. fi
  11601. rm -f conftest.err conftest.$ac_ext
  11602. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11603. $as_echo "$ac_header_preproc" >&6; }
  11604. # So? What about this header?
  11605. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  11606. yes:no: )
  11607. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  11608. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  11609. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  11610. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  11611. ac_header_preproc=yes
  11612. ;;
  11613. no:yes:* )
  11614. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  11615. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  11616. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  11617. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  11618. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  11619. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  11620. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  11621. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  11622. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  11623. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  11624. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  11625. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  11626. ;;
  11627. esac
  11628. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11629. $as_echo_n "checking for $ac_header... " >&6; }
  11630. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11631. $as_echo_n "(cached) " >&6
  11632. else
  11633. eval "$as_ac_Header=\$ac_header_preproc"
  11634. fi
  11635. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11636. $as_echo "$as_val"'`
  11637. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11638. $as_echo "$ac_res" >&6; }
  11639. fi
  11640. as_val=`eval 'as_val=${'$as_ac_Header'}
  11641. $as_echo "$as_val"'`
  11642. if test "x$as_val" = x""yes; then
  11643. cat >>confdefs.h <<_ACEOF
  11644. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11645. _ACEOF
  11646. fi
  11647. done
  11648. for ac_header in ctype.h
  11649. do
  11650. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11651. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11652. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11653. $as_echo_n "checking for $ac_header... " >&6; }
  11654. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11655. $as_echo_n "(cached) " >&6
  11656. fi
  11657. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11658. $as_echo "$as_val"'`
  11659. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11660. $as_echo "$ac_res" >&6; }
  11661. else
  11662. # Is the header compilable?
  11663. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11664. $as_echo_n "checking $ac_header usability... " >&6; }
  11665. cat >conftest.$ac_ext <<_ACEOF
  11666. /* confdefs.h. */
  11667. _ACEOF
  11668. cat confdefs.h >>conftest.$ac_ext
  11669. cat >>conftest.$ac_ext <<_ACEOF
  11670. /* end confdefs.h. */
  11671. $ac_includes_default
  11672. #include <$ac_header>
  11673. _ACEOF
  11674. rm -f conftest.$ac_objext
  11675. if { (ac_try="$ac_compile"
  11676. case "(($ac_try" in
  11677. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11678. *) ac_try_echo=$ac_try;;
  11679. esac
  11680. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11681. $as_echo "$ac_try_echo") >&5
  11682. (eval "$ac_compile") 2>conftest.er1
  11683. ac_status=$?
  11684. grep -v '^ *+' conftest.er1 >conftest.err
  11685. rm -f conftest.er1
  11686. cat conftest.err >&5
  11687. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11688. (exit $ac_status); } && {
  11689. test -z "$ac_c_werror_flag" ||
  11690. test ! -s conftest.err
  11691. } && test -s conftest.$ac_objext; then
  11692. ac_header_compiler=yes
  11693. else
  11694. $as_echo "$as_me: failed program was:" >&5
  11695. sed 's/^/| /' conftest.$ac_ext >&5
  11696. ac_header_compiler=no
  11697. fi
  11698. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11699. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11700. $as_echo "$ac_header_compiler" >&6; }
  11701. # Is the header present?
  11702. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11703. $as_echo_n "checking $ac_header presence... " >&6; }
  11704. cat >conftest.$ac_ext <<_ACEOF
  11705. /* confdefs.h. */
  11706. _ACEOF
  11707. cat confdefs.h >>conftest.$ac_ext
  11708. cat >>conftest.$ac_ext <<_ACEOF
  11709. /* end confdefs.h. */
  11710. #include <$ac_header>
  11711. _ACEOF
  11712. if { (ac_try="$ac_cpp conftest.$ac_ext"
  11713. case "(($ac_try" in
  11714. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11715. *) ac_try_echo=$ac_try;;
  11716. esac
  11717. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11718. $as_echo "$ac_try_echo") >&5
  11719. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11720. ac_status=$?
  11721. grep -v '^ *+' conftest.er1 >conftest.err
  11722. rm -f conftest.er1
  11723. cat conftest.err >&5
  11724. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11725. (exit $ac_status); } >/dev/null && {
  11726. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11727. test ! -s conftest.err
  11728. }; then
  11729. ac_header_preproc=yes
  11730. else
  11731. $as_echo "$as_me: failed program was:" >&5
  11732. sed 's/^/| /' conftest.$ac_ext >&5
  11733. ac_header_preproc=no
  11734. fi
  11735. rm -f conftest.err conftest.$ac_ext
  11736. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11737. $as_echo "$ac_header_preproc" >&6; }
  11738. # So? What about this header?
  11739. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  11740. yes:no: )
  11741. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  11742. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  11743. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  11744. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  11745. ac_header_preproc=yes
  11746. ;;
  11747. no:yes:* )
  11748. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  11749. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  11750. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  11751. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  11752. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  11753. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  11754. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  11755. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  11756. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  11757. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  11758. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  11759. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  11760. ;;
  11761. esac
  11762. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11763. $as_echo_n "checking for $ac_header... " >&6; }
  11764. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11765. $as_echo_n "(cached) " >&6
  11766. else
  11767. eval "$as_ac_Header=\$ac_header_preproc"
  11768. fi
  11769. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11770. $as_echo "$as_val"'`
  11771. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11772. $as_echo "$ac_res" >&6; }
  11773. fi
  11774. as_val=`eval 'as_val=${'$as_ac_Header'}
  11775. $as_echo "$as_val"'`
  11776. if test "x$as_val" = x""yes; then
  11777. cat >>confdefs.h <<_ACEOF
  11778. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11779. _ACEOF
  11780. fi
  11781. done
  11782. for ac_header in dirent.h
  11783. do
  11784. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11785. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11786. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11787. $as_echo_n "checking for $ac_header... " >&6; }
  11788. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11789. $as_echo_n "(cached) " >&6
  11790. fi
  11791. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11792. $as_echo "$as_val"'`
  11793. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11794. $as_echo "$ac_res" >&6; }
  11795. else
  11796. # Is the header compilable?
  11797. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11798. $as_echo_n "checking $ac_header usability... " >&6; }
  11799. cat >conftest.$ac_ext <<_ACEOF
  11800. /* confdefs.h. */
  11801. _ACEOF
  11802. cat confdefs.h >>conftest.$ac_ext
  11803. cat >>conftest.$ac_ext <<_ACEOF
  11804. /* end confdefs.h. */
  11805. $ac_includes_default
  11806. #include <$ac_header>
  11807. _ACEOF
  11808. rm -f conftest.$ac_objext
  11809. if { (ac_try="$ac_compile"
  11810. case "(($ac_try" in
  11811. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11812. *) ac_try_echo=$ac_try;;
  11813. esac
  11814. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11815. $as_echo "$ac_try_echo") >&5
  11816. (eval "$ac_compile") 2>conftest.er1
  11817. ac_status=$?
  11818. grep -v '^ *+' conftest.er1 >conftest.err
  11819. rm -f conftest.er1
  11820. cat conftest.err >&5
  11821. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11822. (exit $ac_status); } && {
  11823. test -z "$ac_c_werror_flag" ||
  11824. test ! -s conftest.err
  11825. } && test -s conftest.$ac_objext; then
  11826. ac_header_compiler=yes
  11827. else
  11828. $as_echo "$as_me: failed program was:" >&5
  11829. sed 's/^/| /' conftest.$ac_ext >&5
  11830. ac_header_compiler=no
  11831. fi
  11832. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11833. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11834. $as_echo "$ac_header_compiler" >&6; }
  11835. # Is the header present?
  11836. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11837. $as_echo_n "checking $ac_header presence... " >&6; }
  11838. cat >conftest.$ac_ext <<_ACEOF
  11839. /* confdefs.h. */
  11840. _ACEOF
  11841. cat confdefs.h >>conftest.$ac_ext
  11842. cat >>conftest.$ac_ext <<_ACEOF
  11843. /* end confdefs.h. */
  11844. #include <$ac_header>
  11845. _ACEOF
  11846. if { (ac_try="$ac_cpp conftest.$ac_ext"
  11847. case "(($ac_try" in
  11848. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11849. *) ac_try_echo=$ac_try;;
  11850. esac
  11851. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11852. $as_echo "$ac_try_echo") >&5
  11853. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11854. ac_status=$?
  11855. grep -v '^ *+' conftest.er1 >conftest.err
  11856. rm -f conftest.er1
  11857. cat conftest.err >&5
  11858. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11859. (exit $ac_status); } >/dev/null && {
  11860. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11861. test ! -s conftest.err
  11862. }; then
  11863. ac_header_preproc=yes
  11864. else
  11865. $as_echo "$as_me: failed program was:" >&5
  11866. sed 's/^/| /' conftest.$ac_ext >&5
  11867. ac_header_preproc=no
  11868. fi
  11869. rm -f conftest.err conftest.$ac_ext
  11870. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11871. $as_echo "$ac_header_preproc" >&6; }
  11872. # So? What about this header?
  11873. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  11874. yes:no: )
  11875. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  11876. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  11877. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  11878. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  11879. ac_header_preproc=yes
  11880. ;;
  11881. no:yes:* )
  11882. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  11883. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  11884. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  11885. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  11886. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  11887. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  11888. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  11889. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  11890. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  11891. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  11892. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  11893. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  11894. ;;
  11895. esac
  11896. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11897. $as_echo_n "checking for $ac_header... " >&6; }
  11898. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11899. $as_echo_n "(cached) " >&6
  11900. else
  11901. eval "$as_ac_Header=\$ac_header_preproc"
  11902. fi
  11903. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11904. $as_echo "$as_val"'`
  11905. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11906. $as_echo "$ac_res" >&6; }
  11907. fi
  11908. as_val=`eval 'as_val=${'$as_ac_Header'}
  11909. $as_echo "$as_val"'`
  11910. if test "x$as_val" = x""yes; then
  11911. cat >>confdefs.h <<_ACEOF
  11912. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11913. _ACEOF
  11914. fi
  11915. done
  11916. for ac_header in errno.h
  11917. do
  11918. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11919. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11920. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11921. $as_echo_n "checking for $ac_header... " >&6; }
  11922. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11923. $as_echo_n "(cached) " >&6
  11924. fi
  11925. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11926. $as_echo "$as_val"'`
  11927. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11928. $as_echo "$ac_res" >&6; }
  11929. else
  11930. # Is the header compilable?
  11931. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11932. $as_echo_n "checking $ac_header usability... " >&6; }
  11933. cat >conftest.$ac_ext <<_ACEOF
  11934. /* confdefs.h. */
  11935. _ACEOF
  11936. cat confdefs.h >>conftest.$ac_ext
  11937. cat >>conftest.$ac_ext <<_ACEOF
  11938. /* end confdefs.h. */
  11939. $ac_includes_default
  11940. #include <$ac_header>
  11941. _ACEOF
  11942. rm -f conftest.$ac_objext
  11943. if { (ac_try="$ac_compile"
  11944. case "(($ac_try" in
  11945. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11946. *) ac_try_echo=$ac_try;;
  11947. esac
  11948. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11949. $as_echo "$ac_try_echo") >&5
  11950. (eval "$ac_compile") 2>conftest.er1
  11951. ac_status=$?
  11952. grep -v '^ *+' conftest.er1 >conftest.err
  11953. rm -f conftest.er1
  11954. cat conftest.err >&5
  11955. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11956. (exit $ac_status); } && {
  11957. test -z "$ac_c_werror_flag" ||
  11958. test ! -s conftest.err
  11959. } && test -s conftest.$ac_objext; then
  11960. ac_header_compiler=yes
  11961. else
  11962. $as_echo "$as_me: failed program was:" >&5
  11963. sed 's/^/| /' conftest.$ac_ext >&5
  11964. ac_header_compiler=no
  11965. fi
  11966. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11967. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11968. $as_echo "$ac_header_compiler" >&6; }
  11969. # Is the header present?
  11970. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11971. $as_echo_n "checking $ac_header presence... " >&6; }
  11972. cat >conftest.$ac_ext <<_ACEOF
  11973. /* confdefs.h. */
  11974. _ACEOF
  11975. cat confdefs.h >>conftest.$ac_ext
  11976. cat >>conftest.$ac_ext <<_ACEOF
  11977. /* end confdefs.h. */
  11978. #include <$ac_header>
  11979. _ACEOF
  11980. if { (ac_try="$ac_cpp conftest.$ac_ext"
  11981. case "(($ac_try" in
  11982. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11983. *) ac_try_echo=$ac_try;;
  11984. esac
  11985. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11986. $as_echo "$ac_try_echo") >&5
  11987. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11988. ac_status=$?
  11989. grep -v '^ *+' conftest.er1 >conftest.err
  11990. rm -f conftest.er1
  11991. cat conftest.err >&5
  11992. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11993. (exit $ac_status); } >/dev/null && {
  11994. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11995. test ! -s conftest.err
  11996. }; then
  11997. ac_header_preproc=yes
  11998. else
  11999. $as_echo "$as_me: failed program was:" >&5
  12000. sed 's/^/| /' conftest.$ac_ext >&5
  12001. ac_header_preproc=no
  12002. fi
  12003. rm -f conftest.err conftest.$ac_ext
  12004. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12005. $as_echo "$ac_header_preproc" >&6; }
  12006. # So? What about this header?
  12007. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12008. yes:no: )
  12009. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12010. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12011. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12012. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12013. ac_header_preproc=yes
  12014. ;;
  12015. no:yes:* )
  12016. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12017. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12018. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12019. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12020. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12021. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12022. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12023. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12024. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12025. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12026. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12027. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12028. ;;
  12029. esac
  12030. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12031. $as_echo_n "checking for $ac_header... " >&6; }
  12032. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12033. $as_echo_n "(cached) " >&6
  12034. else
  12035. eval "$as_ac_Header=\$ac_header_preproc"
  12036. fi
  12037. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12038. $as_echo "$as_val"'`
  12039. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12040. $as_echo "$ac_res" >&6; }
  12041. fi
  12042. as_val=`eval 'as_val=${'$as_ac_Header'}
  12043. $as_echo "$as_val"'`
  12044. if test "x$as_val" = x""yes; then
  12045. cat >>confdefs.h <<_ACEOF
  12046. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12047. _ACEOF
  12048. fi
  12049. done
  12050. for ac_header in malloc.h
  12051. do
  12052. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12053. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12054. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12055. $as_echo_n "checking for $ac_header... " >&6; }
  12056. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12057. $as_echo_n "(cached) " >&6
  12058. fi
  12059. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12060. $as_echo "$as_val"'`
  12061. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12062. $as_echo "$ac_res" >&6; }
  12063. else
  12064. # Is the header compilable?
  12065. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12066. $as_echo_n "checking $ac_header usability... " >&6; }
  12067. cat >conftest.$ac_ext <<_ACEOF
  12068. /* confdefs.h. */
  12069. _ACEOF
  12070. cat confdefs.h >>conftest.$ac_ext
  12071. cat >>conftest.$ac_ext <<_ACEOF
  12072. /* end confdefs.h. */
  12073. $ac_includes_default
  12074. #include <$ac_header>
  12075. _ACEOF
  12076. rm -f conftest.$ac_objext
  12077. if { (ac_try="$ac_compile"
  12078. case "(($ac_try" in
  12079. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12080. *) ac_try_echo=$ac_try;;
  12081. esac
  12082. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12083. $as_echo "$ac_try_echo") >&5
  12084. (eval "$ac_compile") 2>conftest.er1
  12085. ac_status=$?
  12086. grep -v '^ *+' conftest.er1 >conftest.err
  12087. rm -f conftest.er1
  12088. cat conftest.err >&5
  12089. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12090. (exit $ac_status); } && {
  12091. test -z "$ac_c_werror_flag" ||
  12092. test ! -s conftest.err
  12093. } && test -s conftest.$ac_objext; then
  12094. ac_header_compiler=yes
  12095. else
  12096. $as_echo "$as_me: failed program was:" >&5
  12097. sed 's/^/| /' conftest.$ac_ext >&5
  12098. ac_header_compiler=no
  12099. fi
  12100. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12101. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12102. $as_echo "$ac_header_compiler" >&6; }
  12103. # Is the header present?
  12104. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12105. $as_echo_n "checking $ac_header presence... " >&6; }
  12106. cat >conftest.$ac_ext <<_ACEOF
  12107. /* confdefs.h. */
  12108. _ACEOF
  12109. cat confdefs.h >>conftest.$ac_ext
  12110. cat >>conftest.$ac_ext <<_ACEOF
  12111. /* end confdefs.h. */
  12112. #include <$ac_header>
  12113. _ACEOF
  12114. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12115. case "(($ac_try" in
  12116. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12117. *) ac_try_echo=$ac_try;;
  12118. esac
  12119. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12120. $as_echo "$ac_try_echo") >&5
  12121. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12122. ac_status=$?
  12123. grep -v '^ *+' conftest.er1 >conftest.err
  12124. rm -f conftest.er1
  12125. cat conftest.err >&5
  12126. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12127. (exit $ac_status); } >/dev/null && {
  12128. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12129. test ! -s conftest.err
  12130. }; then
  12131. ac_header_preproc=yes
  12132. else
  12133. $as_echo "$as_me: failed program was:" >&5
  12134. sed 's/^/| /' conftest.$ac_ext >&5
  12135. ac_header_preproc=no
  12136. fi
  12137. rm -f conftest.err conftest.$ac_ext
  12138. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12139. $as_echo "$ac_header_preproc" >&6; }
  12140. # So? What about this header?
  12141. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12142. yes:no: )
  12143. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12144. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12145. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12146. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12147. ac_header_preproc=yes
  12148. ;;
  12149. no:yes:* )
  12150. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12151. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12152. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12153. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12154. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12155. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12156. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12157. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12158. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12159. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12160. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12161. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12162. ;;
  12163. esac
  12164. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12165. $as_echo_n "checking for $ac_header... " >&6; }
  12166. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12167. $as_echo_n "(cached) " >&6
  12168. else
  12169. eval "$as_ac_Header=\$ac_header_preproc"
  12170. fi
  12171. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12172. $as_echo "$as_val"'`
  12173. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12174. $as_echo "$ac_res" >&6; }
  12175. fi
  12176. as_val=`eval 'as_val=${'$as_ac_Header'}
  12177. $as_echo "$as_val"'`
  12178. if test "x$as_val" = x""yes; then
  12179. cat >>confdefs.h <<_ACEOF
  12180. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12181. _ACEOF
  12182. fi
  12183. done
  12184. for ac_header in stdarg.h
  12185. do
  12186. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12187. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12188. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12189. $as_echo_n "checking for $ac_header... " >&6; }
  12190. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12191. $as_echo_n "(cached) " >&6
  12192. fi
  12193. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12194. $as_echo "$as_val"'`
  12195. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12196. $as_echo "$ac_res" >&6; }
  12197. else
  12198. # Is the header compilable?
  12199. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12200. $as_echo_n "checking $ac_header usability... " >&6; }
  12201. cat >conftest.$ac_ext <<_ACEOF
  12202. /* confdefs.h. */
  12203. _ACEOF
  12204. cat confdefs.h >>conftest.$ac_ext
  12205. cat >>conftest.$ac_ext <<_ACEOF
  12206. /* end confdefs.h. */
  12207. $ac_includes_default
  12208. #include <$ac_header>
  12209. _ACEOF
  12210. rm -f conftest.$ac_objext
  12211. if { (ac_try="$ac_compile"
  12212. case "(($ac_try" in
  12213. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12214. *) ac_try_echo=$ac_try;;
  12215. esac
  12216. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12217. $as_echo "$ac_try_echo") >&5
  12218. (eval "$ac_compile") 2>conftest.er1
  12219. ac_status=$?
  12220. grep -v '^ *+' conftest.er1 >conftest.err
  12221. rm -f conftest.er1
  12222. cat conftest.err >&5
  12223. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12224. (exit $ac_status); } && {
  12225. test -z "$ac_c_werror_flag" ||
  12226. test ! -s conftest.err
  12227. } && test -s conftest.$ac_objext; then
  12228. ac_header_compiler=yes
  12229. else
  12230. $as_echo "$as_me: failed program was:" >&5
  12231. sed 's/^/| /' conftest.$ac_ext >&5
  12232. ac_header_compiler=no
  12233. fi
  12234. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12235. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12236. $as_echo "$ac_header_compiler" >&6; }
  12237. # Is the header present?
  12238. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12239. $as_echo_n "checking $ac_header presence... " >&6; }
  12240. cat >conftest.$ac_ext <<_ACEOF
  12241. /* confdefs.h. */
  12242. _ACEOF
  12243. cat confdefs.h >>conftest.$ac_ext
  12244. cat >>conftest.$ac_ext <<_ACEOF
  12245. /* end confdefs.h. */
  12246. #include <$ac_header>
  12247. _ACEOF
  12248. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12249. case "(($ac_try" in
  12250. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12251. *) ac_try_echo=$ac_try;;
  12252. esac
  12253. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12254. $as_echo "$ac_try_echo") >&5
  12255. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12256. ac_status=$?
  12257. grep -v '^ *+' conftest.er1 >conftest.err
  12258. rm -f conftest.er1
  12259. cat conftest.err >&5
  12260. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12261. (exit $ac_status); } >/dev/null && {
  12262. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12263. test ! -s conftest.err
  12264. }; then
  12265. ac_header_preproc=yes
  12266. else
  12267. $as_echo "$as_me: failed program was:" >&5
  12268. sed 's/^/| /' conftest.$ac_ext >&5
  12269. ac_header_preproc=no
  12270. fi
  12271. rm -f conftest.err conftest.$ac_ext
  12272. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12273. $as_echo "$ac_header_preproc" >&6; }
  12274. # So? What about this header?
  12275. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12276. yes:no: )
  12277. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12278. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12279. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12280. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12281. ac_header_preproc=yes
  12282. ;;
  12283. no:yes:* )
  12284. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12285. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12286. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12287. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12288. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12289. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12290. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12291. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12292. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12293. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12294. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12295. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12296. ;;
  12297. esac
  12298. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12299. $as_echo_n "checking for $ac_header... " >&6; }
  12300. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12301. $as_echo_n "(cached) " >&6
  12302. else
  12303. eval "$as_ac_Header=\$ac_header_preproc"
  12304. fi
  12305. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12306. $as_echo "$as_val"'`
  12307. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12308. $as_echo "$ac_res" >&6; }
  12309. fi
  12310. as_val=`eval 'as_val=${'$as_ac_Header'}
  12311. $as_echo "$as_val"'`
  12312. if test "x$as_val" = x""yes; then
  12313. cat >>confdefs.h <<_ACEOF
  12314. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12315. _ACEOF
  12316. fi
  12317. done
  12318. for ac_header in sys/stat.h
  12319. do
  12320. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12321. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12322. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12323. $as_echo_n "checking for $ac_header... " >&6; }
  12324. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12325. $as_echo_n "(cached) " >&6
  12326. fi
  12327. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12328. $as_echo "$as_val"'`
  12329. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12330. $as_echo "$ac_res" >&6; }
  12331. else
  12332. # Is the header compilable?
  12333. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12334. $as_echo_n "checking $ac_header usability... " >&6; }
  12335. cat >conftest.$ac_ext <<_ACEOF
  12336. /* confdefs.h. */
  12337. _ACEOF
  12338. cat confdefs.h >>conftest.$ac_ext
  12339. cat >>conftest.$ac_ext <<_ACEOF
  12340. /* end confdefs.h. */
  12341. $ac_includes_default
  12342. #include <$ac_header>
  12343. _ACEOF
  12344. rm -f conftest.$ac_objext
  12345. if { (ac_try="$ac_compile"
  12346. case "(($ac_try" in
  12347. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12348. *) ac_try_echo=$ac_try;;
  12349. esac
  12350. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12351. $as_echo "$ac_try_echo") >&5
  12352. (eval "$ac_compile") 2>conftest.er1
  12353. ac_status=$?
  12354. grep -v '^ *+' conftest.er1 >conftest.err
  12355. rm -f conftest.er1
  12356. cat conftest.err >&5
  12357. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12358. (exit $ac_status); } && {
  12359. test -z "$ac_c_werror_flag" ||
  12360. test ! -s conftest.err
  12361. } && test -s conftest.$ac_objext; then
  12362. ac_header_compiler=yes
  12363. else
  12364. $as_echo "$as_me: failed program was:" >&5
  12365. sed 's/^/| /' conftest.$ac_ext >&5
  12366. ac_header_compiler=no
  12367. fi
  12368. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12369. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12370. $as_echo "$ac_header_compiler" >&6; }
  12371. # Is the header present?
  12372. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12373. $as_echo_n "checking $ac_header presence... " >&6; }
  12374. cat >conftest.$ac_ext <<_ACEOF
  12375. /* confdefs.h. */
  12376. _ACEOF
  12377. cat confdefs.h >>conftest.$ac_ext
  12378. cat >>conftest.$ac_ext <<_ACEOF
  12379. /* end confdefs.h. */
  12380. #include <$ac_header>
  12381. _ACEOF
  12382. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12383. case "(($ac_try" in
  12384. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12385. *) ac_try_echo=$ac_try;;
  12386. esac
  12387. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12388. $as_echo "$ac_try_echo") >&5
  12389. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12390. ac_status=$?
  12391. grep -v '^ *+' conftest.er1 >conftest.err
  12392. rm -f conftest.er1
  12393. cat conftest.err >&5
  12394. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12395. (exit $ac_status); } >/dev/null && {
  12396. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12397. test ! -s conftest.err
  12398. }; then
  12399. ac_header_preproc=yes
  12400. else
  12401. $as_echo "$as_me: failed program was:" >&5
  12402. sed 's/^/| /' conftest.$ac_ext >&5
  12403. ac_header_preproc=no
  12404. fi
  12405. rm -f conftest.err conftest.$ac_ext
  12406. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12407. $as_echo "$ac_header_preproc" >&6; }
  12408. # So? What about this header?
  12409. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12410. yes:no: )
  12411. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12412. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12413. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12414. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12415. ac_header_preproc=yes
  12416. ;;
  12417. no:yes:* )
  12418. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12419. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12420. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12421. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12422. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12423. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12424. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12425. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12426. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12427. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12428. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12429. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12430. ;;
  12431. esac
  12432. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12433. $as_echo_n "checking for $ac_header... " >&6; }
  12434. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12435. $as_echo_n "(cached) " >&6
  12436. else
  12437. eval "$as_ac_Header=\$ac_header_preproc"
  12438. fi
  12439. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12440. $as_echo "$as_val"'`
  12441. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12442. $as_echo "$ac_res" >&6; }
  12443. fi
  12444. as_val=`eval 'as_val=${'$as_ac_Header'}
  12445. $as_echo "$as_val"'`
  12446. if test "x$as_val" = x""yes; then
  12447. cat >>confdefs.h <<_ACEOF
  12448. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12449. _ACEOF
  12450. fi
  12451. done
  12452. for ac_header in sys/types.h
  12453. do
  12454. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12455. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12456. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12457. $as_echo_n "checking for $ac_header... " >&6; }
  12458. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12459. $as_echo_n "(cached) " >&6
  12460. fi
  12461. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12462. $as_echo "$as_val"'`
  12463. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12464. $as_echo "$ac_res" >&6; }
  12465. else
  12466. # Is the header compilable?
  12467. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12468. $as_echo_n "checking $ac_header usability... " >&6; }
  12469. cat >conftest.$ac_ext <<_ACEOF
  12470. /* confdefs.h. */
  12471. _ACEOF
  12472. cat confdefs.h >>conftest.$ac_ext
  12473. cat >>conftest.$ac_ext <<_ACEOF
  12474. /* end confdefs.h. */
  12475. $ac_includes_default
  12476. #include <$ac_header>
  12477. _ACEOF
  12478. rm -f conftest.$ac_objext
  12479. if { (ac_try="$ac_compile"
  12480. case "(($ac_try" in
  12481. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12482. *) ac_try_echo=$ac_try;;
  12483. esac
  12484. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12485. $as_echo "$ac_try_echo") >&5
  12486. (eval "$ac_compile") 2>conftest.er1
  12487. ac_status=$?
  12488. grep -v '^ *+' conftest.er1 >conftest.err
  12489. rm -f conftest.er1
  12490. cat conftest.err >&5
  12491. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12492. (exit $ac_status); } && {
  12493. test -z "$ac_c_werror_flag" ||
  12494. test ! -s conftest.err
  12495. } && test -s conftest.$ac_objext; then
  12496. ac_header_compiler=yes
  12497. else
  12498. $as_echo "$as_me: failed program was:" >&5
  12499. sed 's/^/| /' conftest.$ac_ext >&5
  12500. ac_header_compiler=no
  12501. fi
  12502. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12503. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12504. $as_echo "$ac_header_compiler" >&6; }
  12505. # Is the header present?
  12506. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12507. $as_echo_n "checking $ac_header presence... " >&6; }
  12508. cat >conftest.$ac_ext <<_ACEOF
  12509. /* confdefs.h. */
  12510. _ACEOF
  12511. cat confdefs.h >>conftest.$ac_ext
  12512. cat >>conftest.$ac_ext <<_ACEOF
  12513. /* end confdefs.h. */
  12514. #include <$ac_header>
  12515. _ACEOF
  12516. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12517. case "(($ac_try" in
  12518. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12519. *) ac_try_echo=$ac_try;;
  12520. esac
  12521. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12522. $as_echo "$ac_try_echo") >&5
  12523. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12524. ac_status=$?
  12525. grep -v '^ *+' conftest.er1 >conftest.err
  12526. rm -f conftest.er1
  12527. cat conftest.err >&5
  12528. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12529. (exit $ac_status); } >/dev/null && {
  12530. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12531. test ! -s conftest.err
  12532. }; then
  12533. ac_header_preproc=yes
  12534. else
  12535. $as_echo "$as_me: failed program was:" >&5
  12536. sed 's/^/| /' conftest.$ac_ext >&5
  12537. ac_header_preproc=no
  12538. fi
  12539. rm -f conftest.err conftest.$ac_ext
  12540. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12541. $as_echo "$ac_header_preproc" >&6; }
  12542. # So? What about this header?
  12543. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12544. yes:no: )
  12545. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12546. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12547. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12548. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12549. ac_header_preproc=yes
  12550. ;;
  12551. no:yes:* )
  12552. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12553. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12554. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12555. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12556. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12557. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12558. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12559. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12560. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12561. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12562. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12563. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12564. ;;
  12565. esac
  12566. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12567. $as_echo_n "checking for $ac_header... " >&6; }
  12568. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12569. $as_echo_n "(cached) " >&6
  12570. else
  12571. eval "$as_ac_Header=\$ac_header_preproc"
  12572. fi
  12573. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12574. $as_echo "$as_val"'`
  12575. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12576. $as_echo "$ac_res" >&6; }
  12577. fi
  12578. as_val=`eval 'as_val=${'$as_ac_Header'}
  12579. $as_echo "$as_val"'`
  12580. if test "x$as_val" = x""yes; then
  12581. cat >>confdefs.h <<_ACEOF
  12582. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12583. _ACEOF
  12584. fi
  12585. done
  12586. for ac_header in stdint.h
  12587. do
  12588. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12589. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12590. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12591. $as_echo_n "checking for $ac_header... " >&6; }
  12592. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12593. $as_echo_n "(cached) " >&6
  12594. fi
  12595. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12596. $as_echo "$as_val"'`
  12597. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12598. $as_echo "$ac_res" >&6; }
  12599. else
  12600. # Is the header compilable?
  12601. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12602. $as_echo_n "checking $ac_header usability... " >&6; }
  12603. cat >conftest.$ac_ext <<_ACEOF
  12604. /* confdefs.h. */
  12605. _ACEOF
  12606. cat confdefs.h >>conftest.$ac_ext
  12607. cat >>conftest.$ac_ext <<_ACEOF
  12608. /* end confdefs.h. */
  12609. $ac_includes_default
  12610. #include <$ac_header>
  12611. _ACEOF
  12612. rm -f conftest.$ac_objext
  12613. if { (ac_try="$ac_compile"
  12614. case "(($ac_try" in
  12615. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12616. *) ac_try_echo=$ac_try;;
  12617. esac
  12618. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12619. $as_echo "$ac_try_echo") >&5
  12620. (eval "$ac_compile") 2>conftest.er1
  12621. ac_status=$?
  12622. grep -v '^ *+' conftest.er1 >conftest.err
  12623. rm -f conftest.er1
  12624. cat conftest.err >&5
  12625. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12626. (exit $ac_status); } && {
  12627. test -z "$ac_c_werror_flag" ||
  12628. test ! -s conftest.err
  12629. } && test -s conftest.$ac_objext; then
  12630. ac_header_compiler=yes
  12631. else
  12632. $as_echo "$as_me: failed program was:" >&5
  12633. sed 's/^/| /' conftest.$ac_ext >&5
  12634. ac_header_compiler=no
  12635. fi
  12636. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12637. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12638. $as_echo "$ac_header_compiler" >&6; }
  12639. # Is the header present?
  12640. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12641. $as_echo_n "checking $ac_header presence... " >&6; }
  12642. cat >conftest.$ac_ext <<_ACEOF
  12643. /* confdefs.h. */
  12644. _ACEOF
  12645. cat confdefs.h >>conftest.$ac_ext
  12646. cat >>conftest.$ac_ext <<_ACEOF
  12647. /* end confdefs.h. */
  12648. #include <$ac_header>
  12649. _ACEOF
  12650. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12651. case "(($ac_try" in
  12652. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12653. *) ac_try_echo=$ac_try;;
  12654. esac
  12655. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12656. $as_echo "$ac_try_echo") >&5
  12657. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12658. ac_status=$?
  12659. grep -v '^ *+' conftest.er1 >conftest.err
  12660. rm -f conftest.er1
  12661. cat conftest.err >&5
  12662. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12663. (exit $ac_status); } >/dev/null && {
  12664. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12665. test ! -s conftest.err
  12666. }; then
  12667. ac_header_preproc=yes
  12668. else
  12669. $as_echo "$as_me: failed program was:" >&5
  12670. sed 's/^/| /' conftest.$ac_ext >&5
  12671. ac_header_preproc=no
  12672. fi
  12673. rm -f conftest.err conftest.$ac_ext
  12674. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12675. $as_echo "$ac_header_preproc" >&6; }
  12676. # So? What about this header?
  12677. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12678. yes:no: )
  12679. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12680. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12681. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12682. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12683. ac_header_preproc=yes
  12684. ;;
  12685. no:yes:* )
  12686. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12687. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12688. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12689. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12690. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12691. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12692. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12693. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12694. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12695. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12696. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12697. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12698. ;;
  12699. esac
  12700. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12701. $as_echo_n "checking for $ac_header... " >&6; }
  12702. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12703. $as_echo_n "(cached) " >&6
  12704. else
  12705. eval "$as_ac_Header=\$ac_header_preproc"
  12706. fi
  12707. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12708. $as_echo "$as_val"'`
  12709. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12710. $as_echo "$ac_res" >&6; }
  12711. fi
  12712. as_val=`eval 'as_val=${'$as_ac_Header'}
  12713. $as_echo "$as_val"'`
  12714. if test "x$as_val" = x""yes; then
  12715. cat >>confdefs.h <<_ACEOF
  12716. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12717. _ACEOF
  12718. fi
  12719. done
  12720. for ac_header in inttypes.h.h
  12721. do
  12722. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12723. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12724. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12725. $as_echo_n "checking for $ac_header... " >&6; }
  12726. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12727. $as_echo_n "(cached) " >&6
  12728. fi
  12729. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12730. $as_echo "$as_val"'`
  12731. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12732. $as_echo "$ac_res" >&6; }
  12733. else
  12734. # Is the header compilable?
  12735. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12736. $as_echo_n "checking $ac_header usability... " >&6; }
  12737. cat >conftest.$ac_ext <<_ACEOF
  12738. /* confdefs.h. */
  12739. _ACEOF
  12740. cat confdefs.h >>conftest.$ac_ext
  12741. cat >>conftest.$ac_ext <<_ACEOF
  12742. /* end confdefs.h. */
  12743. $ac_includes_default
  12744. #include <$ac_header>
  12745. _ACEOF
  12746. rm -f conftest.$ac_objext
  12747. if { (ac_try="$ac_compile"
  12748. case "(($ac_try" in
  12749. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12750. *) ac_try_echo=$ac_try;;
  12751. esac
  12752. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12753. $as_echo "$ac_try_echo") >&5
  12754. (eval "$ac_compile") 2>conftest.er1
  12755. ac_status=$?
  12756. grep -v '^ *+' conftest.er1 >conftest.err
  12757. rm -f conftest.er1
  12758. cat conftest.err >&5
  12759. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12760. (exit $ac_status); } && {
  12761. test -z "$ac_c_werror_flag" ||
  12762. test ! -s conftest.err
  12763. } && test -s conftest.$ac_objext; then
  12764. ac_header_compiler=yes
  12765. else
  12766. $as_echo "$as_me: failed program was:" >&5
  12767. sed 's/^/| /' conftest.$ac_ext >&5
  12768. ac_header_compiler=no
  12769. fi
  12770. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12771. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12772. $as_echo "$ac_header_compiler" >&6; }
  12773. # Is the header present?
  12774. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12775. $as_echo_n "checking $ac_header presence... " >&6; }
  12776. cat >conftest.$ac_ext <<_ACEOF
  12777. /* confdefs.h. */
  12778. _ACEOF
  12779. cat confdefs.h >>conftest.$ac_ext
  12780. cat >>conftest.$ac_ext <<_ACEOF
  12781. /* end confdefs.h. */
  12782. #include <$ac_header>
  12783. _ACEOF
  12784. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12785. case "(($ac_try" in
  12786. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12787. *) ac_try_echo=$ac_try;;
  12788. esac
  12789. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12790. $as_echo "$ac_try_echo") >&5
  12791. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12792. ac_status=$?
  12793. grep -v '^ *+' conftest.er1 >conftest.err
  12794. rm -f conftest.er1
  12795. cat conftest.err >&5
  12796. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12797. (exit $ac_status); } >/dev/null && {
  12798. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12799. test ! -s conftest.err
  12800. }; then
  12801. ac_header_preproc=yes
  12802. else
  12803. $as_echo "$as_me: failed program was:" >&5
  12804. sed 's/^/| /' conftest.$ac_ext >&5
  12805. ac_header_preproc=no
  12806. fi
  12807. rm -f conftest.err conftest.$ac_ext
  12808. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12809. $as_echo "$ac_header_preproc" >&6; }
  12810. # So? What about this header?
  12811. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12812. yes:no: )
  12813. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12814. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12815. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12816. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12817. ac_header_preproc=yes
  12818. ;;
  12819. no:yes:* )
  12820. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12821. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12822. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12823. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12824. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12825. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12826. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12827. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12828. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12829. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12830. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12831. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12832. ;;
  12833. esac
  12834. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12835. $as_echo_n "checking for $ac_header... " >&6; }
  12836. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12837. $as_echo_n "(cached) " >&6
  12838. else
  12839. eval "$as_ac_Header=\$ac_header_preproc"
  12840. fi
  12841. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12842. $as_echo "$as_val"'`
  12843. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12844. $as_echo "$ac_res" >&6; }
  12845. fi
  12846. as_val=`eval 'as_val=${'$as_ac_Header'}
  12847. $as_echo "$as_val"'`
  12848. if test "x$as_val" = x""yes; then
  12849. cat >>confdefs.h <<_ACEOF
  12850. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12851. _ACEOF
  12852. fi
  12853. done
  12854. for ac_header in time.h
  12855. do
  12856. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12857. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12858. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12859. $as_echo_n "checking for $ac_header... " >&6; }
  12860. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12861. $as_echo_n "(cached) " >&6
  12862. fi
  12863. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12864. $as_echo "$as_val"'`
  12865. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12866. $as_echo "$ac_res" >&6; }
  12867. else
  12868. # Is the header compilable?
  12869. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12870. $as_echo_n "checking $ac_header usability... " >&6; }
  12871. cat >conftest.$ac_ext <<_ACEOF
  12872. /* confdefs.h. */
  12873. _ACEOF
  12874. cat confdefs.h >>conftest.$ac_ext
  12875. cat >>conftest.$ac_ext <<_ACEOF
  12876. /* end confdefs.h. */
  12877. $ac_includes_default
  12878. #include <$ac_header>
  12879. _ACEOF
  12880. rm -f conftest.$ac_objext
  12881. if { (ac_try="$ac_compile"
  12882. case "(($ac_try" in
  12883. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12884. *) ac_try_echo=$ac_try;;
  12885. esac
  12886. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12887. $as_echo "$ac_try_echo") >&5
  12888. (eval "$ac_compile") 2>conftest.er1
  12889. ac_status=$?
  12890. grep -v '^ *+' conftest.er1 >conftest.err
  12891. rm -f conftest.er1
  12892. cat conftest.err >&5
  12893. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12894. (exit $ac_status); } && {
  12895. test -z "$ac_c_werror_flag" ||
  12896. test ! -s conftest.err
  12897. } && test -s conftest.$ac_objext; then
  12898. ac_header_compiler=yes
  12899. else
  12900. $as_echo "$as_me: failed program was:" >&5
  12901. sed 's/^/| /' conftest.$ac_ext >&5
  12902. ac_header_compiler=no
  12903. fi
  12904. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12905. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12906. $as_echo "$ac_header_compiler" >&6; }
  12907. # Is the header present?
  12908. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12909. $as_echo_n "checking $ac_header presence... " >&6; }
  12910. cat >conftest.$ac_ext <<_ACEOF
  12911. /* confdefs.h. */
  12912. _ACEOF
  12913. cat confdefs.h >>conftest.$ac_ext
  12914. cat >>conftest.$ac_ext <<_ACEOF
  12915. /* end confdefs.h. */
  12916. #include <$ac_header>
  12917. _ACEOF
  12918. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12919. case "(($ac_try" in
  12920. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12921. *) ac_try_echo=$ac_try;;
  12922. esac
  12923. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12924. $as_echo "$ac_try_echo") >&5
  12925. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12926. ac_status=$?
  12927. grep -v '^ *+' conftest.er1 >conftest.err
  12928. rm -f conftest.er1
  12929. cat conftest.err >&5
  12930. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12931. (exit $ac_status); } >/dev/null && {
  12932. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12933. test ! -s conftest.err
  12934. }; then
  12935. ac_header_preproc=yes
  12936. else
  12937. $as_echo "$as_me: failed program was:" >&5
  12938. sed 's/^/| /' conftest.$ac_ext >&5
  12939. ac_header_preproc=no
  12940. fi
  12941. rm -f conftest.err conftest.$ac_ext
  12942. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12943. $as_echo "$ac_header_preproc" >&6; }
  12944. # So? What about this header?
  12945. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12946. yes:no: )
  12947. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12948. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12949. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12950. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12951. ac_header_preproc=yes
  12952. ;;
  12953. no:yes:* )
  12954. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12955. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12956. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12957. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12958. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12959. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12960. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12961. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12962. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12963. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12964. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12965. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12966. ;;
  12967. esac
  12968. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12969. $as_echo_n "checking for $ac_header... " >&6; }
  12970. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12971. $as_echo_n "(cached) " >&6
  12972. else
  12973. eval "$as_ac_Header=\$ac_header_preproc"
  12974. fi
  12975. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12976. $as_echo "$as_val"'`
  12977. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12978. $as_echo "$ac_res" >&6; }
  12979. fi
  12980. as_val=`eval 'as_val=${'$as_ac_Header'}
  12981. $as_echo "$as_val"'`
  12982. if test "x$as_val" = x""yes; then
  12983. cat >>confdefs.h <<_ACEOF
  12984. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12985. _ACEOF
  12986. fi
  12987. done
  12988. for ac_header in ansidecl.h
  12989. do
  12990. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12991. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12992. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12993. $as_echo_n "checking for $ac_header... " >&6; }
  12994. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12995. $as_echo_n "(cached) " >&6
  12996. fi
  12997. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12998. $as_echo "$as_val"'`
  12999. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13000. $as_echo "$ac_res" >&6; }
  13001. else
  13002. # Is the header compilable?
  13003. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13004. $as_echo_n "checking $ac_header usability... " >&6; }
  13005. cat >conftest.$ac_ext <<_ACEOF
  13006. /* confdefs.h. */
  13007. _ACEOF
  13008. cat confdefs.h >>conftest.$ac_ext
  13009. cat >>conftest.$ac_ext <<_ACEOF
  13010. /* end confdefs.h. */
  13011. $ac_includes_default
  13012. #include <$ac_header>
  13013. _ACEOF
  13014. rm -f conftest.$ac_objext
  13015. if { (ac_try="$ac_compile"
  13016. case "(($ac_try" in
  13017. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13018. *) ac_try_echo=$ac_try;;
  13019. esac
  13020. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13021. $as_echo "$ac_try_echo") >&5
  13022. (eval "$ac_compile") 2>conftest.er1
  13023. ac_status=$?
  13024. grep -v '^ *+' conftest.er1 >conftest.err
  13025. rm -f conftest.er1
  13026. cat conftest.err >&5
  13027. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13028. (exit $ac_status); } && {
  13029. test -z "$ac_c_werror_flag" ||
  13030. test ! -s conftest.err
  13031. } && test -s conftest.$ac_objext; then
  13032. ac_header_compiler=yes
  13033. else
  13034. $as_echo "$as_me: failed program was:" >&5
  13035. sed 's/^/| /' conftest.$ac_ext >&5
  13036. ac_header_compiler=no
  13037. fi
  13038. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13039. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13040. $as_echo "$ac_header_compiler" >&6; }
  13041. # Is the header present?
  13042. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13043. $as_echo_n "checking $ac_header presence... " >&6; }
  13044. cat >conftest.$ac_ext <<_ACEOF
  13045. /* confdefs.h. */
  13046. _ACEOF
  13047. cat confdefs.h >>conftest.$ac_ext
  13048. cat >>conftest.$ac_ext <<_ACEOF
  13049. /* end confdefs.h. */
  13050. #include <$ac_header>
  13051. _ACEOF
  13052. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13053. case "(($ac_try" in
  13054. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13055. *) ac_try_echo=$ac_try;;
  13056. esac
  13057. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13058. $as_echo "$ac_try_echo") >&5
  13059. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13060. ac_status=$?
  13061. grep -v '^ *+' conftest.er1 >conftest.err
  13062. rm -f conftest.er1
  13063. cat conftest.err >&5
  13064. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13065. (exit $ac_status); } >/dev/null && {
  13066. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13067. test ! -s conftest.err
  13068. }; then
  13069. ac_header_preproc=yes
  13070. else
  13071. $as_echo "$as_me: failed program was:" >&5
  13072. sed 's/^/| /' conftest.$ac_ext >&5
  13073. ac_header_preproc=no
  13074. fi
  13075. rm -f conftest.err conftest.$ac_ext
  13076. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13077. $as_echo "$ac_header_preproc" >&6; }
  13078. # So? What about this header?
  13079. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13080. yes:no: )
  13081. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13082. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13083. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13084. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13085. ac_header_preproc=yes
  13086. ;;
  13087. no:yes:* )
  13088. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13089. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13090. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13091. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13092. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13093. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13094. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13095. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13096. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13097. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13098. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13099. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13100. ;;
  13101. esac
  13102. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13103. $as_echo_n "checking for $ac_header... " >&6; }
  13104. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13105. $as_echo_n "(cached) " >&6
  13106. else
  13107. eval "$as_ac_Header=\$ac_header_preproc"
  13108. fi
  13109. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13110. $as_echo "$as_val"'`
  13111. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13112. $as_echo "$ac_res" >&6; }
  13113. fi
  13114. as_val=`eval 'as_val=${'$as_ac_Header'}
  13115. $as_echo "$as_val"'`
  13116. if test "x$as_val" = x""yes; then
  13117. cat >>confdefs.h <<_ACEOF
  13118. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13119. _ACEOF
  13120. fi
  13121. done
  13122. for ac_header in ieeefp.h
  13123. do
  13124. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13125. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13126. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13127. $as_echo_n "checking for $ac_header... " >&6; }
  13128. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13129. $as_echo_n "(cached) " >&6
  13130. fi
  13131. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13132. $as_echo "$as_val"'`
  13133. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13134. $as_echo "$ac_res" >&6; }
  13135. else
  13136. # Is the header compilable?
  13137. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13138. $as_echo_n "checking $ac_header usability... " >&6; }
  13139. cat >conftest.$ac_ext <<_ACEOF
  13140. /* confdefs.h. */
  13141. _ACEOF
  13142. cat confdefs.h >>conftest.$ac_ext
  13143. cat >>conftest.$ac_ext <<_ACEOF
  13144. /* end confdefs.h. */
  13145. $ac_includes_default
  13146. #include <$ac_header>
  13147. _ACEOF
  13148. rm -f conftest.$ac_objext
  13149. if { (ac_try="$ac_compile"
  13150. case "(($ac_try" in
  13151. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13152. *) ac_try_echo=$ac_try;;
  13153. esac
  13154. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13155. $as_echo "$ac_try_echo") >&5
  13156. (eval "$ac_compile") 2>conftest.er1
  13157. ac_status=$?
  13158. grep -v '^ *+' conftest.er1 >conftest.err
  13159. rm -f conftest.er1
  13160. cat conftest.err >&5
  13161. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13162. (exit $ac_status); } && {
  13163. test -z "$ac_c_werror_flag" ||
  13164. test ! -s conftest.err
  13165. } && test -s conftest.$ac_objext; then
  13166. ac_header_compiler=yes
  13167. else
  13168. $as_echo "$as_me: failed program was:" >&5
  13169. sed 's/^/| /' conftest.$ac_ext >&5
  13170. ac_header_compiler=no
  13171. fi
  13172. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13173. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13174. $as_echo "$ac_header_compiler" >&6; }
  13175. # Is the header present?
  13176. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13177. $as_echo_n "checking $ac_header presence... " >&6; }
  13178. cat >conftest.$ac_ext <<_ACEOF
  13179. /* confdefs.h. */
  13180. _ACEOF
  13181. cat confdefs.h >>conftest.$ac_ext
  13182. cat >>conftest.$ac_ext <<_ACEOF
  13183. /* end confdefs.h. */
  13184. #include <$ac_header>
  13185. _ACEOF
  13186. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13187. case "(($ac_try" in
  13188. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13189. *) ac_try_echo=$ac_try;;
  13190. esac
  13191. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13192. $as_echo "$ac_try_echo") >&5
  13193. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13194. ac_status=$?
  13195. grep -v '^ *+' conftest.er1 >conftest.err
  13196. rm -f conftest.er1
  13197. cat conftest.err >&5
  13198. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13199. (exit $ac_status); } >/dev/null && {
  13200. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13201. test ! -s conftest.err
  13202. }; then
  13203. ac_header_preproc=yes
  13204. else
  13205. $as_echo "$as_me: failed program was:" >&5
  13206. sed 's/^/| /' conftest.$ac_ext >&5
  13207. ac_header_preproc=no
  13208. fi
  13209. rm -f conftest.err conftest.$ac_ext
  13210. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13211. $as_echo "$ac_header_preproc" >&6; }
  13212. # So? What about this header?
  13213. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13214. yes:no: )
  13215. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13216. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13217. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13218. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13219. ac_header_preproc=yes
  13220. ;;
  13221. no:yes:* )
  13222. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13223. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13224. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13225. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13226. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13227. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13228. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13229. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13230. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13231. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13232. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13233. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13234. ;;
  13235. esac
  13236. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13237. $as_echo_n "checking for $ac_header... " >&6; }
  13238. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13239. $as_echo_n "(cached) " >&6
  13240. else
  13241. eval "$as_ac_Header=\$ac_header_preproc"
  13242. fi
  13243. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13244. $as_echo "$as_val"'`
  13245. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13246. $as_echo "$ac_res" >&6; }
  13247. fi
  13248. as_val=`eval 'as_val=${'$as_ac_Header'}
  13249. $as_echo "$as_val"'`
  13250. if test "x$as_val" = x""yes; then
  13251. cat >>confdefs.h <<_ACEOF
  13252. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13253. _ACEOF
  13254. fi
  13255. done
  13256. for ac_header in nan.h
  13257. do
  13258. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13259. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13260. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13261. $as_echo_n "checking for $ac_header... " >&6; }
  13262. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13263. $as_echo_n "(cached) " >&6
  13264. fi
  13265. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13266. $as_echo "$as_val"'`
  13267. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13268. $as_echo "$ac_res" >&6; }
  13269. else
  13270. # Is the header compilable?
  13271. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13272. $as_echo_n "checking $ac_header usability... " >&6; }
  13273. cat >conftest.$ac_ext <<_ACEOF
  13274. /* confdefs.h. */
  13275. _ACEOF
  13276. cat confdefs.h >>conftest.$ac_ext
  13277. cat >>conftest.$ac_ext <<_ACEOF
  13278. /* end confdefs.h. */
  13279. $ac_includes_default
  13280. #include <$ac_header>
  13281. _ACEOF
  13282. rm -f conftest.$ac_objext
  13283. if { (ac_try="$ac_compile"
  13284. case "(($ac_try" in
  13285. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13286. *) ac_try_echo=$ac_try;;
  13287. esac
  13288. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13289. $as_echo "$ac_try_echo") >&5
  13290. (eval "$ac_compile") 2>conftest.er1
  13291. ac_status=$?
  13292. grep -v '^ *+' conftest.er1 >conftest.err
  13293. rm -f conftest.er1
  13294. cat conftest.err >&5
  13295. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13296. (exit $ac_status); } && {
  13297. test -z "$ac_c_werror_flag" ||
  13298. test ! -s conftest.err
  13299. } && test -s conftest.$ac_objext; then
  13300. ac_header_compiler=yes
  13301. else
  13302. $as_echo "$as_me: failed program was:" >&5
  13303. sed 's/^/| /' conftest.$ac_ext >&5
  13304. ac_header_compiler=no
  13305. fi
  13306. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13307. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13308. $as_echo "$ac_header_compiler" >&6; }
  13309. # Is the header present?
  13310. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13311. $as_echo_n "checking $ac_header presence... " >&6; }
  13312. cat >conftest.$ac_ext <<_ACEOF
  13313. /* confdefs.h. */
  13314. _ACEOF
  13315. cat confdefs.h >>conftest.$ac_ext
  13316. cat >>conftest.$ac_ext <<_ACEOF
  13317. /* end confdefs.h. */
  13318. #include <$ac_header>
  13319. _ACEOF
  13320. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13321. case "(($ac_try" in
  13322. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13323. *) ac_try_echo=$ac_try;;
  13324. esac
  13325. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13326. $as_echo "$ac_try_echo") >&5
  13327. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13328. ac_status=$?
  13329. grep -v '^ *+' conftest.er1 >conftest.err
  13330. rm -f conftest.er1
  13331. cat conftest.err >&5
  13332. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13333. (exit $ac_status); } >/dev/null && {
  13334. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13335. test ! -s conftest.err
  13336. }; then
  13337. ac_header_preproc=yes
  13338. else
  13339. $as_echo "$as_me: failed program was:" >&5
  13340. sed 's/^/| /' conftest.$ac_ext >&5
  13341. ac_header_preproc=no
  13342. fi
  13343. rm -f conftest.err conftest.$ac_ext
  13344. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13345. $as_echo "$ac_header_preproc" >&6; }
  13346. # So? What about this header?
  13347. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13348. yes:no: )
  13349. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13350. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13351. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13352. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13353. ac_header_preproc=yes
  13354. ;;
  13355. no:yes:* )
  13356. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13357. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13358. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13359. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13360. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13361. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13362. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13363. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13364. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13365. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13366. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13367. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13368. ;;
  13369. esac
  13370. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13371. $as_echo_n "checking for $ac_header... " >&6; }
  13372. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13373. $as_echo_n "(cached) " >&6
  13374. else
  13375. eval "$as_ac_Header=\$ac_header_preproc"
  13376. fi
  13377. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13378. $as_echo "$as_val"'`
  13379. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13380. $as_echo "$ac_res" >&6; }
  13381. fi
  13382. as_val=`eval 'as_val=${'$as_ac_Header'}
  13383. $as_echo "$as_val"'`
  13384. if test "x$as_val" = x""yes; then
  13385. cat >>confdefs.h <<_ACEOF
  13386. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13387. _ACEOF
  13388. fi
  13389. done
  13390. for ac_header in math.h
  13391. do
  13392. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13393. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13394. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13395. $as_echo_n "checking for $ac_header... " >&6; }
  13396. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13397. $as_echo_n "(cached) " >&6
  13398. fi
  13399. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13400. $as_echo "$as_val"'`
  13401. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13402. $as_echo "$ac_res" >&6; }
  13403. else
  13404. # Is the header compilable?
  13405. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13406. $as_echo_n "checking $ac_header usability... " >&6; }
  13407. cat >conftest.$ac_ext <<_ACEOF
  13408. /* confdefs.h. */
  13409. _ACEOF
  13410. cat confdefs.h >>conftest.$ac_ext
  13411. cat >>conftest.$ac_ext <<_ACEOF
  13412. /* end confdefs.h. */
  13413. $ac_includes_default
  13414. #include <$ac_header>
  13415. _ACEOF
  13416. rm -f conftest.$ac_objext
  13417. if { (ac_try="$ac_compile"
  13418. case "(($ac_try" in
  13419. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13420. *) ac_try_echo=$ac_try;;
  13421. esac
  13422. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13423. $as_echo "$ac_try_echo") >&5
  13424. (eval "$ac_compile") 2>conftest.er1
  13425. ac_status=$?
  13426. grep -v '^ *+' conftest.er1 >conftest.err
  13427. rm -f conftest.er1
  13428. cat conftest.err >&5
  13429. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13430. (exit $ac_status); } && {
  13431. test -z "$ac_c_werror_flag" ||
  13432. test ! -s conftest.err
  13433. } && test -s conftest.$ac_objext; then
  13434. ac_header_compiler=yes
  13435. else
  13436. $as_echo "$as_me: failed program was:" >&5
  13437. sed 's/^/| /' conftest.$ac_ext >&5
  13438. ac_header_compiler=no
  13439. fi
  13440. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13441. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13442. $as_echo "$ac_header_compiler" >&6; }
  13443. # Is the header present?
  13444. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13445. $as_echo_n "checking $ac_header presence... " >&6; }
  13446. cat >conftest.$ac_ext <<_ACEOF
  13447. /* confdefs.h. */
  13448. _ACEOF
  13449. cat confdefs.h >>conftest.$ac_ext
  13450. cat >>conftest.$ac_ext <<_ACEOF
  13451. /* end confdefs.h. */
  13452. #include <$ac_header>
  13453. _ACEOF
  13454. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13455. case "(($ac_try" in
  13456. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13457. *) ac_try_echo=$ac_try;;
  13458. esac
  13459. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13460. $as_echo "$ac_try_echo") >&5
  13461. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13462. ac_status=$?
  13463. grep -v '^ *+' conftest.er1 >conftest.err
  13464. rm -f conftest.er1
  13465. cat conftest.err >&5
  13466. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13467. (exit $ac_status); } >/dev/null && {
  13468. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13469. test ! -s conftest.err
  13470. }; then
  13471. ac_header_preproc=yes
  13472. else
  13473. $as_echo "$as_me: failed program was:" >&5
  13474. sed 's/^/| /' conftest.$ac_ext >&5
  13475. ac_header_preproc=no
  13476. fi
  13477. rm -f conftest.err conftest.$ac_ext
  13478. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13479. $as_echo "$ac_header_preproc" >&6; }
  13480. # So? What about this header?
  13481. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13482. yes:no: )
  13483. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13484. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13485. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13486. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13487. ac_header_preproc=yes
  13488. ;;
  13489. no:yes:* )
  13490. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13491. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13492. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13493. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13494. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13495. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13496. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13497. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13498. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13499. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13500. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13501. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13502. ;;
  13503. esac
  13504. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13505. $as_echo_n "checking for $ac_header... " >&6; }
  13506. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13507. $as_echo_n "(cached) " >&6
  13508. else
  13509. eval "$as_ac_Header=\$ac_header_preproc"
  13510. fi
  13511. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13512. $as_echo "$as_val"'`
  13513. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13514. $as_echo "$ac_res" >&6; }
  13515. fi
  13516. as_val=`eval 'as_val=${'$as_ac_Header'}
  13517. $as_echo "$as_val"'`
  13518. if test "x$as_val" = x""yes; then
  13519. cat >>confdefs.h <<_ACEOF
  13520. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13521. _ACEOF
  13522. fi
  13523. done
  13524. for ac_header in limits.h
  13525. do
  13526. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13527. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13528. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13529. $as_echo_n "checking for $ac_header... " >&6; }
  13530. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13531. $as_echo_n "(cached) " >&6
  13532. fi
  13533. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13534. $as_echo "$as_val"'`
  13535. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13536. $as_echo "$ac_res" >&6; }
  13537. else
  13538. # Is the header compilable?
  13539. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13540. $as_echo_n "checking $ac_header usability... " >&6; }
  13541. cat >conftest.$ac_ext <<_ACEOF
  13542. /* confdefs.h. */
  13543. _ACEOF
  13544. cat confdefs.h >>conftest.$ac_ext
  13545. cat >>conftest.$ac_ext <<_ACEOF
  13546. /* end confdefs.h. */
  13547. $ac_includes_default
  13548. #include <$ac_header>
  13549. _ACEOF
  13550. rm -f conftest.$ac_objext
  13551. if { (ac_try="$ac_compile"
  13552. case "(($ac_try" in
  13553. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13554. *) ac_try_echo=$ac_try;;
  13555. esac
  13556. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13557. $as_echo "$ac_try_echo") >&5
  13558. (eval "$ac_compile") 2>conftest.er1
  13559. ac_status=$?
  13560. grep -v '^ *+' conftest.er1 >conftest.err
  13561. rm -f conftest.er1
  13562. cat conftest.err >&5
  13563. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13564. (exit $ac_status); } && {
  13565. test -z "$ac_c_werror_flag" ||
  13566. test ! -s conftest.err
  13567. } && test -s conftest.$ac_objext; then
  13568. ac_header_compiler=yes
  13569. else
  13570. $as_echo "$as_me: failed program was:" >&5
  13571. sed 's/^/| /' conftest.$ac_ext >&5
  13572. ac_header_compiler=no
  13573. fi
  13574. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13575. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13576. $as_echo "$ac_header_compiler" >&6; }
  13577. # Is the header present?
  13578. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13579. $as_echo_n "checking $ac_header presence... " >&6; }
  13580. cat >conftest.$ac_ext <<_ACEOF
  13581. /* confdefs.h. */
  13582. _ACEOF
  13583. cat confdefs.h >>conftest.$ac_ext
  13584. cat >>conftest.$ac_ext <<_ACEOF
  13585. /* end confdefs.h. */
  13586. #include <$ac_header>
  13587. _ACEOF
  13588. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13589. case "(($ac_try" in
  13590. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13591. *) ac_try_echo=$ac_try;;
  13592. esac
  13593. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13594. $as_echo "$ac_try_echo") >&5
  13595. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13596. ac_status=$?
  13597. grep -v '^ *+' conftest.er1 >conftest.err
  13598. rm -f conftest.er1
  13599. cat conftest.err >&5
  13600. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13601. (exit $ac_status); } >/dev/null && {
  13602. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13603. test ! -s conftest.err
  13604. }; then
  13605. ac_header_preproc=yes
  13606. else
  13607. $as_echo "$as_me: failed program was:" >&5
  13608. sed 's/^/| /' conftest.$ac_ext >&5
  13609. ac_header_preproc=no
  13610. fi
  13611. rm -f conftest.err conftest.$ac_ext
  13612. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13613. $as_echo "$ac_header_preproc" >&6; }
  13614. # So? What about this header?
  13615. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13616. yes:no: )
  13617. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13618. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13619. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13620. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13621. ac_header_preproc=yes
  13622. ;;
  13623. no:yes:* )
  13624. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13625. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13626. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13627. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13628. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13629. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13630. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13631. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13632. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13633. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13634. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13635. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13636. ;;
  13637. esac
  13638. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13639. $as_echo_n "checking for $ac_header... " >&6; }
  13640. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13641. $as_echo_n "(cached) " >&6
  13642. else
  13643. eval "$as_ac_Header=\$ac_header_preproc"
  13644. fi
  13645. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13646. $as_echo "$as_val"'`
  13647. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13648. $as_echo "$ac_res" >&6; }
  13649. fi
  13650. as_val=`eval 'as_val=${'$as_ac_Header'}
  13651. $as_echo "$as_val"'`
  13652. if test "x$as_val" = x""yes; then
  13653. cat >>confdefs.h <<_ACEOF
  13654. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13655. _ACEOF
  13656. fi
  13657. done
  13658. for ac_header in fp_class.h
  13659. do
  13660. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13661. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13662. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13663. $as_echo_n "checking for $ac_header... " >&6; }
  13664. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13665. $as_echo_n "(cached) " >&6
  13666. fi
  13667. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13668. $as_echo "$as_val"'`
  13669. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13670. $as_echo "$ac_res" >&6; }
  13671. else
  13672. # Is the header compilable?
  13673. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13674. $as_echo_n "checking $ac_header usability... " >&6; }
  13675. cat >conftest.$ac_ext <<_ACEOF
  13676. /* confdefs.h. */
  13677. _ACEOF
  13678. cat confdefs.h >>conftest.$ac_ext
  13679. cat >>conftest.$ac_ext <<_ACEOF
  13680. /* end confdefs.h. */
  13681. $ac_includes_default
  13682. #include <$ac_header>
  13683. _ACEOF
  13684. rm -f conftest.$ac_objext
  13685. if { (ac_try="$ac_compile"
  13686. case "(($ac_try" in
  13687. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13688. *) ac_try_echo=$ac_try;;
  13689. esac
  13690. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13691. $as_echo "$ac_try_echo") >&5
  13692. (eval "$ac_compile") 2>conftest.er1
  13693. ac_status=$?
  13694. grep -v '^ *+' conftest.er1 >conftest.err
  13695. rm -f conftest.er1
  13696. cat conftest.err >&5
  13697. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13698. (exit $ac_status); } && {
  13699. test -z "$ac_c_werror_flag" ||
  13700. test ! -s conftest.err
  13701. } && test -s conftest.$ac_objext; then
  13702. ac_header_compiler=yes
  13703. else
  13704. $as_echo "$as_me: failed program was:" >&5
  13705. sed 's/^/| /' conftest.$ac_ext >&5
  13706. ac_header_compiler=no
  13707. fi
  13708. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13709. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13710. $as_echo "$ac_header_compiler" >&6; }
  13711. # Is the header present?
  13712. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13713. $as_echo_n "checking $ac_header presence... " >&6; }
  13714. cat >conftest.$ac_ext <<_ACEOF
  13715. /* confdefs.h. */
  13716. _ACEOF
  13717. cat confdefs.h >>conftest.$ac_ext
  13718. cat >>conftest.$ac_ext <<_ACEOF
  13719. /* end confdefs.h. */
  13720. #include <$ac_header>
  13721. _ACEOF
  13722. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13723. case "(($ac_try" in
  13724. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13725. *) ac_try_echo=$ac_try;;
  13726. esac
  13727. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13728. $as_echo "$ac_try_echo") >&5
  13729. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13730. ac_status=$?
  13731. grep -v '^ *+' conftest.er1 >conftest.err
  13732. rm -f conftest.er1
  13733. cat conftest.err >&5
  13734. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13735. (exit $ac_status); } >/dev/null && {
  13736. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13737. test ! -s conftest.err
  13738. }; then
  13739. ac_header_preproc=yes
  13740. else
  13741. $as_echo "$as_me: failed program was:" >&5
  13742. sed 's/^/| /' conftest.$ac_ext >&5
  13743. ac_header_preproc=no
  13744. fi
  13745. rm -f conftest.err conftest.$ac_ext
  13746. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13747. $as_echo "$ac_header_preproc" >&6; }
  13748. # So? What about this header?
  13749. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13750. yes:no: )
  13751. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13752. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13753. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13754. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13755. ac_header_preproc=yes
  13756. ;;
  13757. no:yes:* )
  13758. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13759. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13760. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13761. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13762. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13763. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13764. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13765. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13766. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13767. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13768. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13769. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13770. ;;
  13771. esac
  13772. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13773. $as_echo_n "checking for $ac_header... " >&6; }
  13774. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13775. $as_echo_n "(cached) " >&6
  13776. else
  13777. eval "$as_ac_Header=\$ac_header_preproc"
  13778. fi
  13779. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13780. $as_echo "$as_val"'`
  13781. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13782. $as_echo "$ac_res" >&6; }
  13783. fi
  13784. as_val=`eval 'as_val=${'$as_ac_Header'}
  13785. $as_echo "$as_val"'`
  13786. if test "x$as_val" = x""yes; then
  13787. cat >>confdefs.h <<_ACEOF
  13788. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13789. _ACEOF
  13790. fi
  13791. done
  13792. for ac_header in float.h
  13793. do
  13794. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13795. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13796. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13797. $as_echo_n "checking for $ac_header... " >&6; }
  13798. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13799. $as_echo_n "(cached) " >&6
  13800. fi
  13801. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13802. $as_echo "$as_val"'`
  13803. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13804. $as_echo "$ac_res" >&6; }
  13805. else
  13806. # Is the header compilable?
  13807. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13808. $as_echo_n "checking $ac_header usability... " >&6; }
  13809. cat >conftest.$ac_ext <<_ACEOF
  13810. /* confdefs.h. */
  13811. _ACEOF
  13812. cat confdefs.h >>conftest.$ac_ext
  13813. cat >>conftest.$ac_ext <<_ACEOF
  13814. /* end confdefs.h. */
  13815. $ac_includes_default
  13816. #include <$ac_header>
  13817. _ACEOF
  13818. rm -f conftest.$ac_objext
  13819. if { (ac_try="$ac_compile"
  13820. case "(($ac_try" in
  13821. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13822. *) ac_try_echo=$ac_try;;
  13823. esac
  13824. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13825. $as_echo "$ac_try_echo") >&5
  13826. (eval "$ac_compile") 2>conftest.er1
  13827. ac_status=$?
  13828. grep -v '^ *+' conftest.er1 >conftest.err
  13829. rm -f conftest.er1
  13830. cat conftest.err >&5
  13831. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13832. (exit $ac_status); } && {
  13833. test -z "$ac_c_werror_flag" ||
  13834. test ! -s conftest.err
  13835. } && test -s conftest.$ac_objext; then
  13836. ac_header_compiler=yes
  13837. else
  13838. $as_echo "$as_me: failed program was:" >&5
  13839. sed 's/^/| /' conftest.$ac_ext >&5
  13840. ac_header_compiler=no
  13841. fi
  13842. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13843. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13844. $as_echo "$ac_header_compiler" >&6; }
  13845. # Is the header present?
  13846. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13847. $as_echo_n "checking $ac_header presence... " >&6; }
  13848. cat >conftest.$ac_ext <<_ACEOF
  13849. /* confdefs.h. */
  13850. _ACEOF
  13851. cat confdefs.h >>conftest.$ac_ext
  13852. cat >>conftest.$ac_ext <<_ACEOF
  13853. /* end confdefs.h. */
  13854. #include <$ac_header>
  13855. _ACEOF
  13856. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13857. case "(($ac_try" in
  13858. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13859. *) ac_try_echo=$ac_try;;
  13860. esac
  13861. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13862. $as_echo "$ac_try_echo") >&5
  13863. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13864. ac_status=$?
  13865. grep -v '^ *+' conftest.er1 >conftest.err
  13866. rm -f conftest.er1
  13867. cat conftest.err >&5
  13868. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13869. (exit $ac_status); } >/dev/null && {
  13870. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13871. test ! -s conftest.err
  13872. }; then
  13873. ac_header_preproc=yes
  13874. else
  13875. $as_echo "$as_me: failed program was:" >&5
  13876. sed 's/^/| /' conftest.$ac_ext >&5
  13877. ac_header_preproc=no
  13878. fi
  13879. rm -f conftest.err conftest.$ac_ext
  13880. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13881. $as_echo "$ac_header_preproc" >&6; }
  13882. # So? What about this header?
  13883. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13884. yes:no: )
  13885. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13886. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13887. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13888. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13889. ac_header_preproc=yes
  13890. ;;
  13891. no:yes:* )
  13892. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13893. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13894. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13895. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13896. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13897. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13898. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13899. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13900. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13901. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13902. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13903. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13904. ;;
  13905. esac
  13906. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13907. $as_echo_n "checking for $ac_header... " >&6; }
  13908. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13909. $as_echo_n "(cached) " >&6
  13910. else
  13911. eval "$as_ac_Header=\$ac_header_preproc"
  13912. fi
  13913. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13914. $as_echo "$as_val"'`
  13915. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13916. $as_echo "$ac_res" >&6; }
  13917. fi
  13918. as_val=`eval 'as_val=${'$as_ac_Header'}
  13919. $as_echo "$as_val"'`
  13920. if test "x$as_val" = x""yes; then
  13921. cat >>confdefs.h <<_ACEOF
  13922. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13923. _ACEOF
  13924. fi
  13925. done
  13926. for ac_header in stdlib.h
  13927. do
  13928. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13929. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13930. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13931. $as_echo_n "checking for $ac_header... " >&6; }
  13932. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13933. $as_echo_n "(cached) " >&6
  13934. fi
  13935. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13936. $as_echo "$as_val"'`
  13937. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13938. $as_echo "$ac_res" >&6; }
  13939. else
  13940. # Is the header compilable?
  13941. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13942. $as_echo_n "checking $ac_header usability... " >&6; }
  13943. cat >conftest.$ac_ext <<_ACEOF
  13944. /* confdefs.h. */
  13945. _ACEOF
  13946. cat confdefs.h >>conftest.$ac_ext
  13947. cat >>conftest.$ac_ext <<_ACEOF
  13948. /* end confdefs.h. */
  13949. $ac_includes_default
  13950. #include <$ac_header>
  13951. _ACEOF
  13952. rm -f conftest.$ac_objext
  13953. if { (ac_try="$ac_compile"
  13954. case "(($ac_try" in
  13955. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13956. *) ac_try_echo=$ac_try;;
  13957. esac
  13958. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13959. $as_echo "$ac_try_echo") >&5
  13960. (eval "$ac_compile") 2>conftest.er1
  13961. ac_status=$?
  13962. grep -v '^ *+' conftest.er1 >conftest.err
  13963. rm -f conftest.er1
  13964. cat conftest.err >&5
  13965. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13966. (exit $ac_status); } && {
  13967. test -z "$ac_c_werror_flag" ||
  13968. test ! -s conftest.err
  13969. } && test -s conftest.$ac_objext; then
  13970. ac_header_compiler=yes
  13971. else
  13972. $as_echo "$as_me: failed program was:" >&5
  13973. sed 's/^/| /' conftest.$ac_ext >&5
  13974. ac_header_compiler=no
  13975. fi
  13976. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13977. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13978. $as_echo "$ac_header_compiler" >&6; }
  13979. # Is the header present?
  13980. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13981. $as_echo_n "checking $ac_header presence... " >&6; }
  13982. cat >conftest.$ac_ext <<_ACEOF
  13983. /* confdefs.h. */
  13984. _ACEOF
  13985. cat confdefs.h >>conftest.$ac_ext
  13986. cat >>conftest.$ac_ext <<_ACEOF
  13987. /* end confdefs.h. */
  13988. #include <$ac_header>
  13989. _ACEOF
  13990. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13991. case "(($ac_try" in
  13992. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13993. *) ac_try_echo=$ac_try;;
  13994. esac
  13995. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13996. $as_echo "$ac_try_echo") >&5
  13997. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13998. ac_status=$?
  13999. grep -v '^ *+' conftest.er1 >conftest.err
  14000. rm -f conftest.er1
  14001. cat conftest.err >&5
  14002. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14003. (exit $ac_status); } >/dev/null && {
  14004. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14005. test ! -s conftest.err
  14006. }; then
  14007. ac_header_preproc=yes
  14008. else
  14009. $as_echo "$as_me: failed program was:" >&5
  14010. sed 's/^/| /' conftest.$ac_ext >&5
  14011. ac_header_preproc=no
  14012. fi
  14013. rm -f conftest.err conftest.$ac_ext
  14014. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14015. $as_echo "$ac_header_preproc" >&6; }
  14016. # So? What about this header?
  14017. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14018. yes:no: )
  14019. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14020. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14021. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  14022. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  14023. ac_header_preproc=yes
  14024. ;;
  14025. no:yes:* )
  14026. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  14027. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  14028. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  14029. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  14030. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  14031. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  14032. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  14033. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  14034. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  14035. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  14036. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  14037. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  14038. ;;
  14039. esac
  14040. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14041. $as_echo_n "checking for $ac_header... " >&6; }
  14042. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14043. $as_echo_n "(cached) " >&6
  14044. else
  14045. eval "$as_ac_Header=\$ac_header_preproc"
  14046. fi
  14047. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14048. $as_echo "$as_val"'`
  14049. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14050. $as_echo "$ac_res" >&6; }
  14051. fi
  14052. as_val=`eval 'as_val=${'$as_ac_Header'}
  14053. $as_echo "$as_val"'`
  14054. if test "x$as_val" = x""yes; then
  14055. cat >>confdefs.h <<_ACEOF
  14056. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14057. _ACEOF
  14058. fi
  14059. done
  14060. for ac_header in sys/socket.h
  14061. do
  14062. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14063. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14064. $as_echo_n "checking for $ac_header... " >&6; }
  14065. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14066. $as_echo_n "(cached) " >&6
  14067. else
  14068. cat >conftest.$ac_ext <<_ACEOF
  14069. /* confdefs.h. */
  14070. _ACEOF
  14071. cat confdefs.h >>conftest.$ac_ext
  14072. cat >>conftest.$ac_ext <<_ACEOF
  14073. /* end confdefs.h. */
  14074. #if HAVE_SYS_TYPES_H
  14075. # include <sys/types.h>
  14076. # endif
  14077. #include <$ac_header>
  14078. _ACEOF
  14079. rm -f conftest.$ac_objext
  14080. if { (ac_try="$ac_compile"
  14081. case "(($ac_try" in
  14082. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14083. *) ac_try_echo=$ac_try;;
  14084. esac
  14085. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14086. $as_echo "$ac_try_echo") >&5
  14087. (eval "$ac_compile") 2>conftest.er1
  14088. ac_status=$?
  14089. grep -v '^ *+' conftest.er1 >conftest.err
  14090. rm -f conftest.er1
  14091. cat conftest.err >&5
  14092. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14093. (exit $ac_status); } && {
  14094. test -z "$ac_c_werror_flag" ||
  14095. test ! -s conftest.err
  14096. } && test -s conftest.$ac_objext; then
  14097. eval "$as_ac_Header=yes"
  14098. else
  14099. $as_echo "$as_me: failed program was:" >&5
  14100. sed 's/^/| /' conftest.$ac_ext >&5
  14101. eval "$as_ac_Header=no"
  14102. fi
  14103. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14104. fi
  14105. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14106. $as_echo "$as_val"'`
  14107. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14108. $as_echo "$ac_res" >&6; }
  14109. as_val=`eval 'as_val=${'$as_ac_Header'}
  14110. $as_echo "$as_val"'`
  14111. if test "x$as_val" = x""yes; then
  14112. cat >>confdefs.h <<_ACEOF
  14113. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14114. _ACEOF
  14115. fi
  14116. done
  14117. for ac_header in netinet/in.h
  14118. do
  14119. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14120. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14121. $as_echo_n "checking for $ac_header... " >&6; }
  14122. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14123. $as_echo_n "(cached) " >&6
  14124. else
  14125. cat >conftest.$ac_ext <<_ACEOF
  14126. /* confdefs.h. */
  14127. _ACEOF
  14128. cat confdefs.h >>conftest.$ac_ext
  14129. cat >>conftest.$ac_ext <<_ACEOF
  14130. /* end confdefs.h. */
  14131. #if HAVE_SYS_TYPES_H
  14132. # include <sys/types.h>
  14133. # endif
  14134. #include <$ac_header>
  14135. _ACEOF
  14136. rm -f conftest.$ac_objext
  14137. if { (ac_try="$ac_compile"
  14138. case "(($ac_try" in
  14139. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14140. *) ac_try_echo=$ac_try;;
  14141. esac
  14142. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14143. $as_echo "$ac_try_echo") >&5
  14144. (eval "$ac_compile") 2>conftest.er1
  14145. ac_status=$?
  14146. grep -v '^ *+' conftest.er1 >conftest.err
  14147. rm -f conftest.er1
  14148. cat conftest.err >&5
  14149. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14150. (exit $ac_status); } && {
  14151. test -z "$ac_c_werror_flag" ||
  14152. test ! -s conftest.err
  14153. } && test -s conftest.$ac_objext; then
  14154. eval "$as_ac_Header=yes"
  14155. else
  14156. $as_echo "$as_me: failed program was:" >&5
  14157. sed 's/^/| /' conftest.$ac_ext >&5
  14158. eval "$as_ac_Header=no"
  14159. fi
  14160. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14161. fi
  14162. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14163. $as_echo "$as_val"'`
  14164. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14165. $as_echo "$ac_res" >&6; }
  14166. as_val=`eval 'as_val=${'$as_ac_Header'}
  14167. $as_echo "$as_val"'`
  14168. if test "x$as_val" = x""yes; then
  14169. cat >>confdefs.h <<_ACEOF
  14170. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14171. _ACEOF
  14172. fi
  14173. done
  14174. for ac_header in arpa/inet.h
  14175. do
  14176. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14177. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14178. $as_echo_n "checking for $ac_header... " >&6; }
  14179. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14180. $as_echo_n "(cached) " >&6
  14181. else
  14182. cat >conftest.$ac_ext <<_ACEOF
  14183. /* confdefs.h. */
  14184. _ACEOF
  14185. cat confdefs.h >>conftest.$ac_ext
  14186. cat >>conftest.$ac_ext <<_ACEOF
  14187. /* end confdefs.h. */
  14188. #if HAVE_SYS_TYPES_H
  14189. # include <sys/types.h>
  14190. # endif
  14191. #if HAVE_ARPA_INET_H
  14192. # include <arpa/inet.h>
  14193. # endif
  14194. #include <$ac_header>
  14195. _ACEOF
  14196. rm -f conftest.$ac_objext
  14197. if { (ac_try="$ac_compile"
  14198. case "(($ac_try" in
  14199. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14200. *) ac_try_echo=$ac_try;;
  14201. esac
  14202. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14203. $as_echo "$ac_try_echo") >&5
  14204. (eval "$ac_compile") 2>conftest.er1
  14205. ac_status=$?
  14206. grep -v '^ *+' conftest.er1 >conftest.err
  14207. rm -f conftest.er1
  14208. cat conftest.err >&5
  14209. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14210. (exit $ac_status); } && {
  14211. test -z "$ac_c_werror_flag" ||
  14212. test ! -s conftest.err
  14213. } && test -s conftest.$ac_objext; then
  14214. eval "$as_ac_Header=yes"
  14215. else
  14216. $as_echo "$as_me: failed program was:" >&5
  14217. sed 's/^/| /' conftest.$ac_ext >&5
  14218. eval "$as_ac_Header=no"
  14219. fi
  14220. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14221. fi
  14222. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14223. $as_echo "$as_val"'`
  14224. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14225. $as_echo "$ac_res" >&6; }
  14226. as_val=`eval 'as_val=${'$as_ac_Header'}
  14227. $as_echo "$as_val"'`
  14228. if test "x$as_val" = x""yes; then
  14229. cat >>confdefs.h <<_ACEOF
  14230. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14231. _ACEOF
  14232. fi
  14233. done
  14234. for ac_header in netdb.h
  14235. do
  14236. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14237. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14238. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14239. $as_echo_n "checking for $ac_header... " >&6; }
  14240. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14241. $as_echo_n "(cached) " >&6
  14242. fi
  14243. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14244. $as_echo "$as_val"'`
  14245. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14246. $as_echo "$ac_res" >&6; }
  14247. else
  14248. # Is the header compilable?
  14249. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  14250. $as_echo_n "checking $ac_header usability... " >&6; }
  14251. cat >conftest.$ac_ext <<_ACEOF
  14252. /* confdefs.h. */
  14253. _ACEOF
  14254. cat confdefs.h >>conftest.$ac_ext
  14255. cat >>conftest.$ac_ext <<_ACEOF
  14256. /* end confdefs.h. */
  14257. $ac_includes_default
  14258. #include <$ac_header>
  14259. _ACEOF
  14260. rm -f conftest.$ac_objext
  14261. if { (ac_try="$ac_compile"
  14262. case "(($ac_try" in
  14263. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14264. *) ac_try_echo=$ac_try;;
  14265. esac
  14266. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14267. $as_echo "$ac_try_echo") >&5
  14268. (eval "$ac_compile") 2>conftest.er1
  14269. ac_status=$?
  14270. grep -v '^ *+' conftest.er1 >conftest.err
  14271. rm -f conftest.er1
  14272. cat conftest.err >&5
  14273. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14274. (exit $ac_status); } && {
  14275. test -z "$ac_c_werror_flag" ||
  14276. test ! -s conftest.err
  14277. } && test -s conftest.$ac_objext; then
  14278. ac_header_compiler=yes
  14279. else
  14280. $as_echo "$as_me: failed program was:" >&5
  14281. sed 's/^/| /' conftest.$ac_ext >&5
  14282. ac_header_compiler=no
  14283. fi
  14284. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14285. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  14286. $as_echo "$ac_header_compiler" >&6; }
  14287. # Is the header present?
  14288. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  14289. $as_echo_n "checking $ac_header presence... " >&6; }
  14290. cat >conftest.$ac_ext <<_ACEOF
  14291. /* confdefs.h. */
  14292. _ACEOF
  14293. cat confdefs.h >>conftest.$ac_ext
  14294. cat >>conftest.$ac_ext <<_ACEOF
  14295. /* end confdefs.h. */
  14296. #include <$ac_header>
  14297. _ACEOF
  14298. if { (ac_try="$ac_cpp conftest.$ac_ext"
  14299. case "(($ac_try" in
  14300. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14301. *) ac_try_echo=$ac_try;;
  14302. esac
  14303. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14304. $as_echo "$ac_try_echo") >&5
  14305. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14306. ac_status=$?
  14307. grep -v '^ *+' conftest.er1 >conftest.err
  14308. rm -f conftest.er1
  14309. cat conftest.err >&5
  14310. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14311. (exit $ac_status); } >/dev/null && {
  14312. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14313. test ! -s conftest.err
  14314. }; then
  14315. ac_header_preproc=yes
  14316. else
  14317. $as_echo "$as_me: failed program was:" >&5
  14318. sed 's/^/| /' conftest.$ac_ext >&5
  14319. ac_header_preproc=no
  14320. fi
  14321. rm -f conftest.err conftest.$ac_ext
  14322. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14323. $as_echo "$ac_header_preproc" >&6; }
  14324. # So? What about this header?
  14325. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14326. yes:no: )
  14327. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14328. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14329. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  14330. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  14331. ac_header_preproc=yes
  14332. ;;
  14333. no:yes:* )
  14334. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  14335. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  14336. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  14337. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  14338. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  14339. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  14340. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  14341. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  14342. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  14343. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  14344. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  14345. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  14346. ;;
  14347. esac
  14348. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14349. $as_echo_n "checking for $ac_header... " >&6; }
  14350. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14351. $as_echo_n "(cached) " >&6
  14352. else
  14353. eval "$as_ac_Header=\$ac_header_preproc"
  14354. fi
  14355. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14356. $as_echo "$as_val"'`
  14357. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14358. $as_echo "$ac_res" >&6; }
  14359. fi
  14360. as_val=`eval 'as_val=${'$as_ac_Header'}
  14361. $as_echo "$as_val"'`
  14362. if test "x$as_val" = x""yes; then
  14363. cat >>confdefs.h <<_ACEOF
  14364. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14365. _ACEOF
  14366. fi
  14367. done
  14368. for ac_header in sys/time.h
  14369. do
  14370. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14371. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14372. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14373. $as_echo_n "checking for $ac_header... " >&6; }
  14374. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14375. $as_echo_n "(cached) " >&6
  14376. fi
  14377. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14378. $as_echo "$as_val"'`
  14379. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14380. $as_echo "$ac_res" >&6; }
  14381. else
  14382. # Is the header compilable?
  14383. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  14384. $as_echo_n "checking $ac_header usability... " >&6; }
  14385. cat >conftest.$ac_ext <<_ACEOF
  14386. /* confdefs.h. */
  14387. _ACEOF
  14388. cat confdefs.h >>conftest.$ac_ext
  14389. cat >>conftest.$ac_ext <<_ACEOF
  14390. /* end confdefs.h. */
  14391. $ac_includes_default
  14392. #include <$ac_header>
  14393. _ACEOF
  14394. rm -f conftest.$ac_objext
  14395. if { (ac_try="$ac_compile"
  14396. case "(($ac_try" in
  14397. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14398. *) ac_try_echo=$ac_try;;
  14399. esac
  14400. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14401. $as_echo "$ac_try_echo") >&5
  14402. (eval "$ac_compile") 2>conftest.er1
  14403. ac_status=$?
  14404. grep -v '^ *+' conftest.er1 >conftest.err
  14405. rm -f conftest.er1
  14406. cat conftest.err >&5
  14407. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14408. (exit $ac_status); } && {
  14409. test -z "$ac_c_werror_flag" ||
  14410. test ! -s conftest.err
  14411. } && test -s conftest.$ac_objext; then
  14412. ac_header_compiler=yes
  14413. else
  14414. $as_echo "$as_me: failed program was:" >&5
  14415. sed 's/^/| /' conftest.$ac_ext >&5
  14416. ac_header_compiler=no
  14417. fi
  14418. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14419. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  14420. $as_echo "$ac_header_compiler" >&6; }
  14421. # Is the header present?
  14422. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  14423. $as_echo_n "checking $ac_header presence... " >&6; }
  14424. cat >conftest.$ac_ext <<_ACEOF
  14425. /* confdefs.h. */
  14426. _ACEOF
  14427. cat confdefs.h >>conftest.$ac_ext
  14428. cat >>conftest.$ac_ext <<_ACEOF
  14429. /* end confdefs.h. */
  14430. #include <$ac_header>
  14431. _ACEOF
  14432. if { (ac_try="$ac_cpp conftest.$ac_ext"
  14433. case "(($ac_try" in
  14434. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14435. *) ac_try_echo=$ac_try;;
  14436. esac
  14437. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14438. $as_echo "$ac_try_echo") >&5
  14439. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14440. ac_status=$?
  14441. grep -v '^ *+' conftest.er1 >conftest.err
  14442. rm -f conftest.er1
  14443. cat conftest.err >&5
  14444. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14445. (exit $ac_status); } >/dev/null && {
  14446. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14447. test ! -s conftest.err
  14448. }; then
  14449. ac_header_preproc=yes
  14450. else
  14451. $as_echo "$as_me: failed program was:" >&5
  14452. sed 's/^/| /' conftest.$ac_ext >&5
  14453. ac_header_preproc=no
  14454. fi
  14455. rm -f conftest.err conftest.$ac_ext
  14456. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14457. $as_echo "$ac_header_preproc" >&6; }
  14458. # So? What about this header?
  14459. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14460. yes:no: )
  14461. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14462. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14463. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  14464. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  14465. ac_header_preproc=yes
  14466. ;;
  14467. no:yes:* )
  14468. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  14469. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  14470. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  14471. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  14472. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  14473. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  14474. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  14475. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  14476. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  14477. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  14478. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  14479. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  14480. ;;
  14481. esac
  14482. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14483. $as_echo_n "checking for $ac_header... " >&6; }
  14484. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14485. $as_echo_n "(cached) " >&6
  14486. else
  14487. eval "$as_ac_Header=\$ac_header_preproc"
  14488. fi
  14489. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14490. $as_echo "$as_val"'`
  14491. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14492. $as_echo "$ac_res" >&6; }
  14493. fi
  14494. as_val=`eval 'as_val=${'$as_ac_Header'}
  14495. $as_echo "$as_val"'`
  14496. if test "x$as_val" = x""yes; then
  14497. cat >>confdefs.h <<_ACEOF
  14498. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14499. _ACEOF
  14500. fi
  14501. done
  14502. for ac_header in sys/select.h
  14503. do
  14504. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14505. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14506. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14507. $as_echo_n "checking for $ac_header... " >&6; }
  14508. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14509. $as_echo_n "(cached) " >&6
  14510. fi
  14511. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14512. $as_echo "$as_val"'`
  14513. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14514. $as_echo "$ac_res" >&6; }
  14515. else
  14516. # Is the header compilable?
  14517. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  14518. $as_echo_n "checking $ac_header usability... " >&6; }
  14519. cat >conftest.$ac_ext <<_ACEOF
  14520. /* confdefs.h. */
  14521. _ACEOF
  14522. cat confdefs.h >>conftest.$ac_ext
  14523. cat >>conftest.$ac_ext <<_ACEOF
  14524. /* end confdefs.h. */
  14525. $ac_includes_default
  14526. #include <$ac_header>
  14527. _ACEOF
  14528. rm -f conftest.$ac_objext
  14529. if { (ac_try="$ac_compile"
  14530. case "(($ac_try" in
  14531. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14532. *) ac_try_echo=$ac_try;;
  14533. esac
  14534. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14535. $as_echo "$ac_try_echo") >&5
  14536. (eval "$ac_compile") 2>conftest.er1
  14537. ac_status=$?
  14538. grep -v '^ *+' conftest.er1 >conftest.err
  14539. rm -f conftest.er1
  14540. cat conftest.err >&5
  14541. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14542. (exit $ac_status); } && {
  14543. test -z "$ac_c_werror_flag" ||
  14544. test ! -s conftest.err
  14545. } && test -s conftest.$ac_objext; then
  14546. ac_header_compiler=yes
  14547. else
  14548. $as_echo "$as_me: failed program was:" >&5
  14549. sed 's/^/| /' conftest.$ac_ext >&5
  14550. ac_header_compiler=no
  14551. fi
  14552. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14553. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  14554. $as_echo "$ac_header_compiler" >&6; }
  14555. # Is the header present?
  14556. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  14557. $as_echo_n "checking $ac_header presence... " >&6; }
  14558. cat >conftest.$ac_ext <<_ACEOF
  14559. /* confdefs.h. */
  14560. _ACEOF
  14561. cat confdefs.h >>conftest.$ac_ext
  14562. cat >>conftest.$ac_ext <<_ACEOF
  14563. /* end confdefs.h. */
  14564. #include <$ac_header>
  14565. _ACEOF
  14566. if { (ac_try="$ac_cpp conftest.$ac_ext"
  14567. case "(($ac_try" in
  14568. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14569. *) ac_try_echo=$ac_try;;
  14570. esac
  14571. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14572. $as_echo "$ac_try_echo") >&5
  14573. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14574. ac_status=$?
  14575. grep -v '^ *+' conftest.er1 >conftest.err
  14576. rm -f conftest.er1
  14577. cat conftest.err >&5
  14578. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14579. (exit $ac_status); } >/dev/null && {
  14580. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14581. test ! -s conftest.err
  14582. }; then
  14583. ac_header_preproc=yes
  14584. else
  14585. $as_echo "$as_me: failed program was:" >&5
  14586. sed 's/^/| /' conftest.$ac_ext >&5
  14587. ac_header_preproc=no
  14588. fi
  14589. rm -f conftest.err conftest.$ac_ext
  14590. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14591. $as_echo "$ac_header_preproc" >&6; }
  14592. # So? What about this header?
  14593. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14594. yes:no: )
  14595. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14596. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14597. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  14598. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  14599. ac_header_preproc=yes
  14600. ;;
  14601. no:yes:* )
  14602. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  14603. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  14604. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  14605. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  14606. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  14607. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  14608. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  14609. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  14610. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  14611. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  14612. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  14613. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  14614. ;;
  14615. esac
  14616. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14617. $as_echo_n "checking for $ac_header... " >&6; }
  14618. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14619. $as_echo_n "(cached) " >&6
  14620. else
  14621. eval "$as_ac_Header=\$ac_header_preproc"
  14622. fi
  14623. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14624. $as_echo "$as_val"'`
  14625. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14626. $as_echo "$ac_res" >&6; }
  14627. fi
  14628. as_val=`eval 'as_val=${'$as_ac_Header'}
  14629. $as_echo "$as_val"'`
  14630. if test "x$as_val" = x""yes; then
  14631. cat >>confdefs.h <<_ACEOF
  14632. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14633. _ACEOF
  14634. fi
  14635. done
  14636. for ac_header in poll.h
  14637. do
  14638. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14639. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14640. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14641. $as_echo_n "checking for $ac_header... " >&6; }
  14642. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14643. $as_echo_n "(cached) " >&6
  14644. fi
  14645. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14646. $as_echo "$as_val"'`
  14647. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14648. $as_echo "$ac_res" >&6; }
  14649. else
  14650. # Is the header compilable?
  14651. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  14652. $as_echo_n "checking $ac_header usability... " >&6; }
  14653. cat >conftest.$ac_ext <<_ACEOF
  14654. /* confdefs.h. */
  14655. _ACEOF
  14656. cat confdefs.h >>conftest.$ac_ext
  14657. cat >>conftest.$ac_ext <<_ACEOF
  14658. /* end confdefs.h. */
  14659. $ac_includes_default
  14660. #include <$ac_header>
  14661. _ACEOF
  14662. rm -f conftest.$ac_objext
  14663. if { (ac_try="$ac_compile"
  14664. case "(($ac_try" in
  14665. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14666. *) ac_try_echo=$ac_try;;
  14667. esac
  14668. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14669. $as_echo "$ac_try_echo") >&5
  14670. (eval "$ac_compile") 2>conftest.er1
  14671. ac_status=$?
  14672. grep -v '^ *+' conftest.er1 >conftest.err
  14673. rm -f conftest.er1
  14674. cat conftest.err >&5
  14675. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14676. (exit $ac_status); } && {
  14677. test -z "$ac_c_werror_flag" ||
  14678. test ! -s conftest.err
  14679. } && test -s conftest.$ac_objext; then
  14680. ac_header_compiler=yes
  14681. else
  14682. $as_echo "$as_me: failed program was:" >&5
  14683. sed 's/^/| /' conftest.$ac_ext >&5
  14684. ac_header_compiler=no
  14685. fi
  14686. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14687. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  14688. $as_echo "$ac_header_compiler" >&6; }
  14689. # Is the header present?
  14690. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  14691. $as_echo_n "checking $ac_header presence... " >&6; }
  14692. cat >conftest.$ac_ext <<_ACEOF
  14693. /* confdefs.h. */
  14694. _ACEOF
  14695. cat confdefs.h >>conftest.$ac_ext
  14696. cat >>conftest.$ac_ext <<_ACEOF
  14697. /* end confdefs.h. */
  14698. #include <$ac_header>
  14699. _ACEOF
  14700. if { (ac_try="$ac_cpp conftest.$ac_ext"
  14701. case "(($ac_try" in
  14702. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14703. *) ac_try_echo=$ac_try;;
  14704. esac
  14705. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14706. $as_echo "$ac_try_echo") >&5
  14707. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14708. ac_status=$?
  14709. grep -v '^ *+' conftest.er1 >conftest.err
  14710. rm -f conftest.er1
  14711. cat conftest.err >&5
  14712. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14713. (exit $ac_status); } >/dev/null && {
  14714. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14715. test ! -s conftest.err
  14716. }; then
  14717. ac_header_preproc=yes
  14718. else
  14719. $as_echo "$as_me: failed program was:" >&5
  14720. sed 's/^/| /' conftest.$ac_ext >&5
  14721. ac_header_preproc=no
  14722. fi
  14723. rm -f conftest.err conftest.$ac_ext
  14724. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14725. $as_echo "$ac_header_preproc" >&6; }
  14726. # So? What about this header?
  14727. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14728. yes:no: )
  14729. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14730. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14731. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  14732. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  14733. ac_header_preproc=yes
  14734. ;;
  14735. no:yes:* )
  14736. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  14737. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  14738. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  14739. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  14740. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  14741. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  14742. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  14743. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  14744. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  14745. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  14746. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  14747. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  14748. ;;
  14749. esac
  14750. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14751. $as_echo_n "checking for $ac_header... " >&6; }
  14752. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14753. $as_echo_n "(cached) " >&6
  14754. else
  14755. eval "$as_ac_Header=\$ac_header_preproc"
  14756. fi
  14757. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14758. $as_echo "$as_val"'`
  14759. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14760. $as_echo "$ac_res" >&6; }
  14761. fi
  14762. as_val=`eval 'as_val=${'$as_ac_Header'}
  14763. $as_echo "$as_val"'`
  14764. if test "x$as_val" = x""yes; then
  14765. cat >>confdefs.h <<_ACEOF
  14766. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14767. _ACEOF
  14768. fi
  14769. done
  14770. for ac_header in sys/mman.h
  14771. do
  14772. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14773. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14774. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14775. $as_echo_n "checking for $ac_header... " >&6; }
  14776. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14777. $as_echo_n "(cached) " >&6
  14778. fi
  14779. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14780. $as_echo "$as_val"'`
  14781. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14782. $as_echo "$ac_res" >&6; }
  14783. else
  14784. # Is the header compilable?
  14785. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  14786. $as_echo_n "checking $ac_header usability... " >&6; }
  14787. cat >conftest.$ac_ext <<_ACEOF
  14788. /* confdefs.h. */
  14789. _ACEOF
  14790. cat confdefs.h >>conftest.$ac_ext
  14791. cat >>conftest.$ac_ext <<_ACEOF
  14792. /* end confdefs.h. */
  14793. $ac_includes_default
  14794. #include <$ac_header>
  14795. _ACEOF
  14796. rm -f conftest.$ac_objext
  14797. if { (ac_try="$ac_compile"
  14798. case "(($ac_try" in
  14799. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14800. *) ac_try_echo=$ac_try;;
  14801. esac
  14802. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14803. $as_echo "$ac_try_echo") >&5
  14804. (eval "$ac_compile") 2>conftest.er1
  14805. ac_status=$?
  14806. grep -v '^ *+' conftest.er1 >conftest.err
  14807. rm -f conftest.er1
  14808. cat conftest.err >&5
  14809. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14810. (exit $ac_status); } && {
  14811. test -z "$ac_c_werror_flag" ||
  14812. test ! -s conftest.err
  14813. } && test -s conftest.$ac_objext; then
  14814. ac_header_compiler=yes
  14815. else
  14816. $as_echo "$as_me: failed program was:" >&5
  14817. sed 's/^/| /' conftest.$ac_ext >&5
  14818. ac_header_compiler=no
  14819. fi
  14820. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14821. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  14822. $as_echo "$ac_header_compiler" >&6; }
  14823. # Is the header present?
  14824. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  14825. $as_echo_n "checking $ac_header presence... " >&6; }
  14826. cat >conftest.$ac_ext <<_ACEOF
  14827. /* confdefs.h. */
  14828. _ACEOF
  14829. cat confdefs.h >>conftest.$ac_ext
  14830. cat >>conftest.$ac_ext <<_ACEOF
  14831. /* end confdefs.h. */
  14832. #include <$ac_header>
  14833. _ACEOF
  14834. if { (ac_try="$ac_cpp conftest.$ac_ext"
  14835. case "(($ac_try" in
  14836. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14837. *) ac_try_echo=$ac_try;;
  14838. esac
  14839. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14840. $as_echo "$ac_try_echo") >&5
  14841. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14842. ac_status=$?
  14843. grep -v '^ *+' conftest.er1 >conftest.err
  14844. rm -f conftest.er1
  14845. cat conftest.err >&5
  14846. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14847. (exit $ac_status); } >/dev/null && {
  14848. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14849. test ! -s conftest.err
  14850. }; then
  14851. ac_header_preproc=yes
  14852. else
  14853. $as_echo "$as_me: failed program was:" >&5
  14854. sed 's/^/| /' conftest.$ac_ext >&5
  14855. ac_header_preproc=no
  14856. fi
  14857. rm -f conftest.err conftest.$ac_ext
  14858. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14859. $as_echo "$ac_header_preproc" >&6; }
  14860. # So? What about this header?
  14861. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14862. yes:no: )
  14863. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14864. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14865. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  14866. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  14867. ac_header_preproc=yes
  14868. ;;
  14869. no:yes:* )
  14870. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  14871. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  14872. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  14873. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  14874. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  14875. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  14876. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  14877. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  14878. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  14879. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  14880. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  14881. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  14882. ;;
  14883. esac
  14884. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14885. $as_echo_n "checking for $ac_header... " >&6; }
  14886. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14887. $as_echo_n "(cached) " >&6
  14888. else
  14889. eval "$as_ac_Header=\$ac_header_preproc"
  14890. fi
  14891. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14892. $as_echo "$as_val"'`
  14893. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14894. $as_echo "$ac_res" >&6; }
  14895. fi
  14896. as_val=`eval 'as_val=${'$as_ac_Header'}
  14897. $as_echo "$as_val"'`
  14898. if test "x$as_val" = x""yes; then
  14899. cat >>confdefs.h <<_ACEOF
  14900. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14901. _ACEOF
  14902. fi
  14903. done
  14904. for ac_header in sys/timeb.h
  14905. do
  14906. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14907. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14908. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14909. $as_echo_n "checking for $ac_header... " >&6; }
  14910. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14911. $as_echo_n "(cached) " >&6
  14912. fi
  14913. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14914. $as_echo "$as_val"'`
  14915. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14916. $as_echo "$ac_res" >&6; }
  14917. else
  14918. # Is the header compilable?
  14919. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  14920. $as_echo_n "checking $ac_header usability... " >&6; }
  14921. cat >conftest.$ac_ext <<_ACEOF
  14922. /* confdefs.h. */
  14923. _ACEOF
  14924. cat confdefs.h >>conftest.$ac_ext
  14925. cat >>conftest.$ac_ext <<_ACEOF
  14926. /* end confdefs.h. */
  14927. $ac_includes_default
  14928. #include <$ac_header>
  14929. _ACEOF
  14930. rm -f conftest.$ac_objext
  14931. if { (ac_try="$ac_compile"
  14932. case "(($ac_try" in
  14933. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14934. *) ac_try_echo=$ac_try;;
  14935. esac
  14936. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14937. $as_echo "$ac_try_echo") >&5
  14938. (eval "$ac_compile") 2>conftest.er1
  14939. ac_status=$?
  14940. grep -v '^ *+' conftest.er1 >conftest.err
  14941. rm -f conftest.er1
  14942. cat conftest.err >&5
  14943. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14944. (exit $ac_status); } && {
  14945. test -z "$ac_c_werror_flag" ||
  14946. test ! -s conftest.err
  14947. } && test -s conftest.$ac_objext; then
  14948. ac_header_compiler=yes
  14949. else
  14950. $as_echo "$as_me: failed program was:" >&5
  14951. sed 's/^/| /' conftest.$ac_ext >&5
  14952. ac_header_compiler=no
  14953. fi
  14954. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14955. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  14956. $as_echo "$ac_header_compiler" >&6; }
  14957. # Is the header present?
  14958. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  14959. $as_echo_n "checking $ac_header presence... " >&6; }
  14960. cat >conftest.$ac_ext <<_ACEOF
  14961. /* confdefs.h. */
  14962. _ACEOF
  14963. cat confdefs.h >>conftest.$ac_ext
  14964. cat >>conftest.$ac_ext <<_ACEOF
  14965. /* end confdefs.h. */
  14966. #include <$ac_header>
  14967. _ACEOF
  14968. if { (ac_try="$ac_cpp conftest.$ac_ext"
  14969. case "(($ac_try" in
  14970. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14971. *) ac_try_echo=$ac_try;;
  14972. esac
  14973. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14974. $as_echo "$ac_try_echo") >&5
  14975. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14976. ac_status=$?
  14977. grep -v '^ *+' conftest.er1 >conftest.err
  14978. rm -f conftest.er1
  14979. cat conftest.err >&5
  14980. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14981. (exit $ac_status); } >/dev/null && {
  14982. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14983. test ! -s conftest.err
  14984. }; then
  14985. ac_header_preproc=yes
  14986. else
  14987. $as_echo "$as_me: failed program was:" >&5
  14988. sed 's/^/| /' conftest.$ac_ext >&5
  14989. ac_header_preproc=no
  14990. fi
  14991. rm -f conftest.err conftest.$ac_ext
  14992. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14993. $as_echo "$ac_header_preproc" >&6; }
  14994. # So? What about this header?
  14995. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14996. yes:no: )
  14997. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14998. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14999. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  15000. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  15001. ac_header_preproc=yes
  15002. ;;
  15003. no:yes:* )
  15004. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  15005. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  15006. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  15007. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  15008. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  15009. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  15010. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  15011. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  15012. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  15013. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  15014. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  15015. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  15016. ;;
  15017. esac
  15018. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15019. $as_echo_n "checking for $ac_header... " >&6; }
  15020. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15021. $as_echo_n "(cached) " >&6
  15022. else
  15023. eval "$as_ac_Header=\$ac_header_preproc"
  15024. fi
  15025. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15026. $as_echo "$as_val"'`
  15027. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15028. $as_echo "$ac_res" >&6; }
  15029. fi
  15030. as_val=`eval 'as_val=${'$as_ac_Header'}
  15031. $as_echo "$as_val"'`
  15032. if test "x$as_val" = x""yes; then
  15033. cat >>confdefs.h <<_ACEOF
  15034. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15035. _ACEOF
  15036. fi
  15037. done
  15038. for ac_header in signal.h
  15039. do
  15040. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15041. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15042. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15043. $as_echo_n "checking for $ac_header... " >&6; }
  15044. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15045. $as_echo_n "(cached) " >&6
  15046. fi
  15047. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15048. $as_echo "$as_val"'`
  15049. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15050. $as_echo "$ac_res" >&6; }
  15051. else
  15052. # Is the header compilable?
  15053. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  15054. $as_echo_n "checking $ac_header usability... " >&6; }
  15055. cat >conftest.$ac_ext <<_ACEOF
  15056. /* confdefs.h. */
  15057. _ACEOF
  15058. cat confdefs.h >>conftest.$ac_ext
  15059. cat >>conftest.$ac_ext <<_ACEOF
  15060. /* end confdefs.h. */
  15061. $ac_includes_default
  15062. #include <$ac_header>
  15063. _ACEOF
  15064. rm -f conftest.$ac_objext
  15065. if { (ac_try="$ac_compile"
  15066. case "(($ac_try" in
  15067. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15068. *) ac_try_echo=$ac_try;;
  15069. esac
  15070. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15071. $as_echo "$ac_try_echo") >&5
  15072. (eval "$ac_compile") 2>conftest.er1
  15073. ac_status=$?
  15074. grep -v '^ *+' conftest.er1 >conftest.err
  15075. rm -f conftest.er1
  15076. cat conftest.err >&5
  15077. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15078. (exit $ac_status); } && {
  15079. test -z "$ac_c_werror_flag" ||
  15080. test ! -s conftest.err
  15081. } && test -s conftest.$ac_objext; then
  15082. ac_header_compiler=yes
  15083. else
  15084. $as_echo "$as_me: failed program was:" >&5
  15085. sed 's/^/| /' conftest.$ac_ext >&5
  15086. ac_header_compiler=no
  15087. fi
  15088. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15089. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15090. $as_echo "$ac_header_compiler" >&6; }
  15091. # Is the header present?
  15092. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  15093. $as_echo_n "checking $ac_header presence... " >&6; }
  15094. cat >conftest.$ac_ext <<_ACEOF
  15095. /* confdefs.h. */
  15096. _ACEOF
  15097. cat confdefs.h >>conftest.$ac_ext
  15098. cat >>conftest.$ac_ext <<_ACEOF
  15099. /* end confdefs.h. */
  15100. #include <$ac_header>
  15101. _ACEOF
  15102. if { (ac_try="$ac_cpp conftest.$ac_ext"
  15103. case "(($ac_try" in
  15104. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15105. *) ac_try_echo=$ac_try;;
  15106. esac
  15107. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15108. $as_echo "$ac_try_echo") >&5
  15109. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  15110. ac_status=$?
  15111. grep -v '^ *+' conftest.er1 >conftest.err
  15112. rm -f conftest.er1
  15113. cat conftest.err >&5
  15114. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15115. (exit $ac_status); } >/dev/null && {
  15116. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  15117. test ! -s conftest.err
  15118. }; then
  15119. ac_header_preproc=yes
  15120. else
  15121. $as_echo "$as_me: failed program was:" >&5
  15122. sed 's/^/| /' conftest.$ac_ext >&5
  15123. ac_header_preproc=no
  15124. fi
  15125. rm -f conftest.err conftest.$ac_ext
  15126. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15127. $as_echo "$ac_header_preproc" >&6; }
  15128. # So? What about this header?
  15129. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  15130. yes:no: )
  15131. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  15132. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  15133. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  15134. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  15135. ac_header_preproc=yes
  15136. ;;
  15137. no:yes:* )
  15138. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  15139. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  15140. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  15141. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  15142. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  15143. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  15144. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  15145. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  15146. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  15147. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  15148. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  15149. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  15150. ;;
  15151. esac
  15152. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15153. $as_echo_n "checking for $ac_header... " >&6; }
  15154. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15155. $as_echo_n "(cached) " >&6
  15156. else
  15157. eval "$as_ac_Header=\$ac_header_preproc"
  15158. fi
  15159. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15160. $as_echo "$as_val"'`
  15161. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15162. $as_echo "$ac_res" >&6; }
  15163. fi
  15164. as_val=`eval 'as_val=${'$as_ac_Header'}
  15165. $as_echo "$as_val"'`
  15166. if test "x$as_val" = x""yes; then
  15167. cat >>confdefs.h <<_ACEOF
  15168. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15169. _ACEOF
  15170. fi
  15171. done
  15172. for ac_header in arpa/nameser.h
  15173. do
  15174. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15175. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15176. $as_echo_n "checking for $ac_header... " >&6; }
  15177. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15178. $as_echo_n "(cached) " >&6
  15179. else
  15180. cat >conftest.$ac_ext <<_ACEOF
  15181. /* confdefs.h. */
  15182. _ACEOF
  15183. cat confdefs.h >>conftest.$ac_ext
  15184. cat >>conftest.$ac_ext <<_ACEOF
  15185. /* end confdefs.h. */
  15186. #if HAVE_SYS_TYPES_H
  15187. # include <sys/types.h>
  15188. # endif
  15189. #include <$ac_header>
  15190. _ACEOF
  15191. rm -f conftest.$ac_objext
  15192. if { (ac_try="$ac_compile"
  15193. case "(($ac_try" in
  15194. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15195. *) ac_try_echo=$ac_try;;
  15196. esac
  15197. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15198. $as_echo "$ac_try_echo") >&5
  15199. (eval "$ac_compile") 2>conftest.er1
  15200. ac_status=$?
  15201. grep -v '^ *+' conftest.er1 >conftest.err
  15202. rm -f conftest.er1
  15203. cat conftest.err >&5
  15204. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15205. (exit $ac_status); } && {
  15206. test -z "$ac_c_werror_flag" ||
  15207. test ! -s conftest.err
  15208. } && test -s conftest.$ac_objext; then
  15209. eval "$as_ac_Header=yes"
  15210. else
  15211. $as_echo "$as_me: failed program was:" >&5
  15212. sed 's/^/| /' conftest.$ac_ext >&5
  15213. eval "$as_ac_Header=no"
  15214. fi
  15215. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15216. fi
  15217. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15218. $as_echo "$as_val"'`
  15219. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15220. $as_echo "$ac_res" >&6; }
  15221. as_val=`eval 'as_val=${'$as_ac_Header'}
  15222. $as_echo "$as_val"'`
  15223. if test "x$as_val" = x""yes; then
  15224. cat >>confdefs.h <<_ACEOF
  15225. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15226. _ACEOF
  15227. fi
  15228. done
  15229. for ac_header in resolv.h
  15230. do
  15231. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15232. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15233. $as_echo_n "checking for $ac_header... " >&6; }
  15234. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15235. $as_echo_n "(cached) " >&6
  15236. else
  15237. cat >conftest.$ac_ext <<_ACEOF
  15238. /* confdefs.h. */
  15239. _ACEOF
  15240. cat confdefs.h >>conftest.$ac_ext
  15241. cat >>conftest.$ac_ext <<_ACEOF
  15242. /* end confdefs.h. */
  15243. #if HAVE_SYS_TYPES_H
  15244. # include <sys/types.h>
  15245. # endif
  15246. #if HAVE_NETINET_IN_H
  15247. # include <netinet/in.h>
  15248. # endif
  15249. #if HAVE_ARPA_NAMESER_H
  15250. # include <arpa/nameser.h>
  15251. # endif
  15252. #include <$ac_header>
  15253. _ACEOF
  15254. rm -f conftest.$ac_objext
  15255. if { (ac_try="$ac_compile"
  15256. case "(($ac_try" in
  15257. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15258. *) ac_try_echo=$ac_try;;
  15259. esac
  15260. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15261. $as_echo "$ac_try_echo") >&5
  15262. (eval "$ac_compile") 2>conftest.er1
  15263. ac_status=$?
  15264. grep -v '^ *+' conftest.er1 >conftest.err
  15265. rm -f conftest.er1
  15266. cat conftest.err >&5
  15267. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15268. (exit $ac_status); } && {
  15269. test -z "$ac_c_werror_flag" ||
  15270. test ! -s conftest.err
  15271. } && test -s conftest.$ac_objext; then
  15272. eval "$as_ac_Header=yes"
  15273. else
  15274. $as_echo "$as_me: failed program was:" >&5
  15275. sed 's/^/| /' conftest.$ac_ext >&5
  15276. eval "$as_ac_Header=no"
  15277. fi
  15278. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15279. fi
  15280. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15281. $as_echo "$as_val"'`
  15282. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15283. $as_echo "$ac_res" >&6; }
  15284. as_val=`eval 'as_val=${'$as_ac_Header'}
  15285. $as_echo "$as_val"'`
  15286. if test "x$as_val" = x""yes; then
  15287. cat >>confdefs.h <<_ACEOF
  15288. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15289. _ACEOF
  15290. fi
  15291. done
  15292. for ac_header in dl.h
  15293. do
  15294. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15295. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15296. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15297. $as_echo_n "checking for $ac_header... " >&6; }
  15298. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15299. $as_echo_n "(cached) " >&6
  15300. fi
  15301. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15302. $as_echo "$as_val"'`
  15303. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15304. $as_echo "$ac_res" >&6; }
  15305. else
  15306. # Is the header compilable?
  15307. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  15308. $as_echo_n "checking $ac_header usability... " >&6; }
  15309. cat >conftest.$ac_ext <<_ACEOF
  15310. /* confdefs.h. */
  15311. _ACEOF
  15312. cat confdefs.h >>conftest.$ac_ext
  15313. cat >>conftest.$ac_ext <<_ACEOF
  15314. /* end confdefs.h. */
  15315. $ac_includes_default
  15316. #include <$ac_header>
  15317. _ACEOF
  15318. rm -f conftest.$ac_objext
  15319. if { (ac_try="$ac_compile"
  15320. case "(($ac_try" in
  15321. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15322. *) ac_try_echo=$ac_try;;
  15323. esac
  15324. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15325. $as_echo "$ac_try_echo") >&5
  15326. (eval "$ac_compile") 2>conftest.er1
  15327. ac_status=$?
  15328. grep -v '^ *+' conftest.er1 >conftest.err
  15329. rm -f conftest.er1
  15330. cat conftest.err >&5
  15331. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15332. (exit $ac_status); } && {
  15333. test -z "$ac_c_werror_flag" ||
  15334. test ! -s conftest.err
  15335. } && test -s conftest.$ac_objext; then
  15336. ac_header_compiler=yes
  15337. else
  15338. $as_echo "$as_me: failed program was:" >&5
  15339. sed 's/^/| /' conftest.$ac_ext >&5
  15340. ac_header_compiler=no
  15341. fi
  15342. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15343. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15344. $as_echo "$ac_header_compiler" >&6; }
  15345. # Is the header present?
  15346. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  15347. $as_echo_n "checking $ac_header presence... " >&6; }
  15348. cat >conftest.$ac_ext <<_ACEOF
  15349. /* confdefs.h. */
  15350. _ACEOF
  15351. cat confdefs.h >>conftest.$ac_ext
  15352. cat >>conftest.$ac_ext <<_ACEOF
  15353. /* end confdefs.h. */
  15354. #include <$ac_header>
  15355. _ACEOF
  15356. if { (ac_try="$ac_cpp conftest.$ac_ext"
  15357. case "(($ac_try" in
  15358. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15359. *) ac_try_echo=$ac_try;;
  15360. esac
  15361. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15362. $as_echo "$ac_try_echo") >&5
  15363. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  15364. ac_status=$?
  15365. grep -v '^ *+' conftest.er1 >conftest.err
  15366. rm -f conftest.er1
  15367. cat conftest.err >&5
  15368. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15369. (exit $ac_status); } >/dev/null && {
  15370. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  15371. test ! -s conftest.err
  15372. }; then
  15373. ac_header_preproc=yes
  15374. else
  15375. $as_echo "$as_me: failed program was:" >&5
  15376. sed 's/^/| /' conftest.$ac_ext >&5
  15377. ac_header_preproc=no
  15378. fi
  15379. rm -f conftest.err conftest.$ac_ext
  15380. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15381. $as_echo "$ac_header_preproc" >&6; }
  15382. # So? What about this header?
  15383. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  15384. yes:no: )
  15385. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  15386. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  15387. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  15388. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  15389. ac_header_preproc=yes
  15390. ;;
  15391. no:yes:* )
  15392. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  15393. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  15394. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  15395. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  15396. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  15397. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  15398. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  15399. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  15400. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  15401. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  15402. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  15403. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  15404. ;;
  15405. esac
  15406. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15407. $as_echo_n "checking for $ac_header... " >&6; }
  15408. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15409. $as_echo_n "(cached) " >&6
  15410. else
  15411. eval "$as_ac_Header=\$ac_header_preproc"
  15412. fi
  15413. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15414. $as_echo "$as_val"'`
  15415. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15416. $as_echo "$ac_res" >&6; }
  15417. fi
  15418. as_val=`eval 'as_val=${'$as_ac_Header'}
  15419. $as_echo "$as_val"'`
  15420. if test "x$as_val" = x""yes; then
  15421. cat >>confdefs.h <<_ACEOF
  15422. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15423. _ACEOF
  15424. fi
  15425. done
  15426. for ac_header in dlfcn.h
  15427. do
  15428. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15429. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15430. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15431. $as_echo_n "checking for $ac_header... " >&6; }
  15432. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15433. $as_echo_n "(cached) " >&6
  15434. fi
  15435. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15436. $as_echo "$as_val"'`
  15437. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15438. $as_echo "$ac_res" >&6; }
  15439. else
  15440. # Is the header compilable?
  15441. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  15442. $as_echo_n "checking $ac_header usability... " >&6; }
  15443. cat >conftest.$ac_ext <<_ACEOF
  15444. /* confdefs.h. */
  15445. _ACEOF
  15446. cat confdefs.h >>conftest.$ac_ext
  15447. cat >>conftest.$ac_ext <<_ACEOF
  15448. /* end confdefs.h. */
  15449. $ac_includes_default
  15450. #include <$ac_header>
  15451. _ACEOF
  15452. rm -f conftest.$ac_objext
  15453. if { (ac_try="$ac_compile"
  15454. case "(($ac_try" in
  15455. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15456. *) ac_try_echo=$ac_try;;
  15457. esac
  15458. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15459. $as_echo "$ac_try_echo") >&5
  15460. (eval "$ac_compile") 2>conftest.er1
  15461. ac_status=$?
  15462. grep -v '^ *+' conftest.er1 >conftest.err
  15463. rm -f conftest.er1
  15464. cat conftest.err >&5
  15465. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15466. (exit $ac_status); } && {
  15467. test -z "$ac_c_werror_flag" ||
  15468. test ! -s conftest.err
  15469. } && test -s conftest.$ac_objext; then
  15470. ac_header_compiler=yes
  15471. else
  15472. $as_echo "$as_me: failed program was:" >&5
  15473. sed 's/^/| /' conftest.$ac_ext >&5
  15474. ac_header_compiler=no
  15475. fi
  15476. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15477. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15478. $as_echo "$ac_header_compiler" >&6; }
  15479. # Is the header present?
  15480. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  15481. $as_echo_n "checking $ac_header presence... " >&6; }
  15482. cat >conftest.$ac_ext <<_ACEOF
  15483. /* confdefs.h. */
  15484. _ACEOF
  15485. cat confdefs.h >>conftest.$ac_ext
  15486. cat >>conftest.$ac_ext <<_ACEOF
  15487. /* end confdefs.h. */
  15488. #include <$ac_header>
  15489. _ACEOF
  15490. if { (ac_try="$ac_cpp conftest.$ac_ext"
  15491. case "(($ac_try" in
  15492. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15493. *) ac_try_echo=$ac_try;;
  15494. esac
  15495. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15496. $as_echo "$ac_try_echo") >&5
  15497. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  15498. ac_status=$?
  15499. grep -v '^ *+' conftest.er1 >conftest.err
  15500. rm -f conftest.er1
  15501. cat conftest.err >&5
  15502. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15503. (exit $ac_status); } >/dev/null && {
  15504. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  15505. test ! -s conftest.err
  15506. }; then
  15507. ac_header_preproc=yes
  15508. else
  15509. $as_echo "$as_me: failed program was:" >&5
  15510. sed 's/^/| /' conftest.$ac_ext >&5
  15511. ac_header_preproc=no
  15512. fi
  15513. rm -f conftest.err conftest.$ac_ext
  15514. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15515. $as_echo "$ac_header_preproc" >&6; }
  15516. # So? What about this header?
  15517. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  15518. yes:no: )
  15519. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  15520. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  15521. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  15522. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  15523. ac_header_preproc=yes
  15524. ;;
  15525. no:yes:* )
  15526. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  15527. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  15528. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  15529. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  15530. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  15531. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  15532. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  15533. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  15534. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  15535. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  15536. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  15537. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  15538. ;;
  15539. esac
  15540. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15541. $as_echo_n "checking for $ac_header... " >&6; }
  15542. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15543. $as_echo_n "(cached) " >&6
  15544. else
  15545. eval "$as_ac_Header=\$ac_header_preproc"
  15546. fi
  15547. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15548. $as_echo "$as_val"'`
  15549. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15550. $as_echo "$ac_res" >&6; }
  15551. fi
  15552. as_val=`eval 'as_val=${'$as_ac_Header'}
  15553. $as_echo "$as_val"'`
  15554. if test "x$as_val" = x""yes; then
  15555. cat >>confdefs.h <<_ACEOF
  15556. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15557. _ACEOF
  15558. fi
  15559. done
  15560. echo Checking libraries
  15561. for ac_func in strftime
  15562. do
  15563. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  15564. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  15565. $as_echo_n "checking for $ac_func... " >&6; }
  15566. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  15567. $as_echo_n "(cached) " >&6
  15568. else
  15569. cat >conftest.$ac_ext <<_ACEOF
  15570. /* confdefs.h. */
  15571. _ACEOF
  15572. cat confdefs.h >>conftest.$ac_ext
  15573. cat >>conftest.$ac_ext <<_ACEOF
  15574. /* end confdefs.h. */
  15575. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  15576. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  15577. #define $ac_func innocuous_$ac_func
  15578. /* System header to define __stub macros and hopefully few prototypes,
  15579. which can conflict with char $ac_func (); below.
  15580. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  15581. <limits.h> exists even on freestanding compilers. */
  15582. #ifdef __STDC__
  15583. # include <limits.h>
  15584. #else
  15585. # include <assert.h>
  15586. #endif
  15587. #undef $ac_func
  15588. /* Override any GCC internal prototype to avoid an error.
  15589. Use char because int might match the return type of a GCC
  15590. builtin and then its argument prototype would still apply. */
  15591. #ifdef __cplusplus
  15592. extern "C"
  15593. #endif
  15594. char $ac_func ();
  15595. /* The GNU C library defines this for functions which it implements
  15596. to always fail with ENOSYS. Some functions are actually named
  15597. something starting with __ and the normal name is an alias. */
  15598. #if defined __stub_$ac_func || defined __stub___$ac_func
  15599. choke me
  15600. #endif
  15601. int
  15602. main ()
  15603. {
  15604. return $ac_func ();
  15605. ;
  15606. return 0;
  15607. }
  15608. _ACEOF
  15609. rm -f conftest.$ac_objext conftest$ac_exeext
  15610. if { (ac_try="$ac_link"
  15611. case "(($ac_try" in
  15612. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15613. *) ac_try_echo=$ac_try;;
  15614. esac
  15615. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15616. $as_echo "$ac_try_echo") >&5
  15617. (eval "$ac_link") 2>conftest.er1
  15618. ac_status=$?
  15619. grep -v '^ *+' conftest.er1 >conftest.err
  15620. rm -f conftest.er1
  15621. cat conftest.err >&5
  15622. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15623. (exit $ac_status); } && {
  15624. test -z "$ac_c_werror_flag" ||
  15625. test ! -s conftest.err
  15626. } && test -s conftest$ac_exeext && {
  15627. test "$cross_compiling" = yes ||
  15628. $as_test_x conftest$ac_exeext
  15629. }; then
  15630. eval "$as_ac_var=yes"
  15631. else
  15632. $as_echo "$as_me: failed program was:" >&5
  15633. sed 's/^/| /' conftest.$ac_ext >&5
  15634. eval "$as_ac_var=no"
  15635. fi
  15636. rm -rf conftest.dSYM
  15637. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15638. conftest$ac_exeext conftest.$ac_ext
  15639. fi
  15640. ac_res=`eval 'as_val=${'$as_ac_var'}
  15641. $as_echo "$as_val"'`
  15642. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15643. $as_echo "$ac_res" >&6; }
  15644. as_val=`eval 'as_val=${'$as_ac_var'}
  15645. $as_echo "$as_val"'`
  15646. if test "x$as_val" = x""yes; then
  15647. cat >>confdefs.h <<_ACEOF
  15648. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  15649. _ACEOF
  15650. else
  15651. # strftime is in -lintl on SCO UNIX.
  15652. { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
  15653. $as_echo_n "checking for strftime in -lintl... " >&6; }
  15654. if test "${ac_cv_lib_intl_strftime+set}" = set; then
  15655. $as_echo_n "(cached) " >&6
  15656. else
  15657. ac_check_lib_save_LIBS=$LIBS
  15658. LIBS="-lintl $LIBS"
  15659. cat >conftest.$ac_ext <<_ACEOF
  15660. /* confdefs.h. */
  15661. _ACEOF
  15662. cat confdefs.h >>conftest.$ac_ext
  15663. cat >>conftest.$ac_ext <<_ACEOF
  15664. /* end confdefs.h. */
  15665. /* Override any GCC internal prototype to avoid an error.
  15666. Use char because int might match the return type of a GCC
  15667. builtin and then its argument prototype would still apply. */
  15668. #ifdef __cplusplus
  15669. extern "C"
  15670. #endif
  15671. char strftime ();
  15672. int
  15673. main ()
  15674. {
  15675. return strftime ();
  15676. ;
  15677. return 0;
  15678. }
  15679. _ACEOF
  15680. rm -f conftest.$ac_objext conftest$ac_exeext
  15681. if { (ac_try="$ac_link"
  15682. case "(($ac_try" in
  15683. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15684. *) ac_try_echo=$ac_try;;
  15685. esac
  15686. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15687. $as_echo "$ac_try_echo") >&5
  15688. (eval "$ac_link") 2>conftest.er1
  15689. ac_status=$?
  15690. grep -v '^ *+' conftest.er1 >conftest.err
  15691. rm -f conftest.er1
  15692. cat conftest.err >&5
  15693. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15694. (exit $ac_status); } && {
  15695. test -z "$ac_c_werror_flag" ||
  15696. test ! -s conftest.err
  15697. } && test -s conftest$ac_exeext && {
  15698. test "$cross_compiling" = yes ||
  15699. $as_test_x conftest$ac_exeext
  15700. }; then
  15701. ac_cv_lib_intl_strftime=yes
  15702. else
  15703. $as_echo "$as_me: failed program was:" >&5
  15704. sed 's/^/| /' conftest.$ac_ext >&5
  15705. ac_cv_lib_intl_strftime=no
  15706. fi
  15707. rm -rf conftest.dSYM
  15708. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15709. conftest$ac_exeext conftest.$ac_ext
  15710. LIBS=$ac_check_lib_save_LIBS
  15711. fi
  15712. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
  15713. $as_echo "$ac_cv_lib_intl_strftime" >&6; }
  15714. if test "x$ac_cv_lib_intl_strftime" = x""yes; then
  15715. cat >>confdefs.h <<\_ACEOF
  15716. #define HAVE_STRFTIME 1
  15717. _ACEOF
  15718. LIBS="-lintl $LIBS"
  15719. fi
  15720. fi
  15721. done
  15722. for ac_func in strdup strndup strerror
  15723. do
  15724. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  15725. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  15726. $as_echo_n "checking for $ac_func... " >&6; }
  15727. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  15728. $as_echo_n "(cached) " >&6
  15729. else
  15730. cat >conftest.$ac_ext <<_ACEOF
  15731. /* confdefs.h. */
  15732. _ACEOF
  15733. cat confdefs.h >>conftest.$ac_ext
  15734. cat >>conftest.$ac_ext <<_ACEOF
  15735. /* end confdefs.h. */
  15736. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  15737. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  15738. #define $ac_func innocuous_$ac_func
  15739. /* System header to define __stub macros and hopefully few prototypes,
  15740. which can conflict with char $ac_func (); below.
  15741. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  15742. <limits.h> exists even on freestanding compilers. */
  15743. #ifdef __STDC__
  15744. # include <limits.h>
  15745. #else
  15746. # include <assert.h>
  15747. #endif
  15748. #undef $ac_func
  15749. /* Override any GCC internal prototype to avoid an error.
  15750. Use char because int might match the return type of a GCC
  15751. builtin and then its argument prototype would still apply. */
  15752. #ifdef __cplusplus
  15753. extern "C"
  15754. #endif
  15755. char $ac_func ();
  15756. /* The GNU C library defines this for functions which it implements
  15757. to always fail with ENOSYS. Some functions are actually named
  15758. something starting with __ and the normal name is an alias. */
  15759. #if defined __stub_$ac_func || defined __stub___$ac_func
  15760. choke me
  15761. #endif
  15762. int
  15763. main ()
  15764. {
  15765. return $ac_func ();
  15766. ;
  15767. return 0;
  15768. }
  15769. _ACEOF
  15770. rm -f conftest.$ac_objext conftest$ac_exeext
  15771. if { (ac_try="$ac_link"
  15772. case "(($ac_try" in
  15773. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15774. *) ac_try_echo=$ac_try;;
  15775. esac
  15776. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15777. $as_echo "$ac_try_echo") >&5
  15778. (eval "$ac_link") 2>conftest.er1
  15779. ac_status=$?
  15780. grep -v '^ *+' conftest.er1 >conftest.err
  15781. rm -f conftest.er1
  15782. cat conftest.err >&5
  15783. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15784. (exit $ac_status); } && {
  15785. test -z "$ac_c_werror_flag" ||
  15786. test ! -s conftest.err
  15787. } && test -s conftest$ac_exeext && {
  15788. test "$cross_compiling" = yes ||
  15789. $as_test_x conftest$ac_exeext
  15790. }; then
  15791. eval "$as_ac_var=yes"
  15792. else
  15793. $as_echo "$as_me: failed program was:" >&5
  15794. sed 's/^/| /' conftest.$ac_ext >&5
  15795. eval "$as_ac_var=no"
  15796. fi
  15797. rm -rf conftest.dSYM
  15798. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15799. conftest$ac_exeext conftest.$ac_ext
  15800. fi
  15801. ac_res=`eval 'as_val=${'$as_ac_var'}
  15802. $as_echo "$as_val"'`
  15803. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15804. $as_echo "$ac_res" >&6; }
  15805. as_val=`eval 'as_val=${'$as_ac_var'}
  15806. $as_echo "$as_val"'`
  15807. if test "x$as_val" = x""yes; then
  15808. cat >>confdefs.h <<_ACEOF
  15809. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  15810. _ACEOF
  15811. fi
  15812. done
  15813. for ac_func in finite isnand fp_class class fpclass
  15814. do
  15815. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  15816. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  15817. $as_echo_n "checking for $ac_func... " >&6; }
  15818. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  15819. $as_echo_n "(cached) " >&6
  15820. else
  15821. cat >conftest.$ac_ext <<_ACEOF
  15822. /* confdefs.h. */
  15823. _ACEOF
  15824. cat confdefs.h >>conftest.$ac_ext
  15825. cat >>conftest.$ac_ext <<_ACEOF
  15826. /* end confdefs.h. */
  15827. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  15828. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  15829. #define $ac_func innocuous_$ac_func
  15830. /* System header to define __stub macros and hopefully few prototypes,
  15831. which can conflict with char $ac_func (); below.
  15832. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  15833. <limits.h> exists even on freestanding compilers. */
  15834. #ifdef __STDC__
  15835. # include <limits.h>
  15836. #else
  15837. # include <assert.h>
  15838. #endif
  15839. #undef $ac_func
  15840. /* Override any GCC internal prototype to avoid an error.
  15841. Use char because int might match the return type of a GCC
  15842. builtin and then its argument prototype would still apply. */
  15843. #ifdef __cplusplus
  15844. extern "C"
  15845. #endif
  15846. char $ac_func ();
  15847. /* The GNU C library defines this for functions which it implements
  15848. to always fail with ENOSYS. Some functions are actually named
  15849. something starting with __ and the normal name is an alias. */
  15850. #if defined __stub_$ac_func || defined __stub___$ac_func
  15851. choke me
  15852. #endif
  15853. int
  15854. main ()
  15855. {
  15856. return $ac_func ();
  15857. ;
  15858. return 0;
  15859. }
  15860. _ACEOF
  15861. rm -f conftest.$ac_objext conftest$ac_exeext
  15862. if { (ac_try="$ac_link"
  15863. case "(($ac_try" in
  15864. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15865. *) ac_try_echo=$ac_try;;
  15866. esac
  15867. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15868. $as_echo "$ac_try_echo") >&5
  15869. (eval "$ac_link") 2>conftest.er1
  15870. ac_status=$?
  15871. grep -v '^ *+' conftest.er1 >conftest.err
  15872. rm -f conftest.er1
  15873. cat conftest.err >&5
  15874. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15875. (exit $ac_status); } && {
  15876. test -z "$ac_c_werror_flag" ||
  15877. test ! -s conftest.err
  15878. } && test -s conftest$ac_exeext && {
  15879. test "$cross_compiling" = yes ||
  15880. $as_test_x conftest$ac_exeext
  15881. }; then
  15882. eval "$as_ac_var=yes"
  15883. else
  15884. $as_echo "$as_me: failed program was:" >&5
  15885. sed 's/^/| /' conftest.$ac_ext >&5
  15886. eval "$as_ac_var=no"
  15887. fi
  15888. rm -rf conftest.dSYM
  15889. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15890. conftest$ac_exeext conftest.$ac_ext
  15891. fi
  15892. ac_res=`eval 'as_val=${'$as_ac_var'}
  15893. $as_echo "$as_val"'`
  15894. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15895. $as_echo "$ac_res" >&6; }
  15896. as_val=`eval 'as_val=${'$as_ac_var'}
  15897. $as_echo "$as_val"'`
  15898. if test "x$as_val" = x""yes; then
  15899. cat >>confdefs.h <<_ACEOF
  15900. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  15901. _ACEOF
  15902. fi
  15903. done
  15904. for ac_func in strftime localtime gettimeofday ftime
  15905. do
  15906. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  15907. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  15908. $as_echo_n "checking for $ac_func... " >&6; }
  15909. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  15910. $as_echo_n "(cached) " >&6
  15911. else
  15912. cat >conftest.$ac_ext <<_ACEOF
  15913. /* confdefs.h. */
  15914. _ACEOF
  15915. cat confdefs.h >>conftest.$ac_ext
  15916. cat >>conftest.$ac_ext <<_ACEOF
  15917. /* end confdefs.h. */
  15918. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  15919. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  15920. #define $ac_func innocuous_$ac_func
  15921. /* System header to define __stub macros and hopefully few prototypes,
  15922. which can conflict with char $ac_func (); below.
  15923. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  15924. <limits.h> exists even on freestanding compilers. */
  15925. #ifdef __STDC__
  15926. # include <limits.h>
  15927. #else
  15928. # include <assert.h>
  15929. #endif
  15930. #undef $ac_func
  15931. /* Override any GCC internal prototype to avoid an error.
  15932. Use char because int might match the return type of a GCC
  15933. builtin and then its argument prototype would still apply. */
  15934. #ifdef __cplusplus
  15935. extern "C"
  15936. #endif
  15937. char $ac_func ();
  15938. /* The GNU C library defines this for functions which it implements
  15939. to always fail with ENOSYS. Some functions are actually named
  15940. something starting with __ and the normal name is an alias. */
  15941. #if defined __stub_$ac_func || defined __stub___$ac_func
  15942. choke me
  15943. #endif
  15944. int
  15945. main ()
  15946. {
  15947. return $ac_func ();
  15948. ;
  15949. return 0;
  15950. }
  15951. _ACEOF
  15952. rm -f conftest.$ac_objext conftest$ac_exeext
  15953. if { (ac_try="$ac_link"
  15954. case "(($ac_try" in
  15955. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15956. *) ac_try_echo=$ac_try;;
  15957. esac
  15958. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15959. $as_echo "$ac_try_echo") >&5
  15960. (eval "$ac_link") 2>conftest.er1
  15961. ac_status=$?
  15962. grep -v '^ *+' conftest.er1 >conftest.err
  15963. rm -f conftest.er1
  15964. cat conftest.err >&5
  15965. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15966. (exit $ac_status); } && {
  15967. test -z "$ac_c_werror_flag" ||
  15968. test ! -s conftest.err
  15969. } && test -s conftest$ac_exeext && {
  15970. test "$cross_compiling" = yes ||
  15971. $as_test_x conftest$ac_exeext
  15972. }; then
  15973. eval "$as_ac_var=yes"
  15974. else
  15975. $as_echo "$as_me: failed program was:" >&5
  15976. sed 's/^/| /' conftest.$ac_ext >&5
  15977. eval "$as_ac_var=no"
  15978. fi
  15979. rm -rf conftest.dSYM
  15980. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15981. conftest$ac_exeext conftest.$ac_ext
  15982. fi
  15983. ac_res=`eval 'as_val=${'$as_ac_var'}
  15984. $as_echo "$as_val"'`
  15985. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15986. $as_echo "$ac_res" >&6; }
  15987. as_val=`eval 'as_val=${'$as_ac_var'}
  15988. $as_echo "$as_val"'`
  15989. if test "x$as_val" = x""yes; then
  15990. cat >>confdefs.h <<_ACEOF
  15991. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  15992. _ACEOF
  15993. fi
  15994. done
  15995. for ac_func in stat _stat signal
  15996. do
  15997. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  15998. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  15999. $as_echo_n "checking for $ac_func... " >&6; }
  16000. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  16001. $as_echo_n "(cached) " >&6
  16002. else
  16003. cat >conftest.$ac_ext <<_ACEOF
  16004. /* confdefs.h. */
  16005. _ACEOF
  16006. cat confdefs.h >>conftest.$ac_ext
  16007. cat >>conftest.$ac_ext <<_ACEOF
  16008. /* end confdefs.h. */
  16009. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  16010. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  16011. #define $ac_func innocuous_$ac_func
  16012. /* System header to define __stub macros and hopefully few prototypes,
  16013. which can conflict with char $ac_func (); below.
  16014. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16015. <limits.h> exists even on freestanding compilers. */
  16016. #ifdef __STDC__
  16017. # include <limits.h>
  16018. #else
  16019. # include <assert.h>
  16020. #endif
  16021. #undef $ac_func
  16022. /* Override any GCC internal prototype to avoid an error.
  16023. Use char because int might match the return type of a GCC
  16024. builtin and then its argument prototype would still apply. */
  16025. #ifdef __cplusplus
  16026. extern "C"
  16027. #endif
  16028. char $ac_func ();
  16029. /* The GNU C library defines this for functions which it implements
  16030. to always fail with ENOSYS. Some functions are actually named
  16031. something starting with __ and the normal name is an alias. */
  16032. #if defined __stub_$ac_func || defined __stub___$ac_func
  16033. choke me
  16034. #endif
  16035. int
  16036. main ()
  16037. {
  16038. return $ac_func ();
  16039. ;
  16040. return 0;
  16041. }
  16042. _ACEOF
  16043. rm -f conftest.$ac_objext conftest$ac_exeext
  16044. if { (ac_try="$ac_link"
  16045. case "(($ac_try" in
  16046. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16047. *) ac_try_echo=$ac_try;;
  16048. esac
  16049. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16050. $as_echo "$ac_try_echo") >&5
  16051. (eval "$ac_link") 2>conftest.er1
  16052. ac_status=$?
  16053. grep -v '^ *+' conftest.er1 >conftest.err
  16054. rm -f conftest.er1
  16055. cat conftest.err >&5
  16056. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16057. (exit $ac_status); } && {
  16058. test -z "$ac_c_werror_flag" ||
  16059. test ! -s conftest.err
  16060. } && test -s conftest$ac_exeext && {
  16061. test "$cross_compiling" = yes ||
  16062. $as_test_x conftest$ac_exeext
  16063. }; then
  16064. eval "$as_ac_var=yes"
  16065. else
  16066. $as_echo "$as_me: failed program was:" >&5
  16067. sed 's/^/| /' conftest.$ac_ext >&5
  16068. eval "$as_ac_var=no"
  16069. fi
  16070. rm -rf conftest.dSYM
  16071. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16072. conftest$ac_exeext conftest.$ac_ext
  16073. fi
  16074. ac_res=`eval 'as_val=${'$as_ac_var'}
  16075. $as_echo "$as_val"'`
  16076. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  16077. $as_echo "$ac_res" >&6; }
  16078. as_val=`eval 'as_val=${'$as_ac_var'}
  16079. $as_echo "$as_val"'`
  16080. if test "x$as_val" = x""yes; then
  16081. cat >>confdefs.h <<_ACEOF
  16082. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16083. _ACEOF
  16084. fi
  16085. done
  16086. for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
  16087. do
  16088. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16089. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  16090. $as_echo_n "checking for $ac_func... " >&6; }
  16091. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  16092. $as_echo_n "(cached) " >&6
  16093. else
  16094. cat >conftest.$ac_ext <<_ACEOF
  16095. /* confdefs.h. */
  16096. _ACEOF
  16097. cat confdefs.h >>conftest.$ac_ext
  16098. cat >>conftest.$ac_ext <<_ACEOF
  16099. /* end confdefs.h. */
  16100. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  16101. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  16102. #define $ac_func innocuous_$ac_func
  16103. /* System header to define __stub macros and hopefully few prototypes,
  16104. which can conflict with char $ac_func (); below.
  16105. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16106. <limits.h> exists even on freestanding compilers. */
  16107. #ifdef __STDC__
  16108. # include <limits.h>
  16109. #else
  16110. # include <assert.h>
  16111. #endif
  16112. #undef $ac_func
  16113. /* Override any GCC internal prototype to avoid an error.
  16114. Use char because int might match the return type of a GCC
  16115. builtin and then its argument prototype would still apply. */
  16116. #ifdef __cplusplus
  16117. extern "C"
  16118. #endif
  16119. char $ac_func ();
  16120. /* The GNU C library defines this for functions which it implements
  16121. to always fail with ENOSYS. Some functions are actually named
  16122. something starting with __ and the normal name is an alias. */
  16123. #if defined __stub_$ac_func || defined __stub___$ac_func
  16124. choke me
  16125. #endif
  16126. int
  16127. main ()
  16128. {
  16129. return $ac_func ();
  16130. ;
  16131. return 0;
  16132. }
  16133. _ACEOF
  16134. rm -f conftest.$ac_objext conftest$ac_exeext
  16135. if { (ac_try="$ac_link"
  16136. case "(($ac_try" in
  16137. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16138. *) ac_try_echo=$ac_try;;
  16139. esac
  16140. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16141. $as_echo "$ac_try_echo") >&5
  16142. (eval "$ac_link") 2>conftest.er1
  16143. ac_status=$?
  16144. grep -v '^ *+' conftest.er1 >conftest.err
  16145. rm -f conftest.er1
  16146. cat conftest.err >&5
  16147. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16148. (exit $ac_status); } && {
  16149. test -z "$ac_c_werror_flag" ||
  16150. test ! -s conftest.err
  16151. } && test -s conftest$ac_exeext && {
  16152. test "$cross_compiling" = yes ||
  16153. $as_test_x conftest$ac_exeext
  16154. }; then
  16155. eval "$as_ac_var=yes"
  16156. else
  16157. $as_echo "$as_me: failed program was:" >&5
  16158. sed 's/^/| /' conftest.$ac_ext >&5
  16159. eval "$as_ac_var=no"
  16160. fi
  16161. rm -rf conftest.dSYM
  16162. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16163. conftest$ac_exeext conftest.$ac_ext
  16164. fi
  16165. ac_res=`eval 'as_val=${'$as_ac_var'}
  16166. $as_echo "$as_val"'`
  16167. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  16168. $as_echo "$ac_res" >&6; }
  16169. as_val=`eval 'as_val=${'$as_ac_var'}
  16170. $as_echo "$as_val"'`
  16171. if test "x$as_val" = x""yes; then
  16172. cat >>confdefs.h <<_ACEOF
  16173. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16174. _ACEOF
  16175. else
  16176. NEED_TRIO=1
  16177. fi
  16178. done
  16179. { $as_echo "$as_me:$LINENO: checking for va_copy" >&5
  16180. $as_echo_n "checking for va_copy... " >&6; }
  16181. cat >conftest.$ac_ext <<_ACEOF
  16182. /* confdefs.h. */
  16183. _ACEOF
  16184. cat confdefs.h >>conftest.$ac_ext
  16185. cat >>conftest.$ac_ext <<_ACEOF
  16186. /* end confdefs.h. */
  16187. #include <stdarg.h>
  16188. va_list ap1,ap2;
  16189. int
  16190. main ()
  16191. {
  16192. va_copy(ap1,ap2);
  16193. ;
  16194. return 0;
  16195. }
  16196. _ACEOF
  16197. rm -f conftest.$ac_objext conftest$ac_exeext
  16198. if { (ac_try="$ac_link"
  16199. case "(($ac_try" in
  16200. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16201. *) ac_try_echo=$ac_try;;
  16202. esac
  16203. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16204. $as_echo "$ac_try_echo") >&5
  16205. (eval "$ac_link") 2>conftest.er1
  16206. ac_status=$?
  16207. grep -v '^ *+' conftest.er1 >conftest.err
  16208. rm -f conftest.er1
  16209. cat conftest.err >&5
  16210. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16211. (exit $ac_status); } && {
  16212. test -z "$ac_c_werror_flag" ||
  16213. test ! -s conftest.err
  16214. } && test -s conftest$ac_exeext && {
  16215. test "$cross_compiling" = yes ||
  16216. $as_test_x conftest$ac_exeext
  16217. }; then
  16218. have_va_copy=yes
  16219. else
  16220. $as_echo "$as_me: failed program was:" >&5
  16221. sed 's/^/| /' conftest.$ac_ext >&5
  16222. have_va_copy=no
  16223. fi
  16224. rm -rf conftest.dSYM
  16225. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16226. conftest$ac_exeext conftest.$ac_ext
  16227. { $as_echo "$as_me:$LINENO: result: $have_va_copy" >&5
  16228. $as_echo "$have_va_copy" >&6; }
  16229. if test x"$have_va_copy" = x"yes"; then
  16230. cat >>confdefs.h <<\_ACEOF
  16231. #define HAVE_VA_COPY 1
  16232. _ACEOF
  16233. else
  16234. { $as_echo "$as_me:$LINENO: checking for __va_copy" >&5
  16235. $as_echo_n "checking for __va_copy... " >&6; }
  16236. cat >conftest.$ac_ext <<_ACEOF
  16237. /* confdefs.h. */
  16238. _ACEOF
  16239. cat confdefs.h >>conftest.$ac_ext
  16240. cat >>conftest.$ac_ext <<_ACEOF
  16241. /* end confdefs.h. */
  16242. #include <stdarg.h>
  16243. va_list ap1,ap2;
  16244. int
  16245. main ()
  16246. {
  16247. __va_copy(ap1,ap2);
  16248. ;
  16249. return 0;
  16250. }
  16251. _ACEOF
  16252. rm -f conftest.$ac_objext conftest$ac_exeext
  16253. if { (ac_try="$ac_link"
  16254. case "(($ac_try" in
  16255. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16256. *) ac_try_echo=$ac_try;;
  16257. esac
  16258. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16259. $as_echo "$ac_try_echo") >&5
  16260. (eval "$ac_link") 2>conftest.er1
  16261. ac_status=$?
  16262. grep -v '^ *+' conftest.er1 >conftest.err
  16263. rm -f conftest.er1
  16264. cat conftest.err >&5
  16265. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16266. (exit $ac_status); } && {
  16267. test -z "$ac_c_werror_flag" ||
  16268. test ! -s conftest.err
  16269. } && test -s conftest$ac_exeext && {
  16270. test "$cross_compiling" = yes ||
  16271. $as_test_x conftest$ac_exeext
  16272. }; then
  16273. have___va_copy=yes
  16274. else
  16275. $as_echo "$as_me: failed program was:" >&5
  16276. sed 's/^/| /' conftest.$ac_ext >&5
  16277. have___va_copy=no
  16278. fi
  16279. rm -rf conftest.dSYM
  16280. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16281. conftest$ac_exeext conftest.$ac_ext
  16282. { $as_echo "$as_me:$LINENO: result: $have___va_copy" >&5
  16283. $as_echo "$have___va_copy" >&6; }
  16284. if test x"$have___va_copy" = x"yes"; then
  16285. cat >>confdefs.h <<\_ACEOF
  16286. #define HAVE___VA_COPY 1
  16287. _ACEOF
  16288. fi
  16289. fi
  16290. { $as_echo "$as_me:$LINENO: checking for library containing gethostent" >&5
  16291. $as_echo_n "checking for library containing gethostent... " >&6; }
  16292. if test "${ac_cv_search_gethostent+set}" = set; then
  16293. $as_echo_n "(cached) " >&6
  16294. else
  16295. ac_func_search_save_LIBS=$LIBS
  16296. cat >conftest.$ac_ext <<_ACEOF
  16297. /* confdefs.h. */
  16298. _ACEOF
  16299. cat confdefs.h >>conftest.$ac_ext
  16300. cat >>conftest.$ac_ext <<_ACEOF
  16301. /* end confdefs.h. */
  16302. /* Override any GCC internal prototype to avoid an error.
  16303. Use char because int might match the return type of a GCC
  16304. builtin and then its argument prototype would still apply. */
  16305. #ifdef __cplusplus
  16306. extern "C"
  16307. #endif
  16308. char gethostent ();
  16309. int
  16310. main ()
  16311. {
  16312. return gethostent ();
  16313. ;
  16314. return 0;
  16315. }
  16316. _ACEOF
  16317. for ac_lib in '' nsl; do
  16318. if test -z "$ac_lib"; then
  16319. ac_res="none required"
  16320. else
  16321. ac_res=-l$ac_lib
  16322. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16323. fi
  16324. rm -f conftest.$ac_objext conftest$ac_exeext
  16325. if { (ac_try="$ac_link"
  16326. case "(($ac_try" in
  16327. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16328. *) ac_try_echo=$ac_try;;
  16329. esac
  16330. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16331. $as_echo "$ac_try_echo") >&5
  16332. (eval "$ac_link") 2>conftest.er1
  16333. ac_status=$?
  16334. grep -v '^ *+' conftest.er1 >conftest.err
  16335. rm -f conftest.er1
  16336. cat conftest.err >&5
  16337. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16338. (exit $ac_status); } && {
  16339. test -z "$ac_c_werror_flag" ||
  16340. test ! -s conftest.err
  16341. } && test -s conftest$ac_exeext && {
  16342. test "$cross_compiling" = yes ||
  16343. $as_test_x conftest$ac_exeext
  16344. }; then
  16345. ac_cv_search_gethostent=$ac_res
  16346. else
  16347. $as_echo "$as_me: failed program was:" >&5
  16348. sed 's/^/| /' conftest.$ac_ext >&5
  16349. fi
  16350. rm -rf conftest.dSYM
  16351. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16352. conftest$ac_exeext
  16353. if test "${ac_cv_search_gethostent+set}" = set; then
  16354. break
  16355. fi
  16356. done
  16357. if test "${ac_cv_search_gethostent+set}" = set; then
  16358. :
  16359. else
  16360. ac_cv_search_gethostent=no
  16361. fi
  16362. rm conftest.$ac_ext
  16363. LIBS=$ac_func_search_save_LIBS
  16364. fi
  16365. { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostent" >&5
  16366. $as_echo "$ac_cv_search_gethostent" >&6; }
  16367. ac_res=$ac_cv_search_gethostent
  16368. if test "$ac_res" != no; then
  16369. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16370. fi
  16371. { $as_echo "$as_me:$LINENO: checking for library containing setsockopt" >&5
  16372. $as_echo_n "checking for library containing setsockopt... " >&6; }
  16373. if test "${ac_cv_search_setsockopt+set}" = set; then
  16374. $as_echo_n "(cached) " >&6
  16375. else
  16376. ac_func_search_save_LIBS=$LIBS
  16377. cat >conftest.$ac_ext <<_ACEOF
  16378. /* confdefs.h. */
  16379. _ACEOF
  16380. cat confdefs.h >>conftest.$ac_ext
  16381. cat >>conftest.$ac_ext <<_ACEOF
  16382. /* end confdefs.h. */
  16383. /* Override any GCC internal prototype to avoid an error.
  16384. Use char because int might match the return type of a GCC
  16385. builtin and then its argument prototype would still apply. */
  16386. #ifdef __cplusplus
  16387. extern "C"
  16388. #endif
  16389. char setsockopt ();
  16390. int
  16391. main ()
  16392. {
  16393. return setsockopt ();
  16394. ;
  16395. return 0;
  16396. }
  16397. _ACEOF
  16398. for ac_lib in '' socket net network; do
  16399. if test -z "$ac_lib"; then
  16400. ac_res="none required"
  16401. else
  16402. ac_res=-l$ac_lib
  16403. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16404. fi
  16405. rm -f conftest.$ac_objext conftest$ac_exeext
  16406. if { (ac_try="$ac_link"
  16407. case "(($ac_try" in
  16408. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16409. *) ac_try_echo=$ac_try;;
  16410. esac
  16411. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16412. $as_echo "$ac_try_echo") >&5
  16413. (eval "$ac_link") 2>conftest.er1
  16414. ac_status=$?
  16415. grep -v '^ *+' conftest.er1 >conftest.err
  16416. rm -f conftest.er1
  16417. cat conftest.err >&5
  16418. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16419. (exit $ac_status); } && {
  16420. test -z "$ac_c_werror_flag" ||
  16421. test ! -s conftest.err
  16422. } && test -s conftest$ac_exeext && {
  16423. test "$cross_compiling" = yes ||
  16424. $as_test_x conftest$ac_exeext
  16425. }; then
  16426. ac_cv_search_setsockopt=$ac_res
  16427. else
  16428. $as_echo "$as_me: failed program was:" >&5
  16429. sed 's/^/| /' conftest.$ac_ext >&5
  16430. fi
  16431. rm -rf conftest.dSYM
  16432. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16433. conftest$ac_exeext
  16434. if test "${ac_cv_search_setsockopt+set}" = set; then
  16435. break
  16436. fi
  16437. done
  16438. if test "${ac_cv_search_setsockopt+set}" = set; then
  16439. :
  16440. else
  16441. ac_cv_search_setsockopt=no
  16442. fi
  16443. rm conftest.$ac_ext
  16444. LIBS=$ac_func_search_save_LIBS
  16445. fi
  16446. { $as_echo "$as_me:$LINENO: result: $ac_cv_search_setsockopt" >&5
  16447. $as_echo "$ac_cv_search_setsockopt" >&6; }
  16448. ac_res=$ac_cv_search_setsockopt
  16449. if test "$ac_res" != no; then
  16450. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16451. fi
  16452. { $as_echo "$as_me:$LINENO: checking for library containing connect" >&5
  16453. $as_echo_n "checking for library containing connect... " >&6; }
  16454. if test "${ac_cv_search_connect+set}" = set; then
  16455. $as_echo_n "(cached) " >&6
  16456. else
  16457. ac_func_search_save_LIBS=$LIBS
  16458. cat >conftest.$ac_ext <<_ACEOF
  16459. /* confdefs.h. */
  16460. _ACEOF
  16461. cat confdefs.h >>conftest.$ac_ext
  16462. cat >>conftest.$ac_ext <<_ACEOF
  16463. /* end confdefs.h. */
  16464. /* Override any GCC internal prototype to avoid an error.
  16465. Use char because int might match the return type of a GCC
  16466. builtin and then its argument prototype would still apply. */
  16467. #ifdef __cplusplus
  16468. extern "C"
  16469. #endif
  16470. char connect ();
  16471. int
  16472. main ()
  16473. {
  16474. return connect ();
  16475. ;
  16476. return 0;
  16477. }
  16478. _ACEOF
  16479. for ac_lib in '' inet; do
  16480. if test -z "$ac_lib"; then
  16481. ac_res="none required"
  16482. else
  16483. ac_res=-l$ac_lib
  16484. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16485. fi
  16486. rm -f conftest.$ac_objext conftest$ac_exeext
  16487. if { (ac_try="$ac_link"
  16488. case "(($ac_try" in
  16489. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16490. *) ac_try_echo=$ac_try;;
  16491. esac
  16492. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16493. $as_echo "$ac_try_echo") >&5
  16494. (eval "$ac_link") 2>conftest.er1
  16495. ac_status=$?
  16496. grep -v '^ *+' conftest.er1 >conftest.err
  16497. rm -f conftest.er1
  16498. cat conftest.err >&5
  16499. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16500. (exit $ac_status); } && {
  16501. test -z "$ac_c_werror_flag" ||
  16502. test ! -s conftest.err
  16503. } && test -s conftest$ac_exeext && {
  16504. test "$cross_compiling" = yes ||
  16505. $as_test_x conftest$ac_exeext
  16506. }; then
  16507. ac_cv_search_connect=$ac_res
  16508. else
  16509. $as_echo "$as_me: failed program was:" >&5
  16510. sed 's/^/| /' conftest.$ac_ext >&5
  16511. fi
  16512. rm -rf conftest.dSYM
  16513. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16514. conftest$ac_exeext
  16515. if test "${ac_cv_search_connect+set}" = set; then
  16516. break
  16517. fi
  16518. done
  16519. if test "${ac_cv_search_connect+set}" = set; then
  16520. :
  16521. else
  16522. ac_cv_search_connect=no
  16523. fi
  16524. rm conftest.$ac_ext
  16525. LIBS=$ac_func_search_save_LIBS
  16526. fi
  16527. { $as_echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
  16528. $as_echo "$ac_cv_search_connect" >&6; }
  16529. ac_res=$ac_cv_search_connect
  16530. if test "$ac_res" != no; then
  16531. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16532. fi
  16533. { $as_echo "$as_me:$LINENO: checking for type of socket length (socklen_t)" >&5
  16534. $as_echo_n "checking for type of socket length (socklen_t)... " >&6; }
  16535. cat > conftest.$ac_ext <<EOF
  16536. #line 18929 "configure"
  16537. #include "confdefs.h"
  16538. #include <stddef.h>
  16539. #include <sys/types.h>
  16540. #include <sys/socket.h>
  16541. int main(void) {
  16542. (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
  16543. ; return 0; }
  16544. EOF
  16545. if { (eval echo configure:18940: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
  16546. rm -rf conftest*
  16547. { $as_echo "$as_me:$LINENO: result: socklen_t *" >&5
  16548. $as_echo "socklen_t *" >&6; }
  16549. XML_SOCKLEN_T=socklen_t
  16550. else
  16551. echo "configure: failed program was:" >&5
  16552. cat conftest.$ac_ext >&5
  16553. rm -rf conftest*
  16554. cat > conftest.$ac_ext <<EOF
  16555. #line 18952 "configure"
  16556. #include "confdefs.h"
  16557. #include <stddef.h>
  16558. #include <sys/types.h>
  16559. #include <sys/socket.h>
  16560. int main(void) {
  16561. (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
  16562. ; return 0; }
  16563. EOF
  16564. if { (eval echo configure:18963: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
  16565. rm -rf conftest*
  16566. { $as_echo "$as_me:$LINENO: result: size_t *" >&5
  16567. $as_echo "size_t *" >&6; }
  16568. XML_SOCKLEN_T=size_t
  16569. else
  16570. echo "configure: failed program was:" >&5
  16571. cat conftest.$ac_ext >&5
  16572. rm -rf conftest*
  16573. cat > conftest.$ac_ext <<EOF
  16574. #line 18975 "configure"
  16575. #include "confdefs.h"
  16576. #include <stddef.h>
  16577. #include <sys/types.h>
  16578. #include <sys/socket.h>
  16579. int main(void) {
  16580. (void)getsockopt (1, 1, 1, NULL, (int *)NULL)
  16581. ; return 0; }
  16582. EOF
  16583. if { (eval echo configure:18986: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
  16584. rm -rf conftest*
  16585. { $as_echo "$as_me:$LINENO: result: int *" >&5
  16586. $as_echo "int *" >&6; }
  16587. XML_SOCKLEN_T=int
  16588. else
  16589. echo "configure: failed program was:" >&5
  16590. cat conftest.$ac_ext >&5
  16591. rm -rf conftest*
  16592. { $as_echo "$as_me:$LINENO: WARNING: could not determine" >&5
  16593. $as_echo "$as_me: WARNING: could not determine" >&2;}
  16594. XML_SOCKLEN_T="int"
  16595. fi
  16596. rm -f conftest*
  16597. fi
  16598. rm -f conftest*
  16599. fi
  16600. rm -f conftest*
  16601. cat >>confdefs.h <<_ACEOF
  16602. #define XML_SOCKLEN_T $XML_SOCKLEN_T
  16603. _ACEOF
  16604. { $as_echo "$as_me:$LINENO: checking whether to enable IPv6" >&5
  16605. $as_echo_n "checking whether to enable IPv6... " >&6; }
  16606. # Check whether --enable-ipv6 was given.
  16607. if test "${enable_ipv6+set}" = set; then
  16608. enableval=$enable_ipv6;
  16609. else
  16610. enable_ipv6=yes
  16611. fi
  16612. if test "$with_minimum" = "yes"
  16613. then
  16614. enable_ipv6=no
  16615. fi
  16616. if test $enable_ipv6 = yes; then
  16617. have_ipv6=no
  16618. cat >conftest.$ac_ext <<_ACEOF
  16619. /* confdefs.h. */
  16620. _ACEOF
  16621. cat confdefs.h >>conftest.$ac_ext
  16622. cat >>conftest.$ac_ext <<_ACEOF
  16623. /* end confdefs.h. */
  16624. #include <sys/types.h>
  16625. #include <sys/socket.h>
  16626. int
  16627. main ()
  16628. {
  16629. struct sockaddr_storage ss;
  16630. socket(AF_INET6, SOCK_STREAM, 0)
  16631. ;
  16632. return 0;
  16633. }
  16634. _ACEOF
  16635. rm -f conftest.$ac_objext
  16636. if { (ac_try="$ac_compile"
  16637. case "(($ac_try" in
  16638. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16639. *) ac_try_echo=$ac_try;;
  16640. esac
  16641. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16642. $as_echo "$ac_try_echo") >&5
  16643. (eval "$ac_compile") 2>conftest.er1
  16644. ac_status=$?
  16645. grep -v '^ *+' conftest.er1 >conftest.err
  16646. rm -f conftest.er1
  16647. cat conftest.err >&5
  16648. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16649. (exit $ac_status); } && {
  16650. test -z "$ac_c_werror_flag" ||
  16651. test ! -s conftest.err
  16652. } && test -s conftest.$ac_objext; then
  16653. have_ipv6=yes
  16654. else
  16655. $as_echo "$as_me: failed program was:" >&5
  16656. sed 's/^/| /' conftest.$ac_ext >&5
  16657. have_ipv6=no
  16658. fi
  16659. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16660. { $as_echo "$as_me:$LINENO: result: $have_ipv6" >&5
  16661. $as_echo "$have_ipv6" >&6; }
  16662. if test $have_ipv6 = yes; then
  16663. cat >>confdefs.h <<\_ACEOF
  16664. #define SUPPORT_IP6 /**/
  16665. _ACEOF
  16666. have_broken_ss_family=no
  16667. { $as_echo "$as_me:$LINENO: checking struct sockaddr::ss_family" >&5
  16668. $as_echo_n "checking struct sockaddr::ss_family... " >&6; }
  16669. cat >conftest.$ac_ext <<_ACEOF
  16670. /* confdefs.h. */
  16671. _ACEOF
  16672. cat confdefs.h >>conftest.$ac_ext
  16673. cat >>conftest.$ac_ext <<_ACEOF
  16674. /* end confdefs.h. */
  16675. #include <sys/types.h>
  16676. #include <sys/socket.h>
  16677. int
  16678. main ()
  16679. {
  16680. struct sockaddr_storage ss ;
  16681. ss.ss_family = 0 ;
  16682. ;
  16683. return 0;
  16684. }
  16685. _ACEOF
  16686. rm -f conftest.$ac_objext
  16687. if { (ac_try="$ac_compile"
  16688. case "(($ac_try" in
  16689. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16690. *) ac_try_echo=$ac_try;;
  16691. esac
  16692. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16693. $as_echo "$ac_try_echo") >&5
  16694. (eval "$ac_compile") 2>conftest.er1
  16695. ac_status=$?
  16696. grep -v '^ *+' conftest.er1 >conftest.err
  16697. rm -f conftest.er1
  16698. cat conftest.err >&5
  16699. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16700. (exit $ac_status); } && {
  16701. test -z "$ac_c_werror_flag" ||
  16702. test ! -s conftest.err
  16703. } && test -s conftest.$ac_objext; then
  16704. have_ss_family=yes
  16705. else
  16706. $as_echo "$as_me: failed program was:" >&5
  16707. sed 's/^/| /' conftest.$ac_ext >&5
  16708. have_ss_family=no
  16709. fi
  16710. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16711. { $as_echo "$as_me:$LINENO: result: $have_ss_family" >&5
  16712. $as_echo "$have_ss_family" >&6; }
  16713. if test x$have_ss_family = xno ; then
  16714. { $as_echo "$as_me:$LINENO: checking broken struct sockaddr::ss_family" >&5
  16715. $as_echo_n "checking broken struct sockaddr::ss_family... " >&6; }
  16716. cat >conftest.$ac_ext <<_ACEOF
  16717. /* confdefs.h. */
  16718. _ACEOF
  16719. cat confdefs.h >>conftest.$ac_ext
  16720. cat >>conftest.$ac_ext <<_ACEOF
  16721. /* end confdefs.h. */
  16722. #include <sys/types.h>
  16723. #include <sys/socket.h>
  16724. int
  16725. main ()
  16726. {
  16727. struct sockaddr_storage ss ;
  16728. ss.__ss_family = 0 ;
  16729. ;
  16730. return 0;
  16731. }
  16732. _ACEOF
  16733. rm -f conftest.$ac_objext
  16734. if { (ac_try="$ac_compile"
  16735. case "(($ac_try" in
  16736. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16737. *) ac_try_echo=$ac_try;;
  16738. esac
  16739. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16740. $as_echo "$ac_try_echo") >&5
  16741. (eval "$ac_compile") 2>conftest.er1
  16742. ac_status=$?
  16743. grep -v '^ *+' conftest.er1 >conftest.err
  16744. rm -f conftest.er1
  16745. cat conftest.err >&5
  16746. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16747. (exit $ac_status); } && {
  16748. test -z "$ac_c_werror_flag" ||
  16749. test ! -s conftest.err
  16750. } && test -s conftest.$ac_objext; then
  16751. have_broken_ss_family=yes
  16752. else
  16753. $as_echo "$as_me: failed program was:" >&5
  16754. sed 's/^/| /' conftest.$ac_ext >&5
  16755. have_broken_ss_family=no
  16756. fi
  16757. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16758. { $as_echo "$as_me:$LINENO: result: $have_broken_ss_family" >&5
  16759. $as_echo "$have_broken_ss_family" >&6; }
  16760. if test x$have_broken_ss_family = xyes ; then
  16761. cat >>confdefs.h <<\_ACEOF
  16762. #define HAVE_BROKEN_SS_FAMILY /**/
  16763. _ACEOF
  16764. cat >>confdefs.h <<\_ACEOF
  16765. #define ss_family __ss_family
  16766. _ACEOF
  16767. else
  16768. { $as_echo "$as_me:$LINENO: WARNING: ss_family and __ss_family not found" >&5
  16769. $as_echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;}
  16770. fi
  16771. fi
  16772. have_getaddrinfo=no
  16773. { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5
  16774. $as_echo_n "checking for getaddrinfo... " >&6; }
  16775. if test "${ac_cv_func_getaddrinfo+set}" = set; then
  16776. $as_echo_n "(cached) " >&6
  16777. else
  16778. cat >conftest.$ac_ext <<_ACEOF
  16779. /* confdefs.h. */
  16780. _ACEOF
  16781. cat confdefs.h >>conftest.$ac_ext
  16782. cat >>conftest.$ac_ext <<_ACEOF
  16783. /* end confdefs.h. */
  16784. /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
  16785. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  16786. #define getaddrinfo innocuous_getaddrinfo
  16787. /* System header to define __stub macros and hopefully few prototypes,
  16788. which can conflict with char getaddrinfo (); below.
  16789. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16790. <limits.h> exists even on freestanding compilers. */
  16791. #ifdef __STDC__
  16792. # include <limits.h>
  16793. #else
  16794. # include <assert.h>
  16795. #endif
  16796. #undef getaddrinfo
  16797. /* Override any GCC internal prototype to avoid an error.
  16798. Use char because int might match the return type of a GCC
  16799. builtin and then its argument prototype would still apply. */
  16800. #ifdef __cplusplus
  16801. extern "C"
  16802. #endif
  16803. char getaddrinfo ();
  16804. /* The GNU C library defines this for functions which it implements
  16805. to always fail with ENOSYS. Some functions are actually named
  16806. something starting with __ and the normal name is an alias. */
  16807. #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
  16808. choke me
  16809. #endif
  16810. int
  16811. main ()
  16812. {
  16813. return getaddrinfo ();
  16814. ;
  16815. return 0;
  16816. }
  16817. _ACEOF
  16818. rm -f conftest.$ac_objext conftest$ac_exeext
  16819. if { (ac_try="$ac_link"
  16820. case "(($ac_try" in
  16821. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16822. *) ac_try_echo=$ac_try;;
  16823. esac
  16824. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16825. $as_echo "$ac_try_echo") >&5
  16826. (eval "$ac_link") 2>conftest.er1
  16827. ac_status=$?
  16828. grep -v '^ *+' conftest.er1 >conftest.err
  16829. rm -f conftest.er1
  16830. cat conftest.err >&5
  16831. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16832. (exit $ac_status); } && {
  16833. test -z "$ac_c_werror_flag" ||
  16834. test ! -s conftest.err
  16835. } && test -s conftest$ac_exeext && {
  16836. test "$cross_compiling" = yes ||
  16837. $as_test_x conftest$ac_exeext
  16838. }; then
  16839. ac_cv_func_getaddrinfo=yes
  16840. else
  16841. $as_echo "$as_me: failed program was:" >&5
  16842. sed 's/^/| /' conftest.$ac_ext >&5
  16843. ac_cv_func_getaddrinfo=no
  16844. fi
  16845. rm -rf conftest.dSYM
  16846. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16847. conftest$ac_exeext conftest.$ac_ext
  16848. fi
  16849. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
  16850. $as_echo "$ac_cv_func_getaddrinfo" >&6; }
  16851. if test "x$ac_cv_func_getaddrinfo" = x""yes; then
  16852. have_getaddrinfo=yes
  16853. fi
  16854. if test $have_getaddrinfo != yes; then
  16855. for lib in bsd socket inet; do
  16856. as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
  16857. { $as_echo "$as_me:$LINENO: checking for getaddrinfo in -l$lib" >&5
  16858. $as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }
  16859. if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
  16860. $as_echo_n "(cached) " >&6
  16861. else
  16862. ac_check_lib_save_LIBS=$LIBS
  16863. LIBS="-l$lib $LIBS"
  16864. cat >conftest.$ac_ext <<_ACEOF
  16865. /* confdefs.h. */
  16866. _ACEOF
  16867. cat confdefs.h >>conftest.$ac_ext
  16868. cat >>conftest.$ac_ext <<_ACEOF
  16869. /* end confdefs.h. */
  16870. /* Override any GCC internal prototype to avoid an error.
  16871. Use char because int might match the return type of a GCC
  16872. builtin and then its argument prototype would still apply. */
  16873. #ifdef __cplusplus
  16874. extern "C"
  16875. #endif
  16876. char getaddrinfo ();
  16877. int
  16878. main ()
  16879. {
  16880. return getaddrinfo ();
  16881. ;
  16882. return 0;
  16883. }
  16884. _ACEOF
  16885. rm -f conftest.$ac_objext conftest$ac_exeext
  16886. if { (ac_try="$ac_link"
  16887. case "(($ac_try" in
  16888. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16889. *) ac_try_echo=$ac_try;;
  16890. esac
  16891. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16892. $as_echo "$ac_try_echo") >&5
  16893. (eval "$ac_link") 2>conftest.er1
  16894. ac_status=$?
  16895. grep -v '^ *+' conftest.er1 >conftest.err
  16896. rm -f conftest.er1
  16897. cat conftest.err >&5
  16898. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16899. (exit $ac_status); } && {
  16900. test -z "$ac_c_werror_flag" ||
  16901. test ! -s conftest.err
  16902. } && test -s conftest$ac_exeext && {
  16903. test "$cross_compiling" = yes ||
  16904. $as_test_x conftest$ac_exeext
  16905. }; then
  16906. eval "$as_ac_Lib=yes"
  16907. else
  16908. $as_echo "$as_me: failed program was:" >&5
  16909. sed 's/^/| /' conftest.$ac_ext >&5
  16910. eval "$as_ac_Lib=no"
  16911. fi
  16912. rm -rf conftest.dSYM
  16913. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16914. conftest$ac_exeext conftest.$ac_ext
  16915. LIBS=$ac_check_lib_save_LIBS
  16916. fi
  16917. ac_res=`eval 'as_val=${'$as_ac_Lib'}
  16918. $as_echo "$as_val"'`
  16919. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  16920. $as_echo "$ac_res" >&6; }
  16921. as_val=`eval 'as_val=${'$as_ac_Lib'}
  16922. $as_echo "$as_val"'`
  16923. if test "x$as_val" = x""yes; then
  16924. LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break
  16925. fi
  16926. done
  16927. fi
  16928. if test $have_getaddrinfo = yes; then
  16929. cat >>confdefs.h <<\_ACEOF
  16930. #define HAVE_GETADDRINFO /**/
  16931. _ACEOF
  16932. fi
  16933. fi
  16934. fi
  16935. { $as_echo "$as_me:$LINENO: checking for isnan" >&5
  16936. $as_echo_n "checking for isnan... " >&6; }
  16937. if test "${ac_cv_func_isnan+set}" = set; then
  16938. $as_echo_n "(cached) " >&6
  16939. else
  16940. cat >conftest.$ac_ext <<_ACEOF
  16941. /* confdefs.h. */
  16942. _ACEOF
  16943. cat confdefs.h >>conftest.$ac_ext
  16944. cat >>conftest.$ac_ext <<_ACEOF
  16945. /* end confdefs.h. */
  16946. /* Define isnan to an innocuous variant, in case <limits.h> declares isnan.
  16947. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  16948. #define isnan innocuous_isnan
  16949. /* System header to define __stub macros and hopefully few prototypes,
  16950. which can conflict with char isnan (); below.
  16951. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16952. <limits.h> exists even on freestanding compilers. */
  16953. #ifdef __STDC__
  16954. # include <limits.h>
  16955. #else
  16956. # include <assert.h>
  16957. #endif
  16958. #undef isnan
  16959. /* Override any GCC internal prototype to avoid an error.
  16960. Use char because int might match the return type of a GCC
  16961. builtin and then its argument prototype would still apply. */
  16962. #ifdef __cplusplus
  16963. extern "C"
  16964. #endif
  16965. char isnan ();
  16966. /* The GNU C library defines this for functions which it implements
  16967. to always fail with ENOSYS. Some functions are actually named
  16968. something starting with __ and the normal name is an alias. */
  16969. #if defined __stub_isnan || defined __stub___isnan
  16970. choke me
  16971. #endif
  16972. int
  16973. main ()
  16974. {
  16975. return isnan ();
  16976. ;
  16977. return 0;
  16978. }
  16979. _ACEOF
  16980. rm -f conftest.$ac_objext conftest$ac_exeext
  16981. if { (ac_try="$ac_link"
  16982. case "(($ac_try" in
  16983. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16984. *) ac_try_echo=$ac_try;;
  16985. esac
  16986. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16987. $as_echo "$ac_try_echo") >&5
  16988. (eval "$ac_link") 2>conftest.er1
  16989. ac_status=$?
  16990. grep -v '^ *+' conftest.er1 >conftest.err
  16991. rm -f conftest.er1
  16992. cat conftest.err >&5
  16993. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16994. (exit $ac_status); } && {
  16995. test -z "$ac_c_werror_flag" ||
  16996. test ! -s conftest.err
  16997. } && test -s conftest$ac_exeext && {
  16998. test "$cross_compiling" = yes ||
  16999. $as_test_x conftest$ac_exeext
  17000. }; then
  17001. ac_cv_func_isnan=yes
  17002. else
  17003. $as_echo "$as_me: failed program was:" >&5
  17004. sed 's/^/| /' conftest.$ac_ext >&5
  17005. ac_cv_func_isnan=no
  17006. fi
  17007. rm -rf conftest.dSYM
  17008. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17009. conftest$ac_exeext conftest.$ac_ext
  17010. fi
  17011. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_isnan" >&5
  17012. $as_echo "$ac_cv_func_isnan" >&6; }
  17013. if test "x$ac_cv_func_isnan" = x""yes; then
  17014. cat >>confdefs.h <<\_ACEOF
  17015. #define HAVE_ISNAN /**/
  17016. _ACEOF
  17017. else
  17018. { $as_echo "$as_me:$LINENO: checking for isnan in -lm" >&5
  17019. $as_echo_n "checking for isnan in -lm... " >&6; }
  17020. if test "${ac_cv_lib_m_isnan+set}" = set; then
  17021. $as_echo_n "(cached) " >&6
  17022. else
  17023. ac_check_lib_save_LIBS=$LIBS
  17024. LIBS="-lm $LIBS"
  17025. cat >conftest.$ac_ext <<_ACEOF
  17026. /* confdefs.h. */
  17027. _ACEOF
  17028. cat confdefs.h >>conftest.$ac_ext
  17029. cat >>conftest.$ac_ext <<_ACEOF
  17030. /* end confdefs.h. */
  17031. /* Override any GCC internal prototype to avoid an error.
  17032. Use char because int might match the return type of a GCC
  17033. builtin and then its argument prototype would still apply. */
  17034. #ifdef __cplusplus
  17035. extern "C"
  17036. #endif
  17037. char isnan ();
  17038. int
  17039. main ()
  17040. {
  17041. return isnan ();
  17042. ;
  17043. return 0;
  17044. }
  17045. _ACEOF
  17046. rm -f conftest.$ac_objext conftest$ac_exeext
  17047. if { (ac_try="$ac_link"
  17048. case "(($ac_try" in
  17049. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17050. *) ac_try_echo=$ac_try;;
  17051. esac
  17052. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17053. $as_echo "$ac_try_echo") >&5
  17054. (eval "$ac_link") 2>conftest.er1
  17055. ac_status=$?
  17056. grep -v '^ *+' conftest.er1 >conftest.err
  17057. rm -f conftest.er1
  17058. cat conftest.err >&5
  17059. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17060. (exit $ac_status); } && {
  17061. test -z "$ac_c_werror_flag" ||
  17062. test ! -s conftest.err
  17063. } && test -s conftest$ac_exeext && {
  17064. test "$cross_compiling" = yes ||
  17065. $as_test_x conftest$ac_exeext
  17066. }; then
  17067. ac_cv_lib_m_isnan=yes
  17068. else
  17069. $as_echo "$as_me: failed program was:" >&5
  17070. sed 's/^/| /' conftest.$ac_ext >&5
  17071. ac_cv_lib_m_isnan=no
  17072. fi
  17073. rm -rf conftest.dSYM
  17074. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17075. conftest$ac_exeext conftest.$ac_ext
  17076. LIBS=$ac_check_lib_save_LIBS
  17077. fi
  17078. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_isnan" >&5
  17079. $as_echo "$ac_cv_lib_m_isnan" >&6; }
  17080. if test "x$ac_cv_lib_m_isnan" = x""yes; then
  17081. cat >>confdefs.h <<\_ACEOF
  17082. #define HAVE_ISNAN /**/
  17083. _ACEOF
  17084. fi
  17085. fi
  17086. { $as_echo "$as_me:$LINENO: checking for isinf" >&5
  17087. $as_echo_n "checking for isinf... " >&6; }
  17088. if test "${ac_cv_func_isinf+set}" = set; then
  17089. $as_echo_n "(cached) " >&6
  17090. else
  17091. cat >conftest.$ac_ext <<_ACEOF
  17092. /* confdefs.h. */
  17093. _ACEOF
  17094. cat confdefs.h >>conftest.$ac_ext
  17095. cat >>conftest.$ac_ext <<_ACEOF
  17096. /* end confdefs.h. */
  17097. /* Define isinf to an innocuous variant, in case <limits.h> declares isinf.
  17098. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  17099. #define isinf innocuous_isinf
  17100. /* System header to define __stub macros and hopefully few prototypes,
  17101. which can conflict with char isinf (); below.
  17102. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  17103. <limits.h> exists even on freestanding compilers. */
  17104. #ifdef __STDC__
  17105. # include <limits.h>
  17106. #else
  17107. # include <assert.h>
  17108. #endif
  17109. #undef isinf
  17110. /* Override any GCC internal prototype to avoid an error.
  17111. Use char because int might match the return type of a GCC
  17112. builtin and then its argument prototype would still apply. */
  17113. #ifdef __cplusplus
  17114. extern "C"
  17115. #endif
  17116. char isinf ();
  17117. /* The GNU C library defines this for functions which it implements
  17118. to always fail with ENOSYS. Some functions are actually named
  17119. something starting with __ and the normal name is an alias. */
  17120. #if defined __stub_isinf || defined __stub___isinf
  17121. choke me
  17122. #endif
  17123. int
  17124. main ()
  17125. {
  17126. return isinf ();
  17127. ;
  17128. return 0;
  17129. }
  17130. _ACEOF
  17131. rm -f conftest.$ac_objext conftest$ac_exeext
  17132. if { (ac_try="$ac_link"
  17133. case "(($ac_try" in
  17134. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17135. *) ac_try_echo=$ac_try;;
  17136. esac
  17137. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17138. $as_echo "$ac_try_echo") >&5
  17139. (eval "$ac_link") 2>conftest.er1
  17140. ac_status=$?
  17141. grep -v '^ *+' conftest.er1 >conftest.err
  17142. rm -f conftest.er1
  17143. cat conftest.err >&5
  17144. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17145. (exit $ac_status); } && {
  17146. test -z "$ac_c_werror_flag" ||
  17147. test ! -s conftest.err
  17148. } && test -s conftest$ac_exeext && {
  17149. test "$cross_compiling" = yes ||
  17150. $as_test_x conftest$ac_exeext
  17151. }; then
  17152. ac_cv_func_isinf=yes
  17153. else
  17154. $as_echo "$as_me: failed program was:" >&5
  17155. sed 's/^/| /' conftest.$ac_ext >&5
  17156. ac_cv_func_isinf=no
  17157. fi
  17158. rm -rf conftest.dSYM
  17159. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17160. conftest$ac_exeext conftest.$ac_ext
  17161. fi
  17162. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_isinf" >&5
  17163. $as_echo "$ac_cv_func_isinf" >&6; }
  17164. if test "x$ac_cv_func_isinf" = x""yes; then
  17165. cat >>confdefs.h <<\_ACEOF
  17166. #define HAVE_ISINF /**/
  17167. _ACEOF
  17168. else
  17169. { $as_echo "$as_me:$LINENO: checking for isinf in -lm" >&5
  17170. $as_echo_n "checking for isinf in -lm... " >&6; }
  17171. if test "${ac_cv_lib_m_isinf+set}" = set; then
  17172. $as_echo_n "(cached) " >&6
  17173. else
  17174. ac_check_lib_save_LIBS=$LIBS
  17175. LIBS="-lm $LIBS"
  17176. cat >conftest.$ac_ext <<_ACEOF
  17177. /* confdefs.h. */
  17178. _ACEOF
  17179. cat confdefs.h >>conftest.$ac_ext
  17180. cat >>conftest.$ac_ext <<_ACEOF
  17181. /* end confdefs.h. */
  17182. /* Override any GCC internal prototype to avoid an error.
  17183. Use char because int might match the return type of a GCC
  17184. builtin and then its argument prototype would still apply. */
  17185. #ifdef __cplusplus
  17186. extern "C"
  17187. #endif
  17188. char isinf ();
  17189. int
  17190. main ()
  17191. {
  17192. return isinf ();
  17193. ;
  17194. return 0;
  17195. }
  17196. _ACEOF
  17197. rm -f conftest.$ac_objext conftest$ac_exeext
  17198. if { (ac_try="$ac_link"
  17199. case "(($ac_try" in
  17200. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17201. *) ac_try_echo=$ac_try;;
  17202. esac
  17203. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17204. $as_echo "$ac_try_echo") >&5
  17205. (eval "$ac_link") 2>conftest.er1
  17206. ac_status=$?
  17207. grep -v '^ *+' conftest.er1 >conftest.err
  17208. rm -f conftest.er1
  17209. cat conftest.err >&5
  17210. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17211. (exit $ac_status); } && {
  17212. test -z "$ac_c_werror_flag" ||
  17213. test ! -s conftest.err
  17214. } && test -s conftest$ac_exeext && {
  17215. test "$cross_compiling" = yes ||
  17216. $as_test_x conftest$ac_exeext
  17217. }; then
  17218. ac_cv_lib_m_isinf=yes
  17219. else
  17220. $as_echo "$as_me: failed program was:" >&5
  17221. sed 's/^/| /' conftest.$ac_ext >&5
  17222. ac_cv_lib_m_isinf=no
  17223. fi
  17224. rm -rf conftest.dSYM
  17225. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17226. conftest$ac_exeext conftest.$ac_ext
  17227. LIBS=$ac_check_lib_save_LIBS
  17228. fi
  17229. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_isinf" >&5
  17230. $as_echo "$ac_cv_lib_m_isinf" >&6; }
  17231. if test "x$ac_cv_lib_m_isinf" = x""yes; then
  17232. cat >>confdefs.h <<\_ACEOF
  17233. #define HAVE_ISINF /**/
  17234. _ACEOF
  17235. fi
  17236. fi
  17237. XML_LIBDIR='-L${libdir}'
  17238. XML_INCLUDEDIR='-I${includedir}/libxml2'
  17239. XML_CFLAGS=""
  17240. RDL_LIBS=""
  17241. if test "${GCC}" != "yes" ; then
  17242. case "${host}" in
  17243. hppa*-*-hpux* )
  17244. CFLAGS="${CFLAGS} -Wp,-H30000"
  17245. ;;
  17246. *-dec-osf* )
  17247. CFLAGS="${CFLAGS} -ieee"
  17248. ;;
  17249. alpha*-*-linux* )
  17250. CFLAGS="${CFLAGS} -ieee"
  17251. ;;
  17252. esac
  17253. else
  17254. if test "$with_fexceptions" = "yes"
  17255. then
  17256. #
  17257. # Not activated by default because this inflates the code size
  17258. # Used to allow propagation of C++ exceptions through the library
  17259. #
  17260. CFLAGS="${CFLAGS} -fexceptions"
  17261. fi
  17262. CFLAGS="${CFLAGS} -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls"
  17263. case "${host}" in
  17264. alpha*-*-linux* )
  17265. CFLAGS="${CFLAGS} -mieee"
  17266. ;;
  17267. alpha*-*-osf* )
  17268. CFLAGS="${CFLAGS} -mieee"
  17269. ;;
  17270. esac
  17271. fi
  17272. case ${host} in
  17273. *-*-solaris*)
  17274. XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
  17275. ;;
  17276. hppa*-hp-mpeix)
  17277. NEED_TRIO=1
  17278. ;;
  17279. *-*-mingw* | *-*-cygwin* | *-*-msvc* )
  17280. # If the host is Windows, and shared libraries are disabled, we
  17281. # need to add -DLIBXML_STATIC to CFLAGS in order for linking to
  17282. # work properly (without it, xmlexports.h would force the use of
  17283. # DLL imports, which obviously aren't present in a static
  17284. # library).
  17285. if test "x$enable_shared" = "xno"; then
  17286. XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
  17287. CFLAGS="$CFLAGS -DLIBXML_STATIC"
  17288. fi
  17289. ;;
  17290. esac
  17291. PYTHON_VERSION=
  17292. PYTHON_INCLUDES=
  17293. PYTHON_SITE_PACKAGES=
  17294. PYTHON_TESTS=
  17295. pythondir=
  17296. if test "$with_python" != "no" ; then
  17297. if test -x "$with_python/bin/python"
  17298. then
  17299. echo Found python in $with_python/bin/python
  17300. PYTHON="$with_python/bin/python"
  17301. else
  17302. if test -x "$with_python"
  17303. then
  17304. echo Found python in $with_python
  17305. PYTHON="$with_python"
  17306. else
  17307. if test -x "$PYTHON"
  17308. then
  17309. echo Found python in environment PYTHON=$PYTHON
  17310. with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
  17311. else
  17312. # Extract the first word of "python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5", so it can be a program name with args.
  17313. set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
  17314. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  17315. $as_echo_n "checking for $ac_word... " >&6; }
  17316. if test "${ac_cv_path_PYTHON+set}" = set; then
  17317. $as_echo_n "(cached) " >&6
  17318. else
  17319. case $PYTHON in
  17320. [\\/]* | ?:[\\/]*)
  17321. ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
  17322. ;;
  17323. *)
  17324. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17325. for as_dir in $PATH
  17326. do
  17327. IFS=$as_save_IFS
  17328. test -z "$as_dir" && as_dir=.
  17329. for ac_exec_ext in '' $ac_executable_extensions; do
  17330. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17331. ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
  17332. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17333. break 2
  17334. fi
  17335. done
  17336. done
  17337. IFS=$as_save_IFS
  17338. ;;
  17339. esac
  17340. fi
  17341. PYTHON=$ac_cv_path_PYTHON
  17342. if test -n "$PYTHON"; then
  17343. { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
  17344. $as_echo "$PYTHON" >&6; }
  17345. else
  17346. { $as_echo "$as_me:$LINENO: result: no" >&5
  17347. $as_echo "no" >&6; }
  17348. fi
  17349. fi
  17350. fi
  17351. fi
  17352. if test "$PYTHON" != ""
  17353. then
  17354. PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"`
  17355. echo Found Python version $PYTHON_VERSION
  17356. fi
  17357. if test "$PYTHON_VERSION" != ""
  17358. then
  17359. if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
  17360. -d $with_python/lib/python$PYTHON_VERSION/site-packages
  17361. then
  17362. PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
  17363. PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
  17364. else
  17365. if test -r $prefix/include/python$PYTHON_VERSION/Python.h
  17366. then
  17367. PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
  17368. PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
  17369. else
  17370. if test -r /usr/include/python$PYTHON_VERSION/Python.h
  17371. then
  17372. PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
  17373. PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
  17374. else
  17375. echo could not find python$PYTHON_VERSION/Python.h
  17376. fi
  17377. fi
  17378. if test ! -d "$PYTHON_SITE_PACKAGES"
  17379. then
  17380. PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
  17381. fi
  17382. fi
  17383. PYTHON_LIBS=`python$PYTHON_VERSION-config --libs`
  17384. fi
  17385. if test "$with_python" != ""
  17386. then
  17387. pythondir='$(PYTHON_SITE_PACKAGES)'
  17388. else
  17389. pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
  17390. fi
  17391. else
  17392. PYTHON=
  17393. fi
  17394. if test "$PYTHON_INCLUDES" != ""; then
  17395. WITH_PYTHON_TRUE=
  17396. WITH_PYTHON_FALSE='#'
  17397. else
  17398. WITH_PYTHON_TRUE='#'
  17399. WITH_PYTHON_FALSE=
  17400. fi
  17401. if test "$PYTHON_INCLUDES" != ""
  17402. then
  17403. PYTHON_SUBDIR=python
  17404. else
  17405. PYTHON_SUBDIR=
  17406. fi
  17407. WITH_MODULES=0
  17408. TEST_MODULES=
  17409. if test "$with_modules" != "no" ; then
  17410. case "$host" in
  17411. *-*-cygwin*)
  17412. MODULE_EXTENSION=".dll"
  17413. { $as_echo "$as_me:$LINENO: checking for dlopen in -lcygwin" >&5
  17414. $as_echo_n "checking for dlopen in -lcygwin... " >&6; }
  17415. if test "${ac_cv_lib_cygwin_dlopen+set}" = set; then
  17416. $as_echo_n "(cached) " >&6
  17417. else
  17418. ac_check_lib_save_LIBS=$LIBS
  17419. LIBS="-lcygwin $LIBS"
  17420. cat >conftest.$ac_ext <<_ACEOF
  17421. /* confdefs.h. */
  17422. _ACEOF
  17423. cat confdefs.h >>conftest.$ac_ext
  17424. cat >>conftest.$ac_ext <<_ACEOF
  17425. /* end confdefs.h. */
  17426. /* Override any GCC internal prototype to avoid an error.
  17427. Use char because int might match the return type of a GCC
  17428. builtin and then its argument prototype would still apply. */
  17429. #ifdef __cplusplus
  17430. extern "C"
  17431. #endif
  17432. char dlopen ();
  17433. int
  17434. main ()
  17435. {
  17436. return dlopen ();
  17437. ;
  17438. return 0;
  17439. }
  17440. _ACEOF
  17441. rm -f conftest.$ac_objext conftest$ac_exeext
  17442. if { (ac_try="$ac_link"
  17443. case "(($ac_try" in
  17444. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17445. *) ac_try_echo=$ac_try;;
  17446. esac
  17447. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17448. $as_echo "$ac_try_echo") >&5
  17449. (eval "$ac_link") 2>conftest.er1
  17450. ac_status=$?
  17451. grep -v '^ *+' conftest.er1 >conftest.err
  17452. rm -f conftest.er1
  17453. cat conftest.err >&5
  17454. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17455. (exit $ac_status); } && {
  17456. test -z "$ac_c_werror_flag" ||
  17457. test ! -s conftest.err
  17458. } && test -s conftest$ac_exeext && {
  17459. test "$cross_compiling" = yes ||
  17460. $as_test_x conftest$ac_exeext
  17461. }; then
  17462. ac_cv_lib_cygwin_dlopen=yes
  17463. else
  17464. $as_echo "$as_me: failed program was:" >&5
  17465. sed 's/^/| /' conftest.$ac_ext >&5
  17466. ac_cv_lib_cygwin_dlopen=no
  17467. fi
  17468. rm -rf conftest.dSYM
  17469. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17470. conftest$ac_exeext conftest.$ac_ext
  17471. LIBS=$ac_check_lib_save_LIBS
  17472. fi
  17473. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cygwin_dlopen" >&5
  17474. $as_echo "$ac_cv_lib_cygwin_dlopen" >&6; }
  17475. if test "x$ac_cv_lib_cygwin_dlopen" = x""yes; then
  17476. WITH_MODULES=1
  17477. MODULE_PLATFORM_LIBS=
  17478. cat >>confdefs.h <<\_ACEOF
  17479. #define HAVE_DLOPEN /**/
  17480. _ACEOF
  17481. fi
  17482. ;;
  17483. *)
  17484. { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
  17485. $as_echo_n "checking for shl_load... " >&6; }
  17486. if test "${ac_cv_func_shl_load+set}" = set; then
  17487. $as_echo_n "(cached) " >&6
  17488. else
  17489. cat >conftest.$ac_ext <<_ACEOF
  17490. /* confdefs.h. */
  17491. _ACEOF
  17492. cat confdefs.h >>conftest.$ac_ext
  17493. cat >>conftest.$ac_ext <<_ACEOF
  17494. /* end confdefs.h. */
  17495. /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  17496. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  17497. #define shl_load innocuous_shl_load
  17498. /* System header to define __stub macros and hopefully few prototypes,
  17499. which can conflict with char shl_load (); below.
  17500. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  17501. <limits.h> exists even on freestanding compilers. */
  17502. #ifdef __STDC__
  17503. # include <limits.h>
  17504. #else
  17505. # include <assert.h>
  17506. #endif
  17507. #undef shl_load
  17508. /* Override any GCC internal prototype to avoid an error.
  17509. Use char because int might match the return type of a GCC
  17510. builtin and then its argument prototype would still apply. */
  17511. #ifdef __cplusplus
  17512. extern "C"
  17513. #endif
  17514. char shl_load ();
  17515. /* The GNU C library defines this for functions which it implements
  17516. to always fail with ENOSYS. Some functions are actually named
  17517. something starting with __ and the normal name is an alias. */
  17518. #if defined __stub_shl_load || defined __stub___shl_load
  17519. choke me
  17520. #endif
  17521. int
  17522. main ()
  17523. {
  17524. return shl_load ();
  17525. ;
  17526. return 0;
  17527. }
  17528. _ACEOF
  17529. rm -f conftest.$ac_objext conftest$ac_exeext
  17530. if { (ac_try="$ac_link"
  17531. case "(($ac_try" in
  17532. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17533. *) ac_try_echo=$ac_try;;
  17534. esac
  17535. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17536. $as_echo "$ac_try_echo") >&5
  17537. (eval "$ac_link") 2>conftest.er1
  17538. ac_status=$?
  17539. grep -v '^ *+' conftest.er1 >conftest.err
  17540. rm -f conftest.er1
  17541. cat conftest.err >&5
  17542. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17543. (exit $ac_status); } && {
  17544. test -z "$ac_c_werror_flag" ||
  17545. test ! -s conftest.err
  17546. } && test -s conftest$ac_exeext && {
  17547. test "$cross_compiling" = yes ||
  17548. $as_test_x conftest$ac_exeext
  17549. }; then
  17550. ac_cv_func_shl_load=yes
  17551. else
  17552. $as_echo "$as_me: failed program was:" >&5
  17553. sed 's/^/| /' conftest.$ac_ext >&5
  17554. ac_cv_func_shl_load=no
  17555. fi
  17556. rm -rf conftest.dSYM
  17557. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17558. conftest$ac_exeext conftest.$ac_ext
  17559. fi
  17560. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  17561. $as_echo "$ac_cv_func_shl_load" >&6; }
  17562. if test "x$ac_cv_func_shl_load" = x""yes; then
  17563. libxml_have_shl_load=yes
  17564. else
  17565. { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  17566. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  17567. if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  17568. $as_echo_n "(cached) " >&6
  17569. else
  17570. ac_check_lib_save_LIBS=$LIBS
  17571. LIBS="-ldld $LIBS"
  17572. cat >conftest.$ac_ext <<_ACEOF
  17573. /* confdefs.h. */
  17574. _ACEOF
  17575. cat confdefs.h >>conftest.$ac_ext
  17576. cat >>conftest.$ac_ext <<_ACEOF
  17577. /* end confdefs.h. */
  17578. /* Override any GCC internal prototype to avoid an error.
  17579. Use char because int might match the return type of a GCC
  17580. builtin and then its argument prototype would still apply. */
  17581. #ifdef __cplusplus
  17582. extern "C"
  17583. #endif
  17584. char shl_load ();
  17585. int
  17586. main ()
  17587. {
  17588. return shl_load ();
  17589. ;
  17590. return 0;
  17591. }
  17592. _ACEOF
  17593. rm -f conftest.$ac_objext conftest$ac_exeext
  17594. if { (ac_try="$ac_link"
  17595. case "(($ac_try" in
  17596. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17597. *) ac_try_echo=$ac_try;;
  17598. esac
  17599. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17600. $as_echo "$ac_try_echo") >&5
  17601. (eval "$ac_link") 2>conftest.er1
  17602. ac_status=$?
  17603. grep -v '^ *+' conftest.er1 >conftest.err
  17604. rm -f conftest.er1
  17605. cat conftest.err >&5
  17606. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17607. (exit $ac_status); } && {
  17608. test -z "$ac_c_werror_flag" ||
  17609. test ! -s conftest.err
  17610. } && test -s conftest$ac_exeext && {
  17611. test "$cross_compiling" = yes ||
  17612. $as_test_x conftest$ac_exeext
  17613. }; then
  17614. ac_cv_lib_dld_shl_load=yes
  17615. else
  17616. $as_echo "$as_me: failed program was:" >&5
  17617. sed 's/^/| /' conftest.$ac_ext >&5
  17618. ac_cv_lib_dld_shl_load=no
  17619. fi
  17620. rm -rf conftest.dSYM
  17621. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17622. conftest$ac_exeext conftest.$ac_ext
  17623. LIBS=$ac_check_lib_save_LIBS
  17624. fi
  17625. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  17626. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  17627. if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
  17628. MODULE_PLATFORM_LIBS="-ldld"
  17629. libxml_have_shl_load=yes
  17630. else
  17631. { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
  17632. $as_echo_n "checking for dlopen... " >&6; }
  17633. if test "${ac_cv_func_dlopen+set}" = set; then
  17634. $as_echo_n "(cached) " >&6
  17635. else
  17636. cat >conftest.$ac_ext <<_ACEOF
  17637. /* confdefs.h. */
  17638. _ACEOF
  17639. cat confdefs.h >>conftest.$ac_ext
  17640. cat >>conftest.$ac_ext <<_ACEOF
  17641. /* end confdefs.h. */
  17642. /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  17643. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  17644. #define dlopen innocuous_dlopen
  17645. /* System header to define __stub macros and hopefully few prototypes,
  17646. which can conflict with char dlopen (); below.
  17647. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  17648. <limits.h> exists even on freestanding compilers. */
  17649. #ifdef __STDC__
  17650. # include <limits.h>
  17651. #else
  17652. # include <assert.h>
  17653. #endif
  17654. #undef dlopen
  17655. /* Override any GCC internal prototype to avoid an error.
  17656. Use char because int might match the return type of a GCC
  17657. builtin and then its argument prototype would still apply. */
  17658. #ifdef __cplusplus
  17659. extern "C"
  17660. #endif
  17661. char dlopen ();
  17662. /* The GNU C library defines this for functions which it implements
  17663. to always fail with ENOSYS. Some functions are actually named
  17664. something starting with __ and the normal name is an alias. */
  17665. #if defined __stub_dlopen || defined __stub___dlopen
  17666. choke me
  17667. #endif
  17668. int
  17669. main ()
  17670. {
  17671. return dlopen ();
  17672. ;
  17673. return 0;
  17674. }
  17675. _ACEOF
  17676. rm -f conftest.$ac_objext conftest$ac_exeext
  17677. if { (ac_try="$ac_link"
  17678. case "(($ac_try" in
  17679. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17680. *) ac_try_echo=$ac_try;;
  17681. esac
  17682. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17683. $as_echo "$ac_try_echo") >&5
  17684. (eval "$ac_link") 2>conftest.er1
  17685. ac_status=$?
  17686. grep -v '^ *+' conftest.er1 >conftest.err
  17687. rm -f conftest.er1
  17688. cat conftest.err >&5
  17689. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17690. (exit $ac_status); } && {
  17691. test -z "$ac_c_werror_flag" ||
  17692. test ! -s conftest.err
  17693. } && test -s conftest$ac_exeext && {
  17694. test "$cross_compiling" = yes ||
  17695. $as_test_x conftest$ac_exeext
  17696. }; then
  17697. ac_cv_func_dlopen=yes
  17698. else
  17699. $as_echo "$as_me: failed program was:" >&5
  17700. sed 's/^/| /' conftest.$ac_ext >&5
  17701. ac_cv_func_dlopen=no
  17702. fi
  17703. rm -rf conftest.dSYM
  17704. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17705. conftest$ac_exeext conftest.$ac_ext
  17706. fi
  17707. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  17708. $as_echo "$ac_cv_func_dlopen" >&6; }
  17709. if test "x$ac_cv_func_dlopen" = x""yes; then
  17710. libxml_have_dlopen=yes
  17711. else
  17712. { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  17713. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  17714. if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  17715. $as_echo_n "(cached) " >&6
  17716. else
  17717. ac_check_lib_save_LIBS=$LIBS
  17718. LIBS="-ldl $LIBS"
  17719. cat >conftest.$ac_ext <<_ACEOF
  17720. /* confdefs.h. */
  17721. _ACEOF
  17722. cat confdefs.h >>conftest.$ac_ext
  17723. cat >>conftest.$ac_ext <<_ACEOF
  17724. /* end confdefs.h. */
  17725. /* Override any GCC internal prototype to avoid an error.
  17726. Use char because int might match the return type of a GCC
  17727. builtin and then its argument prototype would still apply. */
  17728. #ifdef __cplusplus
  17729. extern "C"
  17730. #endif
  17731. char dlopen ();
  17732. int
  17733. main ()
  17734. {
  17735. return dlopen ();
  17736. ;
  17737. return 0;
  17738. }
  17739. _ACEOF
  17740. rm -f conftest.$ac_objext conftest$ac_exeext
  17741. if { (ac_try="$ac_link"
  17742. case "(($ac_try" in
  17743. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17744. *) ac_try_echo=$ac_try;;
  17745. esac
  17746. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17747. $as_echo "$ac_try_echo") >&5
  17748. (eval "$ac_link") 2>conftest.er1
  17749. ac_status=$?
  17750. grep -v '^ *+' conftest.er1 >conftest.err
  17751. rm -f conftest.er1
  17752. cat conftest.err >&5
  17753. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17754. (exit $ac_status); } && {
  17755. test -z "$ac_c_werror_flag" ||
  17756. test ! -s conftest.err
  17757. } && test -s conftest$ac_exeext && {
  17758. test "$cross_compiling" = yes ||
  17759. $as_test_x conftest$ac_exeext
  17760. }; then
  17761. ac_cv_lib_dl_dlopen=yes
  17762. else
  17763. $as_echo "$as_me: failed program was:" >&5
  17764. sed 's/^/| /' conftest.$ac_ext >&5
  17765. ac_cv_lib_dl_dlopen=no
  17766. fi
  17767. rm -rf conftest.dSYM
  17768. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17769. conftest$ac_exeext conftest.$ac_ext
  17770. LIBS=$ac_check_lib_save_LIBS
  17771. fi
  17772. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  17773. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  17774. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
  17775. MODULE_PLATFORM_LIBS="-ldl"
  17776. libxml_have_dlopen=yes
  17777. fi
  17778. fi
  17779. fi
  17780. fi
  17781. if test "${libxml_have_shl_load}" = "yes"; then
  17782. MODULE_EXTENSION=".sl"
  17783. WITH_MODULES=1
  17784. cat >>confdefs.h <<\_ACEOF
  17785. #define HAVE_SHLLOAD /**/
  17786. _ACEOF
  17787. fi
  17788. if test "${libxml_have_dlopen}" = "yes"; then
  17789. case "${host}" in
  17790. *-*-hpux* )
  17791. MODULE_EXTENSION=".sl"
  17792. ;;
  17793. * )
  17794. MODULE_EXTENSION=".so"
  17795. ;;
  17796. esac
  17797. WITH_MODULES=1
  17798. cat >>confdefs.h <<\_ACEOF
  17799. #define HAVE_DLOPEN /**/
  17800. _ACEOF
  17801. fi
  17802. ;;
  17803. esac
  17804. fi
  17805. if test "${WITH_MODULES}" = "1"; then
  17806. TEST_MODULES="ModuleTests"
  17807. fi
  17808. if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \
  17809. [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \
  17810. [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]
  17811. then
  17812. if test "$with_minimum" != "yes"
  17813. then
  17814. if test "${with_mem_debug}" = "" ; then
  17815. echo Activating memory debugging
  17816. with_mem_debug="yes"
  17817. with_run_debug="yes"
  17818. fi
  17819. if test "${with_docbook}" = "" ; then
  17820. with_docbook="yes"
  17821. fi
  17822. fi
  17823. if test "${GCC}" = "yes" ; then
  17824. CFLAGS="-g -O -pedantic -W -Wformat -Wunused -Wimplicit -Wreturn-type -Wswitch -Wcomment -Wtrigraphs -Wformat -Wchar-subscripts -Wuninitialized -Wparentheses -Wshadow -Wpointer-arith -Wcast-align -Wwrite-strings -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wnested-externs -Winline -Wredundant-decls -Wall"
  17825. fi
  17826. STATIC_BINARIES="-static"
  17827. else
  17828. STATIC_BINARIES=
  17829. fi
  17830. if test "${NEED_TRIO}" = "1" ; then
  17831. echo Adding trio library for string functions
  17832. WITH_TRIO=1
  17833. else
  17834. WITH_TRIO=0
  17835. fi
  17836. if test "${NEED_TRIO}" = "1"; then
  17837. WITH_TRIO_SOURCES_TRUE=
  17838. WITH_TRIO_SOURCES_FALSE='#'
  17839. else
  17840. WITH_TRIO_SOURCES_TRUE='#'
  17841. WITH_TRIO_SOURCES_FALSE=
  17842. fi
  17843. echo Checking configuration requirements
  17844. THREAD_LIBS=""
  17845. BASE_THREAD_LIBS=""
  17846. WITH_THREADS=0
  17847. THREAD_CFLAGS=""
  17848. TEST_THREADS=""
  17849. THREADS_W32=""
  17850. if test "$with_threads" = "no" ; then
  17851. echo Disabling multithreaded support
  17852. else
  17853. echo Enabling multithreaded support
  17854. if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then
  17855. if test "${ac_cv_header_pthread_h+set}" = set; then
  17856. { $as_echo "$as_me:$LINENO: checking for pthread.h" >&5
  17857. $as_echo_n "checking for pthread.h... " >&6; }
  17858. if test "${ac_cv_header_pthread_h+set}" = set; then
  17859. $as_echo_n "(cached) " >&6
  17860. fi
  17861. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
  17862. $as_echo "$ac_cv_header_pthread_h" >&6; }
  17863. else
  17864. # Is the header compilable?
  17865. { $as_echo "$as_me:$LINENO: checking pthread.h usability" >&5
  17866. $as_echo_n "checking pthread.h usability... " >&6; }
  17867. cat >conftest.$ac_ext <<_ACEOF
  17868. /* confdefs.h. */
  17869. _ACEOF
  17870. cat confdefs.h >>conftest.$ac_ext
  17871. cat >>conftest.$ac_ext <<_ACEOF
  17872. /* end confdefs.h. */
  17873. $ac_includes_default
  17874. #include <pthread.h>
  17875. _ACEOF
  17876. rm -f conftest.$ac_objext
  17877. if { (ac_try="$ac_compile"
  17878. case "(($ac_try" in
  17879. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17880. *) ac_try_echo=$ac_try;;
  17881. esac
  17882. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17883. $as_echo "$ac_try_echo") >&5
  17884. (eval "$ac_compile") 2>conftest.er1
  17885. ac_status=$?
  17886. grep -v '^ *+' conftest.er1 >conftest.err
  17887. rm -f conftest.er1
  17888. cat conftest.err >&5
  17889. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17890. (exit $ac_status); } && {
  17891. test -z "$ac_c_werror_flag" ||
  17892. test ! -s conftest.err
  17893. } && test -s conftest.$ac_objext; then
  17894. ac_header_compiler=yes
  17895. else
  17896. $as_echo "$as_me: failed program was:" >&5
  17897. sed 's/^/| /' conftest.$ac_ext >&5
  17898. ac_header_compiler=no
  17899. fi
  17900. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17901. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  17902. $as_echo "$ac_header_compiler" >&6; }
  17903. # Is the header present?
  17904. { $as_echo "$as_me:$LINENO: checking pthread.h presence" >&5
  17905. $as_echo_n "checking pthread.h presence... " >&6; }
  17906. cat >conftest.$ac_ext <<_ACEOF
  17907. /* confdefs.h. */
  17908. _ACEOF
  17909. cat confdefs.h >>conftest.$ac_ext
  17910. cat >>conftest.$ac_ext <<_ACEOF
  17911. /* end confdefs.h. */
  17912. #include <pthread.h>
  17913. _ACEOF
  17914. if { (ac_try="$ac_cpp conftest.$ac_ext"
  17915. case "(($ac_try" in
  17916. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17917. *) ac_try_echo=$ac_try;;
  17918. esac
  17919. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17920. $as_echo "$ac_try_echo") >&5
  17921. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  17922. ac_status=$?
  17923. grep -v '^ *+' conftest.er1 >conftest.err
  17924. rm -f conftest.er1
  17925. cat conftest.err >&5
  17926. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17927. (exit $ac_status); } >/dev/null && {
  17928. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  17929. test ! -s conftest.err
  17930. }; then
  17931. ac_header_preproc=yes
  17932. else
  17933. $as_echo "$as_me: failed program was:" >&5
  17934. sed 's/^/| /' conftest.$ac_ext >&5
  17935. ac_header_preproc=no
  17936. fi
  17937. rm -f conftest.err conftest.$ac_ext
  17938. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  17939. $as_echo "$ac_header_preproc" >&6; }
  17940. # So? What about this header?
  17941. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  17942. yes:no: )
  17943. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
  17944. $as_echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  17945. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
  17946. $as_echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
  17947. ac_header_preproc=yes
  17948. ;;
  17949. no:yes:* )
  17950. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
  17951. $as_echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
  17952. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
  17953. $as_echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
  17954. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
  17955. $as_echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
  17956. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
  17957. $as_echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
  17958. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
  17959. $as_echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
  17960. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
  17961. $as_echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
  17962. ;;
  17963. esac
  17964. { $as_echo "$as_me:$LINENO: checking for pthread.h" >&5
  17965. $as_echo_n "checking for pthread.h... " >&6; }
  17966. if test "${ac_cv_header_pthread_h+set}" = set; then
  17967. $as_echo_n "(cached) " >&6
  17968. else
  17969. ac_cv_header_pthread_h=$ac_header_preproc
  17970. fi
  17971. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
  17972. $as_echo "$ac_cv_header_pthread_h" >&6; }
  17973. fi
  17974. if test "x$ac_cv_header_pthread_h" = x""yes; then
  17975. { $as_echo "$as_me:$LINENO: checking for pthread_join in -lpthread" >&5
  17976. $as_echo_n "checking for pthread_join in -lpthread... " >&6; }
  17977. if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then
  17978. $as_echo_n "(cached) " >&6
  17979. else
  17980. ac_check_lib_save_LIBS=$LIBS
  17981. LIBS="-lpthread $LIBS"
  17982. cat >conftest.$ac_ext <<_ACEOF
  17983. /* confdefs.h. */
  17984. _ACEOF
  17985. cat confdefs.h >>conftest.$ac_ext
  17986. cat >>conftest.$ac_ext <<_ACEOF
  17987. /* end confdefs.h. */
  17988. /* Override any GCC internal prototype to avoid an error.
  17989. Use char because int might match the return type of a GCC
  17990. builtin and then its argument prototype would still apply. */
  17991. #ifdef __cplusplus
  17992. extern "C"
  17993. #endif
  17994. char pthread_join ();
  17995. int
  17996. main ()
  17997. {
  17998. return pthread_join ();
  17999. ;
  18000. return 0;
  18001. }
  18002. _ACEOF
  18003. rm -f conftest.$ac_objext conftest$ac_exeext
  18004. if { (ac_try="$ac_link"
  18005. case "(($ac_try" in
  18006. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18007. *) ac_try_echo=$ac_try;;
  18008. esac
  18009. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18010. $as_echo "$ac_try_echo") >&5
  18011. (eval "$ac_link") 2>conftest.er1
  18012. ac_status=$?
  18013. grep -v '^ *+' conftest.er1 >conftest.err
  18014. rm -f conftest.er1
  18015. cat conftest.err >&5
  18016. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18017. (exit $ac_status); } && {
  18018. test -z "$ac_c_werror_flag" ||
  18019. test ! -s conftest.err
  18020. } && test -s conftest$ac_exeext && {
  18021. test "$cross_compiling" = yes ||
  18022. $as_test_x conftest$ac_exeext
  18023. }; then
  18024. ac_cv_lib_pthread_pthread_join=yes
  18025. else
  18026. $as_echo "$as_me: failed program was:" >&5
  18027. sed 's/^/| /' conftest.$ac_ext >&5
  18028. ac_cv_lib_pthread_pthread_join=no
  18029. fi
  18030. rm -rf conftest.dSYM
  18031. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18032. conftest$ac_exeext conftest.$ac_ext
  18033. LIBS=$ac_check_lib_save_LIBS
  18034. fi
  18035. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_join" >&5
  18036. $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
  18037. if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then
  18038. THREAD_LIBS="-lpthread"
  18039. cat >>confdefs.h <<\_ACEOF
  18040. #define HAVE_LIBPTHREAD /**/
  18041. _ACEOF
  18042. cat >>confdefs.h <<\_ACEOF
  18043. #define HAVE_PTHREAD_H /**/
  18044. _ACEOF
  18045. WITH_THREADS="1"
  18046. fi
  18047. fi
  18048. fi
  18049. case $host_os in
  18050. *mingw32*) if test "$THREAD_LIBS" != "-lpthread"; then
  18051. WITH_THREADS="1"
  18052. THREADS_W32="Win32"
  18053. THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
  18054. fi
  18055. ;;
  18056. *cygwin*) THREAD_LIBS=""
  18057. ;;
  18058. *beos*) WITH_THREADS="1"
  18059. THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
  18060. ;;
  18061. *linux*)
  18062. if test "${GCC}" = "yes" ; then
  18063. GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
  18064. GCC_MAJOR=`echo ${GCC_VERSION} | sed 's+\..*++'`
  18065. GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..*++'`
  18066. if test "${THREAD_LIBS}" = "-lpthread" ; then
  18067. if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null
  18068. then
  18069. THREAD_LIBS=""
  18070. BASE_THREAD_LIBS="-lpthread"
  18071. else
  18072. if expr ${GCC_MAJOR} \> 3 > /dev/null
  18073. then
  18074. THREAD_LIBS=""
  18075. BASE_THREAD_LIBS="-lpthread"
  18076. else
  18077. echo old GCC disabling weak symbols for pthread
  18078. fi
  18079. fi
  18080. fi
  18081. fi
  18082. ;;
  18083. esac
  18084. if test "$WITH_THREADS" = "1" ; then
  18085. THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
  18086. TEST_THREADS="Threadtests"
  18087. fi
  18088. fi
  18089. if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
  18090. THREAD_CFLAGS="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED"
  18091. fi
  18092. if test "$with_history" = "yes" ; then
  18093. echo Enabling xmllint shell history
  18094. unset tcap
  18095. for termlib in ncurses curses termcap terminfo termlib; do
  18096. as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
  18097. { $as_echo "$as_me:$LINENO: checking for tputs in -l${termlib}" >&5
  18098. $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
  18099. if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
  18100. $as_echo_n "(cached) " >&6
  18101. else
  18102. ac_check_lib_save_LIBS=$LIBS
  18103. LIBS="-l${termlib} $LIBS"
  18104. cat >conftest.$ac_ext <<_ACEOF
  18105. /* confdefs.h. */
  18106. _ACEOF
  18107. cat confdefs.h >>conftest.$ac_ext
  18108. cat >>conftest.$ac_ext <<_ACEOF
  18109. /* end confdefs.h. */
  18110. /* Override any GCC internal prototype to avoid an error.
  18111. Use char because int might match the return type of a GCC
  18112. builtin and then its argument prototype would still apply. */
  18113. #ifdef __cplusplus
  18114. extern "C"
  18115. #endif
  18116. char tputs ();
  18117. int
  18118. main ()
  18119. {
  18120. return tputs ();
  18121. ;
  18122. return 0;
  18123. }
  18124. _ACEOF
  18125. rm -f conftest.$ac_objext conftest$ac_exeext
  18126. if { (ac_try="$ac_link"
  18127. case "(($ac_try" in
  18128. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18129. *) ac_try_echo=$ac_try;;
  18130. esac
  18131. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18132. $as_echo "$ac_try_echo") >&5
  18133. (eval "$ac_link") 2>conftest.er1
  18134. ac_status=$?
  18135. grep -v '^ *+' conftest.er1 >conftest.err
  18136. rm -f conftest.er1
  18137. cat conftest.err >&5
  18138. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18139. (exit $ac_status); } && {
  18140. test -z "$ac_c_werror_flag" ||
  18141. test ! -s conftest.err
  18142. } && test -s conftest$ac_exeext && {
  18143. test "$cross_compiling" = yes ||
  18144. $as_test_x conftest$ac_exeext
  18145. }; then
  18146. eval "$as_ac_Lib=yes"
  18147. else
  18148. $as_echo "$as_me: failed program was:" >&5
  18149. sed 's/^/| /' conftest.$ac_ext >&5
  18150. eval "$as_ac_Lib=no"
  18151. fi
  18152. rm -rf conftest.dSYM
  18153. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18154. conftest$ac_exeext conftest.$ac_ext
  18155. LIBS=$ac_check_lib_save_LIBS
  18156. fi
  18157. ac_res=`eval 'as_val=${'$as_ac_Lib'}
  18158. $as_echo "$as_val"'`
  18159. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  18160. $as_echo "$ac_res" >&6; }
  18161. as_val=`eval 'as_val=${'$as_ac_Lib'}
  18162. $as_echo "$as_val"'`
  18163. if test "x$as_val" = x""yes; then
  18164. tcap="-l$termlib"
  18165. fi
  18166. test -n "$tcap" && break
  18167. done
  18168. if test "${ac_cv_header_readline_history_h+set}" = set; then
  18169. { $as_echo "$as_me:$LINENO: checking for readline/history.h" >&5
  18170. $as_echo_n "checking for readline/history.h... " >&6; }
  18171. if test "${ac_cv_header_readline_history_h+set}" = set; then
  18172. $as_echo_n "(cached) " >&6
  18173. fi
  18174. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
  18175. $as_echo "$ac_cv_header_readline_history_h" >&6; }
  18176. else
  18177. # Is the header compilable?
  18178. { $as_echo "$as_me:$LINENO: checking readline/history.h usability" >&5
  18179. $as_echo_n "checking readline/history.h usability... " >&6; }
  18180. cat >conftest.$ac_ext <<_ACEOF
  18181. /* confdefs.h. */
  18182. _ACEOF
  18183. cat confdefs.h >>conftest.$ac_ext
  18184. cat >>conftest.$ac_ext <<_ACEOF
  18185. /* end confdefs.h. */
  18186. $ac_includes_default
  18187. #include <readline/history.h>
  18188. _ACEOF
  18189. rm -f conftest.$ac_objext
  18190. if { (ac_try="$ac_compile"
  18191. case "(($ac_try" in
  18192. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18193. *) ac_try_echo=$ac_try;;
  18194. esac
  18195. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18196. $as_echo "$ac_try_echo") >&5
  18197. (eval "$ac_compile") 2>conftest.er1
  18198. ac_status=$?
  18199. grep -v '^ *+' conftest.er1 >conftest.err
  18200. rm -f conftest.er1
  18201. cat conftest.err >&5
  18202. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18203. (exit $ac_status); } && {
  18204. test -z "$ac_c_werror_flag" ||
  18205. test ! -s conftest.err
  18206. } && test -s conftest.$ac_objext; then
  18207. ac_header_compiler=yes
  18208. else
  18209. $as_echo "$as_me: failed program was:" >&5
  18210. sed 's/^/| /' conftest.$ac_ext >&5
  18211. ac_header_compiler=no
  18212. fi
  18213. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18214. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  18215. $as_echo "$ac_header_compiler" >&6; }
  18216. # Is the header present?
  18217. { $as_echo "$as_me:$LINENO: checking readline/history.h presence" >&5
  18218. $as_echo_n "checking readline/history.h presence... " >&6; }
  18219. cat >conftest.$ac_ext <<_ACEOF
  18220. /* confdefs.h. */
  18221. _ACEOF
  18222. cat confdefs.h >>conftest.$ac_ext
  18223. cat >>conftest.$ac_ext <<_ACEOF
  18224. /* end confdefs.h. */
  18225. #include <readline/history.h>
  18226. _ACEOF
  18227. if { (ac_try="$ac_cpp conftest.$ac_ext"
  18228. case "(($ac_try" in
  18229. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18230. *) ac_try_echo=$ac_try;;
  18231. esac
  18232. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18233. $as_echo "$ac_try_echo") >&5
  18234. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  18235. ac_status=$?
  18236. grep -v '^ *+' conftest.er1 >conftest.err
  18237. rm -f conftest.er1
  18238. cat conftest.err >&5
  18239. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18240. (exit $ac_status); } >/dev/null && {
  18241. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  18242. test ! -s conftest.err
  18243. }; then
  18244. ac_header_preproc=yes
  18245. else
  18246. $as_echo "$as_me: failed program was:" >&5
  18247. sed 's/^/| /' conftest.$ac_ext >&5
  18248. ac_header_preproc=no
  18249. fi
  18250. rm -f conftest.err conftest.$ac_ext
  18251. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  18252. $as_echo "$ac_header_preproc" >&6; }
  18253. # So? What about this header?
  18254. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  18255. yes:no: )
  18256. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&5
  18257. $as_echo "$as_me: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  18258. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the compiler's result" >&5
  18259. $as_echo "$as_me: WARNING: readline/history.h: proceeding with the compiler's result" >&2;}
  18260. ac_header_preproc=yes
  18261. ;;
  18262. no:yes:* )
  18263. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: present but cannot be compiled" >&5
  18264. $as_echo "$as_me: WARNING: readline/history.h: present but cannot be compiled" >&2;}
  18265. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: check for missing prerequisite headers?" >&5
  18266. $as_echo "$as_me: WARNING: readline/history.h: check for missing prerequisite headers?" >&2;}
  18267. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: see the Autoconf documentation" >&5
  18268. $as_echo "$as_me: WARNING: readline/history.h: see the Autoconf documentation" >&2;}
  18269. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: section \"Present But Cannot Be Compiled\"" >&5
  18270. $as_echo "$as_me: WARNING: readline/history.h: section \"Present But Cannot Be Compiled\"" >&2;}
  18271. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5
  18272. $as_echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;}
  18273. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: in the future, the compiler will take precedence" >&5
  18274. $as_echo "$as_me: WARNING: readline/history.h: in the future, the compiler will take precedence" >&2;}
  18275. ;;
  18276. esac
  18277. { $as_echo "$as_me:$LINENO: checking for readline/history.h" >&5
  18278. $as_echo_n "checking for readline/history.h... " >&6; }
  18279. if test "${ac_cv_header_readline_history_h+set}" = set; then
  18280. $as_echo_n "(cached) " >&6
  18281. else
  18282. ac_cv_header_readline_history_h=$ac_header_preproc
  18283. fi
  18284. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
  18285. $as_echo "$ac_cv_header_readline_history_h" >&6; }
  18286. fi
  18287. if test "x$ac_cv_header_readline_history_h" = x""yes; then
  18288. { $as_echo "$as_me:$LINENO: checking for append_history in -lhistory" >&5
  18289. $as_echo_n "checking for append_history in -lhistory... " >&6; }
  18290. if test "${ac_cv_lib_history_append_history+set}" = set; then
  18291. $as_echo_n "(cached) " >&6
  18292. else
  18293. ac_check_lib_save_LIBS=$LIBS
  18294. LIBS="-lhistory $LIBS"
  18295. cat >conftest.$ac_ext <<_ACEOF
  18296. /* confdefs.h. */
  18297. _ACEOF
  18298. cat confdefs.h >>conftest.$ac_ext
  18299. cat >>conftest.$ac_ext <<_ACEOF
  18300. /* end confdefs.h. */
  18301. /* Override any GCC internal prototype to avoid an error.
  18302. Use char because int might match the return type of a GCC
  18303. builtin and then its argument prototype would still apply. */
  18304. #ifdef __cplusplus
  18305. extern "C"
  18306. #endif
  18307. char append_history ();
  18308. int
  18309. main ()
  18310. {
  18311. return append_history ();
  18312. ;
  18313. return 0;
  18314. }
  18315. _ACEOF
  18316. rm -f conftest.$ac_objext conftest$ac_exeext
  18317. if { (ac_try="$ac_link"
  18318. case "(($ac_try" in
  18319. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18320. *) ac_try_echo=$ac_try;;
  18321. esac
  18322. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18323. $as_echo "$ac_try_echo") >&5
  18324. (eval "$ac_link") 2>conftest.er1
  18325. ac_status=$?
  18326. grep -v '^ *+' conftest.er1 >conftest.err
  18327. rm -f conftest.er1
  18328. cat conftest.err >&5
  18329. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18330. (exit $ac_status); } && {
  18331. test -z "$ac_c_werror_flag" ||
  18332. test ! -s conftest.err
  18333. } && test -s conftest$ac_exeext && {
  18334. test "$cross_compiling" = yes ||
  18335. $as_test_x conftest$ac_exeext
  18336. }; then
  18337. ac_cv_lib_history_append_history=yes
  18338. else
  18339. $as_echo "$as_me: failed program was:" >&5
  18340. sed 's/^/| /' conftest.$ac_ext >&5
  18341. ac_cv_lib_history_append_history=no
  18342. fi
  18343. rm -rf conftest.dSYM
  18344. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18345. conftest$ac_exeext conftest.$ac_ext
  18346. LIBS=$ac_check_lib_save_LIBS
  18347. fi
  18348. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_history_append_history" >&5
  18349. $as_echo "$ac_cv_lib_history_append_history" >&6; }
  18350. if test "x$ac_cv_lib_history_append_history" = x""yes; then
  18351. RDL_LIBS="-lhistory"
  18352. cat >>confdefs.h <<\_ACEOF
  18353. #define HAVE_LIBHISTORY /**/
  18354. _ACEOF
  18355. fi
  18356. fi
  18357. if test "${ac_cv_header_readline_readline_h+set}" = set; then
  18358. { $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
  18359. $as_echo_n "checking for readline/readline.h... " >&6; }
  18360. if test "${ac_cv_header_readline_readline_h+set}" = set; then
  18361. $as_echo_n "(cached) " >&6
  18362. fi
  18363. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
  18364. $as_echo "$ac_cv_header_readline_readline_h" >&6; }
  18365. else
  18366. # Is the header compilable?
  18367. { $as_echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
  18368. $as_echo_n "checking readline/readline.h usability... " >&6; }
  18369. cat >conftest.$ac_ext <<_ACEOF
  18370. /* confdefs.h. */
  18371. _ACEOF
  18372. cat confdefs.h >>conftest.$ac_ext
  18373. cat >>conftest.$ac_ext <<_ACEOF
  18374. /* end confdefs.h. */
  18375. $ac_includes_default
  18376. #include <readline/readline.h>
  18377. _ACEOF
  18378. rm -f conftest.$ac_objext
  18379. if { (ac_try="$ac_compile"
  18380. case "(($ac_try" in
  18381. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18382. *) ac_try_echo=$ac_try;;
  18383. esac
  18384. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18385. $as_echo "$ac_try_echo") >&5
  18386. (eval "$ac_compile") 2>conftest.er1
  18387. ac_status=$?
  18388. grep -v '^ *+' conftest.er1 >conftest.err
  18389. rm -f conftest.er1
  18390. cat conftest.err >&5
  18391. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18392. (exit $ac_status); } && {
  18393. test -z "$ac_c_werror_flag" ||
  18394. test ! -s conftest.err
  18395. } && test -s conftest.$ac_objext; then
  18396. ac_header_compiler=yes
  18397. else
  18398. $as_echo "$as_me: failed program was:" >&5
  18399. sed 's/^/| /' conftest.$ac_ext >&5
  18400. ac_header_compiler=no
  18401. fi
  18402. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18403. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  18404. $as_echo "$ac_header_compiler" >&6; }
  18405. # Is the header present?
  18406. { $as_echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
  18407. $as_echo_n "checking readline/readline.h presence... " >&6; }
  18408. cat >conftest.$ac_ext <<_ACEOF
  18409. /* confdefs.h. */
  18410. _ACEOF
  18411. cat confdefs.h >>conftest.$ac_ext
  18412. cat >>conftest.$ac_ext <<_ACEOF
  18413. /* end confdefs.h. */
  18414. #include <readline/readline.h>
  18415. _ACEOF
  18416. if { (ac_try="$ac_cpp conftest.$ac_ext"
  18417. case "(($ac_try" in
  18418. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18419. *) ac_try_echo=$ac_try;;
  18420. esac
  18421. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18422. $as_echo "$ac_try_echo") >&5
  18423. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  18424. ac_status=$?
  18425. grep -v '^ *+' conftest.er1 >conftest.err
  18426. rm -f conftest.er1
  18427. cat conftest.err >&5
  18428. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18429. (exit $ac_status); } >/dev/null && {
  18430. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  18431. test ! -s conftest.err
  18432. }; then
  18433. ac_header_preproc=yes
  18434. else
  18435. $as_echo "$as_me: failed program was:" >&5
  18436. sed 's/^/| /' conftest.$ac_ext >&5
  18437. ac_header_preproc=no
  18438. fi
  18439. rm -f conftest.err conftest.$ac_ext
  18440. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  18441. $as_echo "$ac_header_preproc" >&6; }
  18442. # So? What about this header?
  18443. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  18444. yes:no: )
  18445. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
  18446. $as_echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  18447. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the compiler's result" >&5
  18448. $as_echo "$as_me: WARNING: readline/readline.h: proceeding with the compiler's result" >&2;}
  18449. ac_header_preproc=yes
  18450. ;;
  18451. no:yes:* )
  18452. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5
  18453. $as_echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;}
  18454. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: check for missing prerequisite headers?" >&5
  18455. $as_echo "$as_me: WARNING: readline/readline.h: check for missing prerequisite headers?" >&2;}
  18456. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: see the Autoconf documentation" >&5
  18457. $as_echo "$as_me: WARNING: readline/readline.h: see the Autoconf documentation" >&2;}
  18458. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&5
  18459. $as_echo "$as_me: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
  18460. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5
  18461. $as_echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;}
  18462. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5
  18463. $as_echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;}
  18464. ;;
  18465. esac
  18466. { $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
  18467. $as_echo_n "checking for readline/readline.h... " >&6; }
  18468. if test "${ac_cv_header_readline_readline_h+set}" = set; then
  18469. $as_echo_n "(cached) " >&6
  18470. else
  18471. ac_cv_header_readline_readline_h=$ac_header_preproc
  18472. fi
  18473. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
  18474. $as_echo "$ac_cv_header_readline_readline_h" >&6; }
  18475. fi
  18476. if test "x$ac_cv_header_readline_readline_h" = x""yes; then
  18477. { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
  18478. $as_echo_n "checking for readline in -lreadline... " >&6; }
  18479. if test "${ac_cv_lib_readline_readline+set}" = set; then
  18480. $as_echo_n "(cached) " >&6
  18481. else
  18482. ac_check_lib_save_LIBS=$LIBS
  18483. LIBS="-lreadline $tcap $LIBS"
  18484. cat >conftest.$ac_ext <<_ACEOF
  18485. /* confdefs.h. */
  18486. _ACEOF
  18487. cat confdefs.h >>conftest.$ac_ext
  18488. cat >>conftest.$ac_ext <<_ACEOF
  18489. /* end confdefs.h. */
  18490. /* Override any GCC internal prototype to avoid an error.
  18491. Use char because int might match the return type of a GCC
  18492. builtin and then its argument prototype would still apply. */
  18493. #ifdef __cplusplus
  18494. extern "C"
  18495. #endif
  18496. char readline ();
  18497. int
  18498. main ()
  18499. {
  18500. return readline ();
  18501. ;
  18502. return 0;
  18503. }
  18504. _ACEOF
  18505. rm -f conftest.$ac_objext conftest$ac_exeext
  18506. if { (ac_try="$ac_link"
  18507. case "(($ac_try" in
  18508. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18509. *) ac_try_echo=$ac_try;;
  18510. esac
  18511. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18512. $as_echo "$ac_try_echo") >&5
  18513. (eval "$ac_link") 2>conftest.er1
  18514. ac_status=$?
  18515. grep -v '^ *+' conftest.er1 >conftest.err
  18516. rm -f conftest.er1
  18517. cat conftest.err >&5
  18518. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18519. (exit $ac_status); } && {
  18520. test -z "$ac_c_werror_flag" ||
  18521. test ! -s conftest.err
  18522. } && test -s conftest$ac_exeext && {
  18523. test "$cross_compiling" = yes ||
  18524. $as_test_x conftest$ac_exeext
  18525. }; then
  18526. ac_cv_lib_readline_readline=yes
  18527. else
  18528. $as_echo "$as_me: failed program was:" >&5
  18529. sed 's/^/| /' conftest.$ac_ext >&5
  18530. ac_cv_lib_readline_readline=no
  18531. fi
  18532. rm -rf conftest.dSYM
  18533. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18534. conftest$ac_exeext conftest.$ac_ext
  18535. LIBS=$ac_check_lib_save_LIBS
  18536. fi
  18537. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
  18538. $as_echo "$ac_cv_lib_readline_readline" >&6; }
  18539. if test "x$ac_cv_lib_readline_readline" = x""yes; then
  18540. RDL_LIBS="-lreadline $RDL_LIBS $tcap"
  18541. cat >>confdefs.h <<\_ACEOF
  18542. #define HAVE_LIBREADLINE /**/
  18543. _ACEOF
  18544. fi
  18545. fi
  18546. if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
  18547. CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include"
  18548. RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS"
  18549. fi
  18550. fi
  18551. if test "$with_tree" = "no" ; then
  18552. echo Disabling DOM like tree manipulation APIs
  18553. WITH_TREE=0
  18554. else
  18555. WITH_TREE=1
  18556. fi
  18557. if test "$with_ftp" = "no" ; then
  18558. echo Disabling FTP support
  18559. WITH_FTP=0
  18560. FTP_OBJ=
  18561. else
  18562. WITH_FTP=1
  18563. FTP_OBJ=nanoftp.o
  18564. fi
  18565. if test "$with_http" = "no" ; then
  18566. echo Disabling HTTP support
  18567. WITH_HTTP=0
  18568. HTTP_OBJ=
  18569. else
  18570. WITH_HTTP=1
  18571. HTTP_OBJ=nanohttp.o
  18572. fi
  18573. if test "$with_legacy" = "no" ; then
  18574. echo Disabling deprecated APIs
  18575. WITH_LEGACY=0
  18576. else
  18577. WITH_LEGACY=1
  18578. fi
  18579. if test "$with_reader" = "no" ; then
  18580. echo Disabling the xmlReader parsing interface
  18581. WITH_READER=0
  18582. READER_TEST=
  18583. else
  18584. WITH_READER=1
  18585. READER_TEST=Readertests
  18586. if test "$with_push" = "no" ; then
  18587. echo xmlReader requires Push interface - enabling it
  18588. with_push=yes
  18589. fi
  18590. fi
  18591. if test "$with_writer" = "no" ; then
  18592. echo Disabling the xmlWriter saving interface
  18593. WITH_WRITER=0
  18594. # WRITER_TEST=
  18595. else
  18596. WITH_WRITER=1
  18597. # WRITER_TEST=Writertests
  18598. if test "$with_push" = "no" ; then
  18599. echo xmlWriter requires Push interface - enabling it
  18600. with_push=yes
  18601. fi
  18602. if test "$with_output" = "no" ; then
  18603. echo xmlWriter requires Output interface - enabling it
  18604. with_output=yes
  18605. fi
  18606. fi
  18607. #AC_SUBST(WRITER_TEST)
  18608. if test "$with_pattern" = "no" ; then
  18609. echo Disabling the xmlPattern parsing interface
  18610. WITH_PATTERN=0
  18611. TEST_PATTERN=
  18612. else
  18613. WITH_PATTERN=1
  18614. TEST_PATTERN=Patterntests
  18615. fi
  18616. if test "$with_sax1" = "no" ; then
  18617. echo Disabling the older SAX1 interface
  18618. WITH_SAX1=0
  18619. TEST_SAX=
  18620. else
  18621. WITH_SAX1=1
  18622. TEST_SAX=SAXtests
  18623. fi
  18624. if test "$with_push" = "no" ; then
  18625. echo Disabling the PUSH parser interfaces
  18626. WITH_PUSH=0
  18627. TEST_PUSH=
  18628. else
  18629. WITH_PUSH=1
  18630. TEST_PUSH="XMLPushtests"
  18631. fi
  18632. if test "$with_html" = "no" ; then
  18633. echo Disabling HTML support
  18634. WITH_HTML=0
  18635. HTML_OBJ=
  18636. TEST_HTML=
  18637. else
  18638. WITH_HTML=1
  18639. HTML_OBJ="HTMLparser.o HTMLtree.o"
  18640. TEST_HTML=HTMLtests
  18641. if test "$with_push" != "no" ; then
  18642. TEST_PHTML=HTMLPushtests
  18643. else
  18644. TEST_PHTML=
  18645. fi
  18646. fi
  18647. if test "$with_valid" = "no" ; then
  18648. echo Disabling DTD validation support
  18649. WITH_VALID=0
  18650. TEST_VALID=
  18651. TEST_VTIME=
  18652. else
  18653. WITH_VALID=1
  18654. TEST_VALID=Validtests
  18655. TEST_VTIME=VTimingtests
  18656. fi
  18657. if test "$with_catalog" = "no" ; then
  18658. echo Disabling Catalog support
  18659. WITH_CATALOG=0
  18660. CATALOG_OBJ=
  18661. TEST_CATALOG=
  18662. else
  18663. WITH_CATALOG=1
  18664. CATALOG_OBJ="catalog.o"
  18665. TEST_CATALOG=Catatests
  18666. fi
  18667. if test "$with_docbook" = "no" ; then
  18668. echo Disabling Docbook support
  18669. WITH_DOCB=0
  18670. DOCB_OBJ=
  18671. else
  18672. WITH_DOCB=1
  18673. DOCB_OBJ="DOCBparser.o"
  18674. fi
  18675. if test "$with_xptr" = "no" ; then
  18676. echo Disabling XPointer support
  18677. WITH_XPTR=0
  18678. XPTR_OBJ=
  18679. TEST_XPTR=
  18680. else
  18681. WITH_XPTR=1
  18682. XPTR_OBJ=xpointer.o
  18683. TEST_XPTR=XPtrtests
  18684. if test "$with_xpath" = "no" ; then
  18685. echo XPointer requires XPath support - enabling it
  18686. with_xpath=yes
  18687. fi
  18688. fi
  18689. if test "$with_c14n" = "no" ; then
  18690. echo Disabling C14N support
  18691. WITH_C14N=0
  18692. C14N_OBJ=
  18693. TEST_C14N=
  18694. else
  18695. WITH_C14N=1
  18696. C14N_OBJ="c14n.c"
  18697. TEST_C14N=C14Ntests
  18698. if test "$with_xpath" = "no" ; then
  18699. echo C14N requires XPath support - enabling it
  18700. with_xpath=yes
  18701. fi
  18702. fi
  18703. if test "$with_xinclude" = "no" ; then
  18704. echo Disabling XInclude support
  18705. WITH_XINCLUDE=0
  18706. XINCLUDE_OBJ=
  18707. with_xinclude="no"
  18708. TEST_XINCLUDE=
  18709. else
  18710. WITH_XINCLUDE=1
  18711. XINCLUDE_OBJ=xinclude.o
  18712. TEST_XINCLUDE=XIncludetests
  18713. if test "$with_xpath" = "no" ; then
  18714. echo XInclude requires XPath support - enabling it
  18715. with_xpath=yes
  18716. fi
  18717. fi
  18718. if test "$with_xpath" = "no" ; then
  18719. echo Disabling XPATH support
  18720. WITH_XPATH=0
  18721. XPATH_OBJ=
  18722. TEST_XPATH=
  18723. else
  18724. WITH_XPATH=1
  18725. XPATH_OBJ=xpath.o
  18726. TEST_XPATH=XPathtests
  18727. fi
  18728. if test "$with_output" = "no" ; then
  18729. echo Disabling serialization/saving support
  18730. WITH_OUTPUT=0
  18731. else
  18732. WITH_OUTPUT=1
  18733. fi
  18734. WITH_ICONV=0
  18735. if test "$with_iconv" = "no" ; then
  18736. echo Disabling ICONV support
  18737. else
  18738. if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
  18739. CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
  18740. # Export this since our headers include iconv.h
  18741. XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
  18742. ICONV_LIBS="-L$with_iconv/lib"
  18743. fi
  18744. if test "${ac_cv_header_iconv_h+set}" = set; then
  18745. { $as_echo "$as_me:$LINENO: checking for iconv.h" >&5
  18746. $as_echo_n "checking for iconv.h... " >&6; }
  18747. if test "${ac_cv_header_iconv_h+set}" = set; then
  18748. $as_echo_n "(cached) " >&6
  18749. fi
  18750. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
  18751. $as_echo "$ac_cv_header_iconv_h" >&6; }
  18752. else
  18753. # Is the header compilable?
  18754. { $as_echo "$as_me:$LINENO: checking iconv.h usability" >&5
  18755. $as_echo_n "checking iconv.h usability... " >&6; }
  18756. cat >conftest.$ac_ext <<_ACEOF
  18757. /* confdefs.h. */
  18758. _ACEOF
  18759. cat confdefs.h >>conftest.$ac_ext
  18760. cat >>conftest.$ac_ext <<_ACEOF
  18761. /* end confdefs.h. */
  18762. $ac_includes_default
  18763. #include <iconv.h>
  18764. _ACEOF
  18765. rm -f conftest.$ac_objext
  18766. if { (ac_try="$ac_compile"
  18767. case "(($ac_try" in
  18768. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18769. *) ac_try_echo=$ac_try;;
  18770. esac
  18771. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18772. $as_echo "$ac_try_echo") >&5
  18773. (eval "$ac_compile") 2>conftest.er1
  18774. ac_status=$?
  18775. grep -v '^ *+' conftest.er1 >conftest.err
  18776. rm -f conftest.er1
  18777. cat conftest.err >&5
  18778. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18779. (exit $ac_status); } && {
  18780. test -z "$ac_c_werror_flag" ||
  18781. test ! -s conftest.err
  18782. } && test -s conftest.$ac_objext; then
  18783. ac_header_compiler=yes
  18784. else
  18785. $as_echo "$as_me: failed program was:" >&5
  18786. sed 's/^/| /' conftest.$ac_ext >&5
  18787. ac_header_compiler=no
  18788. fi
  18789. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18790. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  18791. $as_echo "$ac_header_compiler" >&6; }
  18792. # Is the header present?
  18793. { $as_echo "$as_me:$LINENO: checking iconv.h presence" >&5
  18794. $as_echo_n "checking iconv.h presence... " >&6; }
  18795. cat >conftest.$ac_ext <<_ACEOF
  18796. /* confdefs.h. */
  18797. _ACEOF
  18798. cat confdefs.h >>conftest.$ac_ext
  18799. cat >>conftest.$ac_ext <<_ACEOF
  18800. /* end confdefs.h. */
  18801. #include <iconv.h>
  18802. _ACEOF
  18803. if { (ac_try="$ac_cpp conftest.$ac_ext"
  18804. case "(($ac_try" in
  18805. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18806. *) ac_try_echo=$ac_try;;
  18807. esac
  18808. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18809. $as_echo "$ac_try_echo") >&5
  18810. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  18811. ac_status=$?
  18812. grep -v '^ *+' conftest.er1 >conftest.err
  18813. rm -f conftest.er1
  18814. cat conftest.err >&5
  18815. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18816. (exit $ac_status); } >/dev/null && {
  18817. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  18818. test ! -s conftest.err
  18819. }; then
  18820. ac_header_preproc=yes
  18821. else
  18822. $as_echo "$as_me: failed program was:" >&5
  18823. sed 's/^/| /' conftest.$ac_ext >&5
  18824. ac_header_preproc=no
  18825. fi
  18826. rm -f conftest.err conftest.$ac_ext
  18827. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  18828. $as_echo "$ac_header_preproc" >&6; }
  18829. # So? What about this header?
  18830. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  18831. yes:no: )
  18832. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
  18833. $as_echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  18834. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
  18835. $as_echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
  18836. ac_header_preproc=yes
  18837. ;;
  18838. no:yes:* )
  18839. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
  18840. $as_echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
  18841. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
  18842. $as_echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
  18843. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
  18844. $as_echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
  18845. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
  18846. $as_echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
  18847. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
  18848. $as_echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
  18849. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
  18850. $as_echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
  18851. ;;
  18852. esac
  18853. { $as_echo "$as_me:$LINENO: checking for iconv.h" >&5
  18854. $as_echo_n "checking for iconv.h... " >&6; }
  18855. if test "${ac_cv_header_iconv_h+set}" = set; then
  18856. $as_echo_n "(cached) " >&6
  18857. else
  18858. ac_cv_header_iconv_h=$ac_header_preproc
  18859. fi
  18860. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
  18861. $as_echo "$ac_cv_header_iconv_h" >&6; }
  18862. fi
  18863. if test "x$ac_cv_header_iconv_h" = x""yes; then
  18864. { $as_echo "$as_me:$LINENO: checking for iconv" >&5
  18865. $as_echo_n "checking for iconv... " >&6; }
  18866. cat >conftest.$ac_ext <<_ACEOF
  18867. /* confdefs.h. */
  18868. _ACEOF
  18869. cat confdefs.h >>conftest.$ac_ext
  18870. cat >>conftest.$ac_ext <<_ACEOF
  18871. /* end confdefs.h. */
  18872. #include <stdlib.h>
  18873. #include <iconv.h>
  18874. int
  18875. main ()
  18876. {
  18877. iconv_t cd = iconv_open ("","");
  18878. iconv (cd, NULL, NULL, NULL, NULL);
  18879. ;
  18880. return 0;
  18881. }
  18882. _ACEOF
  18883. rm -f conftest.$ac_objext conftest$ac_exeext
  18884. if { (ac_try="$ac_link"
  18885. case "(($ac_try" in
  18886. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18887. *) ac_try_echo=$ac_try;;
  18888. esac
  18889. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18890. $as_echo "$ac_try_echo") >&5
  18891. (eval "$ac_link") 2>conftest.er1
  18892. ac_status=$?
  18893. grep -v '^ *+' conftest.er1 >conftest.err
  18894. rm -f conftest.er1
  18895. cat conftest.err >&5
  18896. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18897. (exit $ac_status); } && {
  18898. test -z "$ac_c_werror_flag" ||
  18899. test ! -s conftest.err
  18900. } && test -s conftest$ac_exeext && {
  18901. test "$cross_compiling" = yes ||
  18902. $as_test_x conftest$ac_exeext
  18903. }; then
  18904. { $as_echo "$as_me:$LINENO: result: yes" >&5
  18905. $as_echo "yes" >&6; }
  18906. WITH_ICONV=1
  18907. else
  18908. $as_echo "$as_me: failed program was:" >&5
  18909. sed 's/^/| /' conftest.$ac_ext >&5
  18910. { $as_echo "$as_me:$LINENO: result: no" >&5
  18911. $as_echo "no" >&6; }
  18912. { $as_echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
  18913. $as_echo_n "checking for iconv in -liconv... " >&6; }
  18914. _ldflags="${LDFLAGS}"
  18915. _libs="${LIBS}"
  18916. LDFLAGS="${LDFLAGS} ${ICONV_LIBS}"
  18917. LIBS="${LIBS} -liconv"
  18918. cat >conftest.$ac_ext <<_ACEOF
  18919. /* confdefs.h. */
  18920. _ACEOF
  18921. cat confdefs.h >>conftest.$ac_ext
  18922. cat >>conftest.$ac_ext <<_ACEOF
  18923. /* end confdefs.h. */
  18924. #include <stdlib.h>
  18925. #include <iconv.h>
  18926. int
  18927. main ()
  18928. {
  18929. iconv_t cd = iconv_open ("","");
  18930. iconv (cd, NULL, NULL, NULL, NULL);
  18931. ;
  18932. return 0;
  18933. }
  18934. _ACEOF
  18935. rm -f conftest.$ac_objext conftest$ac_exeext
  18936. if { (ac_try="$ac_link"
  18937. case "(($ac_try" in
  18938. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18939. *) ac_try_echo=$ac_try;;
  18940. esac
  18941. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18942. $as_echo "$ac_try_echo") >&5
  18943. (eval "$ac_link") 2>conftest.er1
  18944. ac_status=$?
  18945. grep -v '^ *+' conftest.er1 >conftest.err
  18946. rm -f conftest.er1
  18947. cat conftest.err >&5
  18948. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18949. (exit $ac_status); } && {
  18950. test -z "$ac_c_werror_flag" ||
  18951. test ! -s conftest.err
  18952. } && test -s conftest$ac_exeext && {
  18953. test "$cross_compiling" = yes ||
  18954. $as_test_x conftest$ac_exeext
  18955. }; then
  18956. { $as_echo "$as_me:$LINENO: result: yes" >&5
  18957. $as_echo "yes" >&6; }
  18958. WITH_ICONV=1
  18959. ICONV_LIBS="${ICONV_LIBS} -liconv"
  18960. LIBS="${_libs}"
  18961. LDFLAGS="${_ldflags}"
  18962. else
  18963. $as_echo "$as_me: failed program was:" >&5
  18964. sed 's/^/| /' conftest.$ac_ext >&5
  18965. { $as_echo "$as_me:$LINENO: result: no" >&5
  18966. $as_echo "no" >&6; }
  18967. LIBS="${_libs}"
  18968. LDFLAGS="${_ldflags}"
  18969. fi
  18970. rm -rf conftest.dSYM
  18971. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18972. conftest$ac_exeext conftest.$ac_ext
  18973. fi
  18974. rm -rf conftest.dSYM
  18975. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18976. conftest$ac_exeext conftest.$ac_ext
  18977. fi
  18978. if test "$WITH_ICONV" = "1" ; then
  18979. { $as_echo "$as_me:$LINENO: checking for iconv declaration" >&5
  18980. $as_echo_n "checking for iconv declaration... " >&6; }
  18981. if test "${xml_cv_iconv_arg2+set}" = set; then
  18982. $as_echo_n "(cached) " >&6
  18983. else
  18984. cat >conftest.$ac_ext <<_ACEOF
  18985. /* confdefs.h. */
  18986. _ACEOF
  18987. cat confdefs.h >>conftest.$ac_ext
  18988. cat >>conftest.$ac_ext <<_ACEOF
  18989. /* end confdefs.h. */
  18990. #include <stdlib.h>
  18991. #include <iconv.h>
  18992. extern
  18993. #ifdef __cplusplus
  18994. "C"
  18995. #endif
  18996. #if defined(__STDC__) || defined(__cplusplus)
  18997. size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  18998. #else
  18999. size_t iconv();
  19000. #endif
  19001. int
  19002. main ()
  19003. {
  19004. ;
  19005. return 0;
  19006. }
  19007. _ACEOF
  19008. rm -f conftest.$ac_objext
  19009. if { (ac_try="$ac_compile"
  19010. case "(($ac_try" in
  19011. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19012. *) ac_try_echo=$ac_try;;
  19013. esac
  19014. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  19015. $as_echo "$ac_try_echo") >&5
  19016. (eval "$ac_compile") 2>conftest.er1
  19017. ac_status=$?
  19018. grep -v '^ *+' conftest.er1 >conftest.err
  19019. rm -f conftest.er1
  19020. cat conftest.err >&5
  19021. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19022. (exit $ac_status); } && {
  19023. test -z "$ac_c_werror_flag" ||
  19024. test ! -s conftest.err
  19025. } && test -s conftest.$ac_objext; then
  19026. xml_cv_iconv_arg2=""
  19027. else
  19028. $as_echo "$as_me: failed program was:" >&5
  19029. sed 's/^/| /' conftest.$ac_ext >&5
  19030. xml_cv_iconv_arg2="const"
  19031. fi
  19032. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19033. fi
  19034. xml_cv_iconv_decl="extern size_t iconv (iconv_t cd, $xml_cv_iconv_arg2 char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);"
  19035. { $as_echo "$as_me:$LINENO: result: ${xml_xxx:-
  19036. }$xml_cv_iconv_decl" >&5
  19037. $as_echo "${xml_xxx:-
  19038. }$xml_cv_iconv_decl" >&6; }
  19039. cat >>confdefs.h <<_ACEOF
  19040. #define ICONV_CONST $xml_cv_iconv_arg2
  19041. _ACEOF
  19042. fi
  19043. fi
  19044. case "$host" in
  19045. *mingw*) M_LIBS=""
  19046. ;;
  19047. *beos*) M_LIBS=""
  19048. ;;
  19049. *haiku*) M_LIBS=""
  19050. ;;
  19051. *) M_LIBS="-lm"
  19052. ;;
  19053. esac
  19054. XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
  19055. XML_LIBTOOLLIBS="libxml2.la"
  19056. WITH_ISO8859X=1
  19057. if test "$WITH_ICONV" != "1" ; then
  19058. if test "$with_iso8859x" = "no" ; then
  19059. echo Disabling ISO8859X support
  19060. WITH_ISO8859X=0
  19061. fi
  19062. fi
  19063. if test "$with_schematron" = "no" ; then
  19064. echo "Disabling Schematron support"
  19065. WITH_SCHEMATRON=0
  19066. TEST_SCHEMATRON=
  19067. else
  19068. echo "Enabled Schematron support"
  19069. WITH_SCHEMATRON=1
  19070. TEST_SCHEMATRON="Schematrontests"
  19071. with_xpath=yes
  19072. with_pattern=yes
  19073. fi
  19074. if test "$with_schemas" = "no" ; then
  19075. echo "Disabling Schemas/Relax-NG support"
  19076. WITH_SCHEMAS=0
  19077. TEST_SCHEMAS=
  19078. else
  19079. echo "Enabled Schemas/Relax-NG support"
  19080. WITH_SCHEMAS=1
  19081. TEST_SCHEMAS="Schemastests Relaxtests"
  19082. if test "$PYTHON_INCLUDES" != "" ; then
  19083. PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
  19084. fi
  19085. with_regexps=yes
  19086. fi
  19087. if test "$with_regexps" = "no" ; then
  19088. echo Disabling Regexps support
  19089. WITH_REGEXPS=0
  19090. TEST_REGEXPS=
  19091. else
  19092. WITH_REGEXPS=1
  19093. TEST_REGEXPS="Regexptests Automatatests"
  19094. fi
  19095. if test "$with_debug" = "no" ; then
  19096. echo Disabling DEBUG support
  19097. WITH_DEBUG=0
  19098. DEBUG_OBJ=
  19099. TEST_DEBUG=
  19100. else
  19101. WITH_DEBUG=1
  19102. DEBUG_OBJ=debugXML.o
  19103. TEST_DEBUG=Scripttests
  19104. fi
  19105. if test "$with_mem_debug" = "yes" ; then
  19106. if test "$with_thread_alloc" = "yes" ; then
  19107. echo Disabling memory debug - cannot use mem-debug with thread-alloc!
  19108. WITH_MEM_DEBUG=0
  19109. else
  19110. echo Enabling memory debug support
  19111. WITH_MEM_DEBUG=1
  19112. fi
  19113. else
  19114. WITH_MEM_DEBUG=0
  19115. fi
  19116. if test "$with_run_debug" = "yes" ; then
  19117. echo Enabling runtime debug support
  19118. WITH_RUN_DEBUG=1
  19119. else
  19120. WITH_RUN_DEBUG=0
  19121. fi
  19122. WIN32_EXTRA_LIBADD=
  19123. WIN32_EXTRA_LDFLAGS=
  19124. CYGWIN_EXTRA_LDFLAGS=
  19125. CYGWIN_EXTRA_PYTHON_LIBADD=
  19126. case "$host" in
  19127. *-*-mingw*)
  19128. CPPFLAGS="$CPPFLAGS -DWIN32"
  19129. WIN32_EXTRA_LIBADD="-lws2_32"
  19130. WIN32_EXTRA_LDFLAGS="-no-undefined"
  19131. cat >>confdefs.h <<\_ACEOF
  19132. #define _WINSOCKAPI_ 1
  19133. _ACEOF
  19134. cat >>confdefs.h <<\_ACEOF
  19135. #define snprintf _snprintf
  19136. _ACEOF
  19137. cat >>confdefs.h <<\_ACEOF
  19138. #define vsnprintf _vsnprintf
  19139. _ACEOF
  19140. ;;
  19141. *-*-cygwin*)
  19142. CYGWIN_EXTRA_LDFLAGS="-no-undefined"
  19143. if test "${PYTHON}" != ""
  19144. then
  19145. CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
  19146. fi
  19147. ;;
  19148. esac
  19149. if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
  19150. then
  19151. echo Enabling code coverage for GCC
  19152. CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
  19153. LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
  19154. else
  19155. echo Disabling code coverage for GCC
  19156. fi
  19157. RELDATE=`date +'%a %b %e %Y'`
  19158. rm -f COPYING.LIB COPYING
  19159. ln -s Copyright COPYING
  19160. # keep on one line for cygwin c.f. #130896
  19161. ac_config_files="$ac_config_files libxml2.spec:libxml.spec.in Makefile include/Makefile include/libxml/Makefile doc/Makefile doc/examples/Makefile doc/devhelp/Makefile example/Makefile python/Makefile python/tests/Makefile xstc/Makefile include/libxml/xmlversion.h xml2-config libxml-2.0.pc libxml-2.0-uninstalled.pc python/setup.py"
  19162. cat >confcache <<\_ACEOF
  19163. # This file is a shell script that caches the results of configure
  19164. # tests run on this system so they can be shared between configure
  19165. # scripts and configure runs, see configure's option --config-cache.
  19166. # It is not useful on other systems. If it contains results you don't
  19167. # want to keep, you may remove or edit it.
  19168. #
  19169. # config.status only pays attention to the cache file if you give it
  19170. # the --recheck option to rerun configure.
  19171. #
  19172. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  19173. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  19174. # following values.
  19175. _ACEOF
  19176. # The following way of writing the cache mishandles newlines in values,
  19177. # but we know of no workaround that is simple, portable, and efficient.
  19178. # So, we kill variables containing newlines.
  19179. # Ultrix sh set writes to stderr and can't be redirected directly,
  19180. # and sets the high bit in the cache file unless we assign to the vars.
  19181. (
  19182. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  19183. eval ac_val=\$$ac_var
  19184. case $ac_val in #(
  19185. *${as_nl}*)
  19186. case $ac_var in #(
  19187. *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  19188. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  19189. esac
  19190. case $ac_var in #(
  19191. _ | IFS | as_nl) ;; #(
  19192. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  19193. *) $as_unset $ac_var ;;
  19194. esac ;;
  19195. esac
  19196. done
  19197. (set) 2>&1 |
  19198. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  19199. *${as_nl}ac_space=\ *)
  19200. # `set' does not quote correctly, so add quotes (double-quote
  19201. # substitution turns \\\\ into \\, and sed turns \\ into \).
  19202. sed -n \
  19203. "s/'/'\\\\''/g;
  19204. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  19205. ;; #(
  19206. *)
  19207. # `set' quotes correctly as required by POSIX, so do not add quotes.
  19208. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  19209. ;;
  19210. esac |
  19211. sort
  19212. ) |
  19213. sed '
  19214. /^ac_cv_env_/b end
  19215. t clear
  19216. :clear
  19217. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  19218. t end
  19219. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  19220. :end' >>confcache
  19221. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  19222. if test -w "$cache_file"; then
  19223. test "x$cache_file" != "x/dev/null" &&
  19224. { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
  19225. $as_echo "$as_me: updating cache $cache_file" >&6;}
  19226. cat confcache >$cache_file
  19227. else
  19228. { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  19229. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  19230. fi
  19231. fi
  19232. rm -f confcache
  19233. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  19234. # Let make expand exec_prefix.
  19235. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  19236. DEFS=-DHAVE_CONFIG_H
  19237. ac_libobjs=
  19238. ac_ltlibobjs=
  19239. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  19240. # 1. Remove the extension, and $U if already installed.
  19241. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  19242. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  19243. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  19244. # will be set to the directory where LIBOBJS objects are built.
  19245. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  19246. ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  19247. done
  19248. LIBOBJS=$ac_libobjs
  19249. LTLIBOBJS=$ac_ltlibobjs
  19250. if test -n "$EXEEXT"; then
  19251. am__EXEEXT_TRUE=
  19252. am__EXEEXT_FALSE='#'
  19253. else
  19254. am__EXEEXT_TRUE='#'
  19255. am__EXEEXT_FALSE=
  19256. fi
  19257. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  19258. { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  19259. Usually this means the macro was only invoked conditionally." >&5
  19260. $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
  19261. Usually this means the macro was only invoked conditionally." >&2;}
  19262. { (exit 1); exit 1; }; }
  19263. fi
  19264. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  19265. { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  19266. Usually this means the macro was only invoked conditionally." >&5
  19267. $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  19268. Usually this means the macro was only invoked conditionally." >&2;}
  19269. { (exit 1); exit 1; }; }
  19270. fi
  19271. if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then
  19272. { { $as_echo "$as_me:$LINENO: error: conditional \"USE_VERSION_SCRIPT\" was never defined.
  19273. Usually this means the macro was only invoked conditionally." >&5
  19274. $as_echo "$as_me: error: conditional \"USE_VERSION_SCRIPT\" was never defined.
  19275. Usually this means the macro was only invoked conditionally." >&2;}
  19276. { (exit 1); exit 1; }; }
  19277. fi
  19278. if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then
  19279. { { $as_echo "$as_me:$LINENO: error: conditional \"REBUILD_DOCS\" was never defined.
  19280. Usually this means the macro was only invoked conditionally." >&5
  19281. $as_echo "$as_me: error: conditional \"REBUILD_DOCS\" was never defined.
  19282. Usually this means the macro was only invoked conditionally." >&2;}
  19283. { (exit 1); exit 1; }; }
  19284. fi
  19285. if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
  19286. { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON\" was never defined.
  19287. Usually this means the macro was only invoked conditionally." >&5
  19288. $as_echo "$as_me: error: conditional \"WITH_PYTHON\" was never defined.
  19289. Usually this means the macro was only invoked conditionally." >&2;}
  19290. { (exit 1); exit 1; }; }
  19291. fi
  19292. if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then
  19293. { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_TRIO_SOURCES\" was never defined.
  19294. Usually this means the macro was only invoked conditionally." >&5
  19295. $as_echo "$as_me: error: conditional \"WITH_TRIO_SOURCES\" was never defined.
  19296. Usually this means the macro was only invoked conditionally." >&2;}
  19297. { (exit 1); exit 1; }; }
  19298. fi
  19299. : ${CONFIG_STATUS=./config.status}
  19300. ac_write_fail=0
  19301. ac_clean_files_save=$ac_clean_files
  19302. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  19303. { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  19304. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  19305. cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19306. #! $SHELL
  19307. # Generated by $as_me.
  19308. # Run this file to recreate the current configuration.
  19309. # Compiler output produced by configure, useful for debugging
  19310. # configure, is in config.log if it exists.
  19311. debug=false
  19312. ac_cs_recheck=false
  19313. ac_cs_silent=false
  19314. SHELL=\${CONFIG_SHELL-$SHELL}
  19315. _ACEOF
  19316. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19317. ## --------------------- ##
  19318. ## M4sh Initialization. ##
  19319. ## --------------------- ##
  19320. # Be more Bourne compatible
  19321. DUALCASE=1; export DUALCASE # for MKS sh
  19322. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  19323. emulate sh
  19324. NULLCMD=:
  19325. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  19326. # is contrary to our usage. Disable this feature.
  19327. alias -g '${1+"$@"}'='"$@"'
  19328. setopt NO_GLOB_SUBST
  19329. else
  19330. case `(set -o) 2>/dev/null` in
  19331. *posix*) set -o posix ;;
  19332. esac
  19333. fi
  19334. # PATH needs CR
  19335. # Avoid depending upon Character Ranges.
  19336. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  19337. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  19338. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  19339. as_cr_digits='0123456789'
  19340. as_cr_alnum=$as_cr_Letters$as_cr_digits
  19341. as_nl='
  19342. '
  19343. export as_nl
  19344. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  19345. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  19346. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  19347. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  19348. if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  19349. as_echo='printf %s\n'
  19350. as_echo_n='printf %s'
  19351. else
  19352. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  19353. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  19354. as_echo_n='/usr/ucb/echo -n'
  19355. else
  19356. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  19357. as_echo_n_body='eval
  19358. arg=$1;
  19359. case $arg in
  19360. *"$as_nl"*)
  19361. expr "X$arg" : "X\\(.*\\)$as_nl";
  19362. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  19363. esac;
  19364. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  19365. '
  19366. export as_echo_n_body
  19367. as_echo_n='sh -c $as_echo_n_body as_echo'
  19368. fi
  19369. export as_echo_body
  19370. as_echo='sh -c $as_echo_body as_echo'
  19371. fi
  19372. # The user is always right.
  19373. if test "${PATH_SEPARATOR+set}" != set; then
  19374. PATH_SEPARATOR=:
  19375. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  19376. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  19377. PATH_SEPARATOR=';'
  19378. }
  19379. fi
  19380. # Support unset when possible.
  19381. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  19382. as_unset=unset
  19383. else
  19384. as_unset=false
  19385. fi
  19386. # IFS
  19387. # We need space, tab and new line, in precisely that order. Quoting is
  19388. # there to prevent editors from complaining about space-tab.
  19389. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  19390. # splitting by setting IFS to empty value.)
  19391. IFS=" "" $as_nl"
  19392. # Find who we are. Look in the path if we contain no directory separator.
  19393. case $0 in
  19394. *[\\/]* ) as_myself=$0 ;;
  19395. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19396. for as_dir in $PATH
  19397. do
  19398. IFS=$as_save_IFS
  19399. test -z "$as_dir" && as_dir=.
  19400. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  19401. done
  19402. IFS=$as_save_IFS
  19403. ;;
  19404. esac
  19405. # We did not find ourselves, most probably we were run as `sh COMMAND'
  19406. # in which case we are not to be found in the path.
  19407. if test "x$as_myself" = x; then
  19408. as_myself=$0
  19409. fi
  19410. if test ! -f "$as_myself"; then
  19411. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  19412. { (exit 1); exit 1; }
  19413. fi
  19414. # Work around bugs in pre-3.0 UWIN ksh.
  19415. for as_var in ENV MAIL MAILPATH
  19416. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  19417. done
  19418. PS1='$ '
  19419. PS2='> '
  19420. PS4='+ '
  19421. # NLS nuisances.
  19422. LC_ALL=C
  19423. export LC_ALL
  19424. LANGUAGE=C
  19425. export LANGUAGE
  19426. # Required to use basename.
  19427. if expr a : '\(a\)' >/dev/null 2>&1 &&
  19428. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  19429. as_expr=expr
  19430. else
  19431. as_expr=false
  19432. fi
  19433. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  19434. as_basename=basename
  19435. else
  19436. as_basename=false
  19437. fi
  19438. # Name of the executable.
  19439. as_me=`$as_basename -- "$0" ||
  19440. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  19441. X"$0" : 'X\(//\)$' \| \
  19442. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  19443. $as_echo X/"$0" |
  19444. sed '/^.*\/\([^/][^/]*\)\/*$/{
  19445. s//\1/
  19446. q
  19447. }
  19448. /^X\/\(\/\/\)$/{
  19449. s//\1/
  19450. q
  19451. }
  19452. /^X\/\(\/\).*/{
  19453. s//\1/
  19454. q
  19455. }
  19456. s/.*/./; q'`
  19457. # CDPATH.
  19458. $as_unset CDPATH
  19459. as_lineno_1=$LINENO
  19460. as_lineno_2=$LINENO
  19461. test "x$as_lineno_1" != "x$as_lineno_2" &&
  19462. test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  19463. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  19464. # uniformly replaced by the line number. The first 'sed' inserts a
  19465. # line-number line after each line using $LINENO; the second 'sed'
  19466. # does the real work. The second script uses 'N' to pair each
  19467. # line-number line with the line containing $LINENO, and appends
  19468. # trailing '-' during substitution so that $LINENO is not a special
  19469. # case at line end.
  19470. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  19471. # scripts with optimization help from Paolo Bonzini. Blame Lee
  19472. # E. McMahon (1931-1989) for sed's syntax. :-)
  19473. sed -n '
  19474. p
  19475. /[$]LINENO/=
  19476. ' <$as_myself |
  19477. sed '
  19478. s/[$]LINENO.*/&-/
  19479. t lineno
  19480. b
  19481. :lineno
  19482. N
  19483. :loop
  19484. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  19485. t loop
  19486. s/-\n.*//
  19487. ' >$as_me.lineno &&
  19488. chmod +x "$as_me.lineno" ||
  19489. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  19490. { (exit 1); exit 1; }; }
  19491. # Don't try to exec as it changes $[0], causing all sort of problems
  19492. # (the dirname of $[0] is not the place where we might find the
  19493. # original and so on. Autoconf is especially sensitive to this).
  19494. . "./$as_me.lineno"
  19495. # Exit status is that of the last command.
  19496. exit
  19497. }
  19498. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  19499. as_dirname=dirname
  19500. else
  19501. as_dirname=false
  19502. fi
  19503. ECHO_C= ECHO_N= ECHO_T=
  19504. case `echo -n x` in
  19505. -n*)
  19506. case `echo 'x\c'` in
  19507. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  19508. *) ECHO_C='\c';;
  19509. esac;;
  19510. *)
  19511. ECHO_N='-n';;
  19512. esac
  19513. if expr a : '\(a\)' >/dev/null 2>&1 &&
  19514. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  19515. as_expr=expr
  19516. else
  19517. as_expr=false
  19518. fi
  19519. rm -f conf$$ conf$$.exe conf$$.file
  19520. if test -d conf$$.dir; then
  19521. rm -f conf$$.dir/conf$$.file
  19522. else
  19523. rm -f conf$$.dir
  19524. mkdir conf$$.dir 2>/dev/null
  19525. fi
  19526. if (echo >conf$$.file) 2>/dev/null; then
  19527. if ln -s conf$$.file conf$$ 2>/dev/null; then
  19528. as_ln_s='ln -s'
  19529. # ... but there are two gotchas:
  19530. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  19531. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  19532. # In both cases, we have to default to `cp -p'.
  19533. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  19534. as_ln_s='cp -p'
  19535. elif ln conf$$.file conf$$ 2>/dev/null; then
  19536. as_ln_s=ln
  19537. else
  19538. as_ln_s='cp -p'
  19539. fi
  19540. else
  19541. as_ln_s='cp -p'
  19542. fi
  19543. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  19544. rmdir conf$$.dir 2>/dev/null
  19545. if mkdir -p . 2>/dev/null; then
  19546. as_mkdir_p=:
  19547. else
  19548. test -d ./-p && rmdir ./-p
  19549. as_mkdir_p=false
  19550. fi
  19551. if test -x / >/dev/null 2>&1; then
  19552. as_test_x='test -x'
  19553. else
  19554. if ls -dL / >/dev/null 2>&1; then
  19555. as_ls_L_option=L
  19556. else
  19557. as_ls_L_option=
  19558. fi
  19559. as_test_x='
  19560. eval sh -c '\''
  19561. if test -d "$1"; then
  19562. test -d "$1/.";
  19563. else
  19564. case $1 in
  19565. -*)set "./$1";;
  19566. esac;
  19567. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  19568. ???[sx]*):;;*)false;;esac;fi
  19569. '\'' sh
  19570. '
  19571. fi
  19572. as_executable_p=$as_test_x
  19573. # Sed expression to map a string onto a valid CPP name.
  19574. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  19575. # Sed expression to map a string onto a valid variable name.
  19576. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  19577. exec 6>&1
  19578. # Save the log message, to keep $[0] and so on meaningful, and to
  19579. # report actual input values of CONFIG_FILES etc. instead of their
  19580. # values after options handling.
  19581. ac_log="
  19582. This file was extended by $as_me, which was
  19583. generated by GNU Autoconf 2.63. Invocation command line was
  19584. CONFIG_FILES = $CONFIG_FILES
  19585. CONFIG_HEADERS = $CONFIG_HEADERS
  19586. CONFIG_LINKS = $CONFIG_LINKS
  19587. CONFIG_COMMANDS = $CONFIG_COMMANDS
  19588. $ $0 $@
  19589. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  19590. "
  19591. _ACEOF
  19592. case $ac_config_files in *"
  19593. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  19594. esac
  19595. case $ac_config_headers in *"
  19596. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  19597. esac
  19598. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19599. # Files that config.status was made for.
  19600. config_files="$ac_config_files"
  19601. config_headers="$ac_config_headers"
  19602. config_commands="$ac_config_commands"
  19603. _ACEOF
  19604. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19605. ac_cs_usage="\
  19606. \`$as_me' instantiates files from templates according to the
  19607. current configuration.
  19608. Usage: $0 [OPTION]... [FILE]...
  19609. -h, --help print this help, then exit
  19610. -V, --version print version number and configuration settings, then exit
  19611. -q, --quiet, --silent
  19612. do not print progress messages
  19613. -d, --debug don't remove temporary files
  19614. --recheck update $as_me by reconfiguring in the same conditions
  19615. --file=FILE[:TEMPLATE]
  19616. instantiate the configuration file FILE
  19617. --header=FILE[:TEMPLATE]
  19618. instantiate the configuration header FILE
  19619. Configuration files:
  19620. $config_files
  19621. Configuration headers:
  19622. $config_headers
  19623. Configuration commands:
  19624. $config_commands
  19625. Report bugs to <bug-autoconf@gnu.org>."
  19626. _ACEOF
  19627. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19628. ac_cs_version="\\
  19629. config.status
  19630. configured by $0, generated by GNU Autoconf 2.63,
  19631. with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  19632. Copyright (C) 2008 Free Software Foundation, Inc.
  19633. This config.status script is free software; the Free Software Foundation
  19634. gives unlimited permission to copy, distribute and modify it."
  19635. ac_pwd='$ac_pwd'
  19636. srcdir='$srcdir'
  19637. INSTALL='$INSTALL'
  19638. MKDIR_P='$MKDIR_P'
  19639. AWK='$AWK'
  19640. test -n "\$AWK" || AWK=awk
  19641. _ACEOF
  19642. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19643. # The default lists apply if the user does not specify any file.
  19644. ac_need_defaults=:
  19645. while test $# != 0
  19646. do
  19647. case $1 in
  19648. --*=*)
  19649. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  19650. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  19651. ac_shift=:
  19652. ;;
  19653. *)
  19654. ac_option=$1
  19655. ac_optarg=$2
  19656. ac_shift=shift
  19657. ;;
  19658. esac
  19659. case $ac_option in
  19660. # Handling of the options.
  19661. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  19662. ac_cs_recheck=: ;;
  19663. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  19664. $as_echo "$ac_cs_version"; exit ;;
  19665. --debug | --debu | --deb | --de | --d | -d )
  19666. debug=: ;;
  19667. --file | --fil | --fi | --f )
  19668. $ac_shift
  19669. case $ac_optarg in
  19670. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  19671. esac
  19672. CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
  19673. ac_need_defaults=false;;
  19674. --header | --heade | --head | --hea )
  19675. $ac_shift
  19676. case $ac_optarg in
  19677. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  19678. esac
  19679. CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
  19680. ac_need_defaults=false;;
  19681. --he | --h)
  19682. # Conflict between --help and --header
  19683. { $as_echo "$as_me: error: ambiguous option: $1
  19684. Try \`$0 --help' for more information." >&2
  19685. { (exit 1); exit 1; }; };;
  19686. --help | --hel | -h )
  19687. $as_echo "$ac_cs_usage"; exit ;;
  19688. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  19689. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  19690. ac_cs_silent=: ;;
  19691. # This is an error.
  19692. -*) { $as_echo "$as_me: error: unrecognized option: $1
  19693. Try \`$0 --help' for more information." >&2
  19694. { (exit 1); exit 1; }; } ;;
  19695. *) ac_config_targets="$ac_config_targets $1"
  19696. ac_need_defaults=false ;;
  19697. esac
  19698. shift
  19699. done
  19700. ac_configure_extra_args=
  19701. if $ac_cs_silent; then
  19702. exec 6>/dev/null
  19703. ac_configure_extra_args="$ac_configure_extra_args --silent"
  19704. fi
  19705. _ACEOF
  19706. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19707. if \$ac_cs_recheck; then
  19708. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  19709. shift
  19710. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  19711. CONFIG_SHELL='$SHELL'
  19712. export CONFIG_SHELL
  19713. exec "\$@"
  19714. fi
  19715. _ACEOF
  19716. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19717. exec 5>>config.log
  19718. {
  19719. echo
  19720. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  19721. ## Running $as_me. ##
  19722. _ASBOX
  19723. $as_echo "$ac_log"
  19724. } >&5
  19725. _ACEOF
  19726. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19727. #
  19728. # INIT-COMMANDS
  19729. #
  19730. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  19731. # The HP-UX ksh and POSIX shell print the target directory to stdout
  19732. # if CDPATH is set.
  19733. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  19734. sed_quote_subst='$sed_quote_subst'
  19735. double_quote_subst='$double_quote_subst'
  19736. delay_variable_subst='$delay_variable_subst'
  19737. AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
  19738. DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  19739. OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  19740. macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  19741. macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  19742. enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  19743. enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  19744. pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  19745. enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  19746. host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  19747. host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  19748. host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  19749. build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  19750. build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  19751. build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  19752. SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  19753. Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  19754. GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  19755. EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  19756. FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  19757. LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  19758. NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  19759. LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  19760. max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  19761. ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  19762. exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  19763. lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  19764. lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  19765. lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  19766. reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  19767. reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19768. deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  19769. file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  19770. AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  19771. AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  19772. STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  19773. RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  19774. old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19775. old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19776. old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19777. CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  19778. CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  19779. compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  19780. GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  19781. lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  19782. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  19783. lt_cv_sys_global_symbol_to_c_name_address='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address" | $Xsed -e "$delay_single_quote_subst"`'
  19784. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix='`$ECHO "X$lt_cv_sys_global_symbol_to_c_name_address_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  19785. objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  19786. SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  19787. ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  19788. MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  19789. lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  19790. lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  19791. lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  19792. lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  19793. lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  19794. need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  19795. DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  19796. NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  19797. LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  19798. OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  19799. OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  19800. libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  19801. shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19802. extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19803. archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  19804. enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  19805. export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19806. whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19807. compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  19808. old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19809. old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19810. archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19811. archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19812. module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19813. module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19814. with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  19815. allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  19816. no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  19817. hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19818. hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  19819. hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  19820. hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  19821. hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  19822. hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  19823. hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  19824. hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  19825. inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  19826. link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  19827. fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  19828. always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  19829. export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19830. exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  19831. include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  19832. prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19833. file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19834. variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  19835. need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  19836. need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  19837. version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  19838. runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  19839. shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  19840. shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  19841. libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19842. library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19843. soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19844. postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19845. postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19846. finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19847. finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  19848. hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  19849. sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19850. sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19851. hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  19852. enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  19853. enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  19854. enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  19855. old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  19856. striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  19857. LTCC='$LTCC'
  19858. LTCFLAGS='$LTCFLAGS'
  19859. compiler='$compiler_DEFAULT'
  19860. # Quote evaled strings.
  19861. for var in SED \
  19862. GREP \
  19863. EGREP \
  19864. FGREP \
  19865. LD \
  19866. NM \
  19867. LN_S \
  19868. lt_SP2NL \
  19869. lt_NL2SP \
  19870. reload_flag \
  19871. deplibs_check_method \
  19872. file_magic_cmd \
  19873. AR \
  19874. AR_FLAGS \
  19875. STRIP \
  19876. RANLIB \
  19877. CC \
  19878. CFLAGS \
  19879. compiler \
  19880. lt_cv_sys_global_symbol_pipe \
  19881. lt_cv_sys_global_symbol_to_cdecl \
  19882. lt_cv_sys_global_symbol_to_c_name_address \
  19883. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  19884. SHELL \
  19885. ECHO \
  19886. lt_prog_compiler_no_builtin_flag \
  19887. lt_prog_compiler_wl \
  19888. lt_prog_compiler_pic \
  19889. lt_prog_compiler_static \
  19890. lt_cv_prog_compiler_c_o \
  19891. need_locks \
  19892. DSYMUTIL \
  19893. NMEDIT \
  19894. LIPO \
  19895. OTOOL \
  19896. OTOOL64 \
  19897. shrext_cmds \
  19898. export_dynamic_flag_spec \
  19899. whole_archive_flag_spec \
  19900. compiler_needs_object \
  19901. with_gnu_ld \
  19902. allow_undefined_flag \
  19903. no_undefined_flag \
  19904. hardcode_libdir_flag_spec \
  19905. hardcode_libdir_flag_spec_ld \
  19906. hardcode_libdir_separator \
  19907. fix_srcfile_path \
  19908. exclude_expsyms \
  19909. include_expsyms \
  19910. file_list_spec \
  19911. variables_saved_for_relink \
  19912. libname_spec \
  19913. library_names_spec \
  19914. soname_spec \
  19915. finish_eval \
  19916. old_striplib \
  19917. striplib; do
  19918. case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  19919. *[\\\\\\\`\\"\\\$]*)
  19920. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  19921. ;;
  19922. *)
  19923. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  19924. ;;
  19925. esac
  19926. done
  19927. # Double-quote double-evaled strings.
  19928. for var in reload_cmds \
  19929. old_postinstall_cmds \
  19930. old_postuninstall_cmds \
  19931. old_archive_cmds \
  19932. extract_expsyms_cmds \
  19933. old_archive_from_new_cmds \
  19934. old_archive_from_expsyms_cmds \
  19935. archive_cmds \
  19936. archive_expsym_cmds \
  19937. module_cmds \
  19938. module_expsym_cmds \
  19939. export_symbols_cmds \
  19940. prelink_cmds \
  19941. postinstall_cmds \
  19942. postuninstall_cmds \
  19943. finish_cmds \
  19944. sys_lib_search_path_spec \
  19945. sys_lib_dlsearch_path_spec; do
  19946. case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  19947. *[\\\\\\\`\\"\\\$]*)
  19948. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  19949. ;;
  19950. *)
  19951. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  19952. ;;
  19953. esac
  19954. done
  19955. # Fix-up fallback echo if it was mangled by the above quoting rules.
  19956. case \$lt_ECHO in
  19957. *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  19958. ;;
  19959. esac
  19960. ac_aux_dir='$ac_aux_dir'
  19961. xsi_shell='$xsi_shell'
  19962. lt_shell_append='$lt_shell_append'
  19963. # See if we are running on zsh, and set the options which allow our
  19964. # commands through without removal of \ escapes INIT.
  19965. if test -n "\${ZSH_VERSION+set}" ; then
  19966. setopt NO_GLOB_SUBST
  19967. fi
  19968. PACKAGE='$PACKAGE'
  19969. VERSION='$VERSION'
  19970. TIMESTAMP='$TIMESTAMP'
  19971. RM='$RM'
  19972. ofile='$ofile'
  19973. _ACEOF
  19974. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19975. # Handling of arguments.
  19976. for ac_config_target in $ac_config_targets
  19977. do
  19978. case $ac_config_target in
  19979. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  19980. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  19981. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  19982. "libxml2.spec") CONFIG_FILES="$CONFIG_FILES libxml2.spec:libxml.spec.in" ;;
  19983. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  19984. "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
  19985. "include/libxml/Makefile") CONFIG_FILES="$CONFIG_FILES include/libxml/Makefile" ;;
  19986. "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  19987. "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;;
  19988. "doc/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES doc/devhelp/Makefile" ;;
  19989. "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
  19990. "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
  19991. "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;;
  19992. "xstc/Makefile") CONFIG_FILES="$CONFIG_FILES xstc/Makefile" ;;
  19993. "include/libxml/xmlversion.h") CONFIG_FILES="$CONFIG_FILES include/libxml/xmlversion.h" ;;
  19994. "xml2-config") CONFIG_FILES="$CONFIG_FILES xml2-config" ;;
  19995. "libxml-2.0.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0.pc" ;;
  19996. "libxml-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0-uninstalled.pc" ;;
  19997. "python/setup.py") CONFIG_FILES="$CONFIG_FILES python/setup.py" ;;
  19998. *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  19999. $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  20000. { (exit 1); exit 1; }; };;
  20001. esac
  20002. done
  20003. # If the user did not use the arguments to specify the items to instantiate,
  20004. # then the envvar interface is used. Set only those that are not.
  20005. # We use the long form for the default assignment because of an extremely
  20006. # bizarre bug on SunOS 4.1.3.
  20007. if $ac_need_defaults; then
  20008. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  20009. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  20010. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  20011. fi
  20012. # Have a temporary directory for convenience. Make it in the build tree
  20013. # simply because there is no reason against having it here, and in addition,
  20014. # creating and moving files from /tmp can sometimes cause problems.
  20015. # Hook for its removal unless debugging.
  20016. # Note that there is a small window in which the directory will not be cleaned:
  20017. # after its creation but before its name has been assigned to `$tmp'.
  20018. $debug ||
  20019. {
  20020. tmp=
  20021. trap 'exit_status=$?
  20022. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  20023. ' 0
  20024. trap '{ (exit 1); exit 1; }' 1 2 13 15
  20025. }
  20026. # Create a (secure) tmp directory for tmp files.
  20027. {
  20028. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  20029. test -n "$tmp" && test -d "$tmp"
  20030. } ||
  20031. {
  20032. tmp=./conf$$-$RANDOM
  20033. (umask 077 && mkdir "$tmp")
  20034. } ||
  20035. {
  20036. $as_echo "$as_me: cannot create a temporary directory in ." >&2
  20037. { (exit 1); exit 1; }
  20038. }
  20039. # Set up the scripts for CONFIG_FILES section.
  20040. # No need to generate them if there are no CONFIG_FILES.
  20041. # This happens for instance with `./config.status config.h'.
  20042. if test -n "$CONFIG_FILES"; then
  20043. ac_cr=' '
  20044. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  20045. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  20046. ac_cs_awk_cr='\\r'
  20047. else
  20048. ac_cs_awk_cr=$ac_cr
  20049. fi
  20050. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  20051. _ACEOF
  20052. {
  20053. echo "cat >conf$$subs.awk <<_ACEOF" &&
  20054. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  20055. echo "_ACEOF"
  20056. } >conf$$subs.sh ||
  20057. { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  20058. $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  20059. { (exit 1); exit 1; }; }
  20060. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  20061. ac_delim='%!_!# '
  20062. for ac_last_try in false false false false false :; do
  20063. . ./conf$$subs.sh ||
  20064. { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  20065. $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  20066. { (exit 1); exit 1; }; }
  20067. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  20068. if test $ac_delim_n = $ac_delim_num; then
  20069. break
  20070. elif $ac_last_try; then
  20071. { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  20072. $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  20073. { (exit 1); exit 1; }; }
  20074. else
  20075. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  20076. fi
  20077. done
  20078. rm -f conf$$subs.sh
  20079. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20080. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  20081. _ACEOF
  20082. sed -n '
  20083. h
  20084. s/^/S["/; s/!.*/"]=/
  20085. p
  20086. g
  20087. s/^[^!]*!//
  20088. :repl
  20089. t repl
  20090. s/'"$ac_delim"'$//
  20091. t delim
  20092. :nl
  20093. h
  20094. s/\(.\{148\}\).*/\1/
  20095. t more1
  20096. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  20097. p
  20098. n
  20099. b repl
  20100. :more1
  20101. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  20102. p
  20103. g
  20104. s/.\{148\}//
  20105. t nl
  20106. :delim
  20107. h
  20108. s/\(.\{148\}\).*/\1/
  20109. t more2
  20110. s/["\\]/\\&/g; s/^/"/; s/$/"/
  20111. p
  20112. b
  20113. :more2
  20114. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  20115. p
  20116. g
  20117. s/.\{148\}//
  20118. t delim
  20119. ' <conf$$subs.awk | sed '
  20120. /^[^""]/{
  20121. N
  20122. s/\n//
  20123. }
  20124. ' >>$CONFIG_STATUS || ac_write_fail=1
  20125. rm -f conf$$subs.awk
  20126. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20127. _ACAWK
  20128. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  20129. for (key in S) S_is_set[key] = 1
  20130. FS = ""
  20131. }
  20132. {
  20133. line = $ 0
  20134. nfields = split(line, field, "@")
  20135. substed = 0
  20136. len = length(field[1])
  20137. for (i = 2; i < nfields; i++) {
  20138. key = field[i]
  20139. keylen = length(key)
  20140. if (S_is_set[key]) {
  20141. value = S[key]
  20142. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  20143. len += length(value) + length(field[++i])
  20144. substed = 1
  20145. } else
  20146. len += 1 + keylen
  20147. }
  20148. print line
  20149. }
  20150. _ACAWK
  20151. _ACEOF
  20152. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20153. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  20154. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  20155. else
  20156. cat
  20157. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  20158. || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
  20159. $as_echo "$as_me: error: could not setup config files machinery" >&2;}
  20160. { (exit 1); exit 1; }; }
  20161. _ACEOF
  20162. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  20163. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  20164. # trailing colons and then remove the whole line if VPATH becomes empty
  20165. # (actually we leave an empty line to preserve line numbers).
  20166. if test "x$srcdir" = x.; then
  20167. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  20168. s/:*\$(srcdir):*/:/
  20169. s/:*\${srcdir}:*/:/
  20170. s/:*@srcdir@:*/:/
  20171. s/^\([^=]*=[ ]*\):*/\1/
  20172. s/:*$//
  20173. s/^[^=]*=[ ]*$//
  20174. }'
  20175. fi
  20176. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20177. fi # test -n "$CONFIG_FILES"
  20178. # Set up the scripts for CONFIG_HEADERS section.
  20179. # No need to generate them if there are no CONFIG_HEADERS.
  20180. # This happens for instance with `./config.status Makefile'.
  20181. if test -n "$CONFIG_HEADERS"; then
  20182. cat >"$tmp/defines.awk" <<\_ACAWK ||
  20183. BEGIN {
  20184. _ACEOF
  20185. # Transform confdefs.h into an awk script `defines.awk', embedded as
  20186. # here-document in config.status, that substitutes the proper values into
  20187. # config.h.in to produce config.h.
  20188. # Create a delimiter string that does not exist in confdefs.h, to ease
  20189. # handling of long lines.
  20190. ac_delim='%!_!# '
  20191. for ac_last_try in false false :; do
  20192. ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  20193. if test -z "$ac_t"; then
  20194. break
  20195. elif $ac_last_try; then
  20196. { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
  20197. $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
  20198. { (exit 1); exit 1; }; }
  20199. else
  20200. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  20201. fi
  20202. done
  20203. # For the awk script, D is an array of macro values keyed by name,
  20204. # likewise P contains macro parameters if any. Preserve backslash
  20205. # newline sequences.
  20206. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  20207. sed -n '
  20208. s/.\{148\}/&'"$ac_delim"'/g
  20209. t rset
  20210. :rset
  20211. s/^[ ]*#[ ]*define[ ][ ]*/ /
  20212. t def
  20213. d
  20214. :def
  20215. s/\\$//
  20216. t bsnl
  20217. s/["\\]/\\&/g
  20218. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  20219. D["\1"]=" \3"/p
  20220. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  20221. d
  20222. :bsnl
  20223. s/["\\]/\\&/g
  20224. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  20225. D["\1"]=" \3\\\\\\n"\\/p
  20226. t cont
  20227. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  20228. t cont
  20229. d
  20230. :cont
  20231. n
  20232. s/.\{148\}/&'"$ac_delim"'/g
  20233. t clear
  20234. :clear
  20235. s/\\$//
  20236. t bsnlc
  20237. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  20238. d
  20239. :bsnlc
  20240. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  20241. b cont
  20242. ' <confdefs.h | sed '
  20243. s/'"$ac_delim"'/"\\\
  20244. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  20245. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20246. for (key in D) D_is_set[key] = 1
  20247. FS = ""
  20248. }
  20249. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  20250. line = \$ 0
  20251. split(line, arg, " ")
  20252. if (arg[1] == "#") {
  20253. defundef = arg[2]
  20254. mac1 = arg[3]
  20255. } else {
  20256. defundef = substr(arg[1], 2)
  20257. mac1 = arg[2]
  20258. }
  20259. split(mac1, mac2, "(") #)
  20260. macro = mac2[1]
  20261. prefix = substr(line, 1, index(line, defundef) - 1)
  20262. if (D_is_set[macro]) {
  20263. # Preserve the white space surrounding the "#".
  20264. print prefix "define", macro P[macro] D[macro]
  20265. next
  20266. } else {
  20267. # Replace #undef with comments. This is necessary, for example,
  20268. # in the case of _POSIX_SOURCE, which is predefined and required
  20269. # on some systems where configure will not decide to define it.
  20270. if (defundef == "undef") {
  20271. print "/*", prefix defundef, macro, "*/"
  20272. next
  20273. }
  20274. }
  20275. }
  20276. { print }
  20277. _ACAWK
  20278. _ACEOF
  20279. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20280. { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
  20281. $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
  20282. { (exit 1); exit 1; }; }
  20283. fi # test -n "$CONFIG_HEADERS"
  20284. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  20285. shift
  20286. for ac_tag
  20287. do
  20288. case $ac_tag in
  20289. :[FHLC]) ac_mode=$ac_tag; continue;;
  20290. esac
  20291. case $ac_mode$ac_tag in
  20292. :[FHL]*:*);;
  20293. :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
  20294. $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
  20295. { (exit 1); exit 1; }; };;
  20296. :[FH]-) ac_tag=-:-;;
  20297. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  20298. esac
  20299. ac_save_IFS=$IFS
  20300. IFS=:
  20301. set x $ac_tag
  20302. IFS=$ac_save_IFS
  20303. shift
  20304. ac_file=$1
  20305. shift
  20306. case $ac_mode in
  20307. :L) ac_source=$1;;
  20308. :[FH])
  20309. ac_file_inputs=
  20310. for ac_f
  20311. do
  20312. case $ac_f in
  20313. -) ac_f="$tmp/stdin";;
  20314. *) # Look for the file first in the build tree, then in the source tree
  20315. # (if the path is not absolute). The absolute path cannot be DOS-style,
  20316. # because $ac_f cannot contain `:'.
  20317. test -f "$ac_f" ||
  20318. case $ac_f in
  20319. [\\/$]*) false;;
  20320. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  20321. esac ||
  20322. { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  20323. $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  20324. { (exit 1); exit 1; }; };;
  20325. esac
  20326. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  20327. ac_file_inputs="$ac_file_inputs '$ac_f'"
  20328. done
  20329. # Let's still pretend it is `configure' which instantiates (i.e., don't
  20330. # use $as_me), people would be surprised to read:
  20331. # /* config.h. Generated by config.status. */
  20332. configure_input='Generated from '`
  20333. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  20334. `' by configure.'
  20335. if test x"$ac_file" != x-; then
  20336. configure_input="$ac_file. $configure_input"
  20337. { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
  20338. $as_echo "$as_me: creating $ac_file" >&6;}
  20339. fi
  20340. # Neutralize special characters interpreted by sed in replacement strings.
  20341. case $configure_input in #(
  20342. *\&* | *\|* | *\\* )
  20343. ac_sed_conf_input=`$as_echo "$configure_input" |
  20344. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  20345. *) ac_sed_conf_input=$configure_input;;
  20346. esac
  20347. case $ac_tag in
  20348. *:-:* | *:-) cat >"$tmp/stdin" \
  20349. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  20350. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  20351. { (exit 1); exit 1; }; } ;;
  20352. esac
  20353. ;;
  20354. esac
  20355. ac_dir=`$as_dirname -- "$ac_file" ||
  20356. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20357. X"$ac_file" : 'X\(//\)[^/]' \| \
  20358. X"$ac_file" : 'X\(//\)$' \| \
  20359. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  20360. $as_echo X"$ac_file" |
  20361. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20362. s//\1/
  20363. q
  20364. }
  20365. /^X\(\/\/\)[^/].*/{
  20366. s//\1/
  20367. q
  20368. }
  20369. /^X\(\/\/\)$/{
  20370. s//\1/
  20371. q
  20372. }
  20373. /^X\(\/\).*/{
  20374. s//\1/
  20375. q
  20376. }
  20377. s/.*/./; q'`
  20378. { as_dir="$ac_dir"
  20379. case $as_dir in #(
  20380. -*) as_dir=./$as_dir;;
  20381. esac
  20382. test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  20383. as_dirs=
  20384. while :; do
  20385. case $as_dir in #(
  20386. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  20387. *) as_qdir=$as_dir;;
  20388. esac
  20389. as_dirs="'$as_qdir' $as_dirs"
  20390. as_dir=`$as_dirname -- "$as_dir" ||
  20391. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20392. X"$as_dir" : 'X\(//\)[^/]' \| \
  20393. X"$as_dir" : 'X\(//\)$' \| \
  20394. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  20395. $as_echo X"$as_dir" |
  20396. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20397. s//\1/
  20398. q
  20399. }
  20400. /^X\(\/\/\)[^/].*/{
  20401. s//\1/
  20402. q
  20403. }
  20404. /^X\(\/\/\)$/{
  20405. s//\1/
  20406. q
  20407. }
  20408. /^X\(\/\).*/{
  20409. s//\1/
  20410. q
  20411. }
  20412. s/.*/./; q'`
  20413. test -d "$as_dir" && break
  20414. done
  20415. test -z "$as_dirs" || eval "mkdir $as_dirs"
  20416. } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  20417. $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  20418. { (exit 1); exit 1; }; }; }
  20419. ac_builddir=.
  20420. case "$ac_dir" in
  20421. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  20422. *)
  20423. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  20424. # A ".." for each directory in $ac_dir_suffix.
  20425. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  20426. case $ac_top_builddir_sub in
  20427. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  20428. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  20429. esac ;;
  20430. esac
  20431. ac_abs_top_builddir=$ac_pwd
  20432. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  20433. # for backward compatibility:
  20434. ac_top_builddir=$ac_top_build_prefix
  20435. case $srcdir in
  20436. .) # We are building in place.
  20437. ac_srcdir=.
  20438. ac_top_srcdir=$ac_top_builddir_sub
  20439. ac_abs_top_srcdir=$ac_pwd ;;
  20440. [\\/]* | ?:[\\/]* ) # Absolute name.
  20441. ac_srcdir=$srcdir$ac_dir_suffix;
  20442. ac_top_srcdir=$srcdir
  20443. ac_abs_top_srcdir=$srcdir ;;
  20444. *) # Relative name.
  20445. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  20446. ac_top_srcdir=$ac_top_build_prefix$srcdir
  20447. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  20448. esac
  20449. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  20450. case $ac_mode in
  20451. :F)
  20452. #
  20453. # CONFIG_FILE
  20454. #
  20455. case $INSTALL in
  20456. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  20457. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  20458. esac
  20459. ac_MKDIR_P=$MKDIR_P
  20460. case $MKDIR_P in
  20461. [\\/$]* | ?:[\\/]* ) ;;
  20462. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  20463. esac
  20464. _ACEOF
  20465. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20466. # If the template does not know about datarootdir, expand it.
  20467. # FIXME: This hack should be removed a few years after 2.60.
  20468. ac_datarootdir_hack=; ac_datarootdir_seen=
  20469. ac_sed_dataroot='
  20470. /datarootdir/ {
  20471. p
  20472. q
  20473. }
  20474. /@datadir@/p
  20475. /@docdir@/p
  20476. /@infodir@/p
  20477. /@localedir@/p
  20478. /@mandir@/p
  20479. '
  20480. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  20481. *datarootdir*) ac_datarootdir_seen=yes;;
  20482. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  20483. { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  20484. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  20485. _ACEOF
  20486. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20487. ac_datarootdir_hack='
  20488. s&@datadir@&$datadir&g
  20489. s&@docdir@&$docdir&g
  20490. s&@infodir@&$infodir&g
  20491. s&@localedir@&$localedir&g
  20492. s&@mandir@&$mandir&g
  20493. s&\\\${datarootdir}&$datarootdir&g' ;;
  20494. esac
  20495. _ACEOF
  20496. # Neutralize VPATH when `$srcdir' = `.'.
  20497. # Shell code in configure.ac might set extrasub.
  20498. # FIXME: do we really want to maintain this feature?
  20499. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20500. ac_sed_extra="$ac_vpsub
  20501. $extrasub
  20502. _ACEOF
  20503. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20504. :t
  20505. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  20506. s|@configure_input@|$ac_sed_conf_input|;t t
  20507. s&@top_builddir@&$ac_top_builddir_sub&;t t
  20508. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  20509. s&@srcdir@&$ac_srcdir&;t t
  20510. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  20511. s&@top_srcdir@&$ac_top_srcdir&;t t
  20512. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  20513. s&@builddir@&$ac_builddir&;t t
  20514. s&@abs_builddir@&$ac_abs_builddir&;t t
  20515. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  20516. s&@INSTALL@&$ac_INSTALL&;t t
  20517. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  20518. $ac_datarootdir_hack
  20519. "
  20520. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  20521. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  20522. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  20523. { (exit 1); exit 1; }; }
  20524. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  20525. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  20526. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  20527. { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  20528. which seems to be undefined. Please make sure it is defined." >&5
  20529. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  20530. which seems to be undefined. Please make sure it is defined." >&2;}
  20531. rm -f "$tmp/stdin"
  20532. case $ac_file in
  20533. -) cat "$tmp/out" && rm -f "$tmp/out";;
  20534. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  20535. esac \
  20536. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  20537. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  20538. { (exit 1); exit 1; }; }
  20539. ;;
  20540. :H)
  20541. #
  20542. # CONFIG_HEADER
  20543. #
  20544. if test x"$ac_file" != x-; then
  20545. {
  20546. $as_echo "/* $configure_input */" \
  20547. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  20548. } >"$tmp/config.h" \
  20549. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  20550. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  20551. { (exit 1); exit 1; }; }
  20552. if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  20553. { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  20554. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  20555. else
  20556. rm -f "$ac_file"
  20557. mv "$tmp/config.h" "$ac_file" \
  20558. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  20559. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  20560. { (exit 1); exit 1; }; }
  20561. fi
  20562. else
  20563. $as_echo "/* $configure_input */" \
  20564. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  20565. || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
  20566. $as_echo "$as_me: error: could not create -" >&2;}
  20567. { (exit 1); exit 1; }; }
  20568. fi
  20569. # Compute "$ac_file"'s index in $config_headers.
  20570. _am_arg="$ac_file"
  20571. _am_stamp_count=1
  20572. for _am_header in $config_headers :; do
  20573. case $_am_header in
  20574. $_am_arg | $_am_arg:* )
  20575. break ;;
  20576. * )
  20577. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  20578. esac
  20579. done
  20580. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  20581. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20582. X"$_am_arg" : 'X\(//\)[^/]' \| \
  20583. X"$_am_arg" : 'X\(//\)$' \| \
  20584. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  20585. $as_echo X"$_am_arg" |
  20586. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20587. s//\1/
  20588. q
  20589. }
  20590. /^X\(\/\/\)[^/].*/{
  20591. s//\1/
  20592. q
  20593. }
  20594. /^X\(\/\/\)$/{
  20595. s//\1/
  20596. q
  20597. }
  20598. /^X\(\/\).*/{
  20599. s//\1/
  20600. q
  20601. }
  20602. s/.*/./; q'`/stamp-h$_am_stamp_count
  20603. ;;
  20604. :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
  20605. $as_echo "$as_me: executing $ac_file commands" >&6;}
  20606. ;;
  20607. esac
  20608. case $ac_file$ac_mode in
  20609. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  20610. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  20611. # are listed without --file. Let's play safe and only enable the eval
  20612. # if we detect the quoting.
  20613. case $CONFIG_FILES in
  20614. *\'*) eval set x "$CONFIG_FILES" ;;
  20615. *) set x $CONFIG_FILES ;;
  20616. esac
  20617. shift
  20618. for mf
  20619. do
  20620. # Strip MF so we end up with the name of the file.
  20621. mf=`echo "$mf" | sed -e 's/:.*$//'`
  20622. # Check whether this is an Automake generated Makefile or not.
  20623. # We used to match only the files named `Makefile.in', but
  20624. # some people rename them; so instead we look at the file content.
  20625. # Grep'ing the first line is not enough: some people post-process
  20626. # each Makefile.in and add a new line on top of each file to say so.
  20627. # Grep'ing the whole file is not good either: AIX grep has a line
  20628. # limit of 2048, but all sed's we know have understand at least 4000.
  20629. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  20630. dirpart=`$as_dirname -- "$mf" ||
  20631. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20632. X"$mf" : 'X\(//\)[^/]' \| \
  20633. X"$mf" : 'X\(//\)$' \| \
  20634. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  20635. $as_echo X"$mf" |
  20636. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20637. s//\1/
  20638. q
  20639. }
  20640. /^X\(\/\/\)[^/].*/{
  20641. s//\1/
  20642. q
  20643. }
  20644. /^X\(\/\/\)$/{
  20645. s//\1/
  20646. q
  20647. }
  20648. /^X\(\/\).*/{
  20649. s//\1/
  20650. q
  20651. }
  20652. s/.*/./; q'`
  20653. else
  20654. continue
  20655. fi
  20656. # Extract the definition of DEPDIR, am__include, and am__quote
  20657. # from the Makefile without running `make'.
  20658. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  20659. test -z "$DEPDIR" && continue
  20660. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  20661. test -z "am__include" && continue
  20662. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  20663. # When using ansi2knr, U may be empty or an underscore; expand it
  20664. U=`sed -n 's/^U = //p' < "$mf"`
  20665. # Find all dependency output files, they are included files with
  20666. # $(DEPDIR) in their names. We invoke sed twice because it is the
  20667. # simplest approach to changing $(DEPDIR) to its actual value in the
  20668. # expansion.
  20669. for file in `sed -n "
  20670. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  20671. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  20672. # Make sure the directory exists.
  20673. test -f "$dirpart/$file" && continue
  20674. fdir=`$as_dirname -- "$file" ||
  20675. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20676. X"$file" : 'X\(//\)[^/]' \| \
  20677. X"$file" : 'X\(//\)$' \| \
  20678. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  20679. $as_echo X"$file" |
  20680. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20681. s//\1/
  20682. q
  20683. }
  20684. /^X\(\/\/\)[^/].*/{
  20685. s//\1/
  20686. q
  20687. }
  20688. /^X\(\/\/\)$/{
  20689. s//\1/
  20690. q
  20691. }
  20692. /^X\(\/\).*/{
  20693. s//\1/
  20694. q
  20695. }
  20696. s/.*/./; q'`
  20697. { as_dir=$dirpart/$fdir
  20698. case $as_dir in #(
  20699. -*) as_dir=./$as_dir;;
  20700. esac
  20701. test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  20702. as_dirs=
  20703. while :; do
  20704. case $as_dir in #(
  20705. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  20706. *) as_qdir=$as_dir;;
  20707. esac
  20708. as_dirs="'$as_qdir' $as_dirs"
  20709. as_dir=`$as_dirname -- "$as_dir" ||
  20710. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20711. X"$as_dir" : 'X\(//\)[^/]' \| \
  20712. X"$as_dir" : 'X\(//\)$' \| \
  20713. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  20714. $as_echo X"$as_dir" |
  20715. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20716. s//\1/
  20717. q
  20718. }
  20719. /^X\(\/\/\)[^/].*/{
  20720. s//\1/
  20721. q
  20722. }
  20723. /^X\(\/\/\)$/{
  20724. s//\1/
  20725. q
  20726. }
  20727. /^X\(\/\).*/{
  20728. s//\1/
  20729. q
  20730. }
  20731. s/.*/./; q'`
  20732. test -d "$as_dir" && break
  20733. done
  20734. test -z "$as_dirs" || eval "mkdir $as_dirs"
  20735. } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  20736. $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  20737. { (exit 1); exit 1; }; }; }
  20738. # echo "creating $dirpart/$file"
  20739. echo '# dummy' > "$dirpart/$file"
  20740. done
  20741. done
  20742. }
  20743. ;;
  20744. "libtool":C)
  20745. # See if we are running on zsh, and set the options which allow our
  20746. # commands through without removal of \ escapes.
  20747. if test -n "${ZSH_VERSION+set}" ; then
  20748. setopt NO_GLOB_SUBST
  20749. fi
  20750. cfgfile="${ofile}T"
  20751. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  20752. $RM "$cfgfile"
  20753. cat <<_LT_EOF >> "$cfgfile"
  20754. #! $SHELL
  20755. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  20756. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  20757. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  20758. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  20759. #
  20760. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  20761. # 2006, 2007, 2008 Free Software Foundation, Inc.
  20762. # Written by Gordon Matzigkeit, 1996
  20763. #
  20764. # This file is part of GNU Libtool.
  20765. #
  20766. # GNU Libtool is free software; you can redistribute it and/or
  20767. # modify it under the terms of the GNU General Public License as
  20768. # published by the Free Software Foundation; either version 2 of
  20769. # the License, or (at your option) any later version.
  20770. #
  20771. # As a special exception to the GNU General Public License,
  20772. # if you distribute this file as part of a program or library that
  20773. # is built using GNU Libtool, you may include this file under the
  20774. # same distribution terms that you use for the rest of that program.
  20775. #
  20776. # GNU Libtool is distributed in the hope that it will be useful,
  20777. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  20778. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20779. # GNU General Public License for more details.
  20780. #
  20781. # You should have received a copy of the GNU General Public License
  20782. # along with GNU Libtool; see the file COPYING. If not, a copy
  20783. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  20784. # obtained by writing to the Free Software Foundation, Inc.,
  20785. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  20786. # The names of the tagged configurations supported by this script.
  20787. available_tags=""
  20788. # ### BEGIN LIBTOOL CONFIG
  20789. # Assembler program.
  20790. AS=$AS
  20791. # DLL creation program.
  20792. DLLTOOL=$DLLTOOL
  20793. # Object dumper program.
  20794. OBJDUMP=$OBJDUMP
  20795. # Which release of libtool.m4 was used?
  20796. macro_version=$macro_version
  20797. macro_revision=$macro_revision
  20798. # Whether or not to build shared libraries.
  20799. build_libtool_libs=$enable_shared
  20800. # Whether or not to build static libraries.
  20801. build_old_libs=$enable_static
  20802. # What type of objects to build.
  20803. pic_mode=$pic_mode
  20804. # Whether or not to optimize for fast installation.
  20805. fast_install=$enable_fast_install
  20806. # The host system.
  20807. host_alias=$host_alias
  20808. host=$host
  20809. host_os=$host_os
  20810. # The build system.
  20811. build_alias=$build_alias
  20812. build=$build
  20813. build_os=$build_os
  20814. # A sed program that does not truncate output.
  20815. SED=$lt_SED
  20816. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  20817. Xsed="\$SED -e 1s/^X//"
  20818. # A grep program that handles long lines.
  20819. GREP=$lt_GREP
  20820. # An ERE matcher.
  20821. EGREP=$lt_EGREP
  20822. # A literal string matcher.
  20823. FGREP=$lt_FGREP
  20824. # A BSD- or MS-compatible name lister.
  20825. NM=$lt_NM
  20826. # Whether we need soft or hard links.
  20827. LN_S=$lt_LN_S
  20828. # What is the maximum length of a command?
  20829. max_cmd_len=$max_cmd_len
  20830. # Object file suffix (normally "o").
  20831. objext=$ac_objext
  20832. # Executable file suffix (normally "").
  20833. exeext=$exeext
  20834. # whether the shell understands "unset".
  20835. lt_unset=$lt_unset
  20836. # turn spaces into newlines.
  20837. SP2NL=$lt_lt_SP2NL
  20838. # turn newlines into spaces.
  20839. NL2SP=$lt_lt_NL2SP
  20840. # How to create reloadable object files.
  20841. reload_flag=$lt_reload_flag
  20842. reload_cmds=$lt_reload_cmds
  20843. # Method to check whether dependent libraries are shared objects.
  20844. deplibs_check_method=$lt_deplibs_check_method
  20845. # Command to use when deplibs_check_method == "file_magic".
  20846. file_magic_cmd=$lt_file_magic_cmd
  20847. # The archiver.
  20848. AR=$lt_AR
  20849. AR_FLAGS=$lt_AR_FLAGS
  20850. # A symbol stripping program.
  20851. STRIP=$lt_STRIP
  20852. # Commands used to install an old-style archive.
  20853. RANLIB=$lt_RANLIB
  20854. old_postinstall_cmds=$lt_old_postinstall_cmds
  20855. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  20856. # A C compiler.
  20857. LTCC=$lt_CC
  20858. # LTCC compiler flags.
  20859. LTCFLAGS=$lt_CFLAGS
  20860. # Take the output of nm and produce a listing of raw symbols and C names.
  20861. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  20862. # Transform the output of nm in a proper C declaration.
  20863. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  20864. # Transform the output of nm in a C name address pair.
  20865. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  20866. # Transform the output of nm in a C name address pair when lib prefix is needed.
  20867. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  20868. # The name of the directory that contains temporary libtool files.
  20869. objdir=$objdir
  20870. # Shell to use when invoking shell scripts.
  20871. SHELL=$lt_SHELL
  20872. # An echo program that does not interpret backslashes.
  20873. ECHO=$lt_ECHO
  20874. # Used to examine libraries when file_magic_cmd begins with "file".
  20875. MAGIC_CMD=$MAGIC_CMD
  20876. # Must we lock files when doing compilation?
  20877. need_locks=$lt_need_locks
  20878. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  20879. DSYMUTIL=$lt_DSYMUTIL
  20880. # Tool to change global to local symbols on Mac OS X.
  20881. NMEDIT=$lt_NMEDIT
  20882. # Tool to manipulate fat objects and archives on Mac OS X.
  20883. LIPO=$lt_LIPO
  20884. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  20885. OTOOL=$lt_OTOOL
  20886. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  20887. OTOOL64=$lt_OTOOL64
  20888. # Old archive suffix (normally "a").
  20889. libext=$libext
  20890. # Shared library suffix (normally ".so").
  20891. shrext_cmds=$lt_shrext_cmds
  20892. # The commands to extract the exported symbol list from a shared archive.
  20893. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  20894. # Variables whose values should be saved in libtool wrapper scripts and
  20895. # restored at link time.
  20896. variables_saved_for_relink=$lt_variables_saved_for_relink
  20897. # Do we need the "lib" prefix for modules?
  20898. need_lib_prefix=$need_lib_prefix
  20899. # Do we need a version for libraries?
  20900. need_version=$need_version
  20901. # Library versioning type.
  20902. version_type=$version_type
  20903. # Shared library runtime path variable.
  20904. runpath_var=$runpath_var
  20905. # Shared library path variable.
  20906. shlibpath_var=$shlibpath_var
  20907. # Is shlibpath searched before the hard-coded library search path?
  20908. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  20909. # Format of library name prefix.
  20910. libname_spec=$lt_libname_spec
  20911. # List of archive names. First name is the real one, the rest are links.
  20912. # The last name is the one that the linker finds with -lNAME
  20913. library_names_spec=$lt_library_names_spec
  20914. # The coded name of the library, if different from the real name.
  20915. soname_spec=$lt_soname_spec
  20916. # Command to use after installation of a shared archive.
  20917. postinstall_cmds=$lt_postinstall_cmds
  20918. # Command to use after uninstallation of a shared archive.
  20919. postuninstall_cmds=$lt_postuninstall_cmds
  20920. # Commands used to finish a libtool library installation in a directory.
  20921. finish_cmds=$lt_finish_cmds
  20922. # As "finish_cmds", except a single script fragment to be evaled but
  20923. # not shown.
  20924. finish_eval=$lt_finish_eval
  20925. # Whether we should hardcode library paths into libraries.
  20926. hardcode_into_libs=$hardcode_into_libs
  20927. # Compile-time system search path for libraries.
  20928. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  20929. # Run-time system search path for libraries.
  20930. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  20931. # Whether dlopen is supported.
  20932. dlopen_support=$enable_dlopen
  20933. # Whether dlopen of programs is supported.
  20934. dlopen_self=$enable_dlopen_self
  20935. # Whether dlopen of statically linked programs is supported.
  20936. dlopen_self_static=$enable_dlopen_self_static
  20937. # Commands to strip libraries.
  20938. old_striplib=$lt_old_striplib
  20939. striplib=$lt_striplib
  20940. # The linker used to build libraries.
  20941. LD=$lt_LD
  20942. # Commands used to build an old-style archive.
  20943. old_archive_cmds=$lt_old_archive_cmds
  20944. # A language specific compiler.
  20945. CC=$lt_compiler
  20946. # Is the compiler the GNU compiler?
  20947. with_gcc=$GCC
  20948. # Compiler flag to turn off builtin functions.
  20949. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  20950. # How to pass a linker flag through the compiler.
  20951. wl=$lt_lt_prog_compiler_wl
  20952. # Additional compiler flags for building library objects.
  20953. pic_flag=$lt_lt_prog_compiler_pic
  20954. # Compiler flag to prevent dynamic linking.
  20955. link_static_flag=$lt_lt_prog_compiler_static
  20956. # Does compiler simultaneously support -c and -o options?
  20957. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  20958. # Whether or not to add -lc for building shared libraries.
  20959. build_libtool_need_lc=$archive_cmds_need_lc
  20960. # Whether or not to disallow shared libs when runtime libs are static.
  20961. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  20962. # Compiler flag to allow reflexive dlopens.
  20963. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  20964. # Compiler flag to generate shared objects directly from archives.
  20965. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  20966. # Whether the compiler copes with passing no objects directly.
  20967. compiler_needs_object=$lt_compiler_needs_object
  20968. # Create an old-style archive from a shared archive.
  20969. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  20970. # Create a temporary old-style archive to link instead of a shared archive.
  20971. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  20972. # Commands used to build a shared archive.
  20973. archive_cmds=$lt_archive_cmds
  20974. archive_expsym_cmds=$lt_archive_expsym_cmds
  20975. # Commands used to build a loadable module if different from building
  20976. # a shared archive.
  20977. module_cmds=$lt_module_cmds
  20978. module_expsym_cmds=$lt_module_expsym_cmds
  20979. # Whether we are building with GNU ld or not.
  20980. with_gnu_ld=$lt_with_gnu_ld
  20981. # Flag that allows shared libraries with undefined symbols to be built.
  20982. allow_undefined_flag=$lt_allow_undefined_flag
  20983. # Flag that enforces no undefined symbols.
  20984. no_undefined_flag=$lt_no_undefined_flag
  20985. # Flag to hardcode \$libdir into a binary during linking.
  20986. # This must work even if \$libdir does not exist
  20987. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  20988. # If ld is used when linking, flag to hardcode \$libdir into a binary
  20989. # during linking. This must work even if \$libdir does not exist.
  20990. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  20991. # Whether we need a single "-rpath" flag with a separated argument.
  20992. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  20993. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  20994. # DIR into the resulting binary.
  20995. hardcode_direct=$hardcode_direct
  20996. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  20997. # DIR into the resulting binary and the resulting library dependency is
  20998. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  20999. # library is relocated.
  21000. hardcode_direct_absolute=$hardcode_direct_absolute
  21001. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  21002. # into the resulting binary.
  21003. hardcode_minus_L=$hardcode_minus_L
  21004. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  21005. # into the resulting binary.
  21006. hardcode_shlibpath_var=$hardcode_shlibpath_var
  21007. # Set to "yes" if building a shared library automatically hardcodes DIR
  21008. # into the library and all subsequent libraries and executables linked
  21009. # against it.
  21010. hardcode_automatic=$hardcode_automatic
  21011. # Set to yes if linker adds runtime paths of dependent libraries
  21012. # to runtime path list.
  21013. inherit_rpath=$inherit_rpath
  21014. # Whether libtool must link a program against all its dependency libraries.
  21015. link_all_deplibs=$link_all_deplibs
  21016. # Fix the shell variable \$srcfile for the compiler.
  21017. fix_srcfile_path=$lt_fix_srcfile_path
  21018. # Set to "yes" if exported symbols are required.
  21019. always_export_symbols=$always_export_symbols
  21020. # The commands to list exported symbols.
  21021. export_symbols_cmds=$lt_export_symbols_cmds
  21022. # Symbols that should not be listed in the preloaded symbols.
  21023. exclude_expsyms=$lt_exclude_expsyms
  21024. # Symbols that must always be exported.
  21025. include_expsyms=$lt_include_expsyms
  21026. # Commands necessary for linking programs (against libraries) with templates.
  21027. prelink_cmds=$lt_prelink_cmds
  21028. # Specify filename containing input files.
  21029. file_list_spec=$lt_file_list_spec
  21030. # How to hardcode a shared library path into an executable.
  21031. hardcode_action=$hardcode_action
  21032. # ### END LIBTOOL CONFIG
  21033. _LT_EOF
  21034. case $host_os in
  21035. aix3*)
  21036. cat <<\_LT_EOF >> "$cfgfile"
  21037. # AIX sometimes has problems with the GCC collect2 program. For some
  21038. # reason, if we set the COLLECT_NAMES environment variable, the problems
  21039. # vanish in a puff of smoke.
  21040. if test "X${COLLECT_NAMES+set}" != Xset; then
  21041. COLLECT_NAMES=
  21042. export COLLECT_NAMES
  21043. fi
  21044. _LT_EOF
  21045. ;;
  21046. esac
  21047. ltmain="$ac_aux_dir/ltmain.sh"
  21048. # We use sed instead of cat because bash on DJGPP gets confused if
  21049. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  21050. # text mode, it properly converts lines to CR/LF. This bash problem
  21051. # is reportedly fixed, but why not run on old versions too?
  21052. sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  21053. || (rm -f "$cfgfile"; exit 1)
  21054. case $xsi_shell in
  21055. yes)
  21056. cat << \_LT_EOF >> "$cfgfile"
  21057. # func_dirname file append nondir_replacement
  21058. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  21059. # otherwise set result to NONDIR_REPLACEMENT.
  21060. func_dirname ()
  21061. {
  21062. case ${1} in
  21063. */*) func_dirname_result="${1%/*}${2}" ;;
  21064. * ) func_dirname_result="${3}" ;;
  21065. esac
  21066. }
  21067. # func_basename file
  21068. func_basename ()
  21069. {
  21070. func_basename_result="${1##*/}"
  21071. }
  21072. # func_dirname_and_basename file append nondir_replacement
  21073. # perform func_basename and func_dirname in a single function
  21074. # call:
  21075. # dirname: Compute the dirname of FILE. If nonempty,
  21076. # add APPEND to the result, otherwise set result
  21077. # to NONDIR_REPLACEMENT.
  21078. # value returned in "$func_dirname_result"
  21079. # basename: Compute filename of FILE.
  21080. # value retuned in "$func_basename_result"
  21081. # Implementation must be kept synchronized with func_dirname
  21082. # and func_basename. For efficiency, we do not delegate to
  21083. # those functions but instead duplicate the functionality here.
  21084. func_dirname_and_basename ()
  21085. {
  21086. case ${1} in
  21087. */*) func_dirname_result="${1%/*}${2}" ;;
  21088. * ) func_dirname_result="${3}" ;;
  21089. esac
  21090. func_basename_result="${1##*/}"
  21091. }
  21092. # func_stripname prefix suffix name
  21093. # strip PREFIX and SUFFIX off of NAME.
  21094. # PREFIX and SUFFIX must not contain globbing or regex special
  21095. # characters, hashes, percent signs, but SUFFIX may contain a leading
  21096. # dot (in which case that matches only a dot).
  21097. func_stripname ()
  21098. {
  21099. # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  21100. # positional parameters, so assign one to ordinary parameter first.
  21101. func_stripname_result=${3}
  21102. func_stripname_result=${func_stripname_result#"${1}"}
  21103. func_stripname_result=${func_stripname_result%"${2}"}
  21104. }
  21105. # func_opt_split
  21106. func_opt_split ()
  21107. {
  21108. func_opt_split_opt=${1%%=*}
  21109. func_opt_split_arg=${1#*=}
  21110. }
  21111. # func_lo2o object
  21112. func_lo2o ()
  21113. {
  21114. case ${1} in
  21115. *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  21116. *) func_lo2o_result=${1} ;;
  21117. esac
  21118. }
  21119. # func_xform libobj-or-source
  21120. func_xform ()
  21121. {
  21122. func_xform_result=${1%.*}.lo
  21123. }
  21124. # func_arith arithmetic-term...
  21125. func_arith ()
  21126. {
  21127. func_arith_result=$(( $* ))
  21128. }
  21129. # func_len string
  21130. # STRING may not start with a hyphen.
  21131. func_len ()
  21132. {
  21133. func_len_result=${#1}
  21134. }
  21135. _LT_EOF
  21136. ;;
  21137. *) # Bourne compatible functions.
  21138. cat << \_LT_EOF >> "$cfgfile"
  21139. # func_dirname file append nondir_replacement
  21140. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  21141. # otherwise set result to NONDIR_REPLACEMENT.
  21142. func_dirname ()
  21143. {
  21144. # Extract subdirectory from the argument.
  21145. func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  21146. if test "X$func_dirname_result" = "X${1}"; then
  21147. func_dirname_result="${3}"
  21148. else
  21149. func_dirname_result="$func_dirname_result${2}"
  21150. fi
  21151. }
  21152. # func_basename file
  21153. func_basename ()
  21154. {
  21155. func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  21156. }
  21157. # func_stripname prefix suffix name
  21158. # strip PREFIX and SUFFIX off of NAME.
  21159. # PREFIX and SUFFIX must not contain globbing or regex special
  21160. # characters, hashes, percent signs, but SUFFIX may contain a leading
  21161. # dot (in which case that matches only a dot).
  21162. # func_strip_suffix prefix name
  21163. func_stripname ()
  21164. {
  21165. case ${2} in
  21166. .*) func_stripname_result=`$ECHO "X${3}" \
  21167. | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  21168. *) func_stripname_result=`$ECHO "X${3}" \
  21169. | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  21170. esac
  21171. }
  21172. # sed scripts:
  21173. my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  21174. my_sed_long_arg='1s/^-[^=]*=//'
  21175. # func_opt_split
  21176. func_opt_split ()
  21177. {
  21178. func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  21179. func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  21180. }
  21181. # func_lo2o object
  21182. func_lo2o ()
  21183. {
  21184. func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  21185. }
  21186. # func_xform libobj-or-source
  21187. func_xform ()
  21188. {
  21189. func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  21190. }
  21191. # func_arith arithmetic-term...
  21192. func_arith ()
  21193. {
  21194. func_arith_result=`expr "$@"`
  21195. }
  21196. # func_len string
  21197. # STRING may not start with a hyphen.
  21198. func_len ()
  21199. {
  21200. func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  21201. }
  21202. _LT_EOF
  21203. esac
  21204. case $lt_shell_append in
  21205. yes)
  21206. cat << \_LT_EOF >> "$cfgfile"
  21207. # func_append var value
  21208. # Append VALUE to the end of shell variable VAR.
  21209. func_append ()
  21210. {
  21211. eval "$1+=\$2"
  21212. }
  21213. _LT_EOF
  21214. ;;
  21215. *)
  21216. cat << \_LT_EOF >> "$cfgfile"
  21217. # func_append var value
  21218. # Append VALUE to the end of shell variable VAR.
  21219. func_append ()
  21220. {
  21221. eval "$1=\$$1\$2"
  21222. }
  21223. _LT_EOF
  21224. ;;
  21225. esac
  21226. sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  21227. || (rm -f "$cfgfile"; exit 1)
  21228. mv -f "$cfgfile" "$ofile" ||
  21229. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  21230. chmod +x "$ofile"
  21231. ;;
  21232. esac
  21233. done # for ac_tag
  21234. { (exit 0); exit 0; }
  21235. _ACEOF
  21236. chmod +x $CONFIG_STATUS
  21237. ac_clean_files=$ac_clean_files_save
  21238. test $ac_write_fail = 0 ||
  21239. { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
  21240. $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
  21241. { (exit 1); exit 1; }; }
  21242. # configure is writing to config.log, and then calls config.status.
  21243. # config.status does its own redirection, appending to config.log.
  21244. # Unfortunately, on DOS this fails, as config.log is still kept open
  21245. # by configure, so config.status won't be able to write to it; its
  21246. # output is simply discarded. So we exec the FD to /dev/null,
  21247. # effectively closing config.log, so it can be properly (re)opened and
  21248. # appended to by config.status. When coming back to configure, we
  21249. # need to make the FD available again.
  21250. if test "$no_create" != yes; then
  21251. ac_cs_success=:
  21252. ac_config_status_args=
  21253. test "$silent" = yes &&
  21254. ac_config_status_args="$ac_config_status_args --quiet"
  21255. exec 5>/dev/null
  21256. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  21257. exec 5>>config.log
  21258. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  21259. # would make configure fail if this is the last instruction.
  21260. $ac_cs_success || { (exit 1); exit 1; }
  21261. fi
  21262. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  21263. { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  21264. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  21265. fi
  21266. chmod +x xml2-config python/setup.py
  21267. echo Done configuring