configure 699 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362
  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=7
  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.6b'
  4910. macro_revision='1.3017'
  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:5953: $ac_compile\"" >&5)
  5310. (eval "$ac_compile" 2>conftest.err)
  5311. cat conftest.err >&5
  5312. (eval echo "\"\$as_me:5956: $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:5959: 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 7161 "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. ## CAVEAT EMPTOR:
  7398. ## There is no encapsulation within the following macros, do not change
  7399. ## the running order or otherwise move them around unless you know exactly
  7400. ## what you are doing...
  7401. if test -n "$compiler"; then
  7402. lt_prog_compiler_no_builtin_flag=
  7403. if test "$GCC" = yes; then
  7404. lt_prog_compiler_no_builtin_flag=' -fno-builtin'
  7405. { $as_echo "$as_me:$LINENO: checking if $compiler supports -fno-rtti -fno-exceptions" >&5
  7406. $as_echo_n "checking if $compiler supports -fno-rtti -fno-exceptions... " >&6; }
  7407. if test "${lt_cv_prog_compiler_rtti_exceptions+set}" = set; then
  7408. $as_echo_n "(cached) " >&6
  7409. else
  7410. lt_cv_prog_compiler_rtti_exceptions=no
  7411. ac_outfile=conftest.$ac_objext
  7412. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7413. lt_compiler_flag="-fno-rtti -fno-exceptions"
  7414. # Insert the option either (1) after the last *FLAGS variable, or
  7415. # (2) before a word containing "conftest.", or (3) at the end.
  7416. # Note that $ac_compile itself does not contain backslashes and begins
  7417. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7418. # The option is referenced via a variable to avoid confusing sed.
  7419. lt_compile=`echo "$ac_compile" | $SED \
  7420. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7421. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7422. -e 's:$: $lt_compiler_flag:'`
  7423. (eval echo "\"\$as_me:8528: $lt_compile\"" >&5)
  7424. (eval "$lt_compile" 2>conftest.err)
  7425. ac_status=$?
  7426. cat conftest.err >&5
  7427. echo "$as_me:8532: \$? = $ac_status" >&5
  7428. if (exit $ac_status) && test -s "$ac_outfile"; then
  7429. # The compiler can only warn and ignore the option if not recognized
  7430. # So say no if there are warnings other than the usual output.
  7431. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  7432. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7433. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7434. lt_cv_prog_compiler_rtti_exceptions=yes
  7435. fi
  7436. fi
  7437. $RM conftest*
  7438. fi
  7439. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_rtti_exceptions" >&5
  7440. $as_echo "$lt_cv_prog_compiler_rtti_exceptions" >&6; }
  7441. if test x"$lt_cv_prog_compiler_rtti_exceptions" = xyes; then
  7442. lt_prog_compiler_no_builtin_flag="$lt_prog_compiler_no_builtin_flag -fno-rtti -fno-exceptions"
  7443. else
  7444. :
  7445. fi
  7446. fi
  7447. lt_prog_compiler_wl=
  7448. lt_prog_compiler_pic=
  7449. lt_prog_compiler_static=
  7450. { $as_echo "$as_me:$LINENO: checking for $compiler option to produce PIC" >&5
  7451. $as_echo_n "checking for $compiler option to produce PIC... " >&6; }
  7452. if test "$GCC" = yes; then
  7453. lt_prog_compiler_wl='-Wl,'
  7454. lt_prog_compiler_static='-static'
  7455. case $host_os in
  7456. aix*)
  7457. # All AIX code is PIC.
  7458. if test "$host_cpu" = ia64; then
  7459. # AIX 5 now supports IA64 processor
  7460. lt_prog_compiler_static='-Bstatic'
  7461. fi
  7462. ;;
  7463. amigaos*)
  7464. case $host_cpu in
  7465. powerpc)
  7466. # see comment about AmigaOS4 .so support
  7467. lt_prog_compiler_pic='-fPIC'
  7468. ;;
  7469. m68k)
  7470. # FIXME: we need at least 68020 code to build shared libraries, but
  7471. # adding the `-m68020' flag to GCC prevents building anything better,
  7472. # like `-m68040'.
  7473. lt_prog_compiler_pic='-m68020 -resident32 -malways-restore-a4'
  7474. ;;
  7475. esac
  7476. ;;
  7477. beos* | irix5* | irix6* | nonstopux* | osf3* | osf4* | osf5*)
  7478. # PIC is the default for these OSes.
  7479. ;;
  7480. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7481. # This hack is so that the source file can tell whether it is being
  7482. # built for inclusion in a dll (and should export symbols for example).
  7483. # Although the cygwin gcc ignores -fPIC, still need this for old-style
  7484. # (--disable-auto-import) libraries
  7485. lt_prog_compiler_pic='-DDLL_EXPORT'
  7486. ;;
  7487. darwin* | rhapsody*)
  7488. # PIC is the default on this platform
  7489. # Common symbols not allowed in MH_DYLIB files
  7490. lt_prog_compiler_pic='-fno-common'
  7491. ;;
  7492. hpux*)
  7493. # PIC is the default for 64-bit PA HP-UX, but not for 32-bit
  7494. # PA HP-UX. On IA64 HP-UX, PIC is the default but the pic flag
  7495. # sets the default TLS model and affects inlining.
  7496. case $host_cpu in
  7497. hppa*64*)
  7498. # +Z the default
  7499. ;;
  7500. *)
  7501. lt_prog_compiler_pic='-fPIC'
  7502. ;;
  7503. esac
  7504. ;;
  7505. interix[3-9]*)
  7506. # Interix 3.x gcc -fpic/-fPIC options generate broken code.
  7507. # Instead, we relocate shared libraries at runtime.
  7508. ;;
  7509. msdosdjgpp*)
  7510. # Just because we use GCC doesn't mean we suddenly get shared libraries
  7511. # on systems that don't support them.
  7512. lt_prog_compiler_can_build_shared=no
  7513. enable_shared=no
  7514. ;;
  7515. *nto* | *qnx*)
  7516. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7517. # it will coredump.
  7518. lt_prog_compiler_pic='-fPIC -shared'
  7519. ;;
  7520. sysv4*MP*)
  7521. if test -d /usr/nec; then
  7522. lt_prog_compiler_pic=-Kconform_pic
  7523. fi
  7524. ;;
  7525. *)
  7526. lt_prog_compiler_pic='-fPIC'
  7527. ;;
  7528. esac
  7529. else
  7530. # PORTME Check for flag to pass linker flags through the system compiler.
  7531. case $host_os in
  7532. aix*)
  7533. lt_prog_compiler_wl='-Wl,'
  7534. if test "$host_cpu" = ia64; then
  7535. # AIX 5 now supports IA64 processor
  7536. lt_prog_compiler_static='-Bstatic'
  7537. else
  7538. lt_prog_compiler_static='-bnso -bI:/lib/syscalls.exp'
  7539. fi
  7540. ;;
  7541. mingw* | cygwin* | pw32* | os2* | cegcc*)
  7542. # This hack is so that the source file can tell whether it is being
  7543. # built for inclusion in a dll (and should export symbols for example).
  7544. lt_prog_compiler_pic='-DDLL_EXPORT'
  7545. ;;
  7546. hpux9* | hpux10* | hpux11*)
  7547. lt_prog_compiler_wl='-Wl,'
  7548. # PIC is the default for IA64 HP-UX and 64-bit HP-UX, but
  7549. # not for PA HP-UX.
  7550. case $host_cpu in
  7551. hppa*64*|ia64*)
  7552. # +Z the default
  7553. ;;
  7554. *)
  7555. lt_prog_compiler_pic='+Z'
  7556. ;;
  7557. esac
  7558. # Is there a better lt_prog_compiler_static that works with the bundled CC?
  7559. lt_prog_compiler_static='${wl}-a ${wl}archive'
  7560. ;;
  7561. irix5* | irix6* | nonstopux*)
  7562. lt_prog_compiler_wl='-Wl,'
  7563. # PIC (with -KPIC) is the default.
  7564. lt_prog_compiler_static='-non_shared'
  7565. ;;
  7566. linux* | k*bsd*-gnu)
  7567. case $cc_basename in
  7568. # old Intel for x86_64 which still supported -KPIC.
  7569. ecc*)
  7570. lt_prog_compiler_wl='-Wl,'
  7571. lt_prog_compiler_pic='-KPIC'
  7572. lt_prog_compiler_static='-static'
  7573. ;;
  7574. # icc used to be incompatible with GCC.
  7575. # ICC 10 doesn't accept -KPIC any more.
  7576. icc* | ifort*)
  7577. lt_prog_compiler_wl='-Wl,'
  7578. lt_prog_compiler_pic='-fPIC'
  7579. lt_prog_compiler_static='-static'
  7580. ;;
  7581. # Lahey Fortran 8.1.
  7582. lf95*)
  7583. lt_prog_compiler_wl='-Wl,'
  7584. lt_prog_compiler_pic='--shared'
  7585. lt_prog_compiler_static='--static'
  7586. ;;
  7587. pgcc* | pgf77* | pgf90* | pgf95*)
  7588. # Portland Group compilers (*not* the Pentium gcc compiler,
  7589. # which looks to be a dead project)
  7590. lt_prog_compiler_wl='-Wl,'
  7591. lt_prog_compiler_pic='-fpic'
  7592. lt_prog_compiler_static='-Bstatic'
  7593. ;;
  7594. ccc*)
  7595. lt_prog_compiler_wl='-Wl,'
  7596. # All Alpha code is PIC.
  7597. lt_prog_compiler_static='-non_shared'
  7598. ;;
  7599. xl*)
  7600. # IBM XL C 8.0/Fortran 10.1 on PPC
  7601. lt_prog_compiler_wl='-Wl,'
  7602. lt_prog_compiler_pic='-qpic'
  7603. lt_prog_compiler_static='-qstaticlink'
  7604. ;;
  7605. *)
  7606. case `$CC -V 2>&1 | sed 5q` in
  7607. *Sun\ C*)
  7608. # Sun C 5.9
  7609. lt_prog_compiler_pic='-KPIC'
  7610. lt_prog_compiler_static='-Bstatic'
  7611. lt_prog_compiler_wl='-Wl,'
  7612. ;;
  7613. *Sun\ F*)
  7614. # Sun Fortran 8.3 passes all unrecognized flags to the linker
  7615. lt_prog_compiler_pic='-KPIC'
  7616. lt_prog_compiler_static='-Bstatic'
  7617. lt_prog_compiler_wl=''
  7618. ;;
  7619. esac
  7620. ;;
  7621. esac
  7622. ;;
  7623. newsos6)
  7624. lt_prog_compiler_pic='-KPIC'
  7625. lt_prog_compiler_static='-Bstatic'
  7626. ;;
  7627. *nto* | *qnx*)
  7628. # QNX uses GNU C++, but need to define -shared option too, otherwise
  7629. # it will coredump.
  7630. lt_prog_compiler_pic='-fPIC -shared'
  7631. ;;
  7632. osf3* | osf4* | osf5*)
  7633. lt_prog_compiler_wl='-Wl,'
  7634. # All OSF/1 code is PIC.
  7635. lt_prog_compiler_static='-non_shared'
  7636. ;;
  7637. rdos*)
  7638. lt_prog_compiler_static='-non_shared'
  7639. ;;
  7640. solaris*)
  7641. lt_prog_compiler_pic='-KPIC'
  7642. lt_prog_compiler_static='-Bstatic'
  7643. case $cc_basename in
  7644. f77* | f90* | f95*)
  7645. lt_prog_compiler_wl='-Qoption ld ';;
  7646. *)
  7647. lt_prog_compiler_wl='-Wl,';;
  7648. esac
  7649. ;;
  7650. sunos4*)
  7651. lt_prog_compiler_wl='-Qoption ld '
  7652. lt_prog_compiler_pic='-PIC'
  7653. lt_prog_compiler_static='-Bstatic'
  7654. ;;
  7655. sysv4 | sysv4.2uw2* | sysv4.3*)
  7656. lt_prog_compiler_wl='-Wl,'
  7657. lt_prog_compiler_pic='-KPIC'
  7658. lt_prog_compiler_static='-Bstatic'
  7659. ;;
  7660. sysv4*MP*)
  7661. if test -d /usr/nec ;then
  7662. lt_prog_compiler_pic='-Kconform_pic'
  7663. lt_prog_compiler_static='-Bstatic'
  7664. fi
  7665. ;;
  7666. sysv5* | unixware* | sco3.2v5* | sco5v6* | OpenUNIX*)
  7667. lt_prog_compiler_wl='-Wl,'
  7668. lt_prog_compiler_pic='-KPIC'
  7669. lt_prog_compiler_static='-Bstatic'
  7670. ;;
  7671. unicos*)
  7672. lt_prog_compiler_wl='-Wl,'
  7673. lt_prog_compiler_can_build_shared=no
  7674. ;;
  7675. uts4*)
  7676. lt_prog_compiler_pic='-pic'
  7677. lt_prog_compiler_static='-Bstatic'
  7678. ;;
  7679. *)
  7680. lt_prog_compiler_can_build_shared=no
  7681. ;;
  7682. esac
  7683. fi
  7684. case $host_os in
  7685. # For platforms which do not support PIC, -DPIC is meaningless:
  7686. *djgpp*)
  7687. lt_prog_compiler_pic=
  7688. ;;
  7689. *)
  7690. lt_prog_compiler_pic="$lt_prog_compiler_pic -DPIC"
  7691. ;;
  7692. esac
  7693. { $as_echo "$as_me:$LINENO: result: $lt_prog_compiler_pic" >&5
  7694. $as_echo "$lt_prog_compiler_pic" >&6; }
  7695. #
  7696. # Check to make sure the PIC flag actually works.
  7697. #
  7698. if test -n "$lt_prog_compiler_pic"; then
  7699. { $as_echo "$as_me:$LINENO: checking if $compiler PIC flag $lt_prog_compiler_pic works" >&5
  7700. $as_echo_n "checking if $compiler PIC flag $lt_prog_compiler_pic works... " >&6; }
  7701. if test "${lt_cv_prog_compiler_pic_works+set}" = set; then
  7702. $as_echo_n "(cached) " >&6
  7703. else
  7704. lt_cv_prog_compiler_pic_works=no
  7705. ac_outfile=conftest.$ac_objext
  7706. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7707. lt_compiler_flag="$lt_prog_compiler_pic -DPIC"
  7708. # Insert the option either (1) after the last *FLAGS variable, or
  7709. # (2) before a word containing "conftest.", or (3) at the end.
  7710. # Note that $ac_compile itself does not contain backslashes and begins
  7711. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7712. # The option is referenced via a variable to avoid confusing sed.
  7713. lt_compile=`echo "$ac_compile" | $SED \
  7714. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7715. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7716. -e 's:$: $lt_compiler_flag:'`
  7717. (eval echo "\"\$as_me:8867: $lt_compile\"" >&5)
  7718. (eval "$lt_compile" 2>conftest.err)
  7719. ac_status=$?
  7720. cat conftest.err >&5
  7721. echo "$as_me:8871: \$? = $ac_status" >&5
  7722. if (exit $ac_status) && test -s "$ac_outfile"; then
  7723. # The compiler can only warn and ignore the option if not recognized
  7724. # So say no if there are warnings other than the usual output.
  7725. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' >conftest.exp
  7726. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7727. if test ! -s conftest.er2 || diff conftest.exp conftest.er2 >/dev/null; then
  7728. lt_cv_prog_compiler_pic_works=yes
  7729. fi
  7730. fi
  7731. $RM conftest*
  7732. fi
  7733. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_pic_works" >&5
  7734. $as_echo "$lt_cv_prog_compiler_pic_works" >&6; }
  7735. if test x"$lt_cv_prog_compiler_pic_works" = xyes; then
  7736. case $lt_prog_compiler_pic in
  7737. "" | " "*) ;;
  7738. *) lt_prog_compiler_pic=" $lt_prog_compiler_pic" ;;
  7739. esac
  7740. else
  7741. lt_prog_compiler_pic=
  7742. lt_prog_compiler_can_build_shared=no
  7743. fi
  7744. fi
  7745. #
  7746. # Check to make sure the static flag actually works.
  7747. #
  7748. wl=$lt_prog_compiler_wl eval lt_tmp_static_flag=\"$lt_prog_compiler_static\"
  7749. { $as_echo "$as_me:$LINENO: checking if $compiler static flag $lt_tmp_static_flag works" >&5
  7750. $as_echo_n "checking if $compiler static flag $lt_tmp_static_flag works... " >&6; }
  7751. if test "${lt_cv_prog_compiler_static_works+set}" = set; then
  7752. $as_echo_n "(cached) " >&6
  7753. else
  7754. lt_cv_prog_compiler_static_works=no
  7755. save_LDFLAGS="$LDFLAGS"
  7756. LDFLAGS="$LDFLAGS $lt_tmp_static_flag"
  7757. echo "$lt_simple_link_test_code" > conftest.$ac_ext
  7758. if (eval $ac_link 2>conftest.err) && test -s conftest$ac_exeext; then
  7759. # The linker can only warn and ignore the option if not recognized
  7760. # So say no if there are warnings
  7761. if test -s conftest.err; then
  7762. # Append any errors to the config.log.
  7763. cat conftest.err 1>&5
  7764. $ECHO "X$_lt_linker_boilerplate" | $Xsed -e '/^$/d' > conftest.exp
  7765. $SED '/^$/d; /^ *+/d' conftest.err >conftest.er2
  7766. if diff conftest.exp conftest.er2 >/dev/null; then
  7767. lt_cv_prog_compiler_static_works=yes
  7768. fi
  7769. else
  7770. lt_cv_prog_compiler_static_works=yes
  7771. fi
  7772. fi
  7773. $RM -r conftest*
  7774. LDFLAGS="$save_LDFLAGS"
  7775. fi
  7776. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_static_works" >&5
  7777. $as_echo "$lt_cv_prog_compiler_static_works" >&6; }
  7778. if test x"$lt_cv_prog_compiler_static_works" = xyes; then
  7779. :
  7780. else
  7781. lt_prog_compiler_static=
  7782. fi
  7783. { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  7784. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7785. if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  7786. $as_echo_n "(cached) " >&6
  7787. else
  7788. lt_cv_prog_compiler_c_o=no
  7789. $RM -r conftest 2>/dev/null
  7790. mkdir conftest
  7791. cd conftest
  7792. mkdir out
  7793. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7794. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7795. # Insert the option either (1) after the last *FLAGS variable, or
  7796. # (2) before a word containing "conftest.", or (3) at the end.
  7797. # Note that $ac_compile itself does not contain backslashes and begins
  7798. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7799. lt_compile=`echo "$ac_compile" | $SED \
  7800. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7801. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7802. -e 's:$: $lt_compiler_flag:'`
  7803. (eval echo "\"\$as_me:8972: $lt_compile\"" >&5)
  7804. (eval "$lt_compile" 2>out/conftest.err)
  7805. ac_status=$?
  7806. cat out/conftest.err >&5
  7807. echo "$as_me:8976: \$? = $ac_status" >&5
  7808. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7809. then
  7810. # The compiler can only warn and ignore the option if not recognized
  7811. # So say no if there are warnings
  7812. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  7813. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7814. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7815. lt_cv_prog_compiler_c_o=yes
  7816. fi
  7817. fi
  7818. chmod u+w . 2>&5
  7819. $RM conftest*
  7820. # SGI C++ compiler will create directory out/ii_files/ for
  7821. # template instantiation
  7822. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7823. $RM out/* && rmdir out
  7824. cd ..
  7825. $RM -r conftest
  7826. $RM conftest*
  7827. fi
  7828. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  7829. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7830. { $as_echo "$as_me:$LINENO: checking if $compiler supports -c -o file.$ac_objext" >&5
  7831. $as_echo_n "checking if $compiler supports -c -o file.$ac_objext... " >&6; }
  7832. if test "${lt_cv_prog_compiler_c_o+set}" = set; then
  7833. $as_echo_n "(cached) " >&6
  7834. else
  7835. lt_cv_prog_compiler_c_o=no
  7836. $RM -r conftest 2>/dev/null
  7837. mkdir conftest
  7838. cd conftest
  7839. mkdir out
  7840. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  7841. lt_compiler_flag="-o out/conftest2.$ac_objext"
  7842. # Insert the option either (1) after the last *FLAGS variable, or
  7843. # (2) before a word containing "conftest.", or (3) at the end.
  7844. # Note that $ac_compile itself does not contain backslashes and begins
  7845. # with a dollar sign (not a hyphen), so the echo should work correctly.
  7846. lt_compile=`echo "$ac_compile" | $SED \
  7847. -e 's:.*FLAGS}\{0,1\} :&$lt_compiler_flag :; t' \
  7848. -e 's: [^ ]*conftest\.: $lt_compiler_flag&:; t' \
  7849. -e 's:$: $lt_compiler_flag:'`
  7850. (eval echo "\"\$as_me:9027: $lt_compile\"" >&5)
  7851. (eval "$lt_compile" 2>out/conftest.err)
  7852. ac_status=$?
  7853. cat out/conftest.err >&5
  7854. echo "$as_me:9031: \$? = $ac_status" >&5
  7855. if (exit $ac_status) && test -s out/conftest2.$ac_objext
  7856. then
  7857. # The compiler can only warn and ignore the option if not recognized
  7858. # So say no if there are warnings
  7859. $ECHO "X$_lt_compiler_boilerplate" | $Xsed -e '/^$/d' > out/conftest.exp
  7860. $SED '/^$/d; /^ *+/d' out/conftest.err >out/conftest.er2
  7861. if test ! -s out/conftest.er2 || diff out/conftest.exp out/conftest.er2 >/dev/null; then
  7862. lt_cv_prog_compiler_c_o=yes
  7863. fi
  7864. fi
  7865. chmod u+w . 2>&5
  7866. $RM conftest*
  7867. # SGI C++ compiler will create directory out/ii_files/ for
  7868. # template instantiation
  7869. test -d out/ii_files && $RM out/ii_files/* && rmdir out/ii_files
  7870. $RM out/* && rmdir out
  7871. cd ..
  7872. $RM -r conftest
  7873. $RM conftest*
  7874. fi
  7875. { $as_echo "$as_me:$LINENO: result: $lt_cv_prog_compiler_c_o" >&5
  7876. $as_echo "$lt_cv_prog_compiler_c_o" >&6; }
  7877. hard_links="nottested"
  7878. if test "$lt_cv_prog_compiler_c_o" = no && test "$need_locks" != no; then
  7879. # do not overwrite the value of need_locks provided by the user
  7880. { $as_echo "$as_me:$LINENO: checking if we can lock with hard links" >&5
  7881. $as_echo_n "checking if we can lock with hard links... " >&6; }
  7882. hard_links=yes
  7883. $RM conftest*
  7884. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7885. touch conftest.a
  7886. ln conftest.a conftest.b 2>&5 || hard_links=no
  7887. ln conftest.a conftest.b 2>/dev/null && hard_links=no
  7888. { $as_echo "$as_me:$LINENO: result: $hard_links" >&5
  7889. $as_echo "$hard_links" >&6; }
  7890. if test "$hard_links" = no; then
  7891. { $as_echo "$as_me:$LINENO: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&5
  7892. $as_echo "$as_me: WARNING: \`$CC' does not support \`-c -o', so \`make -j' may be unsafe" >&2;}
  7893. need_locks=warn
  7894. fi
  7895. else
  7896. need_locks=no
  7897. fi
  7898. { $as_echo "$as_me:$LINENO: checking whether the $compiler linker ($LD) supports shared libraries" >&5
  7899. $as_echo_n "checking whether the $compiler linker ($LD) supports shared libraries... " >&6; }
  7900. runpath_var=
  7901. allow_undefined_flag=
  7902. always_export_symbols=no
  7903. archive_cmds=
  7904. archive_expsym_cmds=
  7905. compiler_needs_object=no
  7906. enable_shared_with_static_runtimes=no
  7907. export_dynamic_flag_spec=
  7908. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED '\''s/.* //'\'' | sort | uniq > $export_symbols'
  7909. hardcode_automatic=no
  7910. hardcode_direct=no
  7911. hardcode_direct_absolute=no
  7912. hardcode_libdir_flag_spec=
  7913. hardcode_libdir_flag_spec_ld=
  7914. hardcode_libdir_separator=
  7915. hardcode_minus_L=no
  7916. hardcode_shlibpath_var=unsupported
  7917. inherit_rpath=no
  7918. link_all_deplibs=unknown
  7919. module_cmds=
  7920. module_expsym_cmds=
  7921. old_archive_from_new_cmds=
  7922. old_archive_from_expsyms_cmds=
  7923. thread_safe_flag_spec=
  7924. whole_archive_flag_spec=
  7925. # include_expsyms should be a list of space-separated symbols to be *always*
  7926. # included in the symbol list
  7927. include_expsyms=
  7928. # exclude_expsyms can be an extended regexp of symbols to exclude
  7929. # it will be wrapped by ` (' and `)$', so one must not match beginning or
  7930. # end of line. Example: `a|bc|.*d.*' will exclude the symbols `a' and `bc',
  7931. # as well as any symbol that contains `d'.
  7932. exclude_expsyms='_GLOBAL_OFFSET_TABLE_|_GLOBAL__F[ID]_.*'
  7933. # Although _GLOBAL_OFFSET_TABLE_ is a valid symbol C name, most a.out
  7934. # platforms (ab)use it in PIC code, but their linkers get confused if
  7935. # the symbol is explicitly referenced. Since portable code cannot
  7936. # rely on this symbol name, it's probably fine to never include it in
  7937. # preloaded symbol tables.
  7938. # Exclude shared library initialization/finalization symbols.
  7939. extract_expsyms_cmds=
  7940. case $host_os in
  7941. cygwin* | mingw* | pw32* | cegcc*)
  7942. # FIXME: the MSVC++ port hasn't been tested in a loooong time
  7943. # When not using gcc, we currently assume that we are using
  7944. # Microsoft Visual C++.
  7945. if test "$GCC" != yes; then
  7946. with_gnu_ld=no
  7947. fi
  7948. ;;
  7949. interix*)
  7950. # we just hope/assume this is gcc and not c89 (= MSVC++)
  7951. with_gnu_ld=yes
  7952. ;;
  7953. openbsd*)
  7954. with_gnu_ld=no
  7955. ;;
  7956. esac
  7957. ld_shlibs=yes
  7958. if test "$with_gnu_ld" = yes; then
  7959. # If archive_cmds runs LD, not CC, wlarc should be empty
  7960. wlarc='${wl}'
  7961. # Set some defaults for GNU ld with shared library support. These
  7962. # are reset later if shared libraries are not supported. Putting them
  7963. # here allows them to be overridden if necessary.
  7964. runpath_var=LD_RUN_PATH
  7965. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  7966. export_dynamic_flag_spec='${wl}--export-dynamic'
  7967. # ancient GNU ld didn't support --whole-archive et. al.
  7968. if $LD --help 2>&1 | $GREP 'no-whole-archive' > /dev/null; then
  7969. whole_archive_flag_spec="$wlarc"'--whole-archive$convenience '"$wlarc"'--no-whole-archive'
  7970. else
  7971. whole_archive_flag_spec=
  7972. fi
  7973. supports_anon_versioning=no
  7974. case `$LD -v 2>&1` in
  7975. *\ [01].* | *\ 2.[0-9].* | *\ 2.10.*) ;; # catch versions < 2.11
  7976. *\ 2.11.93.0.2\ *) supports_anon_versioning=yes ;; # RH7.3 ...
  7977. *\ 2.11.92.0.12\ *) supports_anon_versioning=yes ;; # Mandrake 8.2 ...
  7978. *\ 2.11.*) ;; # other 2.11 versions
  7979. *) supports_anon_versioning=yes ;;
  7980. esac
  7981. # See if GNU ld supports shared libraries.
  7982. case $host_os in
  7983. aix[3-9]*)
  7984. # On AIX/PPC, the GNU linker is very broken
  7985. if test "$host_cpu" != ia64; then
  7986. ld_shlibs=no
  7987. cat <<_LT_EOF 1>&2
  7988. *** Warning: the GNU linker, at least up to release 2.9.1, is reported
  7989. *** to be unable to reliably create shared libraries on AIX.
  7990. *** Therefore, libtool is disabling shared libraries support. If you
  7991. *** really care for shared libraries, you may want to modify your PATH
  7992. *** so that a non-GNU linker is found, and then restart.
  7993. _LT_EOF
  7994. fi
  7995. ;;
  7996. amigaos*)
  7997. case $host_cpu in
  7998. powerpc)
  7999. # see comment about AmigaOS4 .so support
  8000. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8001. archive_expsym_cmds=''
  8002. ;;
  8003. m68k)
  8004. 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)'
  8005. hardcode_libdir_flag_spec='-L$libdir'
  8006. hardcode_minus_L=yes
  8007. ;;
  8008. esac
  8009. ;;
  8010. beos*)
  8011. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8012. allow_undefined_flag=unsupported
  8013. # Joseph Beckenbach <jrb3@best.com> says some releases of gcc
  8014. # support --undefined. This deserves some investigation. FIXME
  8015. archive_cmds='$CC -nostart $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8016. else
  8017. ld_shlibs=no
  8018. fi
  8019. ;;
  8020. cygwin* | mingw* | pw32* | cegcc*)
  8021. # _LT_TAGVAR(hardcode_libdir_flag_spec, ) is actually meaningless,
  8022. # as there is no search path for DLLs.
  8023. hardcode_libdir_flag_spec='-L$libdir'
  8024. allow_undefined_flag=unsupported
  8025. always_export_symbols=no
  8026. enable_shared_with_static_runtimes=yes
  8027. export_symbols_cmds='$NM $libobjs $convenience | $global_symbol_pipe | $SED -e '\''/^[BCDGRS][ ]/s/.*[ ]\([^ ]*\)/\1 DATA/'\'' | $SED -e '\''/^[AITW][ ]/s/.*[ ]//'\'' | sort | uniq > $export_symbols'
  8028. if $LD --help 2>&1 | $GREP 'auto-import' > /dev/null; then
  8029. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8030. # If the export-symbols file already is a .def file (1st line
  8031. # is EXPORTS), use it as is; otherwise, prepend...
  8032. archive_expsym_cmds='if test "x`$SED 1q $export_symbols`" = xEXPORTS; then
  8033. cp $export_symbols $output_objdir/$soname.def;
  8034. else
  8035. echo EXPORTS > $output_objdir/$soname.def;
  8036. cat $export_symbols >> $output_objdir/$soname.def;
  8037. fi~
  8038. $CC -shared $output_objdir/$soname.def $libobjs $deplibs $compiler_flags -o $output_objdir/$soname ${wl}--enable-auto-image-base -Xlinker --out-implib -Xlinker $lib'
  8039. else
  8040. ld_shlibs=no
  8041. fi
  8042. ;;
  8043. interix[3-9]*)
  8044. hardcode_direct=no
  8045. hardcode_shlibpath_var=no
  8046. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8047. export_dynamic_flag_spec='${wl}-E'
  8048. # Hack: On Interix 3.x, we cannot compile PIC because of a broken gcc.
  8049. # Instead, shared libraries are loaded at an image base (0x10000000 by
  8050. # default) and relocated if they conflict, which is a slow very memory
  8051. # consuming and fragmenting process. To avoid this, we pick a random,
  8052. # 256 KiB-aligned image base between 0x50000000 and 0x6FFC0000 at link
  8053. # time. Moving up from 0x10000000 also allows more sbrk(2) space.
  8054. archive_cmds='$CC -shared $pic_flag $libobjs $deplibs $compiler_flags ${wl}-h,$soname ${wl}--image-base,`expr ${RANDOM-$$} % 4096 / 2 \* 262144 + 1342177280` -o $lib'
  8055. 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'
  8056. ;;
  8057. gnu* | linux* | tpf* | k*bsd*-gnu)
  8058. tmp_diet=no
  8059. if test "$host_os" = linux-dietlibc; then
  8060. case $cc_basename in
  8061. diet\ *) tmp_diet=yes;; # linux-dietlibc with static linking (!diet-dyn)
  8062. esac
  8063. fi
  8064. if $LD --help 2>&1 | $EGREP ': supported targets:.* elf' > /dev/null \
  8065. && test "$tmp_diet" = no
  8066. then
  8067. tmp_addflag=
  8068. tmp_sharedflag='-shared'
  8069. case $cc_basename,$host_cpu in
  8070. pgcc*) # Portland Group C compiler
  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'
  8073. ;;
  8074. pgf77* | pgf90* | pgf95*) # Portland Group f77 and f90 compilers
  8075. 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'
  8076. tmp_addflag=' $pic_flag -Mnomain' ;;
  8077. ecc*,ia64* | icc*,ia64*) # Intel C compiler on ia64
  8078. tmp_addflag=' -i_dynamic' ;;
  8079. efc*,ia64* | ifort*,ia64*) # Intel Fortran compiler on ia64
  8080. tmp_addflag=' -i_dynamic -nofor_main' ;;
  8081. ifc* | ifort*) # Intel Fortran compiler
  8082. tmp_addflag=' -nofor_main' ;;
  8083. lf95*) # Lahey Fortran 8.1
  8084. whole_archive_flag_spec=
  8085. tmp_sharedflag='--shared' ;;
  8086. xl[cC]*) # IBM XL C 8.0 on PPC (deal with xlf below)
  8087. tmp_sharedflag='-qmkshrobj'
  8088. tmp_addflag= ;;
  8089. esac
  8090. case `$CC -V 2>&1 | sed 5q` in
  8091. *Sun\ C*) # Sun C 5.9
  8092. 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'
  8093. compiler_needs_object=yes
  8094. tmp_sharedflag='-G' ;;
  8095. *Sun\ F*) # Sun Fortran 8.3
  8096. tmp_sharedflag='-G' ;;
  8097. esac
  8098. archive_cmds='$CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8099. if test "x$supports_anon_versioning" = xyes; then
  8100. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8101. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8102. echo "local: *; };" >> $output_objdir/$libname.ver~
  8103. $CC '"$tmp_sharedflag""$tmp_addflag"' $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-version-script ${wl}$output_objdir/$libname.ver -o $lib'
  8104. fi
  8105. case $cc_basename in
  8106. xlf*)
  8107. # IBM XL Fortran 10.1 on PPC cannot create shared libs itself
  8108. whole_archive_flag_spec='--whole-archive$convenience --no-whole-archive'
  8109. hardcode_libdir_flag_spec=
  8110. hardcode_libdir_flag_spec_ld='-rpath $libdir'
  8111. archive_cmds='$LD -shared $libobjs $deplibs $compiler_flags -soname $soname -o $lib'
  8112. if test "x$supports_anon_versioning" = xyes; then
  8113. archive_expsym_cmds='echo "{ global:" > $output_objdir/$libname.ver~
  8114. cat $export_symbols | sed -e "s/\(.*\)/\1;/" >> $output_objdir/$libname.ver~
  8115. echo "local: *; };" >> $output_objdir/$libname.ver~
  8116. $LD -shared $libobjs $deplibs $compiler_flags -soname $soname -version-script $output_objdir/$libname.ver -o $lib'
  8117. fi
  8118. ;;
  8119. esac
  8120. else
  8121. ld_shlibs=no
  8122. fi
  8123. ;;
  8124. netbsd*)
  8125. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8126. archive_cmds='$LD -Bshareable $libobjs $deplibs $linker_flags -o $lib'
  8127. wlarc=
  8128. else
  8129. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8130. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8131. fi
  8132. ;;
  8133. solaris*)
  8134. if $LD -v 2>&1 | $GREP 'BFD 2\.8' > /dev/null; then
  8135. ld_shlibs=no
  8136. cat <<_LT_EOF 1>&2
  8137. *** Warning: The releases 2.8.* of the GNU linker cannot reliably
  8138. *** create shared libraries on Solaris systems. Therefore, libtool
  8139. *** is disabling shared libraries support. We urge you to upgrade GNU
  8140. *** binutils to release 2.9.1 or newer. Another option is to modify
  8141. *** your PATH or compiler configuration so that the native linker is
  8142. *** used, and then restart.
  8143. _LT_EOF
  8144. elif $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8145. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8146. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8147. else
  8148. ld_shlibs=no
  8149. fi
  8150. ;;
  8151. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX*)
  8152. case `$LD -v 2>&1` in
  8153. *\ [01].* | *\ 2.[0-9].* | *\ 2.1[0-5].*)
  8154. ld_shlibs=no
  8155. cat <<_LT_EOF 1>&2
  8156. *** Warning: Releases of the GNU linker prior to 2.16.91.0.3 can not
  8157. *** reliably create shared libraries on SCO systems. Therefore, libtool
  8158. *** is disabling shared libraries support. We urge you to upgrade GNU
  8159. *** binutils to release 2.16.91.0.3 or newer. Another option is to modify
  8160. *** your PATH or compiler configuration so that the native linker is
  8161. *** used, and then restart.
  8162. _LT_EOF
  8163. ;;
  8164. *)
  8165. # For security reasons, it is highly recommended that you always
  8166. # use absolute paths for naming shared libraries, and exclude the
  8167. # DT_RUNPATH tag from executables and libraries. But doing so
  8168. # requires that you compile everything twice, which is a pain.
  8169. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8170. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8171. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8172. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8173. else
  8174. ld_shlibs=no
  8175. fi
  8176. ;;
  8177. esac
  8178. ;;
  8179. sunos4*)
  8180. archive_cmds='$LD -assert pure-text -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8181. wlarc=
  8182. hardcode_direct=yes
  8183. hardcode_shlibpath_var=no
  8184. ;;
  8185. *)
  8186. if $LD --help 2>&1 | $GREP ': supported targets:.* elf' > /dev/null; then
  8187. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8188. archive_expsym_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname ${wl}-retain-symbols-file $wl$export_symbols -o $lib'
  8189. else
  8190. ld_shlibs=no
  8191. fi
  8192. ;;
  8193. esac
  8194. if test "$ld_shlibs" = no; then
  8195. runpath_var=
  8196. hardcode_libdir_flag_spec=
  8197. export_dynamic_flag_spec=
  8198. whole_archive_flag_spec=
  8199. fi
  8200. else
  8201. # PORTME fill in a description of your system's linker (not GNU ld)
  8202. case $host_os in
  8203. aix3*)
  8204. allow_undefined_flag=unsupported
  8205. always_export_symbols=yes
  8206. 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'
  8207. # Note: this linker hardcodes the directories in LIBPATH if there
  8208. # are no directories specified by -L.
  8209. hardcode_minus_L=yes
  8210. if test "$GCC" = yes && test -z "$lt_prog_compiler_static"; then
  8211. # Neither direct hardcoding nor static linking is supported with a
  8212. # broken collect2.
  8213. hardcode_direct=unsupported
  8214. fi
  8215. ;;
  8216. aix[4-9]*)
  8217. if test "$host_cpu" = ia64; then
  8218. # On IA64, the linker does run time linking by default, so we don't
  8219. # have to do anything special.
  8220. aix_use_runtimelinking=no
  8221. exp_sym_flag='-Bexport'
  8222. no_entry_flag=""
  8223. else
  8224. # If we're using GNU nm, then we don't want the "-C" option.
  8225. # -C means demangle to AIX nm, but means don't demangle with GNU nm
  8226. if $NM -V 2>&1 | $GREP 'GNU' > /dev/null; then
  8227. 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'
  8228. else
  8229. 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'
  8230. fi
  8231. aix_use_runtimelinking=no
  8232. # Test if we are trying to use run time linking or normal
  8233. # AIX style linking. If -brtl is somewhere in LDFLAGS, we
  8234. # need to do runtime linking.
  8235. case $host_os in aix4.[23]|aix4.[23].*|aix[5-9]*)
  8236. for ld_flag in $LDFLAGS; do
  8237. if (test $ld_flag = "-brtl" || test $ld_flag = "-Wl,-brtl"); then
  8238. aix_use_runtimelinking=yes
  8239. break
  8240. fi
  8241. done
  8242. ;;
  8243. esac
  8244. exp_sym_flag='-bexport'
  8245. no_entry_flag='-bnoentry'
  8246. fi
  8247. # When large executables or shared objects are built, AIX ld can
  8248. # have problems creating the table of contents. If linking a library
  8249. # or program results in "error TOC overflow" add -mminimal-toc to
  8250. # CXXFLAGS/CFLAGS for g++/gcc. In the cases where that is not
  8251. # enough to fix the problem, add -Wl,-bbigtoc to LDFLAGS.
  8252. archive_cmds=''
  8253. hardcode_direct=yes
  8254. hardcode_direct_absolute=yes
  8255. hardcode_libdir_separator=':'
  8256. link_all_deplibs=yes
  8257. file_list_spec='${wl}-f,'
  8258. if test "$GCC" = yes; then
  8259. case $host_os in aix4.[012]|aix4.[012].*)
  8260. # We only want to do this on AIX 4.2 and lower, the check
  8261. # below for broken collect2 doesn't work under 4.3+
  8262. collect2name=`${CC} -print-prog-name=collect2`
  8263. if test -f "$collect2name" &&
  8264. strings "$collect2name" | $GREP resolve_lib_name >/dev/null
  8265. then
  8266. # We have reworked collect2
  8267. :
  8268. else
  8269. # We have old collect2
  8270. hardcode_direct=unsupported
  8271. # It fails to find uninstalled libraries when the uninstalled
  8272. # path is not listed in the libpath. Setting hardcode_minus_L
  8273. # to unsupported forces relinking
  8274. hardcode_minus_L=yes
  8275. hardcode_libdir_flag_spec='-L$libdir'
  8276. hardcode_libdir_separator=
  8277. fi
  8278. ;;
  8279. esac
  8280. shared_flag='-shared'
  8281. if test "$aix_use_runtimelinking" = yes; then
  8282. shared_flag="$shared_flag "'${wl}-G'
  8283. fi
  8284. else
  8285. # not using gcc
  8286. if test "$host_cpu" = ia64; then
  8287. # VisualAge C++, Version 5.5 for AIX 5L for IA-64, Beta 3 Release
  8288. # chokes on -Wl,-G. The following line is correct:
  8289. shared_flag='-G'
  8290. else
  8291. if test "$aix_use_runtimelinking" = yes; then
  8292. shared_flag='${wl}-G'
  8293. else
  8294. shared_flag='${wl}-bM:SRE'
  8295. fi
  8296. fi
  8297. fi
  8298. export_dynamic_flag_spec='${wl}-bexpall'
  8299. # It seems that -bexpall does not export symbols beginning with
  8300. # underscore (_), so it is better to generate a list of symbols to export.
  8301. always_export_symbols=yes
  8302. if test "$aix_use_runtimelinking" = yes; then
  8303. # Warning - without using the other runtime loading flags (-brtl),
  8304. # -berok will link without error, but may produce a broken library.
  8305. allow_undefined_flag='-berok'
  8306. # Determine the default libpath from the value encoded in an
  8307. # empty executable.
  8308. cat >conftest.$ac_ext <<_ACEOF
  8309. /* confdefs.h. */
  8310. _ACEOF
  8311. cat confdefs.h >>conftest.$ac_ext
  8312. cat >>conftest.$ac_ext <<_ACEOF
  8313. /* end confdefs.h. */
  8314. int
  8315. main ()
  8316. {
  8317. ;
  8318. return 0;
  8319. }
  8320. _ACEOF
  8321. rm -f conftest.$ac_objext conftest$ac_exeext
  8322. if { (ac_try="$ac_link"
  8323. case "(($ac_try" in
  8324. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8325. *) ac_try_echo=$ac_try;;
  8326. esac
  8327. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8328. $as_echo "$ac_try_echo") >&5
  8329. (eval "$ac_link") 2>conftest.er1
  8330. ac_status=$?
  8331. grep -v '^ *+' conftest.er1 >conftest.err
  8332. rm -f conftest.er1
  8333. cat conftest.err >&5
  8334. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8335. (exit $ac_status); } && {
  8336. test -z "$ac_c_werror_flag" ||
  8337. test ! -s conftest.err
  8338. } && test -s conftest$ac_exeext && {
  8339. test "$cross_compiling" = yes ||
  8340. $as_test_x conftest$ac_exeext
  8341. }; then
  8342. lt_aix_libpath_sed='
  8343. /Import File Strings/,/^$/ {
  8344. /^0/ {
  8345. s/^0 *\(.*\)$/\1/
  8346. p
  8347. }
  8348. }'
  8349. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8350. # Check for a 64-bit object if we didn't find anything.
  8351. if test -z "$aix_libpath"; then
  8352. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8353. fi
  8354. else
  8355. $as_echo "$as_me: failed program was:" >&5
  8356. sed 's/^/| /' conftest.$ac_ext >&5
  8357. fi
  8358. rm -rf conftest.dSYM
  8359. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8360. conftest$ac_exeext conftest.$ac_ext
  8361. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  8362. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8363. 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"
  8364. else
  8365. if test "$host_cpu" = ia64; then
  8366. hardcode_libdir_flag_spec='${wl}-R $libdir:/usr/lib:/lib'
  8367. allow_undefined_flag="-z nodefs"
  8368. 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"
  8369. else
  8370. # Determine the default libpath from the value encoded in an
  8371. # empty executable.
  8372. cat >conftest.$ac_ext <<_ACEOF
  8373. /* confdefs.h. */
  8374. _ACEOF
  8375. cat confdefs.h >>conftest.$ac_ext
  8376. cat >>conftest.$ac_ext <<_ACEOF
  8377. /* end confdefs.h. */
  8378. int
  8379. main ()
  8380. {
  8381. ;
  8382. return 0;
  8383. }
  8384. _ACEOF
  8385. rm -f conftest.$ac_objext conftest$ac_exeext
  8386. if { (ac_try="$ac_link"
  8387. case "(($ac_try" in
  8388. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8389. *) ac_try_echo=$ac_try;;
  8390. esac
  8391. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8392. $as_echo "$ac_try_echo") >&5
  8393. (eval "$ac_link") 2>conftest.er1
  8394. ac_status=$?
  8395. grep -v '^ *+' conftest.er1 >conftest.err
  8396. rm -f conftest.er1
  8397. cat conftest.err >&5
  8398. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8399. (exit $ac_status); } && {
  8400. test -z "$ac_c_werror_flag" ||
  8401. test ! -s conftest.err
  8402. } && test -s conftest$ac_exeext && {
  8403. test "$cross_compiling" = yes ||
  8404. $as_test_x conftest$ac_exeext
  8405. }; then
  8406. lt_aix_libpath_sed='
  8407. /Import File Strings/,/^$/ {
  8408. /^0/ {
  8409. s/^0 *\(.*\)$/\1/
  8410. p
  8411. }
  8412. }'
  8413. aix_libpath=`dump -H conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8414. # Check for a 64-bit object if we didn't find anything.
  8415. if test -z "$aix_libpath"; then
  8416. aix_libpath=`dump -HX64 conftest$ac_exeext 2>/dev/null | $SED -n -e "$lt_aix_libpath_sed"`
  8417. fi
  8418. else
  8419. $as_echo "$as_me: failed program was:" >&5
  8420. sed 's/^/| /' conftest.$ac_ext >&5
  8421. fi
  8422. rm -rf conftest.dSYM
  8423. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8424. conftest$ac_exeext conftest.$ac_ext
  8425. if test -z "$aix_libpath"; then aix_libpath="/usr/lib:/lib"; fi
  8426. hardcode_libdir_flag_spec='${wl}-blibpath:$libdir:'"$aix_libpath"
  8427. # Warning - without using the other run time loading flags,
  8428. # -berok will link without error, but may produce a broken library.
  8429. no_undefined_flag=' ${wl}-bernotok'
  8430. allow_undefined_flag=' ${wl}-berok'
  8431. # Exported symbols can be pulled into shared objects from archives
  8432. whole_archive_flag_spec='$convenience'
  8433. archive_cmds_need_lc=yes
  8434. # This is similar to how AIX traditionally builds its shared libraries.
  8435. 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'
  8436. fi
  8437. fi
  8438. ;;
  8439. amigaos*)
  8440. case $host_cpu in
  8441. powerpc)
  8442. # see comment about AmigaOS4 .so support
  8443. archive_cmds='$CC -shared $libobjs $deplibs $compiler_flags ${wl}-soname $wl$soname -o $lib'
  8444. archive_expsym_cmds=''
  8445. ;;
  8446. m68k)
  8447. 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)'
  8448. hardcode_libdir_flag_spec='-L$libdir'
  8449. hardcode_minus_L=yes
  8450. ;;
  8451. esac
  8452. ;;
  8453. bsdi[45]*)
  8454. export_dynamic_flag_spec=-rdynamic
  8455. ;;
  8456. cygwin* | mingw* | pw32* | cegcc*)
  8457. # When not using gcc, we currently assume that we are using
  8458. # Microsoft Visual C++.
  8459. # hardcode_libdir_flag_spec is actually meaningless, as there is
  8460. # no search path for DLLs.
  8461. hardcode_libdir_flag_spec=' '
  8462. allow_undefined_flag=unsupported
  8463. # Tell ltmain to make .lib files, not .a files.
  8464. libext=lib
  8465. # Tell ltmain to make .dll files, not .so files.
  8466. shrext_cmds=".dll"
  8467. # FIXME: Setting linknames here is a bad hack.
  8468. archive_cmds='$CC -o $lib $libobjs $compiler_flags `$ECHO "X$deplibs" | $Xsed -e '\''s/ -lc$//'\''` -link -dll~linknames='
  8469. # The linker will automatically build a .lib file if we build a DLL.
  8470. old_archive_from_new_cmds='true'
  8471. # FIXME: Should let the user specify the lib program.
  8472. old_archive_cmds='lib -OUT:$oldlib$oldobjs$old_deplibs'
  8473. fix_srcfile_path='`cygpath -w "$srcfile"`'
  8474. enable_shared_with_static_runtimes=yes
  8475. ;;
  8476. darwin* | rhapsody*)
  8477. archive_cmds_need_lc=no
  8478. hardcode_direct=no
  8479. hardcode_automatic=yes
  8480. hardcode_shlibpath_var=unsupported
  8481. whole_archive_flag_spec=''
  8482. link_all_deplibs=yes
  8483. allow_undefined_flag="$_lt_dar_allow_undefined"
  8484. case $cc_basename in
  8485. ifort*) _lt_dar_can_shared=yes ;;
  8486. *) _lt_dar_can_shared=$GCC ;;
  8487. esac
  8488. if test "$_lt_dar_can_shared" = "yes"; then
  8489. output_verbose_link_cmd=echo
  8490. archive_cmds="\$CC -dynamiclib \$allow_undefined_flag -o \$lib \$libobjs \$deplibs \$compiler_flags -install_name \$rpath/\$soname \$verstring $_lt_dar_single_mod${_lt_dsymutil}"
  8491. module_cmds="\$CC \$allow_undefined_flag -o \$lib -bundle \$libobjs \$deplibs \$compiler_flags${_lt_dsymutil}"
  8492. 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}"
  8493. 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}"
  8494. else
  8495. ld_shlibs=no
  8496. fi
  8497. ;;
  8498. dgux*)
  8499. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8500. hardcode_libdir_flag_spec='-L$libdir'
  8501. hardcode_shlibpath_var=no
  8502. ;;
  8503. freebsd1*)
  8504. ld_shlibs=no
  8505. ;;
  8506. # FreeBSD 2.2.[012] allows us to include c++rt0.o to get C++ constructor
  8507. # support. Future versions do this automatically, but an explicit c++rt0.o
  8508. # does not break anything, and helps significantly (at the cost of a little
  8509. # extra space).
  8510. freebsd2.2*)
  8511. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags /usr/lib/c++rt0.o'
  8512. hardcode_libdir_flag_spec='-R$libdir'
  8513. hardcode_direct=yes
  8514. hardcode_shlibpath_var=no
  8515. ;;
  8516. # Unfortunately, older versions of FreeBSD 2 do not have this feature.
  8517. freebsd2*)
  8518. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8519. hardcode_direct=yes
  8520. hardcode_minus_L=yes
  8521. hardcode_shlibpath_var=no
  8522. ;;
  8523. # FreeBSD 3 and greater uses gcc -shared to do shared libraries.
  8524. freebsd* | dragonfly*)
  8525. archive_cmds='$CC -shared -o $lib $libobjs $deplibs $compiler_flags'
  8526. hardcode_libdir_flag_spec='-R$libdir'
  8527. hardcode_direct=yes
  8528. hardcode_shlibpath_var=no
  8529. ;;
  8530. hpux9*)
  8531. if test "$GCC" = yes; then
  8532. 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'
  8533. else
  8534. 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'
  8535. fi
  8536. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8537. hardcode_libdir_separator=:
  8538. hardcode_direct=yes
  8539. # hardcode_minus_L: Not really in the search PATH,
  8540. # but as the default location of the library.
  8541. hardcode_minus_L=yes
  8542. export_dynamic_flag_spec='${wl}-E'
  8543. ;;
  8544. hpux10*)
  8545. if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  8546. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8547. else
  8548. archive_cmds='$LD -b +h $soname +b $install_libdir -o $lib $libobjs $deplibs $linker_flags'
  8549. fi
  8550. if test "$with_gnu_ld" = no; then
  8551. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8552. hardcode_libdir_flag_spec_ld='+b $libdir'
  8553. hardcode_libdir_separator=:
  8554. hardcode_direct=yes
  8555. hardcode_direct_absolute=yes
  8556. export_dynamic_flag_spec='${wl}-E'
  8557. # hardcode_minus_L: Not really in the search PATH,
  8558. # but as the default location of the library.
  8559. hardcode_minus_L=yes
  8560. fi
  8561. ;;
  8562. hpux11*)
  8563. if test "$GCC" = yes -a "$with_gnu_ld" = no; then
  8564. case $host_cpu in
  8565. hppa*64*)
  8566. archive_cmds='$CC -shared ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8567. ;;
  8568. ia64*)
  8569. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8570. ;;
  8571. *)
  8572. archive_cmds='$CC -shared -fPIC ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8573. ;;
  8574. esac
  8575. else
  8576. case $host_cpu in
  8577. hppa*64*)
  8578. archive_cmds='$CC -b ${wl}+h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8579. ;;
  8580. ia64*)
  8581. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+nodefaultrpath -o $lib $libobjs $deplibs $compiler_flags'
  8582. ;;
  8583. *)
  8584. archive_cmds='$CC -b ${wl}+h ${wl}$soname ${wl}+b ${wl}$install_libdir -o $lib $libobjs $deplibs $compiler_flags'
  8585. ;;
  8586. esac
  8587. fi
  8588. if test "$with_gnu_ld" = no; then
  8589. hardcode_libdir_flag_spec='${wl}+b ${wl}$libdir'
  8590. hardcode_libdir_separator=:
  8591. case $host_cpu in
  8592. hppa*64*|ia64*)
  8593. hardcode_direct=no
  8594. hardcode_shlibpath_var=no
  8595. ;;
  8596. *)
  8597. hardcode_direct=yes
  8598. hardcode_direct_absolute=yes
  8599. export_dynamic_flag_spec='${wl}-E'
  8600. # hardcode_minus_L: Not really in the search PATH,
  8601. # but as the default location of the library.
  8602. hardcode_minus_L=yes
  8603. ;;
  8604. esac
  8605. fi
  8606. ;;
  8607. irix5* | irix6* | nonstopux*)
  8608. if test "$GCC" = yes; then
  8609. 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'
  8610. # Try to use the -exported_symbol ld option, if it does not
  8611. # work, assume that -exports_file does not work either and
  8612. # implicitly export all symbols.
  8613. save_LDFLAGS="$LDFLAGS"
  8614. LDFLAGS="$LDFLAGS -shared ${wl}-exported_symbol ${wl}foo ${wl}-update_registry ${wl}/dev/null"
  8615. cat >conftest.$ac_ext <<_ACEOF
  8616. int foo(void) {}
  8617. _ACEOF
  8618. rm -f conftest.$ac_objext conftest$ac_exeext
  8619. if { (ac_try="$ac_link"
  8620. case "(($ac_try" in
  8621. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  8622. *) ac_try_echo=$ac_try;;
  8623. esac
  8624. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  8625. $as_echo "$ac_try_echo") >&5
  8626. (eval "$ac_link") 2>conftest.er1
  8627. ac_status=$?
  8628. grep -v '^ *+' conftest.er1 >conftest.err
  8629. rm -f conftest.er1
  8630. cat conftest.err >&5
  8631. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8632. (exit $ac_status); } && {
  8633. test -z "$ac_c_werror_flag" ||
  8634. test ! -s conftest.err
  8635. } && test -s conftest$ac_exeext && {
  8636. test "$cross_compiling" = yes ||
  8637. $as_test_x conftest$ac_exeext
  8638. }; then
  8639. 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'
  8640. else
  8641. $as_echo "$as_me: failed program was:" >&5
  8642. sed 's/^/| /' conftest.$ac_ext >&5
  8643. fi
  8644. rm -rf conftest.dSYM
  8645. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  8646. conftest$ac_exeext conftest.$ac_ext
  8647. LDFLAGS="$save_LDFLAGS"
  8648. else
  8649. 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'
  8650. 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'
  8651. fi
  8652. archive_cmds_need_lc='no'
  8653. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8654. hardcode_libdir_separator=:
  8655. inherit_rpath=yes
  8656. link_all_deplibs=yes
  8657. ;;
  8658. netbsd*)
  8659. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  8660. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags' # a.out
  8661. else
  8662. archive_cmds='$LD -shared -o $lib $libobjs $deplibs $linker_flags' # ELF
  8663. fi
  8664. hardcode_libdir_flag_spec='-R$libdir'
  8665. hardcode_direct=yes
  8666. hardcode_shlibpath_var=no
  8667. ;;
  8668. newsos6)
  8669. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8670. hardcode_direct=yes
  8671. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8672. hardcode_libdir_separator=:
  8673. hardcode_shlibpath_var=no
  8674. ;;
  8675. *nto* | *qnx*)
  8676. ;;
  8677. openbsd*)
  8678. if test -f /usr/libexec/ld.so; then
  8679. hardcode_direct=yes
  8680. hardcode_shlibpath_var=no
  8681. hardcode_direct_absolute=yes
  8682. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  8683. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8684. archive_expsym_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags ${wl}-retain-symbols-file,$export_symbols'
  8685. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8686. export_dynamic_flag_spec='${wl}-E'
  8687. else
  8688. case $host_os in
  8689. openbsd[01].* | openbsd2.[0-7] | openbsd2.[0-7].*)
  8690. archive_cmds='$LD -Bshareable -o $lib $libobjs $deplibs $linker_flags'
  8691. hardcode_libdir_flag_spec='-R$libdir'
  8692. ;;
  8693. *)
  8694. archive_cmds='$CC -shared $pic_flag -o $lib $libobjs $deplibs $compiler_flags'
  8695. hardcode_libdir_flag_spec='${wl}-rpath,$libdir'
  8696. ;;
  8697. esac
  8698. fi
  8699. else
  8700. ld_shlibs=no
  8701. fi
  8702. ;;
  8703. os2*)
  8704. hardcode_libdir_flag_spec='-L$libdir'
  8705. hardcode_minus_L=yes
  8706. allow_undefined_flag=unsupported
  8707. 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'
  8708. old_archive_from_new_cmds='emximp -o $output_objdir/$libname.a $output_objdir/$libname.def'
  8709. ;;
  8710. osf3*)
  8711. if test "$GCC" = yes; then
  8712. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8713. 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'
  8714. else
  8715. allow_undefined_flag=' -expect_unresolved \*'
  8716. 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'
  8717. fi
  8718. archive_cmds_need_lc='no'
  8719. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8720. hardcode_libdir_separator=:
  8721. ;;
  8722. osf4* | osf5*) # as osf3* with the addition of -msym flag
  8723. if test "$GCC" = yes; then
  8724. allow_undefined_flag=' ${wl}-expect_unresolved ${wl}\*'
  8725. 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'
  8726. hardcode_libdir_flag_spec='${wl}-rpath ${wl}$libdir'
  8727. else
  8728. allow_undefined_flag=' -expect_unresolved \*'
  8729. 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'
  8730. 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~
  8731. $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'
  8732. # Both c and cxx compiler support -rpath directly
  8733. hardcode_libdir_flag_spec='-rpath $libdir'
  8734. fi
  8735. archive_cmds_need_lc='no'
  8736. hardcode_libdir_separator=:
  8737. ;;
  8738. solaris*)
  8739. no_undefined_flag=' -z defs'
  8740. if test "$GCC" = yes; then
  8741. wlarc='${wl}'
  8742. archive_cmds='$CC -shared ${wl}-z ${wl}text ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags'
  8743. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8744. $CC -shared ${wl}-z ${wl}text ${wl}-M ${wl}$lib.exp ${wl}-h ${wl}$soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8745. else
  8746. case `$CC -V 2>&1` in
  8747. *"Compilers 5.0"*)
  8748. wlarc=''
  8749. archive_cmds='$LD -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8750. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8751. $LD -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $linker_flags~$RM $lib.exp'
  8752. ;;
  8753. *)
  8754. wlarc='${wl}'
  8755. archive_cmds='$CC -G${allow_undefined_flag} -h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8756. archive_expsym_cmds='echo "{ global:" > $lib.exp~cat $export_symbols | $SED -e "s/\(.*\)/\1;/" >> $lib.exp~echo "local: *; };" >> $lib.exp~
  8757. $CC -G${allow_undefined_flag} -M $lib.exp -h $soname -o $lib $libobjs $deplibs $compiler_flags~$RM $lib.exp'
  8758. ;;
  8759. esac
  8760. fi
  8761. hardcode_libdir_flag_spec='-R$libdir'
  8762. hardcode_shlibpath_var=no
  8763. case $host_os in
  8764. solaris2.[0-5] | solaris2.[0-5].*) ;;
  8765. *)
  8766. # The compiler driver will combine and reorder linker options,
  8767. # but understands `-z linker_flag'. GCC discards it without `$wl',
  8768. # but is careful enough not to reorder.
  8769. # Supported since Solaris 2.6 (maybe 2.5.1?)
  8770. if test "$GCC" = yes; then
  8771. whole_archive_flag_spec='${wl}-z ${wl}allextract$convenience ${wl}-z ${wl}defaultextract'
  8772. else
  8773. whole_archive_flag_spec='-z allextract$convenience -z defaultextract'
  8774. fi
  8775. ;;
  8776. esac
  8777. link_all_deplibs=yes
  8778. ;;
  8779. sunos4*)
  8780. if test "x$host_vendor" = xsequent; then
  8781. # Use $CC to link under sequent, because it throws in some extra .o
  8782. # files that make .init and .fini sections work.
  8783. archive_cmds='$CC -G ${wl}-h $soname -o $lib $libobjs $deplibs $compiler_flags'
  8784. else
  8785. archive_cmds='$LD -assert pure-text -Bstatic -o $lib $libobjs $deplibs $linker_flags'
  8786. fi
  8787. hardcode_libdir_flag_spec='-L$libdir'
  8788. hardcode_direct=yes
  8789. hardcode_minus_L=yes
  8790. hardcode_shlibpath_var=no
  8791. ;;
  8792. sysv4)
  8793. case $host_vendor in
  8794. sni)
  8795. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8796. hardcode_direct=yes # is this really true???
  8797. ;;
  8798. siemens)
  8799. ## LD is ld it makes a PLAMLIB
  8800. ## CC just makes a GrossModule.
  8801. archive_cmds='$LD -G -o $lib $libobjs $deplibs $linker_flags'
  8802. reload_cmds='$CC -r -o $output$reload_objs'
  8803. hardcode_direct=no
  8804. ;;
  8805. motorola)
  8806. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8807. hardcode_direct=no #Motorola manual says yes, but my tests say they lie
  8808. ;;
  8809. esac
  8810. runpath_var='LD_RUN_PATH'
  8811. hardcode_shlibpath_var=no
  8812. ;;
  8813. sysv4.3*)
  8814. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8815. hardcode_shlibpath_var=no
  8816. export_dynamic_flag_spec='-Bexport'
  8817. ;;
  8818. sysv4*MP*)
  8819. if test -d /usr/nec; then
  8820. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8821. hardcode_shlibpath_var=no
  8822. runpath_var=LD_RUN_PATH
  8823. hardcode_runpath_var=yes
  8824. ld_shlibs=yes
  8825. fi
  8826. ;;
  8827. sysv4*uw2* | sysv5OpenUNIX* | sysv5UnixWare7.[01].[10]* | unixware7* | sco3.2v5.0.[024]*)
  8828. no_undefined_flag='${wl}-z,text'
  8829. archive_cmds_need_lc=no
  8830. hardcode_shlibpath_var=no
  8831. runpath_var='LD_RUN_PATH'
  8832. if test "$GCC" = yes; then
  8833. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8834. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8835. else
  8836. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8837. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8838. fi
  8839. ;;
  8840. sysv5* | sco3.2v5* | sco5v6*)
  8841. # Note: We can NOT use -z defs as we might desire, because we do not
  8842. # link with -lc, and that would cause any symbols used from libc to
  8843. # always be unresolved, which means just about no library would
  8844. # ever link correctly. If we're not using GNU ld we use -z text
  8845. # though, which does catch some bad symbols but isn't as heavy-handed
  8846. # as -z defs.
  8847. no_undefined_flag='${wl}-z,text'
  8848. allow_undefined_flag='${wl}-z,nodefs'
  8849. archive_cmds_need_lc=no
  8850. hardcode_shlibpath_var=no
  8851. hardcode_libdir_flag_spec='${wl}-R,$libdir'
  8852. hardcode_libdir_separator=':'
  8853. link_all_deplibs=yes
  8854. export_dynamic_flag_spec='${wl}-Bexport'
  8855. runpath_var='LD_RUN_PATH'
  8856. if test "$GCC" = yes; then
  8857. archive_cmds='$CC -shared ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8858. archive_expsym_cmds='$CC -shared ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8859. else
  8860. archive_cmds='$CC -G ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8861. archive_expsym_cmds='$CC -G ${wl}-Bexport:$export_symbols ${wl}-h,$soname -o $lib $libobjs $deplibs $compiler_flags'
  8862. fi
  8863. ;;
  8864. uts4*)
  8865. archive_cmds='$LD -G -h $soname -o $lib $libobjs $deplibs $linker_flags'
  8866. hardcode_libdir_flag_spec='-L$libdir'
  8867. hardcode_shlibpath_var=no
  8868. ;;
  8869. *)
  8870. ld_shlibs=no
  8871. ;;
  8872. esac
  8873. if test x$host_vendor = xsni; then
  8874. case $host in
  8875. sysv4 | sysv4.2uw2* | sysv4.3* | sysv5*)
  8876. export_dynamic_flag_spec='${wl}-Blargedynsym'
  8877. ;;
  8878. esac
  8879. fi
  8880. fi
  8881. { $as_echo "$as_me:$LINENO: result: $ld_shlibs" >&5
  8882. $as_echo "$ld_shlibs" >&6; }
  8883. test "$ld_shlibs" = no && can_build_shared=no
  8884. with_gnu_ld=$with_gnu_ld
  8885. #
  8886. # Do we need to explicitly link libc?
  8887. #
  8888. case "x$archive_cmds_need_lc" in
  8889. x|xyes)
  8890. # Assume -lc should be added
  8891. archive_cmds_need_lc=yes
  8892. if test "$enable_shared" = yes && test "$GCC" = yes; then
  8893. case $archive_cmds in
  8894. *'~'*)
  8895. # FIXME: we may have to deal with multi-command sequences.
  8896. ;;
  8897. '$CC '*)
  8898. # Test whether the compiler implicitly links with -lc since on some
  8899. # systems, -lgcc has to come before -lc. If gcc already passes -lc
  8900. # to ld, don't add -lc before -lgcc.
  8901. { $as_echo "$as_me:$LINENO: checking whether -lc should be explicitly linked in" >&5
  8902. $as_echo_n "checking whether -lc should be explicitly linked in... " >&6; }
  8903. $RM conftest*
  8904. echo "$lt_simple_compile_test_code" > conftest.$ac_ext
  8905. if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
  8906. (eval $ac_compile) 2>&5
  8907. ac_status=$?
  8908. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8909. (exit $ac_status); } 2>conftest.err; then
  8910. soname=conftest
  8911. lib=conftest
  8912. libobjs=conftest.$ac_objext
  8913. deplibs=
  8914. wl=$lt_prog_compiler_wl
  8915. pic_flag=$lt_prog_compiler_pic
  8916. compiler_flags=-v
  8917. linker_flags=-v
  8918. verstring=
  8919. output_objdir=.
  8920. libname=conftest
  8921. lt_save_allow_undefined_flag=$allow_undefined_flag
  8922. allow_undefined_flag=
  8923. if { (eval echo "$as_me:$LINENO: \"$archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1\"") >&5
  8924. (eval $archive_cmds 2\>\&1 \| $GREP \" -lc \" \>/dev/null 2\>\&1) 2>&5
  8925. ac_status=$?
  8926. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  8927. (exit $ac_status); }
  8928. then
  8929. archive_cmds_need_lc=no
  8930. else
  8931. archive_cmds_need_lc=yes
  8932. fi
  8933. allow_undefined_flag=$lt_save_allow_undefined_flag
  8934. else
  8935. cat conftest.err 1>&5
  8936. fi
  8937. $RM conftest*
  8938. { $as_echo "$as_me:$LINENO: result: $archive_cmds_need_lc" >&5
  8939. $as_echo "$archive_cmds_need_lc" >&6; }
  8940. ;;
  8941. esac
  8942. fi
  8943. ;;
  8944. esac
  8945. { $as_echo "$as_me:$LINENO: checking dynamic linker characteristics" >&5
  8946. $as_echo_n "checking dynamic linker characteristics... " >&6; }
  8947. if test "$GCC" = yes; then
  8948. case $host_os in
  8949. darwin*) lt_awk_arg="/^libraries:/,/LR/" ;;
  8950. *) lt_awk_arg="/^libraries:/" ;;
  8951. esac
  8952. lt_search_path_spec=`$CC -print-search-dirs | awk $lt_awk_arg | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  8953. if $ECHO "$lt_search_path_spec" | $GREP ';' >/dev/null ; then
  8954. # if the path contains ";" then we assume it to be the separator
  8955. # otherwise default to the standard path separator (i.e. ":") - it is
  8956. # assumed that no part of a normal pathname contains ";" but that should
  8957. # okay in the real world where ";" in dirpaths is itself problematic.
  8958. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e 's/;/ /g'`
  8959. else
  8960. lt_search_path_spec=`$ECHO "$lt_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  8961. fi
  8962. # Ok, now we have the path, separated by spaces, we can step through it
  8963. # and add multilib dir if necessary.
  8964. lt_tmp_lt_search_path_spec=
  8965. lt_multi_os_dir=`$CC $CPPFLAGS $CFLAGS $LDFLAGS -print-multi-os-directory 2>/dev/null`
  8966. for lt_sys_path in $lt_search_path_spec; do
  8967. if test -d "$lt_sys_path/$lt_multi_os_dir"; then
  8968. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path/$lt_multi_os_dir"
  8969. else
  8970. test -d "$lt_sys_path" && \
  8971. lt_tmp_lt_search_path_spec="$lt_tmp_lt_search_path_spec $lt_sys_path"
  8972. fi
  8973. done
  8974. lt_search_path_spec=`$ECHO $lt_tmp_lt_search_path_spec | awk '
  8975. BEGIN {RS=" "; FS="/|\n";} {
  8976. lt_foo="";
  8977. lt_count=0;
  8978. for (lt_i = NF; lt_i > 0; lt_i--) {
  8979. if ($lt_i != "" && $lt_i != ".") {
  8980. if ($lt_i == "..") {
  8981. lt_count++;
  8982. } else {
  8983. if (lt_count == 0) {
  8984. lt_foo="/" $lt_i lt_foo;
  8985. } else {
  8986. lt_count--;
  8987. }
  8988. }
  8989. }
  8990. }
  8991. if (lt_foo != "") { lt_freq[lt_foo]++; }
  8992. if (lt_freq[lt_foo] == 1) { print lt_foo; }
  8993. }'`
  8994. sys_lib_search_path_spec=`$ECHO $lt_search_path_spec`
  8995. else
  8996. sys_lib_search_path_spec="/lib /usr/lib /usr/local/lib"
  8997. fi
  8998. library_names_spec=
  8999. libname_spec='lib$name'
  9000. soname_spec=
  9001. shrext_cmds=".so"
  9002. postinstall_cmds=
  9003. postuninstall_cmds=
  9004. finish_cmds=
  9005. finish_eval=
  9006. shlibpath_var=
  9007. shlibpath_overrides_runpath=unknown
  9008. version_type=none
  9009. dynamic_linker="$host_os ld.so"
  9010. sys_lib_dlsearch_path_spec="/lib /usr/lib"
  9011. need_lib_prefix=unknown
  9012. hardcode_into_libs=no
  9013. # when you set need_version to no, make sure it does not cause -set_version
  9014. # flags to be left without arguments
  9015. need_version=unknown
  9016. case $host_os in
  9017. aix3*)
  9018. version_type=linux
  9019. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname.a'
  9020. shlibpath_var=LIBPATH
  9021. # AIX 3 has no versioning support, so we append a major version to the name.
  9022. soname_spec='${libname}${release}${shared_ext}$major'
  9023. ;;
  9024. aix[4-9]*)
  9025. version_type=linux
  9026. need_lib_prefix=no
  9027. need_version=no
  9028. hardcode_into_libs=yes
  9029. if test "$host_cpu" = ia64; then
  9030. # AIX 5 supports IA64
  9031. library_names_spec='${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext}$versuffix $libname${shared_ext}'
  9032. shlibpath_var=LD_LIBRARY_PATH
  9033. else
  9034. # With GCC up to 2.95.x, collect2 would create an import file
  9035. # for dependence libraries. The import file would start with
  9036. # the line `#! .'. This would cause the generated library to
  9037. # depend on `.', always an invalid library. This was fixed in
  9038. # development snapshots of GCC prior to 3.0.
  9039. case $host_os in
  9040. aix4 | aix4.[01] | aix4.[01].*)
  9041. if { echo '#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 97)'
  9042. echo ' yes '
  9043. echo '#endif'; } | ${CC} -E - | $GREP yes > /dev/null; then
  9044. :
  9045. else
  9046. can_build_shared=no
  9047. fi
  9048. ;;
  9049. esac
  9050. # AIX (on Power*) has no versioning support, so currently we can not hardcode correct
  9051. # soname into executable. Probably we can add versioning support to
  9052. # collect2, so additional links can be useful in future.
  9053. if test "$aix_use_runtimelinking" = yes; then
  9054. # If using run time linking (on AIX 4.2 or later) use lib<name>.so
  9055. # instead of lib<name>.a to let people know that these are not
  9056. # typical AIX shared libraries.
  9057. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9058. else
  9059. # We preserve .a as extension for shared libraries through AIX4.2
  9060. # and later when we are not doing run time linking.
  9061. library_names_spec='${libname}${release}.a $libname.a'
  9062. soname_spec='${libname}${release}${shared_ext}$major'
  9063. fi
  9064. shlibpath_var=LIBPATH
  9065. fi
  9066. ;;
  9067. amigaos*)
  9068. case $host_cpu in
  9069. powerpc)
  9070. # Since July 2007 AmigaOS4 officially supports .so libraries.
  9071. # When compiling the executable, add -use-dynld -Lsobjs: to the compileline.
  9072. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9073. ;;
  9074. m68k)
  9075. library_names_spec='$libname.ixlibrary $libname.a'
  9076. # Create ${libname}_ixlibrary.a entries in /sys/libs.
  9077. 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'
  9078. ;;
  9079. esac
  9080. ;;
  9081. beos*)
  9082. library_names_spec='${libname}${shared_ext}'
  9083. dynamic_linker="$host_os ld.so"
  9084. shlibpath_var=LIBRARY_PATH
  9085. ;;
  9086. bsdi[45]*)
  9087. version_type=linux
  9088. need_version=no
  9089. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9090. soname_spec='${libname}${release}${shared_ext}$major'
  9091. finish_cmds='PATH="\$PATH:/sbin" ldconfig $libdir'
  9092. shlibpath_var=LD_LIBRARY_PATH
  9093. sys_lib_search_path_spec="/shlib /usr/lib /usr/X11/lib /usr/contrib/lib /lib /usr/local/lib"
  9094. sys_lib_dlsearch_path_spec="/shlib /usr/lib /usr/local/lib"
  9095. # the default ld.so.conf also contains /usr/contrib/lib and
  9096. # /usr/X11R6/lib (/usr/X11 is a link to /usr/X11R6), but let us allow
  9097. # libtool to hard-code these into programs
  9098. ;;
  9099. cygwin* | mingw* | pw32* | cegcc*)
  9100. version_type=windows
  9101. shrext_cmds=".dll"
  9102. need_version=no
  9103. need_lib_prefix=no
  9104. case $GCC,$host_os in
  9105. yes,cygwin* | yes,mingw* | yes,pw32* | yes,cegcc*)
  9106. library_names_spec='$libname.dll.a'
  9107. # DLL is installed to $(libdir)/../bin by postinstall_cmds
  9108. postinstall_cmds='base_file=`basename \${file}`~
  9109. dlpath=`$SHELL 2>&1 -c '\''. $dir/'\''\${base_file}'\''i; echo \$dlname'\''`~
  9110. dldir=$destdir/`dirname \$dlpath`~
  9111. test -d \$dldir || mkdir -p \$dldir~
  9112. $install_prog $dir/$dlname \$dldir/$dlname~
  9113. chmod a+x \$dldir/$dlname~
  9114. if test -n '\''$stripme'\'' && test -n '\''$striplib'\''; then
  9115. eval '\''$striplib \$dldir/$dlname'\'' || exit \$?;
  9116. fi'
  9117. postuninstall_cmds='dldll=`$SHELL 2>&1 -c '\''. $file; echo \$dlname'\''`~
  9118. dlpath=$dir/\$dldll~
  9119. $RM \$dlpath'
  9120. shlibpath_overrides_runpath=yes
  9121. case $host_os in
  9122. cygwin*)
  9123. # Cygwin DLLs use 'cyg' prefix rather than 'lib'
  9124. soname_spec='`echo ${libname} | sed -e 's/^lib/cyg/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9125. sys_lib_search_path_spec="/usr/lib /lib/w32api /lib /usr/local/lib"
  9126. ;;
  9127. mingw* | cegcc*)
  9128. # MinGW DLLs use traditional 'lib' prefix
  9129. soname_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9130. sys_lib_search_path_spec=`$CC -print-search-dirs | $GREP "^libraries:" | $SED -e "s/^libraries://" -e "s,=/,/,g"`
  9131. if $ECHO "$sys_lib_search_path_spec" | $GREP ';[c-zC-Z]:/' >/dev/null; then
  9132. # It is most probably a Windows format PATH printed by
  9133. # mingw gcc, but we are running on Cygwin. Gcc prints its search
  9134. # path with ; separators, and with drive letters. We can handle the
  9135. # drive letters (cygwin fileutils understands them), so leave them,
  9136. # especially as we might pass files found there to a mingw objdump,
  9137. # which wouldn't understand a cygwinified path. Ahh.
  9138. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e 's/;/ /g'`
  9139. else
  9140. sys_lib_search_path_spec=`$ECHO "$sys_lib_search_path_spec" | $SED -e "s/$PATH_SEPARATOR/ /g"`
  9141. fi
  9142. ;;
  9143. pw32*)
  9144. # pw32 DLLs use 'pw' prefix rather than 'lib'
  9145. library_names_spec='`echo ${libname} | sed -e 's/^lib/pw/'``echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext}'
  9146. ;;
  9147. esac
  9148. ;;
  9149. *)
  9150. library_names_spec='${libname}`echo ${release} | $SED -e 's/[.]/-/g'`${versuffix}${shared_ext} $libname.lib'
  9151. ;;
  9152. esac
  9153. dynamic_linker='Win32 ld.exe'
  9154. # FIXME: first we should search . and the directory the executable is in
  9155. shlibpath_var=PATH
  9156. ;;
  9157. darwin* | rhapsody*)
  9158. dynamic_linker="$host_os dyld"
  9159. version_type=darwin
  9160. need_lib_prefix=no
  9161. need_version=no
  9162. library_names_spec='${libname}${release}${major}$shared_ext ${libname}$shared_ext'
  9163. soname_spec='${libname}${release}${major}$shared_ext'
  9164. shlibpath_overrides_runpath=yes
  9165. shlibpath_var=DYLD_LIBRARY_PATH
  9166. shrext_cmds='`test .$module = .yes && echo .so || echo .dylib`'
  9167. sys_lib_search_path_spec="$sys_lib_search_path_spec /usr/local/lib"
  9168. sys_lib_dlsearch_path_spec='/usr/local/lib /lib /usr/lib'
  9169. ;;
  9170. dgux*)
  9171. version_type=linux
  9172. need_lib_prefix=no
  9173. need_version=no
  9174. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname$shared_ext'
  9175. soname_spec='${libname}${release}${shared_ext}$major'
  9176. shlibpath_var=LD_LIBRARY_PATH
  9177. ;;
  9178. freebsd1*)
  9179. dynamic_linker=no
  9180. ;;
  9181. freebsd* | dragonfly*)
  9182. # DragonFly does not have aout. When/if they implement a new
  9183. # versioning mechanism, adjust this.
  9184. if test -x /usr/bin/objformat; then
  9185. objformat=`/usr/bin/objformat`
  9186. else
  9187. case $host_os in
  9188. freebsd[123]*) objformat=aout ;;
  9189. *) objformat=elf ;;
  9190. esac
  9191. fi
  9192. version_type=freebsd-$objformat
  9193. case $version_type in
  9194. freebsd-elf*)
  9195. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9196. need_version=no
  9197. need_lib_prefix=no
  9198. ;;
  9199. freebsd-*)
  9200. library_names_spec='${libname}${release}${shared_ext}$versuffix $libname${shared_ext}$versuffix'
  9201. need_version=yes
  9202. ;;
  9203. esac
  9204. shlibpath_var=LD_LIBRARY_PATH
  9205. case $host_os in
  9206. freebsd2*)
  9207. shlibpath_overrides_runpath=yes
  9208. ;;
  9209. freebsd3.[01]* | freebsdelf3.[01]*)
  9210. shlibpath_overrides_runpath=yes
  9211. hardcode_into_libs=yes
  9212. ;;
  9213. freebsd3.[2-9]* | freebsdelf3.[2-9]* | \
  9214. freebsd4.[0-5] | freebsdelf4.[0-5] | freebsd4.1.1 | freebsdelf4.1.1)
  9215. shlibpath_overrides_runpath=no
  9216. hardcode_into_libs=yes
  9217. ;;
  9218. *) # from 4.6 on, and DragonFly
  9219. shlibpath_overrides_runpath=yes
  9220. hardcode_into_libs=yes
  9221. ;;
  9222. esac
  9223. ;;
  9224. gnu*)
  9225. version_type=linux
  9226. need_lib_prefix=no
  9227. need_version=no
  9228. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}${major} ${libname}${shared_ext}'
  9229. soname_spec='${libname}${release}${shared_ext}$major'
  9230. shlibpath_var=LD_LIBRARY_PATH
  9231. hardcode_into_libs=yes
  9232. ;;
  9233. hpux9* | hpux10* | hpux11*)
  9234. # Give a soname corresponding to the major version so that dld.sl refuses to
  9235. # link against other versions.
  9236. version_type=sunos
  9237. need_lib_prefix=no
  9238. need_version=no
  9239. case $host_cpu in
  9240. ia64*)
  9241. shrext_cmds='.so'
  9242. hardcode_into_libs=yes
  9243. dynamic_linker="$host_os dld.so"
  9244. shlibpath_var=LD_LIBRARY_PATH
  9245. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9246. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9247. soname_spec='${libname}${release}${shared_ext}$major'
  9248. if test "X$HPUX_IA64_MODE" = X32; then
  9249. sys_lib_search_path_spec="/usr/lib/hpux32 /usr/local/lib/hpux32 /usr/local/lib"
  9250. else
  9251. sys_lib_search_path_spec="/usr/lib/hpux64 /usr/local/lib/hpux64"
  9252. fi
  9253. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9254. ;;
  9255. hppa*64*)
  9256. shrext_cmds='.sl'
  9257. hardcode_into_libs=yes
  9258. dynamic_linker="$host_os dld.sl"
  9259. shlibpath_var=LD_LIBRARY_PATH # How should we handle SHLIB_PATH
  9260. shlibpath_overrides_runpath=yes # Unless +noenvvar is specified.
  9261. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9262. soname_spec='${libname}${release}${shared_ext}$major'
  9263. sys_lib_search_path_spec="/usr/lib/pa20_64 /usr/ccs/lib/pa20_64"
  9264. sys_lib_dlsearch_path_spec=$sys_lib_search_path_spec
  9265. ;;
  9266. *)
  9267. shrext_cmds='.sl'
  9268. dynamic_linker="$host_os dld.sl"
  9269. shlibpath_var=SHLIB_PATH
  9270. shlibpath_overrides_runpath=no # +s is required to enable SHLIB_PATH
  9271. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9272. soname_spec='${libname}${release}${shared_ext}$major'
  9273. ;;
  9274. esac
  9275. # HP-UX runs *really* slowly unless shared libraries are mode 555.
  9276. postinstall_cmds='chmod 555 $lib'
  9277. ;;
  9278. interix[3-9]*)
  9279. version_type=linux
  9280. need_lib_prefix=no
  9281. need_version=no
  9282. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9283. soname_spec='${libname}${release}${shared_ext}$major'
  9284. dynamic_linker='Interix 3.x ld.so.1 (PE, like ELF)'
  9285. shlibpath_var=LD_LIBRARY_PATH
  9286. shlibpath_overrides_runpath=no
  9287. hardcode_into_libs=yes
  9288. ;;
  9289. irix5* | irix6* | nonstopux*)
  9290. case $host_os in
  9291. nonstopux*) version_type=nonstopux ;;
  9292. *)
  9293. if test "$lt_cv_prog_gnu_ld" = yes; then
  9294. version_type=linux
  9295. else
  9296. version_type=irix
  9297. fi ;;
  9298. esac
  9299. need_lib_prefix=no
  9300. need_version=no
  9301. soname_spec='${libname}${release}${shared_ext}$major'
  9302. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${release}${shared_ext} $libname${shared_ext}'
  9303. case $host_os in
  9304. irix5* | nonstopux*)
  9305. libsuff= shlibsuff=
  9306. ;;
  9307. *)
  9308. case $LD in # libtool.m4 will add one of these switches to LD
  9309. *-32|*"-32 "|*-melf32bsmip|*"-melf32bsmip ")
  9310. libsuff= shlibsuff= libmagic=32-bit;;
  9311. *-n32|*"-n32 "|*-melf32bmipn32|*"-melf32bmipn32 ")
  9312. libsuff=32 shlibsuff=N32 libmagic=N32;;
  9313. *-64|*"-64 "|*-melf64bmip|*"-melf64bmip ")
  9314. libsuff=64 shlibsuff=64 libmagic=64-bit;;
  9315. *) libsuff= shlibsuff= libmagic=never-match;;
  9316. esac
  9317. ;;
  9318. esac
  9319. shlibpath_var=LD_LIBRARY${shlibsuff}_PATH
  9320. shlibpath_overrides_runpath=no
  9321. sys_lib_search_path_spec="/usr/lib${libsuff} /lib${libsuff} /usr/local/lib${libsuff}"
  9322. sys_lib_dlsearch_path_spec="/usr/lib${libsuff} /lib${libsuff}"
  9323. hardcode_into_libs=yes
  9324. ;;
  9325. # No shared lib support for Linux oldld, aout, or coff.
  9326. linux*oldld* | linux*aout* | linux*coff*)
  9327. dynamic_linker=no
  9328. ;;
  9329. # This must be Linux ELF.
  9330. linux* | k*bsd*-gnu)
  9331. version_type=linux
  9332. need_lib_prefix=no
  9333. need_version=no
  9334. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9335. soname_spec='${libname}${release}${shared_ext}$major'
  9336. finish_cmds='PATH="\$PATH:/sbin" ldconfig -n $libdir'
  9337. shlibpath_var=LD_LIBRARY_PATH
  9338. shlibpath_overrides_runpath=no
  9339. # Some binutils ld are patched to set DT_RUNPATH
  9340. save_LDFLAGS=$LDFLAGS
  9341. save_libdir=$libdir
  9342. eval "libdir=/foo; wl=\"$lt_prog_compiler_wl\"; \
  9343. LDFLAGS=\"\$LDFLAGS $hardcode_libdir_flag_spec\""
  9344. cat >conftest.$ac_ext <<_ACEOF
  9345. /* confdefs.h. */
  9346. _ACEOF
  9347. cat confdefs.h >>conftest.$ac_ext
  9348. cat >>conftest.$ac_ext <<_ACEOF
  9349. /* end confdefs.h. */
  9350. int
  9351. main ()
  9352. {
  9353. ;
  9354. return 0;
  9355. }
  9356. _ACEOF
  9357. rm -f conftest.$ac_objext conftest$ac_exeext
  9358. if { (ac_try="$ac_link"
  9359. case "(($ac_try" in
  9360. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9361. *) ac_try_echo=$ac_try;;
  9362. esac
  9363. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9364. $as_echo "$ac_try_echo") >&5
  9365. (eval "$ac_link") 2>conftest.er1
  9366. ac_status=$?
  9367. grep -v '^ *+' conftest.er1 >conftest.err
  9368. rm -f conftest.er1
  9369. cat conftest.err >&5
  9370. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9371. (exit $ac_status); } && {
  9372. test -z "$ac_c_werror_flag" ||
  9373. test ! -s conftest.err
  9374. } && test -s conftest$ac_exeext && {
  9375. test "$cross_compiling" = yes ||
  9376. $as_test_x conftest$ac_exeext
  9377. }; then
  9378. if ($OBJDUMP -p conftest$ac_exeext) 2>/dev/null | grep "RUNPATH.*$libdir" >/dev/null; then
  9379. shlibpath_overrides_runpath=yes
  9380. fi
  9381. else
  9382. $as_echo "$as_me: failed program was:" >&5
  9383. sed 's/^/| /' conftest.$ac_ext >&5
  9384. fi
  9385. rm -rf conftest.dSYM
  9386. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9387. conftest$ac_exeext conftest.$ac_ext
  9388. LDFLAGS=$save_LDFLAGS
  9389. libdir=$save_libdir
  9390. # This implies no fast_install, which is unacceptable.
  9391. # Some rework will be needed to allow for fast_install
  9392. # before this can be enabled.
  9393. hardcode_into_libs=yes
  9394. # Add ABI-specific directories to the system library path.
  9395. sys_lib_dlsearch_path_spec="/lib64 /usr/lib64 /lib /usr/lib"
  9396. # Append ld.so.conf contents to the search path
  9397. if test -f /etc/ld.so.conf; then
  9398. 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' ' '`
  9399. sys_lib_dlsearch_path_spec="$sys_lib_dlsearch_path_spec $lt_ld_extra"
  9400. fi
  9401. # We used to test for /lib/ld.so.1 and disable shared libraries on
  9402. # powerpc, because MkLinux only supported shared libraries with the
  9403. # GNU dynamic linker. Since this was broken with cross compilers,
  9404. # most powerpc-linux boxes support dynamic linking these days and
  9405. # people can always --disable-shared, the test was removed, and we
  9406. # assume the GNU/Linux dynamic linker is in use.
  9407. dynamic_linker='GNU/Linux ld.so'
  9408. ;;
  9409. netbsd*)
  9410. version_type=sunos
  9411. need_lib_prefix=no
  9412. need_version=no
  9413. if echo __ELF__ | $CC -E - | $GREP __ELF__ >/dev/null; then
  9414. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9415. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9416. dynamic_linker='NetBSD (a.out) ld.so'
  9417. else
  9418. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major ${libname}${shared_ext}'
  9419. soname_spec='${libname}${release}${shared_ext}$major'
  9420. dynamic_linker='NetBSD ld.elf_so'
  9421. fi
  9422. shlibpath_var=LD_LIBRARY_PATH
  9423. shlibpath_overrides_runpath=yes
  9424. hardcode_into_libs=yes
  9425. ;;
  9426. newsos6)
  9427. version_type=linux
  9428. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9429. shlibpath_var=LD_LIBRARY_PATH
  9430. shlibpath_overrides_runpath=yes
  9431. ;;
  9432. *nto* | *qnx*)
  9433. version_type=qnx
  9434. need_lib_prefix=no
  9435. need_version=no
  9436. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9437. soname_spec='${libname}${release}${shared_ext}$major'
  9438. shlibpath_var=LD_LIBRARY_PATH
  9439. shlibpath_overrides_runpath=no
  9440. hardcode_into_libs=yes
  9441. dynamic_linker='ldqnx.so'
  9442. ;;
  9443. openbsd*)
  9444. version_type=sunos
  9445. sys_lib_dlsearch_path_spec="/usr/lib"
  9446. need_lib_prefix=no
  9447. # Some older versions of OpenBSD (3.3 at least) *do* need versioned libs.
  9448. case $host_os in
  9449. openbsd3.3 | openbsd3.3.*) need_version=yes ;;
  9450. *) need_version=no ;;
  9451. esac
  9452. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9453. finish_cmds='PATH="\$PATH:/sbin" ldconfig -m $libdir'
  9454. shlibpath_var=LD_LIBRARY_PATH
  9455. if test -z "`echo __ELF__ | $CC -E - | $GREP __ELF__`" || test "$host_os-$host_cpu" = "openbsd2.8-powerpc"; then
  9456. case $host_os in
  9457. openbsd2.[89] | openbsd2.[89].*)
  9458. shlibpath_overrides_runpath=no
  9459. ;;
  9460. *)
  9461. shlibpath_overrides_runpath=yes
  9462. ;;
  9463. esac
  9464. else
  9465. shlibpath_overrides_runpath=yes
  9466. fi
  9467. ;;
  9468. os2*)
  9469. libname_spec='$name'
  9470. shrext_cmds=".dll"
  9471. need_lib_prefix=no
  9472. library_names_spec='$libname${shared_ext} $libname.a'
  9473. dynamic_linker='OS/2 ld.exe'
  9474. shlibpath_var=LIBPATH
  9475. ;;
  9476. osf3* | osf4* | osf5*)
  9477. version_type=osf
  9478. need_lib_prefix=no
  9479. need_version=no
  9480. soname_spec='${libname}${release}${shared_ext}$major'
  9481. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9482. shlibpath_var=LD_LIBRARY_PATH
  9483. sys_lib_search_path_spec="/usr/shlib /usr/ccs/lib /usr/lib/cmplrs/cc /usr/lib /usr/local/lib /var/shlib"
  9484. sys_lib_dlsearch_path_spec="$sys_lib_search_path_spec"
  9485. ;;
  9486. rdos*)
  9487. dynamic_linker=no
  9488. ;;
  9489. solaris*)
  9490. version_type=linux
  9491. need_lib_prefix=no
  9492. need_version=no
  9493. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9494. soname_spec='${libname}${release}${shared_ext}$major'
  9495. shlibpath_var=LD_LIBRARY_PATH
  9496. shlibpath_overrides_runpath=yes
  9497. hardcode_into_libs=yes
  9498. # ldd complains unless libraries are executable
  9499. postinstall_cmds='chmod +x $lib'
  9500. ;;
  9501. sunos4*)
  9502. version_type=sunos
  9503. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${shared_ext}$versuffix'
  9504. finish_cmds='PATH="\$PATH:/usr/etc" ldconfig $libdir'
  9505. shlibpath_var=LD_LIBRARY_PATH
  9506. shlibpath_overrides_runpath=yes
  9507. if test "$with_gnu_ld" = yes; then
  9508. need_lib_prefix=no
  9509. fi
  9510. need_version=yes
  9511. ;;
  9512. sysv4 | sysv4.3*)
  9513. version_type=linux
  9514. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9515. soname_spec='${libname}${release}${shared_ext}$major'
  9516. shlibpath_var=LD_LIBRARY_PATH
  9517. case $host_vendor in
  9518. sni)
  9519. shlibpath_overrides_runpath=no
  9520. need_lib_prefix=no
  9521. runpath_var=LD_RUN_PATH
  9522. ;;
  9523. siemens)
  9524. need_lib_prefix=no
  9525. ;;
  9526. motorola)
  9527. need_lib_prefix=no
  9528. need_version=no
  9529. shlibpath_overrides_runpath=no
  9530. sys_lib_search_path_spec='/lib /usr/lib /usr/ccs/lib'
  9531. ;;
  9532. esac
  9533. ;;
  9534. sysv4*MP*)
  9535. if test -d /usr/nec ;then
  9536. version_type=linux
  9537. library_names_spec='$libname${shared_ext}.$versuffix $libname${shared_ext}.$major $libname${shared_ext}'
  9538. soname_spec='$libname${shared_ext}.$major'
  9539. shlibpath_var=LD_LIBRARY_PATH
  9540. fi
  9541. ;;
  9542. sysv5* | sco3.2v5* | sco5v6* | unixware* | OpenUNIX* | sysv4*uw2*)
  9543. version_type=freebsd-elf
  9544. need_lib_prefix=no
  9545. need_version=no
  9546. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext} $libname${shared_ext}'
  9547. soname_spec='${libname}${release}${shared_ext}$major'
  9548. shlibpath_var=LD_LIBRARY_PATH
  9549. shlibpath_overrides_runpath=yes
  9550. hardcode_into_libs=yes
  9551. if test "$with_gnu_ld" = yes; then
  9552. sys_lib_search_path_spec='/usr/local/lib /usr/gnu/lib /usr/ccs/lib /usr/lib /lib'
  9553. else
  9554. sys_lib_search_path_spec='/usr/ccs/lib /usr/lib'
  9555. case $host_os in
  9556. sco3.2v5*)
  9557. sys_lib_search_path_spec="$sys_lib_search_path_spec /lib"
  9558. ;;
  9559. esac
  9560. fi
  9561. sys_lib_dlsearch_path_spec='/usr/lib'
  9562. ;;
  9563. tpf*)
  9564. # TPF is a cross-target only. Preferred cross-host = GNU/Linux.
  9565. version_type=linux
  9566. need_lib_prefix=no
  9567. need_version=no
  9568. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9569. shlibpath_var=LD_LIBRARY_PATH
  9570. shlibpath_overrides_runpath=no
  9571. hardcode_into_libs=yes
  9572. ;;
  9573. uts4*)
  9574. version_type=linux
  9575. library_names_spec='${libname}${release}${shared_ext}$versuffix ${libname}${release}${shared_ext}$major $libname${shared_ext}'
  9576. soname_spec='${libname}${release}${shared_ext}$major'
  9577. shlibpath_var=LD_LIBRARY_PATH
  9578. ;;
  9579. *)
  9580. dynamic_linker=no
  9581. ;;
  9582. esac
  9583. { $as_echo "$as_me:$LINENO: result: $dynamic_linker" >&5
  9584. $as_echo "$dynamic_linker" >&6; }
  9585. test "$dynamic_linker" = no && can_build_shared=no
  9586. variables_saved_for_relink="PATH $shlibpath_var $runpath_var"
  9587. if test "$GCC" = yes; then
  9588. variables_saved_for_relink="$variables_saved_for_relink GCC_EXEC_PREFIX COMPILER_PATH LIBRARY_PATH"
  9589. fi
  9590. if test "${lt_cv_sys_lib_search_path_spec+set}" = set; then
  9591. sys_lib_search_path_spec="$lt_cv_sys_lib_search_path_spec"
  9592. fi
  9593. if test "${lt_cv_sys_lib_dlsearch_path_spec+set}" = set; then
  9594. sys_lib_dlsearch_path_spec="$lt_cv_sys_lib_dlsearch_path_spec"
  9595. fi
  9596. { $as_echo "$as_me:$LINENO: checking how to hardcode library paths into programs" >&5
  9597. $as_echo_n "checking how to hardcode library paths into programs... " >&6; }
  9598. hardcode_action=
  9599. if test -n "$hardcode_libdir_flag_spec" ||
  9600. test -n "$runpath_var" ||
  9601. test "X$hardcode_automatic" = "Xyes" ; then
  9602. # We can hardcode non-existent directories.
  9603. if test "$hardcode_direct" != no &&
  9604. # If the only mechanism to avoid hardcoding is shlibpath_var, we
  9605. # have to relink, otherwise we might link with an installed library
  9606. # when we should be linking with a yet-to-be-installed one
  9607. ## test "$_LT_TAGVAR(hardcode_shlibpath_var, )" != no &&
  9608. test "$hardcode_minus_L" != no; then
  9609. # Linking always hardcodes the temporary library directory.
  9610. hardcode_action=relink
  9611. else
  9612. # We can link without hardcoding, and we can hardcode nonexisting dirs.
  9613. hardcode_action=immediate
  9614. fi
  9615. else
  9616. # We cannot hardcode anything, or else we can only hardcode existing
  9617. # directories.
  9618. hardcode_action=unsupported
  9619. fi
  9620. { $as_echo "$as_me:$LINENO: result: $hardcode_action" >&5
  9621. $as_echo "$hardcode_action" >&6; }
  9622. if test "$hardcode_action" = relink ||
  9623. test "$inherit_rpath" = yes; then
  9624. # Fast installation is not supported
  9625. enable_fast_install=no
  9626. elif test "$shlibpath_overrides_runpath" = yes ||
  9627. test "$enable_shared" = no; then
  9628. # Fast installation is not necessary
  9629. enable_fast_install=needless
  9630. fi
  9631. if test "x$enable_dlopen" != xyes; then
  9632. enable_dlopen=unknown
  9633. enable_dlopen_self=unknown
  9634. enable_dlopen_self_static=unknown
  9635. else
  9636. lt_cv_dlopen=no
  9637. lt_cv_dlopen_libs=
  9638. case $host_os in
  9639. beos*)
  9640. lt_cv_dlopen="load_add_on"
  9641. lt_cv_dlopen_libs=
  9642. lt_cv_dlopen_self=yes
  9643. ;;
  9644. mingw* | pw32* | cegcc*)
  9645. lt_cv_dlopen="LoadLibrary"
  9646. lt_cv_dlopen_libs=
  9647. ;;
  9648. cygwin*)
  9649. lt_cv_dlopen="dlopen"
  9650. lt_cv_dlopen_libs=
  9651. ;;
  9652. darwin*)
  9653. # if libdl is installed we need to link against it
  9654. { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  9655. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9656. if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  9657. $as_echo_n "(cached) " >&6
  9658. else
  9659. ac_check_lib_save_LIBS=$LIBS
  9660. LIBS="-ldl $LIBS"
  9661. cat >conftest.$ac_ext <<_ACEOF
  9662. /* confdefs.h. */
  9663. _ACEOF
  9664. cat confdefs.h >>conftest.$ac_ext
  9665. cat >>conftest.$ac_ext <<_ACEOF
  9666. /* end confdefs.h. */
  9667. /* Override any GCC internal prototype to avoid an error.
  9668. Use char because int might match the return type of a GCC
  9669. builtin and then its argument prototype would still apply. */
  9670. #ifdef __cplusplus
  9671. extern "C"
  9672. #endif
  9673. char dlopen ();
  9674. int
  9675. main ()
  9676. {
  9677. return dlopen ();
  9678. ;
  9679. return 0;
  9680. }
  9681. _ACEOF
  9682. rm -f conftest.$ac_objext conftest$ac_exeext
  9683. if { (ac_try="$ac_link"
  9684. case "(($ac_try" in
  9685. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9686. *) ac_try_echo=$ac_try;;
  9687. esac
  9688. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9689. $as_echo "$ac_try_echo") >&5
  9690. (eval "$ac_link") 2>conftest.er1
  9691. ac_status=$?
  9692. grep -v '^ *+' conftest.er1 >conftest.err
  9693. rm -f conftest.er1
  9694. cat conftest.err >&5
  9695. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9696. (exit $ac_status); } && {
  9697. test -z "$ac_c_werror_flag" ||
  9698. test ! -s conftest.err
  9699. } && test -s conftest$ac_exeext && {
  9700. test "$cross_compiling" = yes ||
  9701. $as_test_x conftest$ac_exeext
  9702. }; then
  9703. ac_cv_lib_dl_dlopen=yes
  9704. else
  9705. $as_echo "$as_me: failed program was:" >&5
  9706. sed 's/^/| /' conftest.$ac_ext >&5
  9707. ac_cv_lib_dl_dlopen=no
  9708. fi
  9709. rm -rf conftest.dSYM
  9710. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9711. conftest$ac_exeext conftest.$ac_ext
  9712. LIBS=$ac_check_lib_save_LIBS
  9713. fi
  9714. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  9715. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  9716. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
  9717. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  9718. else
  9719. lt_cv_dlopen="dyld"
  9720. lt_cv_dlopen_libs=
  9721. lt_cv_dlopen_self=yes
  9722. fi
  9723. ;;
  9724. *)
  9725. { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
  9726. $as_echo_n "checking for shl_load... " >&6; }
  9727. if test "${ac_cv_func_shl_load+set}" = set; then
  9728. $as_echo_n "(cached) " >&6
  9729. else
  9730. cat >conftest.$ac_ext <<_ACEOF
  9731. /* confdefs.h. */
  9732. _ACEOF
  9733. cat confdefs.h >>conftest.$ac_ext
  9734. cat >>conftest.$ac_ext <<_ACEOF
  9735. /* end confdefs.h. */
  9736. /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  9737. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  9738. #define shl_load innocuous_shl_load
  9739. /* System header to define __stub macros and hopefully few prototypes,
  9740. which can conflict with char shl_load (); below.
  9741. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9742. <limits.h> exists even on freestanding compilers. */
  9743. #ifdef __STDC__
  9744. # include <limits.h>
  9745. #else
  9746. # include <assert.h>
  9747. #endif
  9748. #undef shl_load
  9749. /* Override any GCC internal prototype to avoid an error.
  9750. Use char because int might match the return type of a GCC
  9751. builtin and then its argument prototype would still apply. */
  9752. #ifdef __cplusplus
  9753. extern "C"
  9754. #endif
  9755. char shl_load ();
  9756. /* The GNU C library defines this for functions which it implements
  9757. to always fail with ENOSYS. Some functions are actually named
  9758. something starting with __ and the normal name is an alias. */
  9759. #if defined __stub_shl_load || defined __stub___shl_load
  9760. choke me
  9761. #endif
  9762. int
  9763. main ()
  9764. {
  9765. return shl_load ();
  9766. ;
  9767. return 0;
  9768. }
  9769. _ACEOF
  9770. rm -f conftest.$ac_objext conftest$ac_exeext
  9771. if { (ac_try="$ac_link"
  9772. case "(($ac_try" in
  9773. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9774. *) ac_try_echo=$ac_try;;
  9775. esac
  9776. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9777. $as_echo "$ac_try_echo") >&5
  9778. (eval "$ac_link") 2>conftest.er1
  9779. ac_status=$?
  9780. grep -v '^ *+' conftest.er1 >conftest.err
  9781. rm -f conftest.er1
  9782. cat conftest.err >&5
  9783. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9784. (exit $ac_status); } && {
  9785. test -z "$ac_c_werror_flag" ||
  9786. test ! -s conftest.err
  9787. } && test -s conftest$ac_exeext && {
  9788. test "$cross_compiling" = yes ||
  9789. $as_test_x conftest$ac_exeext
  9790. }; then
  9791. ac_cv_func_shl_load=yes
  9792. else
  9793. $as_echo "$as_me: failed program was:" >&5
  9794. sed 's/^/| /' conftest.$ac_ext >&5
  9795. ac_cv_func_shl_load=no
  9796. fi
  9797. rm -rf conftest.dSYM
  9798. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9799. conftest$ac_exeext conftest.$ac_ext
  9800. fi
  9801. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  9802. $as_echo "$ac_cv_func_shl_load" >&6; }
  9803. if test "x$ac_cv_func_shl_load" = x""yes; then
  9804. lt_cv_dlopen="shl_load"
  9805. else
  9806. { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  9807. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  9808. if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  9809. $as_echo_n "(cached) " >&6
  9810. else
  9811. ac_check_lib_save_LIBS=$LIBS
  9812. LIBS="-ldld $LIBS"
  9813. cat >conftest.$ac_ext <<_ACEOF
  9814. /* confdefs.h. */
  9815. _ACEOF
  9816. cat confdefs.h >>conftest.$ac_ext
  9817. cat >>conftest.$ac_ext <<_ACEOF
  9818. /* end confdefs.h. */
  9819. /* Override any GCC internal prototype to avoid an error.
  9820. Use char because int might match the return type of a GCC
  9821. builtin and then its argument prototype would still apply. */
  9822. #ifdef __cplusplus
  9823. extern "C"
  9824. #endif
  9825. char shl_load ();
  9826. int
  9827. main ()
  9828. {
  9829. return shl_load ();
  9830. ;
  9831. return 0;
  9832. }
  9833. _ACEOF
  9834. rm -f conftest.$ac_objext conftest$ac_exeext
  9835. if { (ac_try="$ac_link"
  9836. case "(($ac_try" in
  9837. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9838. *) ac_try_echo=$ac_try;;
  9839. esac
  9840. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9841. $as_echo "$ac_try_echo") >&5
  9842. (eval "$ac_link") 2>conftest.er1
  9843. ac_status=$?
  9844. grep -v '^ *+' conftest.er1 >conftest.err
  9845. rm -f conftest.er1
  9846. cat conftest.err >&5
  9847. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9848. (exit $ac_status); } && {
  9849. test -z "$ac_c_werror_flag" ||
  9850. test ! -s conftest.err
  9851. } && test -s conftest$ac_exeext && {
  9852. test "$cross_compiling" = yes ||
  9853. $as_test_x conftest$ac_exeext
  9854. }; then
  9855. ac_cv_lib_dld_shl_load=yes
  9856. else
  9857. $as_echo "$as_me: failed program was:" >&5
  9858. sed 's/^/| /' conftest.$ac_ext >&5
  9859. ac_cv_lib_dld_shl_load=no
  9860. fi
  9861. rm -rf conftest.dSYM
  9862. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9863. conftest$ac_exeext conftest.$ac_ext
  9864. LIBS=$ac_check_lib_save_LIBS
  9865. fi
  9866. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  9867. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  9868. if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
  9869. lt_cv_dlopen="shl_load" lt_cv_dlopen_libs="-ldld"
  9870. else
  9871. { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
  9872. $as_echo_n "checking for dlopen... " >&6; }
  9873. if test "${ac_cv_func_dlopen+set}" = set; then
  9874. $as_echo_n "(cached) " >&6
  9875. else
  9876. cat >conftest.$ac_ext <<_ACEOF
  9877. /* confdefs.h. */
  9878. _ACEOF
  9879. cat confdefs.h >>conftest.$ac_ext
  9880. cat >>conftest.$ac_ext <<_ACEOF
  9881. /* end confdefs.h. */
  9882. /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  9883. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  9884. #define dlopen innocuous_dlopen
  9885. /* System header to define __stub macros and hopefully few prototypes,
  9886. which can conflict with char dlopen (); below.
  9887. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  9888. <limits.h> exists even on freestanding compilers. */
  9889. #ifdef __STDC__
  9890. # include <limits.h>
  9891. #else
  9892. # include <assert.h>
  9893. #endif
  9894. #undef dlopen
  9895. /* Override any GCC internal prototype to avoid an error.
  9896. Use char because int might match the return type of a GCC
  9897. builtin and then its argument prototype would still apply. */
  9898. #ifdef __cplusplus
  9899. extern "C"
  9900. #endif
  9901. char dlopen ();
  9902. /* The GNU C library defines this for functions which it implements
  9903. to always fail with ENOSYS. Some functions are actually named
  9904. something starting with __ and the normal name is an alias. */
  9905. #if defined __stub_dlopen || defined __stub___dlopen
  9906. choke me
  9907. #endif
  9908. int
  9909. main ()
  9910. {
  9911. return dlopen ();
  9912. ;
  9913. return 0;
  9914. }
  9915. _ACEOF
  9916. rm -f conftest.$ac_objext conftest$ac_exeext
  9917. if { (ac_try="$ac_link"
  9918. case "(($ac_try" in
  9919. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9920. *) ac_try_echo=$ac_try;;
  9921. esac
  9922. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9923. $as_echo "$ac_try_echo") >&5
  9924. (eval "$ac_link") 2>conftest.er1
  9925. ac_status=$?
  9926. grep -v '^ *+' conftest.er1 >conftest.err
  9927. rm -f conftest.er1
  9928. cat conftest.err >&5
  9929. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9930. (exit $ac_status); } && {
  9931. test -z "$ac_c_werror_flag" ||
  9932. test ! -s conftest.err
  9933. } && test -s conftest$ac_exeext && {
  9934. test "$cross_compiling" = yes ||
  9935. $as_test_x conftest$ac_exeext
  9936. }; then
  9937. ac_cv_func_dlopen=yes
  9938. else
  9939. $as_echo "$as_me: failed program was:" >&5
  9940. sed 's/^/| /' conftest.$ac_ext >&5
  9941. ac_cv_func_dlopen=no
  9942. fi
  9943. rm -rf conftest.dSYM
  9944. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  9945. conftest$ac_exeext conftest.$ac_ext
  9946. fi
  9947. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  9948. $as_echo "$ac_cv_func_dlopen" >&6; }
  9949. if test "x$ac_cv_func_dlopen" = x""yes; then
  9950. lt_cv_dlopen="dlopen"
  9951. else
  9952. { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  9953. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  9954. if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  9955. $as_echo_n "(cached) " >&6
  9956. else
  9957. ac_check_lib_save_LIBS=$LIBS
  9958. LIBS="-ldl $LIBS"
  9959. cat >conftest.$ac_ext <<_ACEOF
  9960. /* confdefs.h. */
  9961. _ACEOF
  9962. cat confdefs.h >>conftest.$ac_ext
  9963. cat >>conftest.$ac_ext <<_ACEOF
  9964. /* end confdefs.h. */
  9965. /* Override any GCC internal prototype to avoid an error.
  9966. Use char because int might match the return type of a GCC
  9967. builtin and then its argument prototype would still apply. */
  9968. #ifdef __cplusplus
  9969. extern "C"
  9970. #endif
  9971. char dlopen ();
  9972. int
  9973. main ()
  9974. {
  9975. return dlopen ();
  9976. ;
  9977. return 0;
  9978. }
  9979. _ACEOF
  9980. rm -f conftest.$ac_objext conftest$ac_exeext
  9981. if { (ac_try="$ac_link"
  9982. case "(($ac_try" in
  9983. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  9984. *) ac_try_echo=$ac_try;;
  9985. esac
  9986. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  9987. $as_echo "$ac_try_echo") >&5
  9988. (eval "$ac_link") 2>conftest.er1
  9989. ac_status=$?
  9990. grep -v '^ *+' conftest.er1 >conftest.err
  9991. rm -f conftest.er1
  9992. cat conftest.err >&5
  9993. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  9994. (exit $ac_status); } && {
  9995. test -z "$ac_c_werror_flag" ||
  9996. test ! -s conftest.err
  9997. } && test -s conftest$ac_exeext && {
  9998. test "$cross_compiling" = yes ||
  9999. $as_test_x conftest$ac_exeext
  10000. }; then
  10001. ac_cv_lib_dl_dlopen=yes
  10002. else
  10003. $as_echo "$as_me: failed program was:" >&5
  10004. sed 's/^/| /' conftest.$ac_ext >&5
  10005. ac_cv_lib_dl_dlopen=no
  10006. fi
  10007. rm -rf conftest.dSYM
  10008. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10009. conftest$ac_exeext conftest.$ac_ext
  10010. LIBS=$ac_check_lib_save_LIBS
  10011. fi
  10012. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  10013. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  10014. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
  10015. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-ldl"
  10016. else
  10017. { $as_echo "$as_me:$LINENO: checking for dlopen in -lsvld" >&5
  10018. $as_echo_n "checking for dlopen in -lsvld... " >&6; }
  10019. if test "${ac_cv_lib_svld_dlopen+set}" = set; then
  10020. $as_echo_n "(cached) " >&6
  10021. else
  10022. ac_check_lib_save_LIBS=$LIBS
  10023. LIBS="-lsvld $LIBS"
  10024. cat >conftest.$ac_ext <<_ACEOF
  10025. /* confdefs.h. */
  10026. _ACEOF
  10027. cat confdefs.h >>conftest.$ac_ext
  10028. cat >>conftest.$ac_ext <<_ACEOF
  10029. /* end confdefs.h. */
  10030. /* Override any GCC internal prototype to avoid an error.
  10031. Use char because int might match the return type of a GCC
  10032. builtin and then its argument prototype would still apply. */
  10033. #ifdef __cplusplus
  10034. extern "C"
  10035. #endif
  10036. char dlopen ();
  10037. int
  10038. main ()
  10039. {
  10040. return dlopen ();
  10041. ;
  10042. return 0;
  10043. }
  10044. _ACEOF
  10045. rm -f conftest.$ac_objext conftest$ac_exeext
  10046. if { (ac_try="$ac_link"
  10047. case "(($ac_try" in
  10048. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10049. *) ac_try_echo=$ac_try;;
  10050. esac
  10051. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10052. $as_echo "$ac_try_echo") >&5
  10053. (eval "$ac_link") 2>conftest.er1
  10054. ac_status=$?
  10055. grep -v '^ *+' conftest.er1 >conftest.err
  10056. rm -f conftest.er1
  10057. cat conftest.err >&5
  10058. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10059. (exit $ac_status); } && {
  10060. test -z "$ac_c_werror_flag" ||
  10061. test ! -s conftest.err
  10062. } && test -s conftest$ac_exeext && {
  10063. test "$cross_compiling" = yes ||
  10064. $as_test_x conftest$ac_exeext
  10065. }; then
  10066. ac_cv_lib_svld_dlopen=yes
  10067. else
  10068. $as_echo "$as_me: failed program was:" >&5
  10069. sed 's/^/| /' conftest.$ac_ext >&5
  10070. ac_cv_lib_svld_dlopen=no
  10071. fi
  10072. rm -rf conftest.dSYM
  10073. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10074. conftest$ac_exeext conftest.$ac_ext
  10075. LIBS=$ac_check_lib_save_LIBS
  10076. fi
  10077. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_svld_dlopen" >&5
  10078. $as_echo "$ac_cv_lib_svld_dlopen" >&6; }
  10079. if test "x$ac_cv_lib_svld_dlopen" = x""yes; then
  10080. lt_cv_dlopen="dlopen" lt_cv_dlopen_libs="-lsvld"
  10081. else
  10082. { $as_echo "$as_me:$LINENO: checking for dld_link in -ldld" >&5
  10083. $as_echo_n "checking for dld_link in -ldld... " >&6; }
  10084. if test "${ac_cv_lib_dld_dld_link+set}" = set; then
  10085. $as_echo_n "(cached) " >&6
  10086. else
  10087. ac_check_lib_save_LIBS=$LIBS
  10088. LIBS="-ldld $LIBS"
  10089. cat >conftest.$ac_ext <<_ACEOF
  10090. /* confdefs.h. */
  10091. _ACEOF
  10092. cat confdefs.h >>conftest.$ac_ext
  10093. cat >>conftest.$ac_ext <<_ACEOF
  10094. /* end confdefs.h. */
  10095. /* Override any GCC internal prototype to avoid an error.
  10096. Use char because int might match the return type of a GCC
  10097. builtin and then its argument prototype would still apply. */
  10098. #ifdef __cplusplus
  10099. extern "C"
  10100. #endif
  10101. char dld_link ();
  10102. int
  10103. main ()
  10104. {
  10105. return dld_link ();
  10106. ;
  10107. return 0;
  10108. }
  10109. _ACEOF
  10110. rm -f conftest.$ac_objext conftest$ac_exeext
  10111. if { (ac_try="$ac_link"
  10112. case "(($ac_try" in
  10113. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10114. *) ac_try_echo=$ac_try;;
  10115. esac
  10116. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10117. $as_echo "$ac_try_echo") >&5
  10118. (eval "$ac_link") 2>conftest.er1
  10119. ac_status=$?
  10120. grep -v '^ *+' conftest.er1 >conftest.err
  10121. rm -f conftest.er1
  10122. cat conftest.err >&5
  10123. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10124. (exit $ac_status); } && {
  10125. test -z "$ac_c_werror_flag" ||
  10126. test ! -s conftest.err
  10127. } && test -s conftest$ac_exeext && {
  10128. test "$cross_compiling" = yes ||
  10129. $as_test_x conftest$ac_exeext
  10130. }; then
  10131. ac_cv_lib_dld_dld_link=yes
  10132. else
  10133. $as_echo "$as_me: failed program was:" >&5
  10134. sed 's/^/| /' conftest.$ac_ext >&5
  10135. ac_cv_lib_dld_dld_link=no
  10136. fi
  10137. rm -rf conftest.dSYM
  10138. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10139. conftest$ac_exeext conftest.$ac_ext
  10140. LIBS=$ac_check_lib_save_LIBS
  10141. fi
  10142. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_dld_link" >&5
  10143. $as_echo "$ac_cv_lib_dld_dld_link" >&6; }
  10144. if test "x$ac_cv_lib_dld_dld_link" = x""yes; then
  10145. lt_cv_dlopen="dld_link" lt_cv_dlopen_libs="-ldld"
  10146. fi
  10147. fi
  10148. fi
  10149. fi
  10150. fi
  10151. fi
  10152. ;;
  10153. esac
  10154. if test "x$lt_cv_dlopen" != xno; then
  10155. enable_dlopen=yes
  10156. else
  10157. enable_dlopen=no
  10158. fi
  10159. case $lt_cv_dlopen in
  10160. dlopen)
  10161. save_CPPFLAGS="$CPPFLAGS"
  10162. test "x$ac_cv_header_dlfcn_h" = xyes && CPPFLAGS="$CPPFLAGS -DHAVE_DLFCN_H"
  10163. save_LDFLAGS="$LDFLAGS"
  10164. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $export_dynamic_flag_spec\"
  10165. save_LIBS="$LIBS"
  10166. LIBS="$lt_cv_dlopen_libs $LIBS"
  10167. { $as_echo "$as_me:$LINENO: checking whether a program can dlopen itself" >&5
  10168. $as_echo_n "checking whether a program can dlopen itself... " >&6; }
  10169. if test "${lt_cv_dlopen_self+set}" = set; then
  10170. $as_echo_n "(cached) " >&6
  10171. else
  10172. if test "$cross_compiling" = yes; then :
  10173. lt_cv_dlopen_self=cross
  10174. else
  10175. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10176. lt_status=$lt_dlunknown
  10177. cat > conftest.$ac_ext <<_LT_EOF
  10178. #line 11830 "configure"
  10179. #include "confdefs.h"
  10180. #if HAVE_DLFCN_H
  10181. #include <dlfcn.h>
  10182. #endif
  10183. #include <stdio.h>
  10184. #ifdef RTLD_GLOBAL
  10185. # define LT_DLGLOBAL RTLD_GLOBAL
  10186. #else
  10187. # ifdef DL_GLOBAL
  10188. # define LT_DLGLOBAL DL_GLOBAL
  10189. # else
  10190. # define LT_DLGLOBAL 0
  10191. # endif
  10192. #endif
  10193. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10194. find out it does not work in some platform. */
  10195. #ifndef LT_DLLAZY_OR_NOW
  10196. # ifdef RTLD_LAZY
  10197. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10198. # else
  10199. # ifdef DL_LAZY
  10200. # define LT_DLLAZY_OR_NOW DL_LAZY
  10201. # else
  10202. # ifdef RTLD_NOW
  10203. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10204. # else
  10205. # ifdef DL_NOW
  10206. # define LT_DLLAZY_OR_NOW DL_NOW
  10207. # else
  10208. # define LT_DLLAZY_OR_NOW 0
  10209. # endif
  10210. # endif
  10211. # endif
  10212. # endif
  10213. #endif
  10214. void fnord() { int i=42;}
  10215. int main ()
  10216. {
  10217. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10218. int status = $lt_dlunknown;
  10219. if (self)
  10220. {
  10221. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10222. else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10223. /* dlclose (self); */
  10224. }
  10225. else
  10226. puts (dlerror ());
  10227. return status;
  10228. }
  10229. _LT_EOF
  10230. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10231. (eval $ac_link) 2>&5
  10232. ac_status=$?
  10233. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10234. (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  10235. (./conftest; exit; ) >&5 2>/dev/null
  10236. lt_status=$?
  10237. case x$lt_status in
  10238. x$lt_dlno_uscore) lt_cv_dlopen_self=yes ;;
  10239. x$lt_dlneed_uscore) lt_cv_dlopen_self=yes ;;
  10240. x$lt_dlunknown|x*) lt_cv_dlopen_self=no ;;
  10241. esac
  10242. else :
  10243. # compilation failed
  10244. lt_cv_dlopen_self=no
  10245. fi
  10246. fi
  10247. rm -fr conftest*
  10248. fi
  10249. { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self" >&5
  10250. $as_echo "$lt_cv_dlopen_self" >&6; }
  10251. if test "x$lt_cv_dlopen_self" = xyes; then
  10252. wl=$lt_prog_compiler_wl eval LDFLAGS=\"\$LDFLAGS $lt_prog_compiler_static\"
  10253. { $as_echo "$as_me:$LINENO: checking whether a statically linked program can dlopen itself" >&5
  10254. $as_echo_n "checking whether a statically linked program can dlopen itself... " >&6; }
  10255. if test "${lt_cv_dlopen_self_static+set}" = set; then
  10256. $as_echo_n "(cached) " >&6
  10257. else
  10258. if test "$cross_compiling" = yes; then :
  10259. lt_cv_dlopen_self_static=cross
  10260. else
  10261. lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
  10262. lt_status=$lt_dlunknown
  10263. cat > conftest.$ac_ext <<_LT_EOF
  10264. #line 11926 "configure"
  10265. #include "confdefs.h"
  10266. #if HAVE_DLFCN_H
  10267. #include <dlfcn.h>
  10268. #endif
  10269. #include <stdio.h>
  10270. #ifdef RTLD_GLOBAL
  10271. # define LT_DLGLOBAL RTLD_GLOBAL
  10272. #else
  10273. # ifdef DL_GLOBAL
  10274. # define LT_DLGLOBAL DL_GLOBAL
  10275. # else
  10276. # define LT_DLGLOBAL 0
  10277. # endif
  10278. #endif
  10279. /* We may have to define LT_DLLAZY_OR_NOW in the command line if we
  10280. find out it does not work in some platform. */
  10281. #ifndef LT_DLLAZY_OR_NOW
  10282. # ifdef RTLD_LAZY
  10283. # define LT_DLLAZY_OR_NOW RTLD_LAZY
  10284. # else
  10285. # ifdef DL_LAZY
  10286. # define LT_DLLAZY_OR_NOW DL_LAZY
  10287. # else
  10288. # ifdef RTLD_NOW
  10289. # define LT_DLLAZY_OR_NOW RTLD_NOW
  10290. # else
  10291. # ifdef DL_NOW
  10292. # define LT_DLLAZY_OR_NOW DL_NOW
  10293. # else
  10294. # define LT_DLLAZY_OR_NOW 0
  10295. # endif
  10296. # endif
  10297. # endif
  10298. # endif
  10299. #endif
  10300. void fnord() { int i=42;}
  10301. int main ()
  10302. {
  10303. void *self = dlopen (0, LT_DLGLOBAL|LT_DLLAZY_OR_NOW);
  10304. int status = $lt_dlunknown;
  10305. if (self)
  10306. {
  10307. if (dlsym (self,"fnord")) status = $lt_dlno_uscore;
  10308. else if (dlsym( self,"_fnord")) status = $lt_dlneed_uscore;
  10309. /* dlclose (self); */
  10310. }
  10311. else
  10312. puts (dlerror ());
  10313. return status;
  10314. }
  10315. _LT_EOF
  10316. if { (eval echo "$as_me:$LINENO: \"$ac_link\"") >&5
  10317. (eval $ac_link) 2>&5
  10318. ac_status=$?
  10319. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10320. (exit $ac_status); } && test -s conftest${ac_exeext} 2>/dev/null; then
  10321. (./conftest; exit; ) >&5 2>/dev/null
  10322. lt_status=$?
  10323. case x$lt_status in
  10324. x$lt_dlno_uscore) lt_cv_dlopen_self_static=yes ;;
  10325. x$lt_dlneed_uscore) lt_cv_dlopen_self_static=yes ;;
  10326. x$lt_dlunknown|x*) lt_cv_dlopen_self_static=no ;;
  10327. esac
  10328. else :
  10329. # compilation failed
  10330. lt_cv_dlopen_self_static=no
  10331. fi
  10332. fi
  10333. rm -fr conftest*
  10334. fi
  10335. { $as_echo "$as_me:$LINENO: result: $lt_cv_dlopen_self_static" >&5
  10336. $as_echo "$lt_cv_dlopen_self_static" >&6; }
  10337. fi
  10338. CPPFLAGS="$save_CPPFLAGS"
  10339. LDFLAGS="$save_LDFLAGS"
  10340. LIBS="$save_LIBS"
  10341. ;;
  10342. esac
  10343. case $lt_cv_dlopen_self in
  10344. yes|no) enable_dlopen_self=$lt_cv_dlopen_self ;;
  10345. *) enable_dlopen_self=unknown ;;
  10346. esac
  10347. case $lt_cv_dlopen_self_static in
  10348. yes|no) enable_dlopen_self_static=$lt_cv_dlopen_self_static ;;
  10349. *) enable_dlopen_self_static=unknown ;;
  10350. esac
  10351. fi
  10352. striplib=
  10353. old_striplib=
  10354. { $as_echo "$as_me:$LINENO: checking whether stripping libraries is possible" >&5
  10355. $as_echo_n "checking whether stripping libraries is possible... " >&6; }
  10356. if test -n "$STRIP" && $STRIP -V 2>&1 | $GREP "GNU strip" >/dev/null; then
  10357. test -z "$old_striplib" && old_striplib="$STRIP --strip-debug"
  10358. test -z "$striplib" && striplib="$STRIP --strip-unneeded"
  10359. { $as_echo "$as_me:$LINENO: result: yes" >&5
  10360. $as_echo "yes" >&6; }
  10361. else
  10362. # FIXME - insert some real tests, host_os isn't really good enough
  10363. case $host_os in
  10364. darwin*)
  10365. if test -n "$STRIP" ; then
  10366. striplib="$STRIP -x"
  10367. old_striplib="$STRIP -S"
  10368. { $as_echo "$as_me:$LINENO: result: yes" >&5
  10369. $as_echo "yes" >&6; }
  10370. else
  10371. { $as_echo "$as_me:$LINENO: result: no" >&5
  10372. $as_echo "no" >&6; }
  10373. fi
  10374. ;;
  10375. *)
  10376. { $as_echo "$as_me:$LINENO: result: no" >&5
  10377. $as_echo "no" >&6; }
  10378. ;;
  10379. esac
  10380. fi
  10381. # Report which library types will actually be built
  10382. { $as_echo "$as_me:$LINENO: checking if libtool supports shared libraries" >&5
  10383. $as_echo_n "checking if libtool supports shared libraries... " >&6; }
  10384. { $as_echo "$as_me:$LINENO: result: $can_build_shared" >&5
  10385. $as_echo "$can_build_shared" >&6; }
  10386. { $as_echo "$as_me:$LINENO: checking whether to build shared libraries" >&5
  10387. $as_echo_n "checking whether to build shared libraries... " >&6; }
  10388. test "$can_build_shared" = "no" && enable_shared=no
  10389. # On AIX, shared libraries and static libraries use the same namespace, and
  10390. # are all built from PIC.
  10391. case $host_os in
  10392. aix3*)
  10393. test "$enable_shared" = yes && enable_static=no
  10394. if test -n "$RANLIB"; then
  10395. archive_cmds="$archive_cmds~\$RANLIB \$lib"
  10396. postinstall_cmds='$RANLIB $lib'
  10397. fi
  10398. ;;
  10399. aix[4-9]*)
  10400. if test "$host_cpu" != ia64 && test "$aix_use_runtimelinking" = no ; then
  10401. test "$enable_shared" = yes && enable_static=no
  10402. fi
  10403. ;;
  10404. esac
  10405. { $as_echo "$as_me:$LINENO: result: $enable_shared" >&5
  10406. $as_echo "$enable_shared" >&6; }
  10407. { $as_echo "$as_me:$LINENO: checking whether to build static libraries" >&5
  10408. $as_echo_n "checking whether to build static libraries... " >&6; }
  10409. # Make sure either enable_shared or enable_static is yes.
  10410. test "$enable_shared" = yes || enable_static=yes
  10411. { $as_echo "$as_me:$LINENO: result: $enable_static" >&5
  10412. $as_echo "$enable_static" >&6; }
  10413. fi
  10414. ac_ext=c
  10415. ac_cpp='$CPP $CPPFLAGS'
  10416. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  10417. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  10418. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  10419. CC="$lt_save_CC"
  10420. ac_config_commands="$ac_config_commands libtool"
  10421. # Only expand once:
  10422. VERSION_SCRIPT_FLAGS=
  10423. # lt_cv_prog_gnu_ld is from libtool 2.+
  10424. if test "$lt_cv_prog_gnu_ld" = yes; then
  10425. VERSION_SCRIPT_FLAGS=-Wl,--version-script=
  10426. else
  10427. case $host in
  10428. *-*-sunos*) VERSION_SCRIPT_FLAGS="-Wl,-M -Wl,";;
  10429. esac
  10430. fi
  10431. if test -n "$VERSION_SCRIPT_FLAGS"; then
  10432. USE_VERSION_SCRIPT_TRUE=
  10433. USE_VERSION_SCRIPT_FALSE='#'
  10434. else
  10435. USE_VERSION_SCRIPT_TRUE='#'
  10436. USE_VERSION_SCRIPT_FALSE=
  10437. fi
  10438. _cppflags="${CPPFLAGS}"
  10439. _ldflags="${LDFLAGS}"
  10440. # Check whether --with-c14n was given.
  10441. if test "${with_c14n+set}" = set; then
  10442. withval=$with_c14n;
  10443. fi
  10444. # Check whether --with-catalog was given.
  10445. if test "${with_catalog+set}" = set; then
  10446. withval=$with_catalog;
  10447. fi
  10448. # Check whether --with-debug was given.
  10449. if test "${with_debug+set}" = set; then
  10450. withval=$with_debug;
  10451. fi
  10452. # Check whether --with-docbook was given.
  10453. if test "${with_docbook+set}" = set; then
  10454. withval=$with_docbook;
  10455. fi
  10456. # Check whether --with-fexceptions was given.
  10457. if test "${with_fexceptions+set}" = set; then
  10458. withval=$with_fexceptions;
  10459. fi
  10460. # Check whether --with-ftp was given.
  10461. if test "${with_ftp+set}" = set; then
  10462. withval=$with_ftp;
  10463. fi
  10464. # Check whether --with-history was given.
  10465. if test "${with_history+set}" = set; then
  10466. withval=$with_history;
  10467. fi
  10468. # Check whether --with-html was given.
  10469. if test "${with_html+set}" = set; then
  10470. withval=$with_html;
  10471. fi
  10472. # Check whether --with-html-dir was given.
  10473. if test "${with_html_dir+set}" = set; then
  10474. withval=$with_html_dir; HTML_DIR=$withval
  10475. else
  10476. HTML_DIR='$(datadir)/doc'
  10477. fi
  10478. # Check whether --with-html-subdir was given.
  10479. if test "${with_html_subdir+set}" = set; then
  10480. withval=$with_html_subdir; test "x$withval" != "x" && HTML_DIR="$HTML_DIR/$withval"
  10481. else
  10482. HTML_DIR="$HTML_DIR/\$(PACKAGE)-\$(VERSION)/html"
  10483. fi
  10484. # Check whether --with-http was given.
  10485. if test "${with_http+set}" = set; then
  10486. withval=$with_http;
  10487. fi
  10488. # Check whether --with-iconv was given.
  10489. if test "${with_iconv+set}" = set; then
  10490. withval=$with_iconv;
  10491. fi
  10492. # Check whether --with-iso8859x was given.
  10493. if test "${with_iso8859x+set}" = set; then
  10494. withval=$with_iso8859x;
  10495. fi
  10496. # Check whether --with-legacy was given.
  10497. if test "${with_legacy+set}" = set; then
  10498. withval=$with_legacy;
  10499. fi
  10500. # Check whether --with-mem_debug was given.
  10501. if test "${with_mem_debug+set}" = set; then
  10502. withval=$with_mem_debug;
  10503. fi
  10504. # Check whether --with-minimum was given.
  10505. if test "${with_minimum+set}" = set; then
  10506. withval=$with_minimum;
  10507. fi
  10508. # Check whether --with-output was given.
  10509. if test "${with_output+set}" = set; then
  10510. withval=$with_output;
  10511. fi
  10512. # Check whether --with-pattern was given.
  10513. if test "${with_pattern+set}" = set; then
  10514. withval=$with_pattern;
  10515. fi
  10516. # Check whether --with-push was given.
  10517. if test "${with_push+set}" = set; then
  10518. withval=$with_push;
  10519. fi
  10520. # Check whether --with-python was given.
  10521. if test "${with_python+set}" = set; then
  10522. withval=$with_python;
  10523. fi
  10524. # Check whether --with-reader was given.
  10525. if test "${with_reader+set}" = set; then
  10526. withval=$with_reader;
  10527. fi
  10528. # Check whether --with-readline was given.
  10529. if test "${with_readline+set}" = set; then
  10530. withval=$with_readline;
  10531. if test "$withval" != "no" -a "$withval" != "yes"; then
  10532. RDL_DIR=$withval
  10533. CPPFLAGS="${CPPFLAGS} -I$withval/include"
  10534. LDFLAGS="${LDFLAGS} -L$withval/lib"
  10535. fi
  10536. fi
  10537. # Check whether --with-regexps was given.
  10538. if test "${with_regexps+set}" = set; then
  10539. withval=$with_regexps;
  10540. fi
  10541. # Check whether --with-run_debug was given.
  10542. if test "${with_run_debug+set}" = set; then
  10543. withval=$with_run_debug;
  10544. fi
  10545. # Check whether --with-sax1 was given.
  10546. if test "${with_sax1+set}" = set; then
  10547. withval=$with_sax1;
  10548. fi
  10549. # Check whether --with-schemas was given.
  10550. if test "${with_schemas+set}" = set; then
  10551. withval=$with_schemas;
  10552. fi
  10553. # Check whether --with-schematron was given.
  10554. if test "${with_schematron+set}" = set; then
  10555. withval=$with_schematron;
  10556. fi
  10557. # Check whether --with-threads was given.
  10558. if test "${with_threads+set}" = set; then
  10559. withval=$with_threads;
  10560. fi
  10561. # Check whether --with-thread-alloc was given.
  10562. if test "${with_thread_alloc+set}" = set; then
  10563. withval=$with_thread_alloc;
  10564. fi
  10565. # Check whether --with-tree was given.
  10566. if test "${with_tree+set}" = set; then
  10567. withval=$with_tree;
  10568. fi
  10569. # Check whether --with-valid was given.
  10570. if test "${with_valid+set}" = set; then
  10571. withval=$with_valid;
  10572. fi
  10573. # Check whether --with-writer was given.
  10574. if test "${with_writer+set}" = set; then
  10575. withval=$with_writer;
  10576. fi
  10577. # Check whether --with-xinclude was given.
  10578. if test "${with_xinclude+set}" = set; then
  10579. withval=$with_xinclude;
  10580. fi
  10581. # Check whether --with-xpath was given.
  10582. if test "${with_xpath+set}" = set; then
  10583. withval=$with_xpath;
  10584. fi
  10585. # Check whether --with-xptr was given.
  10586. if test "${with_xptr+set}" = set; then
  10587. withval=$with_xptr;
  10588. fi
  10589. # Check whether --with-modules was given.
  10590. if test "${with_modules+set}" = set; then
  10591. withval=$with_modules;
  10592. fi
  10593. # Check whether --with-zlib was given.
  10594. if test "${with_zlib+set}" = set; then
  10595. withval=$with_zlib;
  10596. if test "$withval" != "no" -a "$withval" != "yes"; then
  10597. Z_DIR=$withval
  10598. CPPFLAGS="${CPPFLAGS} -I$withval/include"
  10599. LDFLAGS="${LDFLAGS} -L$withval/lib"
  10600. fi
  10601. fi
  10602. # Check whether --with-coverage was given.
  10603. if test "${with_coverage+set}" = set; then
  10604. withval=$with_coverage;
  10605. fi
  10606. # Check whether --enable-rebuild-docs was given.
  10607. if test "${enable_rebuild_docs+set}" = set; then
  10608. enableval=$enable_rebuild_docs;
  10609. fi
  10610. if test "$enable_rebuild_docs" = "no"; then
  10611. REBUILD_DOCS_TRUE=
  10612. REBUILD_DOCS_FALSE='#'
  10613. else
  10614. REBUILD_DOCS_TRUE='#'
  10615. REBUILD_DOCS_FALSE=
  10616. fi
  10617. if test "$with_schemas" = "yes"
  10618. then
  10619. with_pattern=yes
  10620. with_regexps=yes
  10621. fi
  10622. if test "$with_schematron" = "yes"
  10623. then
  10624. with_pattern=yes
  10625. with_xpath=yes
  10626. fi
  10627. if test "$with_reader" = "yes"
  10628. then
  10629. with_push=yes
  10630. fi
  10631. if test "$with_xptr" = "yes"
  10632. then
  10633. with_xpath=yes
  10634. fi
  10635. if test "$with_minimum" = "yes"
  10636. then
  10637. echo "Configuring for a minimal library"
  10638. if test "$with_c14n" = ""
  10639. then
  10640. with_c14n=no
  10641. fi
  10642. if test "$with_catalog" = ""
  10643. then
  10644. with_catalog=no
  10645. fi
  10646. echo So far so good!
  10647. if test "$with_debug" = ""
  10648. then
  10649. with_debug=no
  10650. fi
  10651. if test "$with_docbook" = ""
  10652. then
  10653. with_docbook=no
  10654. fi
  10655. if test "$with_fexceptions" = ""
  10656. then
  10657. with_fexceptions=no
  10658. fi
  10659. if test "$with_ftp" = ""
  10660. then
  10661. with_ftp=no
  10662. fi
  10663. if test "$with_history" = ""
  10664. then
  10665. with_history=no
  10666. fi
  10667. if test "$with_html" = ""
  10668. then
  10669. with_html=no
  10670. fi
  10671. if test "$with_http" = ""
  10672. then
  10673. with_http=no
  10674. fi
  10675. if test "$with_iconv" = ""
  10676. then
  10677. with_iconv=no
  10678. fi
  10679. if test "$with_iso8859x" = ""
  10680. then
  10681. with_iso8859x=no
  10682. fi
  10683. if test "$with_legacy" = ""
  10684. then
  10685. with_legacy=no
  10686. fi
  10687. if test "$with_mem_debug" = ""
  10688. then
  10689. with_mem_debug=no
  10690. fi
  10691. if test "$with_output" = ""
  10692. then
  10693. with_output=no
  10694. fi
  10695. if test "$with_pattern" = ""
  10696. then
  10697. with_pattern=no
  10698. fi
  10699. if test "$with_push" = ""
  10700. then
  10701. with_push=no
  10702. fi
  10703. if test "$with_python" = ""
  10704. then
  10705. with_python=no
  10706. fi
  10707. if test "$with_reader" = ""
  10708. then
  10709. with_reader=no
  10710. fi
  10711. if test "$with_readline" = ""
  10712. then
  10713. with_readline=no
  10714. fi
  10715. if test "$with_regexps" = ""
  10716. then
  10717. with_regexps=no
  10718. fi
  10719. if test "$with_run_debug" = ""
  10720. then
  10721. with_run_debug=no
  10722. fi
  10723. if test "$with_sax1" = ""
  10724. then
  10725. with_sax1=no
  10726. fi
  10727. if test "$with_schemas" = ""
  10728. then
  10729. with_schemas=no
  10730. fi
  10731. if test "$with_schematron" = ""
  10732. then
  10733. with_schematron=no
  10734. fi
  10735. if test "$with_threads" = ""
  10736. then
  10737. with_threads=no
  10738. fi
  10739. if test "$with_thread_alloc" = ""
  10740. then
  10741. with_thread_alloc=no
  10742. fi
  10743. if test "$with_tree" = ""
  10744. then
  10745. with_tree=no
  10746. fi
  10747. if test "$with_valid" = ""
  10748. then
  10749. with_valid=no
  10750. fi
  10751. if test "$with_writer" = ""
  10752. then
  10753. with_writer=no
  10754. fi
  10755. if test "$with_xinclude" = ""
  10756. then
  10757. with_xinclude=no
  10758. fi
  10759. if test "$with_xpath" = ""
  10760. then
  10761. with_xpath=no
  10762. fi
  10763. if test "$with_xptr" = ""
  10764. then
  10765. with_xptr=no
  10766. fi
  10767. if test "$with_zlib" = ""
  10768. then
  10769. with_zlib=no
  10770. fi
  10771. if test "$with_modules" = ""
  10772. then
  10773. with_modules=no
  10774. fi
  10775. fi
  10776. echo Checking zlib
  10777. WITH_ZLIB=0
  10778. if test "$with_zlib" = "no"; then
  10779. echo "Disabling compression support"
  10780. else
  10781. for ac_header in zlib.h
  10782. do
  10783. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  10784. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  10785. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  10786. $as_echo_n "checking for $ac_header... " >&6; }
  10787. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  10788. $as_echo_n "(cached) " >&6
  10789. fi
  10790. ac_res=`eval 'as_val=${'$as_ac_Header'}
  10791. $as_echo "$as_val"'`
  10792. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  10793. $as_echo "$ac_res" >&6; }
  10794. else
  10795. # Is the header compilable?
  10796. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  10797. $as_echo_n "checking $ac_header usability... " >&6; }
  10798. cat >conftest.$ac_ext <<_ACEOF
  10799. /* confdefs.h. */
  10800. _ACEOF
  10801. cat confdefs.h >>conftest.$ac_ext
  10802. cat >>conftest.$ac_ext <<_ACEOF
  10803. /* end confdefs.h. */
  10804. $ac_includes_default
  10805. #include <$ac_header>
  10806. _ACEOF
  10807. rm -f conftest.$ac_objext
  10808. if { (ac_try="$ac_compile"
  10809. case "(($ac_try" in
  10810. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10811. *) ac_try_echo=$ac_try;;
  10812. esac
  10813. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10814. $as_echo "$ac_try_echo") >&5
  10815. (eval "$ac_compile") 2>conftest.er1
  10816. ac_status=$?
  10817. grep -v '^ *+' conftest.er1 >conftest.err
  10818. rm -f conftest.er1
  10819. cat conftest.err >&5
  10820. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10821. (exit $ac_status); } && {
  10822. test -z "$ac_c_werror_flag" ||
  10823. test ! -s conftest.err
  10824. } && test -s conftest.$ac_objext; then
  10825. ac_header_compiler=yes
  10826. else
  10827. $as_echo "$as_me: failed program was:" >&5
  10828. sed 's/^/| /' conftest.$ac_ext >&5
  10829. ac_header_compiler=no
  10830. fi
  10831. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  10832. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  10833. $as_echo "$ac_header_compiler" >&6; }
  10834. # Is the header present?
  10835. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  10836. $as_echo_n "checking $ac_header presence... " >&6; }
  10837. cat >conftest.$ac_ext <<_ACEOF
  10838. /* confdefs.h. */
  10839. _ACEOF
  10840. cat confdefs.h >>conftest.$ac_ext
  10841. cat >>conftest.$ac_ext <<_ACEOF
  10842. /* end confdefs.h. */
  10843. #include <$ac_header>
  10844. _ACEOF
  10845. if { (ac_try="$ac_cpp conftest.$ac_ext"
  10846. case "(($ac_try" in
  10847. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10848. *) ac_try_echo=$ac_try;;
  10849. esac
  10850. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10851. $as_echo "$ac_try_echo") >&5
  10852. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  10853. ac_status=$?
  10854. grep -v '^ *+' conftest.er1 >conftest.err
  10855. rm -f conftest.er1
  10856. cat conftest.err >&5
  10857. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10858. (exit $ac_status); } >/dev/null && {
  10859. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  10860. test ! -s conftest.err
  10861. }; then
  10862. ac_header_preproc=yes
  10863. else
  10864. $as_echo "$as_me: failed program was:" >&5
  10865. sed 's/^/| /' conftest.$ac_ext >&5
  10866. ac_header_preproc=no
  10867. fi
  10868. rm -f conftest.err conftest.$ac_ext
  10869. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  10870. $as_echo "$ac_header_preproc" >&6; }
  10871. # So? What about this header?
  10872. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  10873. yes:no: )
  10874. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  10875. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  10876. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  10877. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  10878. ac_header_preproc=yes
  10879. ;;
  10880. no:yes:* )
  10881. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  10882. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  10883. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  10884. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  10885. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  10886. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  10887. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  10888. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  10889. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  10890. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  10891. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  10892. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  10893. ;;
  10894. esac
  10895. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  10896. $as_echo_n "checking for $ac_header... " >&6; }
  10897. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  10898. $as_echo_n "(cached) " >&6
  10899. else
  10900. eval "$as_ac_Header=\$ac_header_preproc"
  10901. fi
  10902. ac_res=`eval 'as_val=${'$as_ac_Header'}
  10903. $as_echo "$as_val"'`
  10904. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  10905. $as_echo "$ac_res" >&6; }
  10906. fi
  10907. as_val=`eval 'as_val=${'$as_ac_Header'}
  10908. $as_echo "$as_val"'`
  10909. if test "x$as_val" = x""yes; then
  10910. cat >>confdefs.h <<_ACEOF
  10911. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  10912. _ACEOF
  10913. { $as_echo "$as_me:$LINENO: checking for gzread in -lz" >&5
  10914. $as_echo_n "checking for gzread in -lz... " >&6; }
  10915. if test "${ac_cv_lib_z_gzread+set}" = set; then
  10916. $as_echo_n "(cached) " >&6
  10917. else
  10918. ac_check_lib_save_LIBS=$LIBS
  10919. LIBS="-lz $LIBS"
  10920. cat >conftest.$ac_ext <<_ACEOF
  10921. /* confdefs.h. */
  10922. _ACEOF
  10923. cat confdefs.h >>conftest.$ac_ext
  10924. cat >>conftest.$ac_ext <<_ACEOF
  10925. /* end confdefs.h. */
  10926. /* Override any GCC internal prototype to avoid an error.
  10927. Use char because int might match the return type of a GCC
  10928. builtin and then its argument prototype would still apply. */
  10929. #ifdef __cplusplus
  10930. extern "C"
  10931. #endif
  10932. char gzread ();
  10933. int
  10934. main ()
  10935. {
  10936. return gzread ();
  10937. ;
  10938. return 0;
  10939. }
  10940. _ACEOF
  10941. rm -f conftest.$ac_objext conftest$ac_exeext
  10942. if { (ac_try="$ac_link"
  10943. case "(($ac_try" in
  10944. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  10945. *) ac_try_echo=$ac_try;;
  10946. esac
  10947. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  10948. $as_echo "$ac_try_echo") >&5
  10949. (eval "$ac_link") 2>conftest.er1
  10950. ac_status=$?
  10951. grep -v '^ *+' conftest.er1 >conftest.err
  10952. rm -f conftest.er1
  10953. cat conftest.err >&5
  10954. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  10955. (exit $ac_status); } && {
  10956. test -z "$ac_c_werror_flag" ||
  10957. test ! -s conftest.err
  10958. } && test -s conftest$ac_exeext && {
  10959. test "$cross_compiling" = yes ||
  10960. $as_test_x conftest$ac_exeext
  10961. }; then
  10962. ac_cv_lib_z_gzread=yes
  10963. else
  10964. $as_echo "$as_me: failed program was:" >&5
  10965. sed 's/^/| /' conftest.$ac_ext >&5
  10966. ac_cv_lib_z_gzread=no
  10967. fi
  10968. rm -rf conftest.dSYM
  10969. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  10970. conftest$ac_exeext conftest.$ac_ext
  10971. LIBS=$ac_check_lib_save_LIBS
  10972. fi
  10973. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_z_gzread" >&5
  10974. $as_echo "$ac_cv_lib_z_gzread" >&6; }
  10975. if test "x$ac_cv_lib_z_gzread" = x""yes; then
  10976. cat >>confdefs.h <<\_ACEOF
  10977. #define HAVE_LIBZ 1
  10978. _ACEOF
  10979. WITH_ZLIB=1
  10980. if test "x${Z_DIR}" != "x"; then
  10981. Z_CFLAGS="-I${Z_DIR}/include"
  10982. Z_LIBS="-L${Z_DIR}/lib -lz"
  10983. case ${host} in
  10984. *-*-solaris*)
  10985. Z_LIBS="-L${Z_DIR}/lib -R${Z_DIR}/lib -lz"
  10986. ;;
  10987. esac
  10988. else
  10989. Z_LIBS="-lz"
  10990. fi
  10991. fi
  10992. fi
  10993. done
  10994. fi
  10995. CPPFLAGS=${_cppflags}
  10996. LDFLAGS=${_ldflags}
  10997. echo Checking headers
  10998. ac_header_dirent=no
  10999. for ac_hdr in dirent.h sys/ndir.h sys/dir.h ndir.h; do
  11000. as_ac_Header=`$as_echo "ac_cv_header_dirent_$ac_hdr" | $as_tr_sh`
  11001. { $as_echo "$as_me:$LINENO: checking for $ac_hdr that defines DIR" >&5
  11002. $as_echo_n "checking for $ac_hdr that defines DIR... " >&6; }
  11003. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11004. $as_echo_n "(cached) " >&6
  11005. else
  11006. cat >conftest.$ac_ext <<_ACEOF
  11007. /* confdefs.h. */
  11008. _ACEOF
  11009. cat confdefs.h >>conftest.$ac_ext
  11010. cat >>conftest.$ac_ext <<_ACEOF
  11011. /* end confdefs.h. */
  11012. #include <sys/types.h>
  11013. #include <$ac_hdr>
  11014. int
  11015. main ()
  11016. {
  11017. if ((DIR *) 0)
  11018. return 0;
  11019. ;
  11020. return 0;
  11021. }
  11022. _ACEOF
  11023. rm -f conftest.$ac_objext
  11024. if { (ac_try="$ac_compile"
  11025. case "(($ac_try" in
  11026. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11027. *) ac_try_echo=$ac_try;;
  11028. esac
  11029. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11030. $as_echo "$ac_try_echo") >&5
  11031. (eval "$ac_compile") 2>conftest.er1
  11032. ac_status=$?
  11033. grep -v '^ *+' conftest.er1 >conftest.err
  11034. rm -f conftest.er1
  11035. cat conftest.err >&5
  11036. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11037. (exit $ac_status); } && {
  11038. test -z "$ac_c_werror_flag" ||
  11039. test ! -s conftest.err
  11040. } && test -s conftest.$ac_objext; then
  11041. eval "$as_ac_Header=yes"
  11042. else
  11043. $as_echo "$as_me: failed program was:" >&5
  11044. sed 's/^/| /' conftest.$ac_ext >&5
  11045. eval "$as_ac_Header=no"
  11046. fi
  11047. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11048. fi
  11049. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11050. $as_echo "$as_val"'`
  11051. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11052. $as_echo "$ac_res" >&6; }
  11053. as_val=`eval 'as_val=${'$as_ac_Header'}
  11054. $as_echo "$as_val"'`
  11055. if test "x$as_val" = x""yes; then
  11056. cat >>confdefs.h <<_ACEOF
  11057. #define `$as_echo "HAVE_$ac_hdr" | $as_tr_cpp` 1
  11058. _ACEOF
  11059. ac_header_dirent=$ac_hdr; break
  11060. fi
  11061. done
  11062. # Two versions of opendir et al. are in -ldir and -lx on SCO Xenix.
  11063. if test $ac_header_dirent = dirent.h; then
  11064. { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
  11065. $as_echo_n "checking for library containing opendir... " >&6; }
  11066. if test "${ac_cv_search_opendir+set}" = set; then
  11067. $as_echo_n "(cached) " >&6
  11068. else
  11069. ac_func_search_save_LIBS=$LIBS
  11070. cat >conftest.$ac_ext <<_ACEOF
  11071. /* confdefs.h. */
  11072. _ACEOF
  11073. cat confdefs.h >>conftest.$ac_ext
  11074. cat >>conftest.$ac_ext <<_ACEOF
  11075. /* end confdefs.h. */
  11076. /* Override any GCC internal prototype to avoid an error.
  11077. Use char because int might match the return type of a GCC
  11078. builtin and then its argument prototype would still apply. */
  11079. #ifdef __cplusplus
  11080. extern "C"
  11081. #endif
  11082. char opendir ();
  11083. int
  11084. main ()
  11085. {
  11086. return opendir ();
  11087. ;
  11088. return 0;
  11089. }
  11090. _ACEOF
  11091. for ac_lib in '' dir; do
  11092. if test -z "$ac_lib"; then
  11093. ac_res="none required"
  11094. else
  11095. ac_res=-l$ac_lib
  11096. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  11097. fi
  11098. rm -f conftest.$ac_objext conftest$ac_exeext
  11099. if { (ac_try="$ac_link"
  11100. case "(($ac_try" in
  11101. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11102. *) ac_try_echo=$ac_try;;
  11103. esac
  11104. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11105. $as_echo "$ac_try_echo") >&5
  11106. (eval "$ac_link") 2>conftest.er1
  11107. ac_status=$?
  11108. grep -v '^ *+' conftest.er1 >conftest.err
  11109. rm -f conftest.er1
  11110. cat conftest.err >&5
  11111. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11112. (exit $ac_status); } && {
  11113. test -z "$ac_c_werror_flag" ||
  11114. test ! -s conftest.err
  11115. } && test -s conftest$ac_exeext && {
  11116. test "$cross_compiling" = yes ||
  11117. $as_test_x conftest$ac_exeext
  11118. }; then
  11119. ac_cv_search_opendir=$ac_res
  11120. else
  11121. $as_echo "$as_me: failed program was:" >&5
  11122. sed 's/^/| /' conftest.$ac_ext >&5
  11123. fi
  11124. rm -rf conftest.dSYM
  11125. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  11126. conftest$ac_exeext
  11127. if test "${ac_cv_search_opendir+set}" = set; then
  11128. break
  11129. fi
  11130. done
  11131. if test "${ac_cv_search_opendir+set}" = set; then
  11132. :
  11133. else
  11134. ac_cv_search_opendir=no
  11135. fi
  11136. rm conftest.$ac_ext
  11137. LIBS=$ac_func_search_save_LIBS
  11138. fi
  11139. { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  11140. $as_echo "$ac_cv_search_opendir" >&6; }
  11141. ac_res=$ac_cv_search_opendir
  11142. if test "$ac_res" != no; then
  11143. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  11144. fi
  11145. else
  11146. { $as_echo "$as_me:$LINENO: checking for library containing opendir" >&5
  11147. $as_echo_n "checking for library containing opendir... " >&6; }
  11148. if test "${ac_cv_search_opendir+set}" = set; then
  11149. $as_echo_n "(cached) " >&6
  11150. else
  11151. ac_func_search_save_LIBS=$LIBS
  11152. cat >conftest.$ac_ext <<_ACEOF
  11153. /* confdefs.h. */
  11154. _ACEOF
  11155. cat confdefs.h >>conftest.$ac_ext
  11156. cat >>conftest.$ac_ext <<_ACEOF
  11157. /* end confdefs.h. */
  11158. /* Override any GCC internal prototype to avoid an error.
  11159. Use char because int might match the return type of a GCC
  11160. builtin and then its argument prototype would still apply. */
  11161. #ifdef __cplusplus
  11162. extern "C"
  11163. #endif
  11164. char opendir ();
  11165. int
  11166. main ()
  11167. {
  11168. return opendir ();
  11169. ;
  11170. return 0;
  11171. }
  11172. _ACEOF
  11173. for ac_lib in '' x; do
  11174. if test -z "$ac_lib"; then
  11175. ac_res="none required"
  11176. else
  11177. ac_res=-l$ac_lib
  11178. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  11179. fi
  11180. rm -f conftest.$ac_objext conftest$ac_exeext
  11181. if { (ac_try="$ac_link"
  11182. case "(($ac_try" in
  11183. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11184. *) ac_try_echo=$ac_try;;
  11185. esac
  11186. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11187. $as_echo "$ac_try_echo") >&5
  11188. (eval "$ac_link") 2>conftest.er1
  11189. ac_status=$?
  11190. grep -v '^ *+' conftest.er1 >conftest.err
  11191. rm -f conftest.er1
  11192. cat conftest.err >&5
  11193. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11194. (exit $ac_status); } && {
  11195. test -z "$ac_c_werror_flag" ||
  11196. test ! -s conftest.err
  11197. } && test -s conftest$ac_exeext && {
  11198. test "$cross_compiling" = yes ||
  11199. $as_test_x conftest$ac_exeext
  11200. }; then
  11201. ac_cv_search_opendir=$ac_res
  11202. else
  11203. $as_echo "$as_me: failed program was:" >&5
  11204. sed 's/^/| /' conftest.$ac_ext >&5
  11205. fi
  11206. rm -rf conftest.dSYM
  11207. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  11208. conftest$ac_exeext
  11209. if test "${ac_cv_search_opendir+set}" = set; then
  11210. break
  11211. fi
  11212. done
  11213. if test "${ac_cv_search_opendir+set}" = set; then
  11214. :
  11215. else
  11216. ac_cv_search_opendir=no
  11217. fi
  11218. rm conftest.$ac_ext
  11219. LIBS=$ac_func_search_save_LIBS
  11220. fi
  11221. { $as_echo "$as_me:$LINENO: result: $ac_cv_search_opendir" >&5
  11222. $as_echo "$ac_cv_search_opendir" >&6; }
  11223. ac_res=$ac_cv_search_opendir
  11224. if test "$ac_res" != no; then
  11225. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  11226. fi
  11227. fi
  11228. { $as_echo "$as_me:$LINENO: checking for ANSI C header files" >&5
  11229. $as_echo_n "checking for ANSI C header files... " >&6; }
  11230. if test "${ac_cv_header_stdc+set}" = set; then
  11231. $as_echo_n "(cached) " >&6
  11232. else
  11233. cat >conftest.$ac_ext <<_ACEOF
  11234. /* confdefs.h. */
  11235. _ACEOF
  11236. cat confdefs.h >>conftest.$ac_ext
  11237. cat >>conftest.$ac_ext <<_ACEOF
  11238. /* end confdefs.h. */
  11239. #include <stdlib.h>
  11240. #include <stdarg.h>
  11241. #include <string.h>
  11242. #include <float.h>
  11243. int
  11244. main ()
  11245. {
  11246. ;
  11247. return 0;
  11248. }
  11249. _ACEOF
  11250. rm -f conftest.$ac_objext
  11251. if { (ac_try="$ac_compile"
  11252. case "(($ac_try" in
  11253. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11254. *) ac_try_echo=$ac_try;;
  11255. esac
  11256. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11257. $as_echo "$ac_try_echo") >&5
  11258. (eval "$ac_compile") 2>conftest.er1
  11259. ac_status=$?
  11260. grep -v '^ *+' conftest.er1 >conftest.err
  11261. rm -f conftest.er1
  11262. cat conftest.err >&5
  11263. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11264. (exit $ac_status); } && {
  11265. test -z "$ac_c_werror_flag" ||
  11266. test ! -s conftest.err
  11267. } && test -s conftest.$ac_objext; then
  11268. ac_cv_header_stdc=yes
  11269. else
  11270. $as_echo "$as_me: failed program was:" >&5
  11271. sed 's/^/| /' conftest.$ac_ext >&5
  11272. ac_cv_header_stdc=no
  11273. fi
  11274. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11275. if test $ac_cv_header_stdc = yes; then
  11276. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  11277. cat >conftest.$ac_ext <<_ACEOF
  11278. /* confdefs.h. */
  11279. _ACEOF
  11280. cat confdefs.h >>conftest.$ac_ext
  11281. cat >>conftest.$ac_ext <<_ACEOF
  11282. /* end confdefs.h. */
  11283. #include <string.h>
  11284. _ACEOF
  11285. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  11286. $EGREP "memchr" >/dev/null 2>&1; then
  11287. :
  11288. else
  11289. ac_cv_header_stdc=no
  11290. fi
  11291. rm -f conftest*
  11292. fi
  11293. if test $ac_cv_header_stdc = yes; then
  11294. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  11295. cat >conftest.$ac_ext <<_ACEOF
  11296. /* confdefs.h. */
  11297. _ACEOF
  11298. cat confdefs.h >>conftest.$ac_ext
  11299. cat >>conftest.$ac_ext <<_ACEOF
  11300. /* end confdefs.h. */
  11301. #include <stdlib.h>
  11302. _ACEOF
  11303. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  11304. $EGREP "free" >/dev/null 2>&1; then
  11305. :
  11306. else
  11307. ac_cv_header_stdc=no
  11308. fi
  11309. rm -f conftest*
  11310. fi
  11311. if test $ac_cv_header_stdc = yes; then
  11312. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  11313. if test "$cross_compiling" = yes; then
  11314. :
  11315. else
  11316. cat >conftest.$ac_ext <<_ACEOF
  11317. /* confdefs.h. */
  11318. _ACEOF
  11319. cat confdefs.h >>conftest.$ac_ext
  11320. cat >>conftest.$ac_ext <<_ACEOF
  11321. /* end confdefs.h. */
  11322. #include <ctype.h>
  11323. #include <stdlib.h>
  11324. #if ((' ' & 0x0FF) == 0x020)
  11325. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  11326. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  11327. #else
  11328. # define ISLOWER(c) \
  11329. (('a' <= (c) && (c) <= 'i') \
  11330. || ('j' <= (c) && (c) <= 'r') \
  11331. || ('s' <= (c) && (c) <= 'z'))
  11332. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  11333. #endif
  11334. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  11335. int
  11336. main ()
  11337. {
  11338. int i;
  11339. for (i = 0; i < 256; i++)
  11340. if (XOR (islower (i), ISLOWER (i))
  11341. || toupper (i) != TOUPPER (i))
  11342. return 2;
  11343. return 0;
  11344. }
  11345. _ACEOF
  11346. rm -f conftest$ac_exeext
  11347. if { (ac_try="$ac_link"
  11348. case "(($ac_try" in
  11349. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11350. *) ac_try_echo=$ac_try;;
  11351. esac
  11352. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11353. $as_echo "$ac_try_echo") >&5
  11354. (eval "$ac_link") 2>&5
  11355. ac_status=$?
  11356. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11357. (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
  11358. { (case "(($ac_try" in
  11359. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11360. *) ac_try_echo=$ac_try;;
  11361. esac
  11362. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11363. $as_echo "$ac_try_echo") >&5
  11364. (eval "$ac_try") 2>&5
  11365. ac_status=$?
  11366. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11367. (exit $ac_status); }; }; then
  11368. :
  11369. else
  11370. $as_echo "$as_me: program exited with status $ac_status" >&5
  11371. $as_echo "$as_me: failed program was:" >&5
  11372. sed 's/^/| /' conftest.$ac_ext >&5
  11373. ( exit $ac_status )
  11374. ac_cv_header_stdc=no
  11375. fi
  11376. rm -rf conftest.dSYM
  11377. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
  11378. fi
  11379. fi
  11380. fi
  11381. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
  11382. $as_echo "$ac_cv_header_stdc" >&6; }
  11383. if test $ac_cv_header_stdc = yes; then
  11384. cat >>confdefs.h <<\_ACEOF
  11385. #define STDC_HEADERS 1
  11386. _ACEOF
  11387. fi
  11388. for ac_header in fcntl.h
  11389. do
  11390. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11391. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11392. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11393. $as_echo_n "checking for $ac_header... " >&6; }
  11394. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11395. $as_echo_n "(cached) " >&6
  11396. fi
  11397. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11398. $as_echo "$as_val"'`
  11399. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11400. $as_echo "$ac_res" >&6; }
  11401. else
  11402. # Is the header compilable?
  11403. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11404. $as_echo_n "checking $ac_header usability... " >&6; }
  11405. cat >conftest.$ac_ext <<_ACEOF
  11406. /* confdefs.h. */
  11407. _ACEOF
  11408. cat confdefs.h >>conftest.$ac_ext
  11409. cat >>conftest.$ac_ext <<_ACEOF
  11410. /* end confdefs.h. */
  11411. $ac_includes_default
  11412. #include <$ac_header>
  11413. _ACEOF
  11414. rm -f conftest.$ac_objext
  11415. if { (ac_try="$ac_compile"
  11416. case "(($ac_try" in
  11417. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11418. *) ac_try_echo=$ac_try;;
  11419. esac
  11420. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11421. $as_echo "$ac_try_echo") >&5
  11422. (eval "$ac_compile") 2>conftest.er1
  11423. ac_status=$?
  11424. grep -v '^ *+' conftest.er1 >conftest.err
  11425. rm -f conftest.er1
  11426. cat conftest.err >&5
  11427. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11428. (exit $ac_status); } && {
  11429. test -z "$ac_c_werror_flag" ||
  11430. test ! -s conftest.err
  11431. } && test -s conftest.$ac_objext; then
  11432. ac_header_compiler=yes
  11433. else
  11434. $as_echo "$as_me: failed program was:" >&5
  11435. sed 's/^/| /' conftest.$ac_ext >&5
  11436. ac_header_compiler=no
  11437. fi
  11438. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11439. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11440. $as_echo "$ac_header_compiler" >&6; }
  11441. # Is the header present?
  11442. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11443. $as_echo_n "checking $ac_header presence... " >&6; }
  11444. cat >conftest.$ac_ext <<_ACEOF
  11445. /* confdefs.h. */
  11446. _ACEOF
  11447. cat confdefs.h >>conftest.$ac_ext
  11448. cat >>conftest.$ac_ext <<_ACEOF
  11449. /* end confdefs.h. */
  11450. #include <$ac_header>
  11451. _ACEOF
  11452. if { (ac_try="$ac_cpp conftest.$ac_ext"
  11453. case "(($ac_try" in
  11454. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11455. *) ac_try_echo=$ac_try;;
  11456. esac
  11457. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11458. $as_echo "$ac_try_echo") >&5
  11459. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11460. ac_status=$?
  11461. grep -v '^ *+' conftest.er1 >conftest.err
  11462. rm -f conftest.er1
  11463. cat conftest.err >&5
  11464. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11465. (exit $ac_status); } >/dev/null && {
  11466. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11467. test ! -s conftest.err
  11468. }; then
  11469. ac_header_preproc=yes
  11470. else
  11471. $as_echo "$as_me: failed program was:" >&5
  11472. sed 's/^/| /' conftest.$ac_ext >&5
  11473. ac_header_preproc=no
  11474. fi
  11475. rm -f conftest.err conftest.$ac_ext
  11476. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11477. $as_echo "$ac_header_preproc" >&6; }
  11478. # So? What about this header?
  11479. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  11480. yes:no: )
  11481. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  11482. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  11483. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  11484. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  11485. ac_header_preproc=yes
  11486. ;;
  11487. no:yes:* )
  11488. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  11489. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  11490. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  11491. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  11492. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  11493. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  11494. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  11495. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  11496. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  11497. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  11498. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  11499. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  11500. ;;
  11501. esac
  11502. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11503. $as_echo_n "checking for $ac_header... " >&6; }
  11504. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11505. $as_echo_n "(cached) " >&6
  11506. else
  11507. eval "$as_ac_Header=\$ac_header_preproc"
  11508. fi
  11509. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11510. $as_echo "$as_val"'`
  11511. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11512. $as_echo "$ac_res" >&6; }
  11513. fi
  11514. as_val=`eval 'as_val=${'$as_ac_Header'}
  11515. $as_echo "$as_val"'`
  11516. if test "x$as_val" = x""yes; then
  11517. cat >>confdefs.h <<_ACEOF
  11518. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11519. _ACEOF
  11520. fi
  11521. done
  11522. for ac_header in unistd.h
  11523. do
  11524. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11525. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11526. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11527. $as_echo_n "checking for $ac_header... " >&6; }
  11528. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11529. $as_echo_n "(cached) " >&6
  11530. fi
  11531. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11532. $as_echo "$as_val"'`
  11533. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11534. $as_echo "$ac_res" >&6; }
  11535. else
  11536. # Is the header compilable?
  11537. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11538. $as_echo_n "checking $ac_header usability... " >&6; }
  11539. cat >conftest.$ac_ext <<_ACEOF
  11540. /* confdefs.h. */
  11541. _ACEOF
  11542. cat confdefs.h >>conftest.$ac_ext
  11543. cat >>conftest.$ac_ext <<_ACEOF
  11544. /* end confdefs.h. */
  11545. $ac_includes_default
  11546. #include <$ac_header>
  11547. _ACEOF
  11548. rm -f conftest.$ac_objext
  11549. if { (ac_try="$ac_compile"
  11550. case "(($ac_try" in
  11551. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11552. *) ac_try_echo=$ac_try;;
  11553. esac
  11554. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11555. $as_echo "$ac_try_echo") >&5
  11556. (eval "$ac_compile") 2>conftest.er1
  11557. ac_status=$?
  11558. grep -v '^ *+' conftest.er1 >conftest.err
  11559. rm -f conftest.er1
  11560. cat conftest.err >&5
  11561. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11562. (exit $ac_status); } && {
  11563. test -z "$ac_c_werror_flag" ||
  11564. test ! -s conftest.err
  11565. } && test -s conftest.$ac_objext; then
  11566. ac_header_compiler=yes
  11567. else
  11568. $as_echo "$as_me: failed program was:" >&5
  11569. sed 's/^/| /' conftest.$ac_ext >&5
  11570. ac_header_compiler=no
  11571. fi
  11572. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11573. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11574. $as_echo "$ac_header_compiler" >&6; }
  11575. # Is the header present?
  11576. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11577. $as_echo_n "checking $ac_header presence... " >&6; }
  11578. cat >conftest.$ac_ext <<_ACEOF
  11579. /* confdefs.h. */
  11580. _ACEOF
  11581. cat confdefs.h >>conftest.$ac_ext
  11582. cat >>conftest.$ac_ext <<_ACEOF
  11583. /* end confdefs.h. */
  11584. #include <$ac_header>
  11585. _ACEOF
  11586. if { (ac_try="$ac_cpp conftest.$ac_ext"
  11587. case "(($ac_try" in
  11588. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11589. *) ac_try_echo=$ac_try;;
  11590. esac
  11591. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11592. $as_echo "$ac_try_echo") >&5
  11593. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11594. ac_status=$?
  11595. grep -v '^ *+' conftest.er1 >conftest.err
  11596. rm -f conftest.er1
  11597. cat conftest.err >&5
  11598. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11599. (exit $ac_status); } >/dev/null && {
  11600. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11601. test ! -s conftest.err
  11602. }; then
  11603. ac_header_preproc=yes
  11604. else
  11605. $as_echo "$as_me: failed program was:" >&5
  11606. sed 's/^/| /' conftest.$ac_ext >&5
  11607. ac_header_preproc=no
  11608. fi
  11609. rm -f conftest.err conftest.$ac_ext
  11610. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11611. $as_echo "$ac_header_preproc" >&6; }
  11612. # So? What about this header?
  11613. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  11614. yes:no: )
  11615. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  11616. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  11617. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  11618. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  11619. ac_header_preproc=yes
  11620. ;;
  11621. no:yes:* )
  11622. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  11623. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  11624. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  11625. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  11626. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  11627. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  11628. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  11629. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  11630. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  11631. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  11632. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  11633. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  11634. ;;
  11635. esac
  11636. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11637. $as_echo_n "checking for $ac_header... " >&6; }
  11638. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11639. $as_echo_n "(cached) " >&6
  11640. else
  11641. eval "$as_ac_Header=\$ac_header_preproc"
  11642. fi
  11643. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11644. $as_echo "$as_val"'`
  11645. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11646. $as_echo "$ac_res" >&6; }
  11647. fi
  11648. as_val=`eval 'as_val=${'$as_ac_Header'}
  11649. $as_echo "$as_val"'`
  11650. if test "x$as_val" = x""yes; then
  11651. cat >>confdefs.h <<_ACEOF
  11652. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11653. _ACEOF
  11654. fi
  11655. done
  11656. for ac_header in ctype.h
  11657. do
  11658. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11659. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11660. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11661. $as_echo_n "checking for $ac_header... " >&6; }
  11662. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11663. $as_echo_n "(cached) " >&6
  11664. fi
  11665. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11666. $as_echo "$as_val"'`
  11667. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11668. $as_echo "$ac_res" >&6; }
  11669. else
  11670. # Is the header compilable?
  11671. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11672. $as_echo_n "checking $ac_header usability... " >&6; }
  11673. cat >conftest.$ac_ext <<_ACEOF
  11674. /* confdefs.h. */
  11675. _ACEOF
  11676. cat confdefs.h >>conftest.$ac_ext
  11677. cat >>conftest.$ac_ext <<_ACEOF
  11678. /* end confdefs.h. */
  11679. $ac_includes_default
  11680. #include <$ac_header>
  11681. _ACEOF
  11682. rm -f conftest.$ac_objext
  11683. if { (ac_try="$ac_compile"
  11684. case "(($ac_try" in
  11685. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11686. *) ac_try_echo=$ac_try;;
  11687. esac
  11688. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11689. $as_echo "$ac_try_echo") >&5
  11690. (eval "$ac_compile") 2>conftest.er1
  11691. ac_status=$?
  11692. grep -v '^ *+' conftest.er1 >conftest.err
  11693. rm -f conftest.er1
  11694. cat conftest.err >&5
  11695. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11696. (exit $ac_status); } && {
  11697. test -z "$ac_c_werror_flag" ||
  11698. test ! -s conftest.err
  11699. } && test -s conftest.$ac_objext; then
  11700. ac_header_compiler=yes
  11701. else
  11702. $as_echo "$as_me: failed program was:" >&5
  11703. sed 's/^/| /' conftest.$ac_ext >&5
  11704. ac_header_compiler=no
  11705. fi
  11706. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11707. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11708. $as_echo "$ac_header_compiler" >&6; }
  11709. # Is the header present?
  11710. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11711. $as_echo_n "checking $ac_header presence... " >&6; }
  11712. cat >conftest.$ac_ext <<_ACEOF
  11713. /* confdefs.h. */
  11714. _ACEOF
  11715. cat confdefs.h >>conftest.$ac_ext
  11716. cat >>conftest.$ac_ext <<_ACEOF
  11717. /* end confdefs.h. */
  11718. #include <$ac_header>
  11719. _ACEOF
  11720. if { (ac_try="$ac_cpp conftest.$ac_ext"
  11721. case "(($ac_try" in
  11722. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11723. *) ac_try_echo=$ac_try;;
  11724. esac
  11725. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11726. $as_echo "$ac_try_echo") >&5
  11727. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11728. ac_status=$?
  11729. grep -v '^ *+' conftest.er1 >conftest.err
  11730. rm -f conftest.er1
  11731. cat conftest.err >&5
  11732. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11733. (exit $ac_status); } >/dev/null && {
  11734. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11735. test ! -s conftest.err
  11736. }; then
  11737. ac_header_preproc=yes
  11738. else
  11739. $as_echo "$as_me: failed program was:" >&5
  11740. sed 's/^/| /' conftest.$ac_ext >&5
  11741. ac_header_preproc=no
  11742. fi
  11743. rm -f conftest.err conftest.$ac_ext
  11744. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11745. $as_echo "$ac_header_preproc" >&6; }
  11746. # So? What about this header?
  11747. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  11748. yes:no: )
  11749. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  11750. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  11751. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  11752. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  11753. ac_header_preproc=yes
  11754. ;;
  11755. no:yes:* )
  11756. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  11757. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  11758. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  11759. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  11760. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  11761. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  11762. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  11763. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  11764. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  11765. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  11766. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  11767. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  11768. ;;
  11769. esac
  11770. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11771. $as_echo_n "checking for $ac_header... " >&6; }
  11772. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11773. $as_echo_n "(cached) " >&6
  11774. else
  11775. eval "$as_ac_Header=\$ac_header_preproc"
  11776. fi
  11777. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11778. $as_echo "$as_val"'`
  11779. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11780. $as_echo "$ac_res" >&6; }
  11781. fi
  11782. as_val=`eval 'as_val=${'$as_ac_Header'}
  11783. $as_echo "$as_val"'`
  11784. if test "x$as_val" = x""yes; then
  11785. cat >>confdefs.h <<_ACEOF
  11786. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11787. _ACEOF
  11788. fi
  11789. done
  11790. for ac_header in dirent.h
  11791. do
  11792. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11793. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11794. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11795. $as_echo_n "checking for $ac_header... " >&6; }
  11796. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11797. $as_echo_n "(cached) " >&6
  11798. fi
  11799. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11800. $as_echo "$as_val"'`
  11801. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11802. $as_echo "$ac_res" >&6; }
  11803. else
  11804. # Is the header compilable?
  11805. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11806. $as_echo_n "checking $ac_header usability... " >&6; }
  11807. cat >conftest.$ac_ext <<_ACEOF
  11808. /* confdefs.h. */
  11809. _ACEOF
  11810. cat confdefs.h >>conftest.$ac_ext
  11811. cat >>conftest.$ac_ext <<_ACEOF
  11812. /* end confdefs.h. */
  11813. $ac_includes_default
  11814. #include <$ac_header>
  11815. _ACEOF
  11816. rm -f conftest.$ac_objext
  11817. if { (ac_try="$ac_compile"
  11818. case "(($ac_try" in
  11819. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11820. *) ac_try_echo=$ac_try;;
  11821. esac
  11822. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11823. $as_echo "$ac_try_echo") >&5
  11824. (eval "$ac_compile") 2>conftest.er1
  11825. ac_status=$?
  11826. grep -v '^ *+' conftest.er1 >conftest.err
  11827. rm -f conftest.er1
  11828. cat conftest.err >&5
  11829. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11830. (exit $ac_status); } && {
  11831. test -z "$ac_c_werror_flag" ||
  11832. test ! -s conftest.err
  11833. } && test -s conftest.$ac_objext; then
  11834. ac_header_compiler=yes
  11835. else
  11836. $as_echo "$as_me: failed program was:" >&5
  11837. sed 's/^/| /' conftest.$ac_ext >&5
  11838. ac_header_compiler=no
  11839. fi
  11840. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11841. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11842. $as_echo "$ac_header_compiler" >&6; }
  11843. # Is the header present?
  11844. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11845. $as_echo_n "checking $ac_header presence... " >&6; }
  11846. cat >conftest.$ac_ext <<_ACEOF
  11847. /* confdefs.h. */
  11848. _ACEOF
  11849. cat confdefs.h >>conftest.$ac_ext
  11850. cat >>conftest.$ac_ext <<_ACEOF
  11851. /* end confdefs.h. */
  11852. #include <$ac_header>
  11853. _ACEOF
  11854. if { (ac_try="$ac_cpp conftest.$ac_ext"
  11855. case "(($ac_try" in
  11856. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11857. *) ac_try_echo=$ac_try;;
  11858. esac
  11859. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11860. $as_echo "$ac_try_echo") >&5
  11861. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11862. ac_status=$?
  11863. grep -v '^ *+' conftest.er1 >conftest.err
  11864. rm -f conftest.er1
  11865. cat conftest.err >&5
  11866. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11867. (exit $ac_status); } >/dev/null && {
  11868. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  11869. test ! -s conftest.err
  11870. }; then
  11871. ac_header_preproc=yes
  11872. else
  11873. $as_echo "$as_me: failed program was:" >&5
  11874. sed 's/^/| /' conftest.$ac_ext >&5
  11875. ac_header_preproc=no
  11876. fi
  11877. rm -f conftest.err conftest.$ac_ext
  11878. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  11879. $as_echo "$ac_header_preproc" >&6; }
  11880. # So? What about this header?
  11881. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  11882. yes:no: )
  11883. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  11884. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  11885. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  11886. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  11887. ac_header_preproc=yes
  11888. ;;
  11889. no:yes:* )
  11890. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  11891. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  11892. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  11893. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  11894. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  11895. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  11896. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  11897. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  11898. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  11899. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  11900. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  11901. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  11902. ;;
  11903. esac
  11904. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11905. $as_echo_n "checking for $ac_header... " >&6; }
  11906. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11907. $as_echo_n "(cached) " >&6
  11908. else
  11909. eval "$as_ac_Header=\$ac_header_preproc"
  11910. fi
  11911. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11912. $as_echo "$as_val"'`
  11913. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11914. $as_echo "$ac_res" >&6; }
  11915. fi
  11916. as_val=`eval 'as_val=${'$as_ac_Header'}
  11917. $as_echo "$as_val"'`
  11918. if test "x$as_val" = x""yes; then
  11919. cat >>confdefs.h <<_ACEOF
  11920. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11921. _ACEOF
  11922. fi
  11923. done
  11924. for ac_header in errno.h
  11925. do
  11926. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11927. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11928. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  11929. $as_echo_n "checking for $ac_header... " >&6; }
  11930. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  11931. $as_echo_n "(cached) " >&6
  11932. fi
  11933. ac_res=`eval 'as_val=${'$as_ac_Header'}
  11934. $as_echo "$as_val"'`
  11935. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  11936. $as_echo "$ac_res" >&6; }
  11937. else
  11938. # Is the header compilable?
  11939. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  11940. $as_echo_n "checking $ac_header usability... " >&6; }
  11941. cat >conftest.$ac_ext <<_ACEOF
  11942. /* confdefs.h. */
  11943. _ACEOF
  11944. cat confdefs.h >>conftest.$ac_ext
  11945. cat >>conftest.$ac_ext <<_ACEOF
  11946. /* end confdefs.h. */
  11947. $ac_includes_default
  11948. #include <$ac_header>
  11949. _ACEOF
  11950. rm -f conftest.$ac_objext
  11951. if { (ac_try="$ac_compile"
  11952. case "(($ac_try" in
  11953. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11954. *) ac_try_echo=$ac_try;;
  11955. esac
  11956. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11957. $as_echo "$ac_try_echo") >&5
  11958. (eval "$ac_compile") 2>conftest.er1
  11959. ac_status=$?
  11960. grep -v '^ *+' conftest.er1 >conftest.err
  11961. rm -f conftest.er1
  11962. cat conftest.err >&5
  11963. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  11964. (exit $ac_status); } && {
  11965. test -z "$ac_c_werror_flag" ||
  11966. test ! -s conftest.err
  11967. } && test -s conftest.$ac_objext; then
  11968. ac_header_compiler=yes
  11969. else
  11970. $as_echo "$as_me: failed program was:" >&5
  11971. sed 's/^/| /' conftest.$ac_ext >&5
  11972. ac_header_compiler=no
  11973. fi
  11974. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11975. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  11976. $as_echo "$ac_header_compiler" >&6; }
  11977. # Is the header present?
  11978. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  11979. $as_echo_n "checking $ac_header presence... " >&6; }
  11980. cat >conftest.$ac_ext <<_ACEOF
  11981. /* confdefs.h. */
  11982. _ACEOF
  11983. cat confdefs.h >>conftest.$ac_ext
  11984. cat >>conftest.$ac_ext <<_ACEOF
  11985. /* end confdefs.h. */
  11986. #include <$ac_header>
  11987. _ACEOF
  11988. if { (ac_try="$ac_cpp conftest.$ac_ext"
  11989. case "(($ac_try" in
  11990. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  11991. *) ac_try_echo=$ac_try;;
  11992. esac
  11993. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  11994. $as_echo "$ac_try_echo") >&5
  11995. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  11996. ac_status=$?
  11997. grep -v '^ *+' conftest.er1 >conftest.err
  11998. rm -f conftest.er1
  11999. cat conftest.err >&5
  12000. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12001. (exit $ac_status); } >/dev/null && {
  12002. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12003. test ! -s conftest.err
  12004. }; then
  12005. ac_header_preproc=yes
  12006. else
  12007. $as_echo "$as_me: failed program was:" >&5
  12008. sed 's/^/| /' conftest.$ac_ext >&5
  12009. ac_header_preproc=no
  12010. fi
  12011. rm -f conftest.err conftest.$ac_ext
  12012. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12013. $as_echo "$ac_header_preproc" >&6; }
  12014. # So? What about this header?
  12015. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12016. yes:no: )
  12017. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12018. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12019. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12020. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12021. ac_header_preproc=yes
  12022. ;;
  12023. no:yes:* )
  12024. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12025. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12026. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12027. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12028. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12029. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12030. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12031. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12032. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12033. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12034. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12035. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12036. ;;
  12037. esac
  12038. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12039. $as_echo_n "checking for $ac_header... " >&6; }
  12040. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12041. $as_echo_n "(cached) " >&6
  12042. else
  12043. eval "$as_ac_Header=\$ac_header_preproc"
  12044. fi
  12045. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12046. $as_echo "$as_val"'`
  12047. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12048. $as_echo "$ac_res" >&6; }
  12049. fi
  12050. as_val=`eval 'as_val=${'$as_ac_Header'}
  12051. $as_echo "$as_val"'`
  12052. if test "x$as_val" = x""yes; then
  12053. cat >>confdefs.h <<_ACEOF
  12054. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12055. _ACEOF
  12056. fi
  12057. done
  12058. for ac_header in malloc.h
  12059. do
  12060. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12061. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12062. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12063. $as_echo_n "checking for $ac_header... " >&6; }
  12064. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12065. $as_echo_n "(cached) " >&6
  12066. fi
  12067. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12068. $as_echo "$as_val"'`
  12069. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12070. $as_echo "$ac_res" >&6; }
  12071. else
  12072. # Is the header compilable?
  12073. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12074. $as_echo_n "checking $ac_header usability... " >&6; }
  12075. cat >conftest.$ac_ext <<_ACEOF
  12076. /* confdefs.h. */
  12077. _ACEOF
  12078. cat confdefs.h >>conftest.$ac_ext
  12079. cat >>conftest.$ac_ext <<_ACEOF
  12080. /* end confdefs.h. */
  12081. $ac_includes_default
  12082. #include <$ac_header>
  12083. _ACEOF
  12084. rm -f conftest.$ac_objext
  12085. if { (ac_try="$ac_compile"
  12086. case "(($ac_try" in
  12087. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12088. *) ac_try_echo=$ac_try;;
  12089. esac
  12090. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12091. $as_echo "$ac_try_echo") >&5
  12092. (eval "$ac_compile") 2>conftest.er1
  12093. ac_status=$?
  12094. grep -v '^ *+' conftest.er1 >conftest.err
  12095. rm -f conftest.er1
  12096. cat conftest.err >&5
  12097. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12098. (exit $ac_status); } && {
  12099. test -z "$ac_c_werror_flag" ||
  12100. test ! -s conftest.err
  12101. } && test -s conftest.$ac_objext; then
  12102. ac_header_compiler=yes
  12103. else
  12104. $as_echo "$as_me: failed program was:" >&5
  12105. sed 's/^/| /' conftest.$ac_ext >&5
  12106. ac_header_compiler=no
  12107. fi
  12108. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12109. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12110. $as_echo "$ac_header_compiler" >&6; }
  12111. # Is the header present?
  12112. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12113. $as_echo_n "checking $ac_header presence... " >&6; }
  12114. cat >conftest.$ac_ext <<_ACEOF
  12115. /* confdefs.h. */
  12116. _ACEOF
  12117. cat confdefs.h >>conftest.$ac_ext
  12118. cat >>conftest.$ac_ext <<_ACEOF
  12119. /* end confdefs.h. */
  12120. #include <$ac_header>
  12121. _ACEOF
  12122. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12123. case "(($ac_try" in
  12124. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12125. *) ac_try_echo=$ac_try;;
  12126. esac
  12127. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12128. $as_echo "$ac_try_echo") >&5
  12129. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12130. ac_status=$?
  12131. grep -v '^ *+' conftest.er1 >conftest.err
  12132. rm -f conftest.er1
  12133. cat conftest.err >&5
  12134. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12135. (exit $ac_status); } >/dev/null && {
  12136. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12137. test ! -s conftest.err
  12138. }; then
  12139. ac_header_preproc=yes
  12140. else
  12141. $as_echo "$as_me: failed program was:" >&5
  12142. sed 's/^/| /' conftest.$ac_ext >&5
  12143. ac_header_preproc=no
  12144. fi
  12145. rm -f conftest.err conftest.$ac_ext
  12146. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12147. $as_echo "$ac_header_preproc" >&6; }
  12148. # So? What about this header?
  12149. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12150. yes:no: )
  12151. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12152. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12153. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12154. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12155. ac_header_preproc=yes
  12156. ;;
  12157. no:yes:* )
  12158. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12159. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12160. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12161. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12162. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12163. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12164. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12165. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12166. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12167. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12168. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12169. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12170. ;;
  12171. esac
  12172. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12173. $as_echo_n "checking for $ac_header... " >&6; }
  12174. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12175. $as_echo_n "(cached) " >&6
  12176. else
  12177. eval "$as_ac_Header=\$ac_header_preproc"
  12178. fi
  12179. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12180. $as_echo "$as_val"'`
  12181. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12182. $as_echo "$ac_res" >&6; }
  12183. fi
  12184. as_val=`eval 'as_val=${'$as_ac_Header'}
  12185. $as_echo "$as_val"'`
  12186. if test "x$as_val" = x""yes; then
  12187. cat >>confdefs.h <<_ACEOF
  12188. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12189. _ACEOF
  12190. fi
  12191. done
  12192. for ac_header in stdarg.h
  12193. do
  12194. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12195. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12196. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12197. $as_echo_n "checking for $ac_header... " >&6; }
  12198. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12199. $as_echo_n "(cached) " >&6
  12200. fi
  12201. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12202. $as_echo "$as_val"'`
  12203. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12204. $as_echo "$ac_res" >&6; }
  12205. else
  12206. # Is the header compilable?
  12207. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12208. $as_echo_n "checking $ac_header usability... " >&6; }
  12209. cat >conftest.$ac_ext <<_ACEOF
  12210. /* confdefs.h. */
  12211. _ACEOF
  12212. cat confdefs.h >>conftest.$ac_ext
  12213. cat >>conftest.$ac_ext <<_ACEOF
  12214. /* end confdefs.h. */
  12215. $ac_includes_default
  12216. #include <$ac_header>
  12217. _ACEOF
  12218. rm -f conftest.$ac_objext
  12219. if { (ac_try="$ac_compile"
  12220. case "(($ac_try" in
  12221. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12222. *) ac_try_echo=$ac_try;;
  12223. esac
  12224. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12225. $as_echo "$ac_try_echo") >&5
  12226. (eval "$ac_compile") 2>conftest.er1
  12227. ac_status=$?
  12228. grep -v '^ *+' conftest.er1 >conftest.err
  12229. rm -f conftest.er1
  12230. cat conftest.err >&5
  12231. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12232. (exit $ac_status); } && {
  12233. test -z "$ac_c_werror_flag" ||
  12234. test ! -s conftest.err
  12235. } && test -s conftest.$ac_objext; then
  12236. ac_header_compiler=yes
  12237. else
  12238. $as_echo "$as_me: failed program was:" >&5
  12239. sed 's/^/| /' conftest.$ac_ext >&5
  12240. ac_header_compiler=no
  12241. fi
  12242. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12243. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12244. $as_echo "$ac_header_compiler" >&6; }
  12245. # Is the header present?
  12246. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12247. $as_echo_n "checking $ac_header presence... " >&6; }
  12248. cat >conftest.$ac_ext <<_ACEOF
  12249. /* confdefs.h. */
  12250. _ACEOF
  12251. cat confdefs.h >>conftest.$ac_ext
  12252. cat >>conftest.$ac_ext <<_ACEOF
  12253. /* end confdefs.h. */
  12254. #include <$ac_header>
  12255. _ACEOF
  12256. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12257. case "(($ac_try" in
  12258. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12259. *) ac_try_echo=$ac_try;;
  12260. esac
  12261. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12262. $as_echo "$ac_try_echo") >&5
  12263. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12264. ac_status=$?
  12265. grep -v '^ *+' conftest.er1 >conftest.err
  12266. rm -f conftest.er1
  12267. cat conftest.err >&5
  12268. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12269. (exit $ac_status); } >/dev/null && {
  12270. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12271. test ! -s conftest.err
  12272. }; then
  12273. ac_header_preproc=yes
  12274. else
  12275. $as_echo "$as_me: failed program was:" >&5
  12276. sed 's/^/| /' conftest.$ac_ext >&5
  12277. ac_header_preproc=no
  12278. fi
  12279. rm -f conftest.err conftest.$ac_ext
  12280. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12281. $as_echo "$ac_header_preproc" >&6; }
  12282. # So? What about this header?
  12283. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12284. yes:no: )
  12285. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12286. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12287. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12288. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12289. ac_header_preproc=yes
  12290. ;;
  12291. no:yes:* )
  12292. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12293. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12294. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12295. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12296. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12297. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12298. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12299. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12300. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12301. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12302. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12303. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12304. ;;
  12305. esac
  12306. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12307. $as_echo_n "checking for $ac_header... " >&6; }
  12308. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12309. $as_echo_n "(cached) " >&6
  12310. else
  12311. eval "$as_ac_Header=\$ac_header_preproc"
  12312. fi
  12313. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12314. $as_echo "$as_val"'`
  12315. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12316. $as_echo "$ac_res" >&6; }
  12317. fi
  12318. as_val=`eval 'as_val=${'$as_ac_Header'}
  12319. $as_echo "$as_val"'`
  12320. if test "x$as_val" = x""yes; then
  12321. cat >>confdefs.h <<_ACEOF
  12322. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12323. _ACEOF
  12324. fi
  12325. done
  12326. for ac_header in sys/stat.h
  12327. do
  12328. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12329. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12330. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12331. $as_echo_n "checking for $ac_header... " >&6; }
  12332. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12333. $as_echo_n "(cached) " >&6
  12334. fi
  12335. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12336. $as_echo "$as_val"'`
  12337. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12338. $as_echo "$ac_res" >&6; }
  12339. else
  12340. # Is the header compilable?
  12341. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12342. $as_echo_n "checking $ac_header usability... " >&6; }
  12343. cat >conftest.$ac_ext <<_ACEOF
  12344. /* confdefs.h. */
  12345. _ACEOF
  12346. cat confdefs.h >>conftest.$ac_ext
  12347. cat >>conftest.$ac_ext <<_ACEOF
  12348. /* end confdefs.h. */
  12349. $ac_includes_default
  12350. #include <$ac_header>
  12351. _ACEOF
  12352. rm -f conftest.$ac_objext
  12353. if { (ac_try="$ac_compile"
  12354. case "(($ac_try" in
  12355. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12356. *) ac_try_echo=$ac_try;;
  12357. esac
  12358. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12359. $as_echo "$ac_try_echo") >&5
  12360. (eval "$ac_compile") 2>conftest.er1
  12361. ac_status=$?
  12362. grep -v '^ *+' conftest.er1 >conftest.err
  12363. rm -f conftest.er1
  12364. cat conftest.err >&5
  12365. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12366. (exit $ac_status); } && {
  12367. test -z "$ac_c_werror_flag" ||
  12368. test ! -s conftest.err
  12369. } && test -s conftest.$ac_objext; then
  12370. ac_header_compiler=yes
  12371. else
  12372. $as_echo "$as_me: failed program was:" >&5
  12373. sed 's/^/| /' conftest.$ac_ext >&5
  12374. ac_header_compiler=no
  12375. fi
  12376. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12377. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12378. $as_echo "$ac_header_compiler" >&6; }
  12379. # Is the header present?
  12380. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12381. $as_echo_n "checking $ac_header presence... " >&6; }
  12382. cat >conftest.$ac_ext <<_ACEOF
  12383. /* confdefs.h. */
  12384. _ACEOF
  12385. cat confdefs.h >>conftest.$ac_ext
  12386. cat >>conftest.$ac_ext <<_ACEOF
  12387. /* end confdefs.h. */
  12388. #include <$ac_header>
  12389. _ACEOF
  12390. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12391. case "(($ac_try" in
  12392. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12393. *) ac_try_echo=$ac_try;;
  12394. esac
  12395. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12396. $as_echo "$ac_try_echo") >&5
  12397. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12398. ac_status=$?
  12399. grep -v '^ *+' conftest.er1 >conftest.err
  12400. rm -f conftest.er1
  12401. cat conftest.err >&5
  12402. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12403. (exit $ac_status); } >/dev/null && {
  12404. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12405. test ! -s conftest.err
  12406. }; then
  12407. ac_header_preproc=yes
  12408. else
  12409. $as_echo "$as_me: failed program was:" >&5
  12410. sed 's/^/| /' conftest.$ac_ext >&5
  12411. ac_header_preproc=no
  12412. fi
  12413. rm -f conftest.err conftest.$ac_ext
  12414. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12415. $as_echo "$ac_header_preproc" >&6; }
  12416. # So? What about this header?
  12417. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12418. yes:no: )
  12419. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12420. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12421. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12422. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12423. ac_header_preproc=yes
  12424. ;;
  12425. no:yes:* )
  12426. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12427. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12428. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12429. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12430. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12431. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12432. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12433. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12434. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12435. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12436. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12437. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12438. ;;
  12439. esac
  12440. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12441. $as_echo_n "checking for $ac_header... " >&6; }
  12442. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12443. $as_echo_n "(cached) " >&6
  12444. else
  12445. eval "$as_ac_Header=\$ac_header_preproc"
  12446. fi
  12447. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12448. $as_echo "$as_val"'`
  12449. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12450. $as_echo "$ac_res" >&6; }
  12451. fi
  12452. as_val=`eval 'as_val=${'$as_ac_Header'}
  12453. $as_echo "$as_val"'`
  12454. if test "x$as_val" = x""yes; then
  12455. cat >>confdefs.h <<_ACEOF
  12456. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12457. _ACEOF
  12458. fi
  12459. done
  12460. for ac_header in sys/types.h
  12461. do
  12462. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12463. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12464. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12465. $as_echo_n "checking for $ac_header... " >&6; }
  12466. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12467. $as_echo_n "(cached) " >&6
  12468. fi
  12469. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12470. $as_echo "$as_val"'`
  12471. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12472. $as_echo "$ac_res" >&6; }
  12473. else
  12474. # Is the header compilable?
  12475. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12476. $as_echo_n "checking $ac_header usability... " >&6; }
  12477. cat >conftest.$ac_ext <<_ACEOF
  12478. /* confdefs.h. */
  12479. _ACEOF
  12480. cat confdefs.h >>conftest.$ac_ext
  12481. cat >>conftest.$ac_ext <<_ACEOF
  12482. /* end confdefs.h. */
  12483. $ac_includes_default
  12484. #include <$ac_header>
  12485. _ACEOF
  12486. rm -f conftest.$ac_objext
  12487. if { (ac_try="$ac_compile"
  12488. case "(($ac_try" in
  12489. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12490. *) ac_try_echo=$ac_try;;
  12491. esac
  12492. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12493. $as_echo "$ac_try_echo") >&5
  12494. (eval "$ac_compile") 2>conftest.er1
  12495. ac_status=$?
  12496. grep -v '^ *+' conftest.er1 >conftest.err
  12497. rm -f conftest.er1
  12498. cat conftest.err >&5
  12499. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12500. (exit $ac_status); } && {
  12501. test -z "$ac_c_werror_flag" ||
  12502. test ! -s conftest.err
  12503. } && test -s conftest.$ac_objext; then
  12504. ac_header_compiler=yes
  12505. else
  12506. $as_echo "$as_me: failed program was:" >&5
  12507. sed 's/^/| /' conftest.$ac_ext >&5
  12508. ac_header_compiler=no
  12509. fi
  12510. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12511. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12512. $as_echo "$ac_header_compiler" >&6; }
  12513. # Is the header present?
  12514. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12515. $as_echo_n "checking $ac_header presence... " >&6; }
  12516. cat >conftest.$ac_ext <<_ACEOF
  12517. /* confdefs.h. */
  12518. _ACEOF
  12519. cat confdefs.h >>conftest.$ac_ext
  12520. cat >>conftest.$ac_ext <<_ACEOF
  12521. /* end confdefs.h. */
  12522. #include <$ac_header>
  12523. _ACEOF
  12524. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12525. case "(($ac_try" in
  12526. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12527. *) ac_try_echo=$ac_try;;
  12528. esac
  12529. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12530. $as_echo "$ac_try_echo") >&5
  12531. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12532. ac_status=$?
  12533. grep -v '^ *+' conftest.er1 >conftest.err
  12534. rm -f conftest.er1
  12535. cat conftest.err >&5
  12536. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12537. (exit $ac_status); } >/dev/null && {
  12538. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12539. test ! -s conftest.err
  12540. }; then
  12541. ac_header_preproc=yes
  12542. else
  12543. $as_echo "$as_me: failed program was:" >&5
  12544. sed 's/^/| /' conftest.$ac_ext >&5
  12545. ac_header_preproc=no
  12546. fi
  12547. rm -f conftest.err conftest.$ac_ext
  12548. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12549. $as_echo "$ac_header_preproc" >&6; }
  12550. # So? What about this header?
  12551. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12552. yes:no: )
  12553. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12554. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12555. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12556. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12557. ac_header_preproc=yes
  12558. ;;
  12559. no:yes:* )
  12560. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12561. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12562. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12563. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12564. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12565. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12566. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12567. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12568. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12569. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12570. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12571. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12572. ;;
  12573. esac
  12574. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12575. $as_echo_n "checking for $ac_header... " >&6; }
  12576. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12577. $as_echo_n "(cached) " >&6
  12578. else
  12579. eval "$as_ac_Header=\$ac_header_preproc"
  12580. fi
  12581. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12582. $as_echo "$as_val"'`
  12583. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12584. $as_echo "$ac_res" >&6; }
  12585. fi
  12586. as_val=`eval 'as_val=${'$as_ac_Header'}
  12587. $as_echo "$as_val"'`
  12588. if test "x$as_val" = x""yes; then
  12589. cat >>confdefs.h <<_ACEOF
  12590. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12591. _ACEOF
  12592. fi
  12593. done
  12594. for ac_header in stdint.h
  12595. do
  12596. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12597. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12598. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12599. $as_echo_n "checking for $ac_header... " >&6; }
  12600. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12601. $as_echo_n "(cached) " >&6
  12602. fi
  12603. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12604. $as_echo "$as_val"'`
  12605. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12606. $as_echo "$ac_res" >&6; }
  12607. else
  12608. # Is the header compilable?
  12609. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12610. $as_echo_n "checking $ac_header usability... " >&6; }
  12611. cat >conftest.$ac_ext <<_ACEOF
  12612. /* confdefs.h. */
  12613. _ACEOF
  12614. cat confdefs.h >>conftest.$ac_ext
  12615. cat >>conftest.$ac_ext <<_ACEOF
  12616. /* end confdefs.h. */
  12617. $ac_includes_default
  12618. #include <$ac_header>
  12619. _ACEOF
  12620. rm -f conftest.$ac_objext
  12621. if { (ac_try="$ac_compile"
  12622. case "(($ac_try" in
  12623. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12624. *) ac_try_echo=$ac_try;;
  12625. esac
  12626. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12627. $as_echo "$ac_try_echo") >&5
  12628. (eval "$ac_compile") 2>conftest.er1
  12629. ac_status=$?
  12630. grep -v '^ *+' conftest.er1 >conftest.err
  12631. rm -f conftest.er1
  12632. cat conftest.err >&5
  12633. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12634. (exit $ac_status); } && {
  12635. test -z "$ac_c_werror_flag" ||
  12636. test ! -s conftest.err
  12637. } && test -s conftest.$ac_objext; then
  12638. ac_header_compiler=yes
  12639. else
  12640. $as_echo "$as_me: failed program was:" >&5
  12641. sed 's/^/| /' conftest.$ac_ext >&5
  12642. ac_header_compiler=no
  12643. fi
  12644. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12645. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12646. $as_echo "$ac_header_compiler" >&6; }
  12647. # Is the header present?
  12648. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12649. $as_echo_n "checking $ac_header presence... " >&6; }
  12650. cat >conftest.$ac_ext <<_ACEOF
  12651. /* confdefs.h. */
  12652. _ACEOF
  12653. cat confdefs.h >>conftest.$ac_ext
  12654. cat >>conftest.$ac_ext <<_ACEOF
  12655. /* end confdefs.h. */
  12656. #include <$ac_header>
  12657. _ACEOF
  12658. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12659. case "(($ac_try" in
  12660. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12661. *) ac_try_echo=$ac_try;;
  12662. esac
  12663. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12664. $as_echo "$ac_try_echo") >&5
  12665. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12666. ac_status=$?
  12667. grep -v '^ *+' conftest.er1 >conftest.err
  12668. rm -f conftest.er1
  12669. cat conftest.err >&5
  12670. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12671. (exit $ac_status); } >/dev/null && {
  12672. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12673. test ! -s conftest.err
  12674. }; then
  12675. ac_header_preproc=yes
  12676. else
  12677. $as_echo "$as_me: failed program was:" >&5
  12678. sed 's/^/| /' conftest.$ac_ext >&5
  12679. ac_header_preproc=no
  12680. fi
  12681. rm -f conftest.err conftest.$ac_ext
  12682. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12683. $as_echo "$ac_header_preproc" >&6; }
  12684. # So? What about this header?
  12685. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12686. yes:no: )
  12687. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12688. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12689. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12690. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12691. ac_header_preproc=yes
  12692. ;;
  12693. no:yes:* )
  12694. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12695. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12696. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12697. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12698. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12699. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12700. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12701. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12702. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12703. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12704. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12705. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12706. ;;
  12707. esac
  12708. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12709. $as_echo_n "checking for $ac_header... " >&6; }
  12710. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12711. $as_echo_n "(cached) " >&6
  12712. else
  12713. eval "$as_ac_Header=\$ac_header_preproc"
  12714. fi
  12715. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12716. $as_echo "$as_val"'`
  12717. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12718. $as_echo "$ac_res" >&6; }
  12719. fi
  12720. as_val=`eval 'as_val=${'$as_ac_Header'}
  12721. $as_echo "$as_val"'`
  12722. if test "x$as_val" = x""yes; then
  12723. cat >>confdefs.h <<_ACEOF
  12724. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12725. _ACEOF
  12726. fi
  12727. done
  12728. for ac_header in inttypes.h.h
  12729. do
  12730. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12731. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12732. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12733. $as_echo_n "checking for $ac_header... " >&6; }
  12734. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12735. $as_echo_n "(cached) " >&6
  12736. fi
  12737. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12738. $as_echo "$as_val"'`
  12739. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12740. $as_echo "$ac_res" >&6; }
  12741. else
  12742. # Is the header compilable?
  12743. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12744. $as_echo_n "checking $ac_header usability... " >&6; }
  12745. cat >conftest.$ac_ext <<_ACEOF
  12746. /* confdefs.h. */
  12747. _ACEOF
  12748. cat confdefs.h >>conftest.$ac_ext
  12749. cat >>conftest.$ac_ext <<_ACEOF
  12750. /* end confdefs.h. */
  12751. $ac_includes_default
  12752. #include <$ac_header>
  12753. _ACEOF
  12754. rm -f conftest.$ac_objext
  12755. if { (ac_try="$ac_compile"
  12756. case "(($ac_try" in
  12757. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12758. *) ac_try_echo=$ac_try;;
  12759. esac
  12760. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12761. $as_echo "$ac_try_echo") >&5
  12762. (eval "$ac_compile") 2>conftest.er1
  12763. ac_status=$?
  12764. grep -v '^ *+' conftest.er1 >conftest.err
  12765. rm -f conftest.er1
  12766. cat conftest.err >&5
  12767. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12768. (exit $ac_status); } && {
  12769. test -z "$ac_c_werror_flag" ||
  12770. test ! -s conftest.err
  12771. } && test -s conftest.$ac_objext; then
  12772. ac_header_compiler=yes
  12773. else
  12774. $as_echo "$as_me: failed program was:" >&5
  12775. sed 's/^/| /' conftest.$ac_ext >&5
  12776. ac_header_compiler=no
  12777. fi
  12778. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12779. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12780. $as_echo "$ac_header_compiler" >&6; }
  12781. # Is the header present?
  12782. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12783. $as_echo_n "checking $ac_header presence... " >&6; }
  12784. cat >conftest.$ac_ext <<_ACEOF
  12785. /* confdefs.h. */
  12786. _ACEOF
  12787. cat confdefs.h >>conftest.$ac_ext
  12788. cat >>conftest.$ac_ext <<_ACEOF
  12789. /* end confdefs.h. */
  12790. #include <$ac_header>
  12791. _ACEOF
  12792. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12793. case "(($ac_try" in
  12794. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12795. *) ac_try_echo=$ac_try;;
  12796. esac
  12797. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12798. $as_echo "$ac_try_echo") >&5
  12799. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12800. ac_status=$?
  12801. grep -v '^ *+' conftest.er1 >conftest.err
  12802. rm -f conftest.er1
  12803. cat conftest.err >&5
  12804. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12805. (exit $ac_status); } >/dev/null && {
  12806. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12807. test ! -s conftest.err
  12808. }; then
  12809. ac_header_preproc=yes
  12810. else
  12811. $as_echo "$as_me: failed program was:" >&5
  12812. sed 's/^/| /' conftest.$ac_ext >&5
  12813. ac_header_preproc=no
  12814. fi
  12815. rm -f conftest.err conftest.$ac_ext
  12816. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12817. $as_echo "$ac_header_preproc" >&6; }
  12818. # So? What about this header?
  12819. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12820. yes:no: )
  12821. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12822. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12823. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12824. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12825. ac_header_preproc=yes
  12826. ;;
  12827. no:yes:* )
  12828. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12829. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12830. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12831. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12832. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12833. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12834. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12835. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12836. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12837. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12838. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12839. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12840. ;;
  12841. esac
  12842. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12843. $as_echo_n "checking for $ac_header... " >&6; }
  12844. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12845. $as_echo_n "(cached) " >&6
  12846. else
  12847. eval "$as_ac_Header=\$ac_header_preproc"
  12848. fi
  12849. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12850. $as_echo "$as_val"'`
  12851. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12852. $as_echo "$ac_res" >&6; }
  12853. fi
  12854. as_val=`eval 'as_val=${'$as_ac_Header'}
  12855. $as_echo "$as_val"'`
  12856. if test "x$as_val" = x""yes; then
  12857. cat >>confdefs.h <<_ACEOF
  12858. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12859. _ACEOF
  12860. fi
  12861. done
  12862. for ac_header in time.h
  12863. do
  12864. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12865. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12866. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12867. $as_echo_n "checking for $ac_header... " >&6; }
  12868. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12869. $as_echo_n "(cached) " >&6
  12870. fi
  12871. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12872. $as_echo "$as_val"'`
  12873. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12874. $as_echo "$ac_res" >&6; }
  12875. else
  12876. # Is the header compilable?
  12877. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  12878. $as_echo_n "checking $ac_header usability... " >&6; }
  12879. cat >conftest.$ac_ext <<_ACEOF
  12880. /* confdefs.h. */
  12881. _ACEOF
  12882. cat confdefs.h >>conftest.$ac_ext
  12883. cat >>conftest.$ac_ext <<_ACEOF
  12884. /* end confdefs.h. */
  12885. $ac_includes_default
  12886. #include <$ac_header>
  12887. _ACEOF
  12888. rm -f conftest.$ac_objext
  12889. if { (ac_try="$ac_compile"
  12890. case "(($ac_try" in
  12891. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12892. *) ac_try_echo=$ac_try;;
  12893. esac
  12894. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12895. $as_echo "$ac_try_echo") >&5
  12896. (eval "$ac_compile") 2>conftest.er1
  12897. ac_status=$?
  12898. grep -v '^ *+' conftest.er1 >conftest.err
  12899. rm -f conftest.er1
  12900. cat conftest.err >&5
  12901. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12902. (exit $ac_status); } && {
  12903. test -z "$ac_c_werror_flag" ||
  12904. test ! -s conftest.err
  12905. } && test -s conftest.$ac_objext; then
  12906. ac_header_compiler=yes
  12907. else
  12908. $as_echo "$as_me: failed program was:" >&5
  12909. sed 's/^/| /' conftest.$ac_ext >&5
  12910. ac_header_compiler=no
  12911. fi
  12912. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12913. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  12914. $as_echo "$ac_header_compiler" >&6; }
  12915. # Is the header present?
  12916. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  12917. $as_echo_n "checking $ac_header presence... " >&6; }
  12918. cat >conftest.$ac_ext <<_ACEOF
  12919. /* confdefs.h. */
  12920. _ACEOF
  12921. cat confdefs.h >>conftest.$ac_ext
  12922. cat >>conftest.$ac_ext <<_ACEOF
  12923. /* end confdefs.h. */
  12924. #include <$ac_header>
  12925. _ACEOF
  12926. if { (ac_try="$ac_cpp conftest.$ac_ext"
  12927. case "(($ac_try" in
  12928. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  12929. *) ac_try_echo=$ac_try;;
  12930. esac
  12931. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  12932. $as_echo "$ac_try_echo") >&5
  12933. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  12934. ac_status=$?
  12935. grep -v '^ *+' conftest.er1 >conftest.err
  12936. rm -f conftest.er1
  12937. cat conftest.err >&5
  12938. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  12939. (exit $ac_status); } >/dev/null && {
  12940. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  12941. test ! -s conftest.err
  12942. }; then
  12943. ac_header_preproc=yes
  12944. else
  12945. $as_echo "$as_me: failed program was:" >&5
  12946. sed 's/^/| /' conftest.$ac_ext >&5
  12947. ac_header_preproc=no
  12948. fi
  12949. rm -f conftest.err conftest.$ac_ext
  12950. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  12951. $as_echo "$ac_header_preproc" >&6; }
  12952. # So? What about this header?
  12953. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  12954. yes:no: )
  12955. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  12956. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  12957. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  12958. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  12959. ac_header_preproc=yes
  12960. ;;
  12961. no:yes:* )
  12962. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  12963. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  12964. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  12965. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  12966. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  12967. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  12968. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  12969. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  12970. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  12971. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  12972. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  12973. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  12974. ;;
  12975. esac
  12976. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  12977. $as_echo_n "checking for $ac_header... " >&6; }
  12978. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  12979. $as_echo_n "(cached) " >&6
  12980. else
  12981. eval "$as_ac_Header=\$ac_header_preproc"
  12982. fi
  12983. ac_res=`eval 'as_val=${'$as_ac_Header'}
  12984. $as_echo "$as_val"'`
  12985. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  12986. $as_echo "$ac_res" >&6; }
  12987. fi
  12988. as_val=`eval 'as_val=${'$as_ac_Header'}
  12989. $as_echo "$as_val"'`
  12990. if test "x$as_val" = x""yes; then
  12991. cat >>confdefs.h <<_ACEOF
  12992. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12993. _ACEOF
  12994. fi
  12995. done
  12996. for ac_header in ansidecl.h
  12997. do
  12998. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12999. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13000. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13001. $as_echo_n "checking for $ac_header... " >&6; }
  13002. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13003. $as_echo_n "(cached) " >&6
  13004. fi
  13005. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13006. $as_echo "$as_val"'`
  13007. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13008. $as_echo "$ac_res" >&6; }
  13009. else
  13010. # Is the header compilable?
  13011. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13012. $as_echo_n "checking $ac_header usability... " >&6; }
  13013. cat >conftest.$ac_ext <<_ACEOF
  13014. /* confdefs.h. */
  13015. _ACEOF
  13016. cat confdefs.h >>conftest.$ac_ext
  13017. cat >>conftest.$ac_ext <<_ACEOF
  13018. /* end confdefs.h. */
  13019. $ac_includes_default
  13020. #include <$ac_header>
  13021. _ACEOF
  13022. rm -f conftest.$ac_objext
  13023. if { (ac_try="$ac_compile"
  13024. case "(($ac_try" in
  13025. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13026. *) ac_try_echo=$ac_try;;
  13027. esac
  13028. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13029. $as_echo "$ac_try_echo") >&5
  13030. (eval "$ac_compile") 2>conftest.er1
  13031. ac_status=$?
  13032. grep -v '^ *+' conftest.er1 >conftest.err
  13033. rm -f conftest.er1
  13034. cat conftest.err >&5
  13035. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13036. (exit $ac_status); } && {
  13037. test -z "$ac_c_werror_flag" ||
  13038. test ! -s conftest.err
  13039. } && test -s conftest.$ac_objext; then
  13040. ac_header_compiler=yes
  13041. else
  13042. $as_echo "$as_me: failed program was:" >&5
  13043. sed 's/^/| /' conftest.$ac_ext >&5
  13044. ac_header_compiler=no
  13045. fi
  13046. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13047. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13048. $as_echo "$ac_header_compiler" >&6; }
  13049. # Is the header present?
  13050. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13051. $as_echo_n "checking $ac_header presence... " >&6; }
  13052. cat >conftest.$ac_ext <<_ACEOF
  13053. /* confdefs.h. */
  13054. _ACEOF
  13055. cat confdefs.h >>conftest.$ac_ext
  13056. cat >>conftest.$ac_ext <<_ACEOF
  13057. /* end confdefs.h. */
  13058. #include <$ac_header>
  13059. _ACEOF
  13060. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13061. case "(($ac_try" in
  13062. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13063. *) ac_try_echo=$ac_try;;
  13064. esac
  13065. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13066. $as_echo "$ac_try_echo") >&5
  13067. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13068. ac_status=$?
  13069. grep -v '^ *+' conftest.er1 >conftest.err
  13070. rm -f conftest.er1
  13071. cat conftest.err >&5
  13072. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13073. (exit $ac_status); } >/dev/null && {
  13074. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13075. test ! -s conftest.err
  13076. }; then
  13077. ac_header_preproc=yes
  13078. else
  13079. $as_echo "$as_me: failed program was:" >&5
  13080. sed 's/^/| /' conftest.$ac_ext >&5
  13081. ac_header_preproc=no
  13082. fi
  13083. rm -f conftest.err conftest.$ac_ext
  13084. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13085. $as_echo "$ac_header_preproc" >&6; }
  13086. # So? What about this header?
  13087. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13088. yes:no: )
  13089. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13090. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13091. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13092. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13093. ac_header_preproc=yes
  13094. ;;
  13095. no:yes:* )
  13096. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13097. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13098. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13099. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13100. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13101. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13102. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13103. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13104. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13105. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13106. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13107. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13108. ;;
  13109. esac
  13110. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13111. $as_echo_n "checking for $ac_header... " >&6; }
  13112. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13113. $as_echo_n "(cached) " >&6
  13114. else
  13115. eval "$as_ac_Header=\$ac_header_preproc"
  13116. fi
  13117. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13118. $as_echo "$as_val"'`
  13119. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13120. $as_echo "$ac_res" >&6; }
  13121. fi
  13122. as_val=`eval 'as_val=${'$as_ac_Header'}
  13123. $as_echo "$as_val"'`
  13124. if test "x$as_val" = x""yes; then
  13125. cat >>confdefs.h <<_ACEOF
  13126. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13127. _ACEOF
  13128. fi
  13129. done
  13130. for ac_header in ieeefp.h
  13131. do
  13132. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13133. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13134. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13135. $as_echo_n "checking for $ac_header... " >&6; }
  13136. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13137. $as_echo_n "(cached) " >&6
  13138. fi
  13139. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13140. $as_echo "$as_val"'`
  13141. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13142. $as_echo "$ac_res" >&6; }
  13143. else
  13144. # Is the header compilable?
  13145. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13146. $as_echo_n "checking $ac_header usability... " >&6; }
  13147. cat >conftest.$ac_ext <<_ACEOF
  13148. /* confdefs.h. */
  13149. _ACEOF
  13150. cat confdefs.h >>conftest.$ac_ext
  13151. cat >>conftest.$ac_ext <<_ACEOF
  13152. /* end confdefs.h. */
  13153. $ac_includes_default
  13154. #include <$ac_header>
  13155. _ACEOF
  13156. rm -f conftest.$ac_objext
  13157. if { (ac_try="$ac_compile"
  13158. case "(($ac_try" in
  13159. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13160. *) ac_try_echo=$ac_try;;
  13161. esac
  13162. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13163. $as_echo "$ac_try_echo") >&5
  13164. (eval "$ac_compile") 2>conftest.er1
  13165. ac_status=$?
  13166. grep -v '^ *+' conftest.er1 >conftest.err
  13167. rm -f conftest.er1
  13168. cat conftest.err >&5
  13169. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13170. (exit $ac_status); } && {
  13171. test -z "$ac_c_werror_flag" ||
  13172. test ! -s conftest.err
  13173. } && test -s conftest.$ac_objext; then
  13174. ac_header_compiler=yes
  13175. else
  13176. $as_echo "$as_me: failed program was:" >&5
  13177. sed 's/^/| /' conftest.$ac_ext >&5
  13178. ac_header_compiler=no
  13179. fi
  13180. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13181. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13182. $as_echo "$ac_header_compiler" >&6; }
  13183. # Is the header present?
  13184. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13185. $as_echo_n "checking $ac_header presence... " >&6; }
  13186. cat >conftest.$ac_ext <<_ACEOF
  13187. /* confdefs.h. */
  13188. _ACEOF
  13189. cat confdefs.h >>conftest.$ac_ext
  13190. cat >>conftest.$ac_ext <<_ACEOF
  13191. /* end confdefs.h. */
  13192. #include <$ac_header>
  13193. _ACEOF
  13194. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13195. case "(($ac_try" in
  13196. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13197. *) ac_try_echo=$ac_try;;
  13198. esac
  13199. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13200. $as_echo "$ac_try_echo") >&5
  13201. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13202. ac_status=$?
  13203. grep -v '^ *+' conftest.er1 >conftest.err
  13204. rm -f conftest.er1
  13205. cat conftest.err >&5
  13206. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13207. (exit $ac_status); } >/dev/null && {
  13208. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13209. test ! -s conftest.err
  13210. }; then
  13211. ac_header_preproc=yes
  13212. else
  13213. $as_echo "$as_me: failed program was:" >&5
  13214. sed 's/^/| /' conftest.$ac_ext >&5
  13215. ac_header_preproc=no
  13216. fi
  13217. rm -f conftest.err conftest.$ac_ext
  13218. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13219. $as_echo "$ac_header_preproc" >&6; }
  13220. # So? What about this header?
  13221. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13222. yes:no: )
  13223. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13224. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13225. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13226. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13227. ac_header_preproc=yes
  13228. ;;
  13229. no:yes:* )
  13230. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13231. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13232. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13233. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13234. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13235. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13236. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13237. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13238. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13239. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13240. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13241. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13242. ;;
  13243. esac
  13244. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13245. $as_echo_n "checking for $ac_header... " >&6; }
  13246. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13247. $as_echo_n "(cached) " >&6
  13248. else
  13249. eval "$as_ac_Header=\$ac_header_preproc"
  13250. fi
  13251. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13252. $as_echo "$as_val"'`
  13253. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13254. $as_echo "$ac_res" >&6; }
  13255. fi
  13256. as_val=`eval 'as_val=${'$as_ac_Header'}
  13257. $as_echo "$as_val"'`
  13258. if test "x$as_val" = x""yes; then
  13259. cat >>confdefs.h <<_ACEOF
  13260. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13261. _ACEOF
  13262. fi
  13263. done
  13264. for ac_header in nan.h
  13265. do
  13266. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13267. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13268. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13269. $as_echo_n "checking for $ac_header... " >&6; }
  13270. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13271. $as_echo_n "(cached) " >&6
  13272. fi
  13273. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13274. $as_echo "$as_val"'`
  13275. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13276. $as_echo "$ac_res" >&6; }
  13277. else
  13278. # Is the header compilable?
  13279. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13280. $as_echo_n "checking $ac_header usability... " >&6; }
  13281. cat >conftest.$ac_ext <<_ACEOF
  13282. /* confdefs.h. */
  13283. _ACEOF
  13284. cat confdefs.h >>conftest.$ac_ext
  13285. cat >>conftest.$ac_ext <<_ACEOF
  13286. /* end confdefs.h. */
  13287. $ac_includes_default
  13288. #include <$ac_header>
  13289. _ACEOF
  13290. rm -f conftest.$ac_objext
  13291. if { (ac_try="$ac_compile"
  13292. case "(($ac_try" in
  13293. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13294. *) ac_try_echo=$ac_try;;
  13295. esac
  13296. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13297. $as_echo "$ac_try_echo") >&5
  13298. (eval "$ac_compile") 2>conftest.er1
  13299. ac_status=$?
  13300. grep -v '^ *+' conftest.er1 >conftest.err
  13301. rm -f conftest.er1
  13302. cat conftest.err >&5
  13303. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13304. (exit $ac_status); } && {
  13305. test -z "$ac_c_werror_flag" ||
  13306. test ! -s conftest.err
  13307. } && test -s conftest.$ac_objext; then
  13308. ac_header_compiler=yes
  13309. else
  13310. $as_echo "$as_me: failed program was:" >&5
  13311. sed 's/^/| /' conftest.$ac_ext >&5
  13312. ac_header_compiler=no
  13313. fi
  13314. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13315. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13316. $as_echo "$ac_header_compiler" >&6; }
  13317. # Is the header present?
  13318. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13319. $as_echo_n "checking $ac_header presence... " >&6; }
  13320. cat >conftest.$ac_ext <<_ACEOF
  13321. /* confdefs.h. */
  13322. _ACEOF
  13323. cat confdefs.h >>conftest.$ac_ext
  13324. cat >>conftest.$ac_ext <<_ACEOF
  13325. /* end confdefs.h. */
  13326. #include <$ac_header>
  13327. _ACEOF
  13328. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13329. case "(($ac_try" in
  13330. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13331. *) ac_try_echo=$ac_try;;
  13332. esac
  13333. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13334. $as_echo "$ac_try_echo") >&5
  13335. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13336. ac_status=$?
  13337. grep -v '^ *+' conftest.er1 >conftest.err
  13338. rm -f conftest.er1
  13339. cat conftest.err >&5
  13340. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13341. (exit $ac_status); } >/dev/null && {
  13342. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13343. test ! -s conftest.err
  13344. }; then
  13345. ac_header_preproc=yes
  13346. else
  13347. $as_echo "$as_me: failed program was:" >&5
  13348. sed 's/^/| /' conftest.$ac_ext >&5
  13349. ac_header_preproc=no
  13350. fi
  13351. rm -f conftest.err conftest.$ac_ext
  13352. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13353. $as_echo "$ac_header_preproc" >&6; }
  13354. # So? What about this header?
  13355. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13356. yes:no: )
  13357. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13358. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13359. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13360. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13361. ac_header_preproc=yes
  13362. ;;
  13363. no:yes:* )
  13364. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13365. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13366. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13367. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13368. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13369. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13370. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13371. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13372. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13373. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13374. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13375. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13376. ;;
  13377. esac
  13378. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13379. $as_echo_n "checking for $ac_header... " >&6; }
  13380. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13381. $as_echo_n "(cached) " >&6
  13382. else
  13383. eval "$as_ac_Header=\$ac_header_preproc"
  13384. fi
  13385. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13386. $as_echo "$as_val"'`
  13387. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13388. $as_echo "$ac_res" >&6; }
  13389. fi
  13390. as_val=`eval 'as_val=${'$as_ac_Header'}
  13391. $as_echo "$as_val"'`
  13392. if test "x$as_val" = x""yes; then
  13393. cat >>confdefs.h <<_ACEOF
  13394. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13395. _ACEOF
  13396. fi
  13397. done
  13398. for ac_header in math.h
  13399. do
  13400. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13401. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13402. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13403. $as_echo_n "checking for $ac_header... " >&6; }
  13404. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13405. $as_echo_n "(cached) " >&6
  13406. fi
  13407. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13408. $as_echo "$as_val"'`
  13409. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13410. $as_echo "$ac_res" >&6; }
  13411. else
  13412. # Is the header compilable?
  13413. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13414. $as_echo_n "checking $ac_header usability... " >&6; }
  13415. cat >conftest.$ac_ext <<_ACEOF
  13416. /* confdefs.h. */
  13417. _ACEOF
  13418. cat confdefs.h >>conftest.$ac_ext
  13419. cat >>conftest.$ac_ext <<_ACEOF
  13420. /* end confdefs.h. */
  13421. $ac_includes_default
  13422. #include <$ac_header>
  13423. _ACEOF
  13424. rm -f conftest.$ac_objext
  13425. if { (ac_try="$ac_compile"
  13426. case "(($ac_try" in
  13427. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13428. *) ac_try_echo=$ac_try;;
  13429. esac
  13430. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13431. $as_echo "$ac_try_echo") >&5
  13432. (eval "$ac_compile") 2>conftest.er1
  13433. ac_status=$?
  13434. grep -v '^ *+' conftest.er1 >conftest.err
  13435. rm -f conftest.er1
  13436. cat conftest.err >&5
  13437. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13438. (exit $ac_status); } && {
  13439. test -z "$ac_c_werror_flag" ||
  13440. test ! -s conftest.err
  13441. } && test -s conftest.$ac_objext; then
  13442. ac_header_compiler=yes
  13443. else
  13444. $as_echo "$as_me: failed program was:" >&5
  13445. sed 's/^/| /' conftest.$ac_ext >&5
  13446. ac_header_compiler=no
  13447. fi
  13448. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13449. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13450. $as_echo "$ac_header_compiler" >&6; }
  13451. # Is the header present?
  13452. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13453. $as_echo_n "checking $ac_header presence... " >&6; }
  13454. cat >conftest.$ac_ext <<_ACEOF
  13455. /* confdefs.h. */
  13456. _ACEOF
  13457. cat confdefs.h >>conftest.$ac_ext
  13458. cat >>conftest.$ac_ext <<_ACEOF
  13459. /* end confdefs.h. */
  13460. #include <$ac_header>
  13461. _ACEOF
  13462. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13463. case "(($ac_try" in
  13464. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13465. *) ac_try_echo=$ac_try;;
  13466. esac
  13467. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13468. $as_echo "$ac_try_echo") >&5
  13469. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13470. ac_status=$?
  13471. grep -v '^ *+' conftest.er1 >conftest.err
  13472. rm -f conftest.er1
  13473. cat conftest.err >&5
  13474. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13475. (exit $ac_status); } >/dev/null && {
  13476. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13477. test ! -s conftest.err
  13478. }; then
  13479. ac_header_preproc=yes
  13480. else
  13481. $as_echo "$as_me: failed program was:" >&5
  13482. sed 's/^/| /' conftest.$ac_ext >&5
  13483. ac_header_preproc=no
  13484. fi
  13485. rm -f conftest.err conftest.$ac_ext
  13486. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13487. $as_echo "$ac_header_preproc" >&6; }
  13488. # So? What about this header?
  13489. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13490. yes:no: )
  13491. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13492. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13493. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13494. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13495. ac_header_preproc=yes
  13496. ;;
  13497. no:yes:* )
  13498. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13499. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13500. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13501. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13502. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13503. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13504. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13505. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13506. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13507. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13508. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13509. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13510. ;;
  13511. esac
  13512. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13513. $as_echo_n "checking for $ac_header... " >&6; }
  13514. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13515. $as_echo_n "(cached) " >&6
  13516. else
  13517. eval "$as_ac_Header=\$ac_header_preproc"
  13518. fi
  13519. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13520. $as_echo "$as_val"'`
  13521. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13522. $as_echo "$ac_res" >&6; }
  13523. fi
  13524. as_val=`eval 'as_val=${'$as_ac_Header'}
  13525. $as_echo "$as_val"'`
  13526. if test "x$as_val" = x""yes; then
  13527. cat >>confdefs.h <<_ACEOF
  13528. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13529. _ACEOF
  13530. fi
  13531. done
  13532. for ac_header in limits.h
  13533. do
  13534. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13535. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13536. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13537. $as_echo_n "checking for $ac_header... " >&6; }
  13538. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13539. $as_echo_n "(cached) " >&6
  13540. fi
  13541. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13542. $as_echo "$as_val"'`
  13543. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13544. $as_echo "$ac_res" >&6; }
  13545. else
  13546. # Is the header compilable?
  13547. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13548. $as_echo_n "checking $ac_header usability... " >&6; }
  13549. cat >conftest.$ac_ext <<_ACEOF
  13550. /* confdefs.h. */
  13551. _ACEOF
  13552. cat confdefs.h >>conftest.$ac_ext
  13553. cat >>conftest.$ac_ext <<_ACEOF
  13554. /* end confdefs.h. */
  13555. $ac_includes_default
  13556. #include <$ac_header>
  13557. _ACEOF
  13558. rm -f conftest.$ac_objext
  13559. if { (ac_try="$ac_compile"
  13560. case "(($ac_try" in
  13561. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13562. *) ac_try_echo=$ac_try;;
  13563. esac
  13564. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13565. $as_echo "$ac_try_echo") >&5
  13566. (eval "$ac_compile") 2>conftest.er1
  13567. ac_status=$?
  13568. grep -v '^ *+' conftest.er1 >conftest.err
  13569. rm -f conftest.er1
  13570. cat conftest.err >&5
  13571. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13572. (exit $ac_status); } && {
  13573. test -z "$ac_c_werror_flag" ||
  13574. test ! -s conftest.err
  13575. } && test -s conftest.$ac_objext; then
  13576. ac_header_compiler=yes
  13577. else
  13578. $as_echo "$as_me: failed program was:" >&5
  13579. sed 's/^/| /' conftest.$ac_ext >&5
  13580. ac_header_compiler=no
  13581. fi
  13582. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13583. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13584. $as_echo "$ac_header_compiler" >&6; }
  13585. # Is the header present?
  13586. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13587. $as_echo_n "checking $ac_header presence... " >&6; }
  13588. cat >conftest.$ac_ext <<_ACEOF
  13589. /* confdefs.h. */
  13590. _ACEOF
  13591. cat confdefs.h >>conftest.$ac_ext
  13592. cat >>conftest.$ac_ext <<_ACEOF
  13593. /* end confdefs.h. */
  13594. #include <$ac_header>
  13595. _ACEOF
  13596. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13597. case "(($ac_try" in
  13598. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13599. *) ac_try_echo=$ac_try;;
  13600. esac
  13601. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13602. $as_echo "$ac_try_echo") >&5
  13603. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13604. ac_status=$?
  13605. grep -v '^ *+' conftest.er1 >conftest.err
  13606. rm -f conftest.er1
  13607. cat conftest.err >&5
  13608. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13609. (exit $ac_status); } >/dev/null && {
  13610. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13611. test ! -s conftest.err
  13612. }; then
  13613. ac_header_preproc=yes
  13614. else
  13615. $as_echo "$as_me: failed program was:" >&5
  13616. sed 's/^/| /' conftest.$ac_ext >&5
  13617. ac_header_preproc=no
  13618. fi
  13619. rm -f conftest.err conftest.$ac_ext
  13620. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13621. $as_echo "$ac_header_preproc" >&6; }
  13622. # So? What about this header?
  13623. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13624. yes:no: )
  13625. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13626. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13627. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13628. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13629. ac_header_preproc=yes
  13630. ;;
  13631. no:yes:* )
  13632. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13633. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13634. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13635. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13636. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13637. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13638. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13639. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13640. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13641. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13642. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13643. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13644. ;;
  13645. esac
  13646. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13647. $as_echo_n "checking for $ac_header... " >&6; }
  13648. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13649. $as_echo_n "(cached) " >&6
  13650. else
  13651. eval "$as_ac_Header=\$ac_header_preproc"
  13652. fi
  13653. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13654. $as_echo "$as_val"'`
  13655. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13656. $as_echo "$ac_res" >&6; }
  13657. fi
  13658. as_val=`eval 'as_val=${'$as_ac_Header'}
  13659. $as_echo "$as_val"'`
  13660. if test "x$as_val" = x""yes; then
  13661. cat >>confdefs.h <<_ACEOF
  13662. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13663. _ACEOF
  13664. fi
  13665. done
  13666. for ac_header in fp_class.h
  13667. do
  13668. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13669. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13670. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13671. $as_echo_n "checking for $ac_header... " >&6; }
  13672. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13673. $as_echo_n "(cached) " >&6
  13674. fi
  13675. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13676. $as_echo "$as_val"'`
  13677. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13678. $as_echo "$ac_res" >&6; }
  13679. else
  13680. # Is the header compilable?
  13681. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13682. $as_echo_n "checking $ac_header usability... " >&6; }
  13683. cat >conftest.$ac_ext <<_ACEOF
  13684. /* confdefs.h. */
  13685. _ACEOF
  13686. cat confdefs.h >>conftest.$ac_ext
  13687. cat >>conftest.$ac_ext <<_ACEOF
  13688. /* end confdefs.h. */
  13689. $ac_includes_default
  13690. #include <$ac_header>
  13691. _ACEOF
  13692. rm -f conftest.$ac_objext
  13693. if { (ac_try="$ac_compile"
  13694. case "(($ac_try" in
  13695. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13696. *) ac_try_echo=$ac_try;;
  13697. esac
  13698. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13699. $as_echo "$ac_try_echo") >&5
  13700. (eval "$ac_compile") 2>conftest.er1
  13701. ac_status=$?
  13702. grep -v '^ *+' conftest.er1 >conftest.err
  13703. rm -f conftest.er1
  13704. cat conftest.err >&5
  13705. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13706. (exit $ac_status); } && {
  13707. test -z "$ac_c_werror_flag" ||
  13708. test ! -s conftest.err
  13709. } && test -s conftest.$ac_objext; then
  13710. ac_header_compiler=yes
  13711. else
  13712. $as_echo "$as_me: failed program was:" >&5
  13713. sed 's/^/| /' conftest.$ac_ext >&5
  13714. ac_header_compiler=no
  13715. fi
  13716. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13717. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13718. $as_echo "$ac_header_compiler" >&6; }
  13719. # Is the header present?
  13720. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13721. $as_echo_n "checking $ac_header presence... " >&6; }
  13722. cat >conftest.$ac_ext <<_ACEOF
  13723. /* confdefs.h. */
  13724. _ACEOF
  13725. cat confdefs.h >>conftest.$ac_ext
  13726. cat >>conftest.$ac_ext <<_ACEOF
  13727. /* end confdefs.h. */
  13728. #include <$ac_header>
  13729. _ACEOF
  13730. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13731. case "(($ac_try" in
  13732. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13733. *) ac_try_echo=$ac_try;;
  13734. esac
  13735. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13736. $as_echo "$ac_try_echo") >&5
  13737. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13738. ac_status=$?
  13739. grep -v '^ *+' conftest.er1 >conftest.err
  13740. rm -f conftest.er1
  13741. cat conftest.err >&5
  13742. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13743. (exit $ac_status); } >/dev/null && {
  13744. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13745. test ! -s conftest.err
  13746. }; then
  13747. ac_header_preproc=yes
  13748. else
  13749. $as_echo "$as_me: failed program was:" >&5
  13750. sed 's/^/| /' conftest.$ac_ext >&5
  13751. ac_header_preproc=no
  13752. fi
  13753. rm -f conftest.err conftest.$ac_ext
  13754. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13755. $as_echo "$ac_header_preproc" >&6; }
  13756. # So? What about this header?
  13757. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13758. yes:no: )
  13759. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13760. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13761. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13762. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13763. ac_header_preproc=yes
  13764. ;;
  13765. no:yes:* )
  13766. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13767. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13768. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13769. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13770. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13771. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13772. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13773. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13774. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13775. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13776. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13777. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13778. ;;
  13779. esac
  13780. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13781. $as_echo_n "checking for $ac_header... " >&6; }
  13782. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13783. $as_echo_n "(cached) " >&6
  13784. else
  13785. eval "$as_ac_Header=\$ac_header_preproc"
  13786. fi
  13787. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13788. $as_echo "$as_val"'`
  13789. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13790. $as_echo "$ac_res" >&6; }
  13791. fi
  13792. as_val=`eval 'as_val=${'$as_ac_Header'}
  13793. $as_echo "$as_val"'`
  13794. if test "x$as_val" = x""yes; then
  13795. cat >>confdefs.h <<_ACEOF
  13796. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13797. _ACEOF
  13798. fi
  13799. done
  13800. for ac_header in float.h
  13801. do
  13802. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13803. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13804. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13805. $as_echo_n "checking for $ac_header... " >&6; }
  13806. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13807. $as_echo_n "(cached) " >&6
  13808. fi
  13809. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13810. $as_echo "$as_val"'`
  13811. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13812. $as_echo "$ac_res" >&6; }
  13813. else
  13814. # Is the header compilable?
  13815. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13816. $as_echo_n "checking $ac_header usability... " >&6; }
  13817. cat >conftest.$ac_ext <<_ACEOF
  13818. /* confdefs.h. */
  13819. _ACEOF
  13820. cat confdefs.h >>conftest.$ac_ext
  13821. cat >>conftest.$ac_ext <<_ACEOF
  13822. /* end confdefs.h. */
  13823. $ac_includes_default
  13824. #include <$ac_header>
  13825. _ACEOF
  13826. rm -f conftest.$ac_objext
  13827. if { (ac_try="$ac_compile"
  13828. case "(($ac_try" in
  13829. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13830. *) ac_try_echo=$ac_try;;
  13831. esac
  13832. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13833. $as_echo "$ac_try_echo") >&5
  13834. (eval "$ac_compile") 2>conftest.er1
  13835. ac_status=$?
  13836. grep -v '^ *+' conftest.er1 >conftest.err
  13837. rm -f conftest.er1
  13838. cat conftest.err >&5
  13839. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13840. (exit $ac_status); } && {
  13841. test -z "$ac_c_werror_flag" ||
  13842. test ! -s conftest.err
  13843. } && test -s conftest.$ac_objext; then
  13844. ac_header_compiler=yes
  13845. else
  13846. $as_echo "$as_me: failed program was:" >&5
  13847. sed 's/^/| /' conftest.$ac_ext >&5
  13848. ac_header_compiler=no
  13849. fi
  13850. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13851. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13852. $as_echo "$ac_header_compiler" >&6; }
  13853. # Is the header present?
  13854. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13855. $as_echo_n "checking $ac_header presence... " >&6; }
  13856. cat >conftest.$ac_ext <<_ACEOF
  13857. /* confdefs.h. */
  13858. _ACEOF
  13859. cat confdefs.h >>conftest.$ac_ext
  13860. cat >>conftest.$ac_ext <<_ACEOF
  13861. /* end confdefs.h. */
  13862. #include <$ac_header>
  13863. _ACEOF
  13864. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13865. case "(($ac_try" in
  13866. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13867. *) ac_try_echo=$ac_try;;
  13868. esac
  13869. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13870. $as_echo "$ac_try_echo") >&5
  13871. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  13872. ac_status=$?
  13873. grep -v '^ *+' conftest.er1 >conftest.err
  13874. rm -f conftest.er1
  13875. cat conftest.err >&5
  13876. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13877. (exit $ac_status); } >/dev/null && {
  13878. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  13879. test ! -s conftest.err
  13880. }; then
  13881. ac_header_preproc=yes
  13882. else
  13883. $as_echo "$as_me: failed program was:" >&5
  13884. sed 's/^/| /' conftest.$ac_ext >&5
  13885. ac_header_preproc=no
  13886. fi
  13887. rm -f conftest.err conftest.$ac_ext
  13888. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  13889. $as_echo "$ac_header_preproc" >&6; }
  13890. # So? What about this header?
  13891. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  13892. yes:no: )
  13893. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  13894. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  13895. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  13896. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  13897. ac_header_preproc=yes
  13898. ;;
  13899. no:yes:* )
  13900. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  13901. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  13902. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  13903. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  13904. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  13905. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  13906. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  13907. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  13908. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  13909. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  13910. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  13911. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  13912. ;;
  13913. esac
  13914. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13915. $as_echo_n "checking for $ac_header... " >&6; }
  13916. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13917. $as_echo_n "(cached) " >&6
  13918. else
  13919. eval "$as_ac_Header=\$ac_header_preproc"
  13920. fi
  13921. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13922. $as_echo "$as_val"'`
  13923. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13924. $as_echo "$ac_res" >&6; }
  13925. fi
  13926. as_val=`eval 'as_val=${'$as_ac_Header'}
  13927. $as_echo "$as_val"'`
  13928. if test "x$as_val" = x""yes; then
  13929. cat >>confdefs.h <<_ACEOF
  13930. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13931. _ACEOF
  13932. fi
  13933. done
  13934. for ac_header in stdlib.h
  13935. do
  13936. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13937. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13938. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  13939. $as_echo_n "checking for $ac_header... " >&6; }
  13940. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  13941. $as_echo_n "(cached) " >&6
  13942. fi
  13943. ac_res=`eval 'as_val=${'$as_ac_Header'}
  13944. $as_echo "$as_val"'`
  13945. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  13946. $as_echo "$ac_res" >&6; }
  13947. else
  13948. # Is the header compilable?
  13949. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  13950. $as_echo_n "checking $ac_header usability... " >&6; }
  13951. cat >conftest.$ac_ext <<_ACEOF
  13952. /* confdefs.h. */
  13953. _ACEOF
  13954. cat confdefs.h >>conftest.$ac_ext
  13955. cat >>conftest.$ac_ext <<_ACEOF
  13956. /* end confdefs.h. */
  13957. $ac_includes_default
  13958. #include <$ac_header>
  13959. _ACEOF
  13960. rm -f conftest.$ac_objext
  13961. if { (ac_try="$ac_compile"
  13962. case "(($ac_try" in
  13963. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13964. *) ac_try_echo=$ac_try;;
  13965. esac
  13966. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  13967. $as_echo "$ac_try_echo") >&5
  13968. (eval "$ac_compile") 2>conftest.er1
  13969. ac_status=$?
  13970. grep -v '^ *+' conftest.er1 >conftest.err
  13971. rm -f conftest.er1
  13972. cat conftest.err >&5
  13973. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  13974. (exit $ac_status); } && {
  13975. test -z "$ac_c_werror_flag" ||
  13976. test ! -s conftest.err
  13977. } && test -s conftest.$ac_objext; then
  13978. ac_header_compiler=yes
  13979. else
  13980. $as_echo "$as_me: failed program was:" >&5
  13981. sed 's/^/| /' conftest.$ac_ext >&5
  13982. ac_header_compiler=no
  13983. fi
  13984. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13985. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  13986. $as_echo "$ac_header_compiler" >&6; }
  13987. # Is the header present?
  13988. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  13989. $as_echo_n "checking $ac_header presence... " >&6; }
  13990. cat >conftest.$ac_ext <<_ACEOF
  13991. /* confdefs.h. */
  13992. _ACEOF
  13993. cat confdefs.h >>conftest.$ac_ext
  13994. cat >>conftest.$ac_ext <<_ACEOF
  13995. /* end confdefs.h. */
  13996. #include <$ac_header>
  13997. _ACEOF
  13998. if { (ac_try="$ac_cpp conftest.$ac_ext"
  13999. case "(($ac_try" in
  14000. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14001. *) ac_try_echo=$ac_try;;
  14002. esac
  14003. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14004. $as_echo "$ac_try_echo") >&5
  14005. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14006. ac_status=$?
  14007. grep -v '^ *+' conftest.er1 >conftest.err
  14008. rm -f conftest.er1
  14009. cat conftest.err >&5
  14010. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14011. (exit $ac_status); } >/dev/null && {
  14012. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14013. test ! -s conftest.err
  14014. }; then
  14015. ac_header_preproc=yes
  14016. else
  14017. $as_echo "$as_me: failed program was:" >&5
  14018. sed 's/^/| /' conftest.$ac_ext >&5
  14019. ac_header_preproc=no
  14020. fi
  14021. rm -f conftest.err conftest.$ac_ext
  14022. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14023. $as_echo "$ac_header_preproc" >&6; }
  14024. # So? What about this header?
  14025. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14026. yes:no: )
  14027. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14028. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14029. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  14030. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  14031. ac_header_preproc=yes
  14032. ;;
  14033. no:yes:* )
  14034. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  14035. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  14036. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  14037. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  14038. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  14039. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  14040. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  14041. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  14042. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  14043. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  14044. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  14045. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  14046. ;;
  14047. esac
  14048. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14049. $as_echo_n "checking for $ac_header... " >&6; }
  14050. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14051. $as_echo_n "(cached) " >&6
  14052. else
  14053. eval "$as_ac_Header=\$ac_header_preproc"
  14054. fi
  14055. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14056. $as_echo "$as_val"'`
  14057. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14058. $as_echo "$ac_res" >&6; }
  14059. fi
  14060. as_val=`eval 'as_val=${'$as_ac_Header'}
  14061. $as_echo "$as_val"'`
  14062. if test "x$as_val" = x""yes; then
  14063. cat >>confdefs.h <<_ACEOF
  14064. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14065. _ACEOF
  14066. fi
  14067. done
  14068. for ac_header in sys/socket.h
  14069. do
  14070. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14071. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14072. $as_echo_n "checking for $ac_header... " >&6; }
  14073. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14074. $as_echo_n "(cached) " >&6
  14075. else
  14076. cat >conftest.$ac_ext <<_ACEOF
  14077. /* confdefs.h. */
  14078. _ACEOF
  14079. cat confdefs.h >>conftest.$ac_ext
  14080. cat >>conftest.$ac_ext <<_ACEOF
  14081. /* end confdefs.h. */
  14082. #if HAVE_SYS_TYPES_H
  14083. # include <sys/types.h>
  14084. # endif
  14085. #include <$ac_header>
  14086. _ACEOF
  14087. rm -f conftest.$ac_objext
  14088. if { (ac_try="$ac_compile"
  14089. case "(($ac_try" in
  14090. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14091. *) ac_try_echo=$ac_try;;
  14092. esac
  14093. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14094. $as_echo "$ac_try_echo") >&5
  14095. (eval "$ac_compile") 2>conftest.er1
  14096. ac_status=$?
  14097. grep -v '^ *+' conftest.er1 >conftest.err
  14098. rm -f conftest.er1
  14099. cat conftest.err >&5
  14100. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14101. (exit $ac_status); } && {
  14102. test -z "$ac_c_werror_flag" ||
  14103. test ! -s conftest.err
  14104. } && test -s conftest.$ac_objext; then
  14105. eval "$as_ac_Header=yes"
  14106. else
  14107. $as_echo "$as_me: failed program was:" >&5
  14108. sed 's/^/| /' conftest.$ac_ext >&5
  14109. eval "$as_ac_Header=no"
  14110. fi
  14111. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14112. fi
  14113. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14114. $as_echo "$as_val"'`
  14115. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14116. $as_echo "$ac_res" >&6; }
  14117. as_val=`eval 'as_val=${'$as_ac_Header'}
  14118. $as_echo "$as_val"'`
  14119. if test "x$as_val" = x""yes; then
  14120. cat >>confdefs.h <<_ACEOF
  14121. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14122. _ACEOF
  14123. fi
  14124. done
  14125. for ac_header in netinet/in.h
  14126. do
  14127. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14128. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14129. $as_echo_n "checking for $ac_header... " >&6; }
  14130. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14131. $as_echo_n "(cached) " >&6
  14132. else
  14133. cat >conftest.$ac_ext <<_ACEOF
  14134. /* confdefs.h. */
  14135. _ACEOF
  14136. cat confdefs.h >>conftest.$ac_ext
  14137. cat >>conftest.$ac_ext <<_ACEOF
  14138. /* end confdefs.h. */
  14139. #if HAVE_SYS_TYPES_H
  14140. # include <sys/types.h>
  14141. # endif
  14142. #include <$ac_header>
  14143. _ACEOF
  14144. rm -f conftest.$ac_objext
  14145. if { (ac_try="$ac_compile"
  14146. case "(($ac_try" in
  14147. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14148. *) ac_try_echo=$ac_try;;
  14149. esac
  14150. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14151. $as_echo "$ac_try_echo") >&5
  14152. (eval "$ac_compile") 2>conftest.er1
  14153. ac_status=$?
  14154. grep -v '^ *+' conftest.er1 >conftest.err
  14155. rm -f conftest.er1
  14156. cat conftest.err >&5
  14157. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14158. (exit $ac_status); } && {
  14159. test -z "$ac_c_werror_flag" ||
  14160. test ! -s conftest.err
  14161. } && test -s conftest.$ac_objext; then
  14162. eval "$as_ac_Header=yes"
  14163. else
  14164. $as_echo "$as_me: failed program was:" >&5
  14165. sed 's/^/| /' conftest.$ac_ext >&5
  14166. eval "$as_ac_Header=no"
  14167. fi
  14168. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14169. fi
  14170. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14171. $as_echo "$as_val"'`
  14172. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14173. $as_echo "$ac_res" >&6; }
  14174. as_val=`eval 'as_val=${'$as_ac_Header'}
  14175. $as_echo "$as_val"'`
  14176. if test "x$as_val" = x""yes; then
  14177. cat >>confdefs.h <<_ACEOF
  14178. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14179. _ACEOF
  14180. fi
  14181. done
  14182. for ac_header in arpa/inet.h
  14183. do
  14184. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14185. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14186. $as_echo_n "checking for $ac_header... " >&6; }
  14187. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14188. $as_echo_n "(cached) " >&6
  14189. else
  14190. cat >conftest.$ac_ext <<_ACEOF
  14191. /* confdefs.h. */
  14192. _ACEOF
  14193. cat confdefs.h >>conftest.$ac_ext
  14194. cat >>conftest.$ac_ext <<_ACEOF
  14195. /* end confdefs.h. */
  14196. #if HAVE_SYS_TYPES_H
  14197. # include <sys/types.h>
  14198. # endif
  14199. #if HAVE_ARPA_INET_H
  14200. # include <arpa/inet.h>
  14201. # endif
  14202. #include <$ac_header>
  14203. _ACEOF
  14204. rm -f conftest.$ac_objext
  14205. if { (ac_try="$ac_compile"
  14206. case "(($ac_try" in
  14207. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14208. *) ac_try_echo=$ac_try;;
  14209. esac
  14210. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14211. $as_echo "$ac_try_echo") >&5
  14212. (eval "$ac_compile") 2>conftest.er1
  14213. ac_status=$?
  14214. grep -v '^ *+' conftest.er1 >conftest.err
  14215. rm -f conftest.er1
  14216. cat conftest.err >&5
  14217. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14218. (exit $ac_status); } && {
  14219. test -z "$ac_c_werror_flag" ||
  14220. test ! -s conftest.err
  14221. } && test -s conftest.$ac_objext; then
  14222. eval "$as_ac_Header=yes"
  14223. else
  14224. $as_echo "$as_me: failed program was:" >&5
  14225. sed 's/^/| /' conftest.$ac_ext >&5
  14226. eval "$as_ac_Header=no"
  14227. fi
  14228. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14229. fi
  14230. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14231. $as_echo "$as_val"'`
  14232. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14233. $as_echo "$ac_res" >&6; }
  14234. as_val=`eval 'as_val=${'$as_ac_Header'}
  14235. $as_echo "$as_val"'`
  14236. if test "x$as_val" = x""yes; then
  14237. cat >>confdefs.h <<_ACEOF
  14238. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14239. _ACEOF
  14240. fi
  14241. done
  14242. for ac_header in netdb.h
  14243. do
  14244. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14245. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14246. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14247. $as_echo_n "checking for $ac_header... " >&6; }
  14248. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14249. $as_echo_n "(cached) " >&6
  14250. fi
  14251. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14252. $as_echo "$as_val"'`
  14253. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14254. $as_echo "$ac_res" >&6; }
  14255. else
  14256. # Is the header compilable?
  14257. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  14258. $as_echo_n "checking $ac_header usability... " >&6; }
  14259. cat >conftest.$ac_ext <<_ACEOF
  14260. /* confdefs.h. */
  14261. _ACEOF
  14262. cat confdefs.h >>conftest.$ac_ext
  14263. cat >>conftest.$ac_ext <<_ACEOF
  14264. /* end confdefs.h. */
  14265. $ac_includes_default
  14266. #include <$ac_header>
  14267. _ACEOF
  14268. rm -f conftest.$ac_objext
  14269. if { (ac_try="$ac_compile"
  14270. case "(($ac_try" in
  14271. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14272. *) ac_try_echo=$ac_try;;
  14273. esac
  14274. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14275. $as_echo "$ac_try_echo") >&5
  14276. (eval "$ac_compile") 2>conftest.er1
  14277. ac_status=$?
  14278. grep -v '^ *+' conftest.er1 >conftest.err
  14279. rm -f conftest.er1
  14280. cat conftest.err >&5
  14281. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14282. (exit $ac_status); } && {
  14283. test -z "$ac_c_werror_flag" ||
  14284. test ! -s conftest.err
  14285. } && test -s conftest.$ac_objext; then
  14286. ac_header_compiler=yes
  14287. else
  14288. $as_echo "$as_me: failed program was:" >&5
  14289. sed 's/^/| /' conftest.$ac_ext >&5
  14290. ac_header_compiler=no
  14291. fi
  14292. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14293. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  14294. $as_echo "$ac_header_compiler" >&6; }
  14295. # Is the header present?
  14296. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  14297. $as_echo_n "checking $ac_header presence... " >&6; }
  14298. cat >conftest.$ac_ext <<_ACEOF
  14299. /* confdefs.h. */
  14300. _ACEOF
  14301. cat confdefs.h >>conftest.$ac_ext
  14302. cat >>conftest.$ac_ext <<_ACEOF
  14303. /* end confdefs.h. */
  14304. #include <$ac_header>
  14305. _ACEOF
  14306. if { (ac_try="$ac_cpp conftest.$ac_ext"
  14307. case "(($ac_try" in
  14308. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14309. *) ac_try_echo=$ac_try;;
  14310. esac
  14311. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14312. $as_echo "$ac_try_echo") >&5
  14313. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14314. ac_status=$?
  14315. grep -v '^ *+' conftest.er1 >conftest.err
  14316. rm -f conftest.er1
  14317. cat conftest.err >&5
  14318. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14319. (exit $ac_status); } >/dev/null && {
  14320. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14321. test ! -s conftest.err
  14322. }; then
  14323. ac_header_preproc=yes
  14324. else
  14325. $as_echo "$as_me: failed program was:" >&5
  14326. sed 's/^/| /' conftest.$ac_ext >&5
  14327. ac_header_preproc=no
  14328. fi
  14329. rm -f conftest.err conftest.$ac_ext
  14330. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14331. $as_echo "$ac_header_preproc" >&6; }
  14332. # So? What about this header?
  14333. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14334. yes:no: )
  14335. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14336. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14337. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  14338. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  14339. ac_header_preproc=yes
  14340. ;;
  14341. no:yes:* )
  14342. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  14343. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  14344. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  14345. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  14346. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  14347. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  14348. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  14349. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  14350. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  14351. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  14352. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  14353. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  14354. ;;
  14355. esac
  14356. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14357. $as_echo_n "checking for $ac_header... " >&6; }
  14358. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14359. $as_echo_n "(cached) " >&6
  14360. else
  14361. eval "$as_ac_Header=\$ac_header_preproc"
  14362. fi
  14363. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14364. $as_echo "$as_val"'`
  14365. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14366. $as_echo "$ac_res" >&6; }
  14367. fi
  14368. as_val=`eval 'as_val=${'$as_ac_Header'}
  14369. $as_echo "$as_val"'`
  14370. if test "x$as_val" = x""yes; then
  14371. cat >>confdefs.h <<_ACEOF
  14372. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14373. _ACEOF
  14374. fi
  14375. done
  14376. for ac_header in sys/time.h
  14377. do
  14378. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14379. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14380. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14381. $as_echo_n "checking for $ac_header... " >&6; }
  14382. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14383. $as_echo_n "(cached) " >&6
  14384. fi
  14385. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14386. $as_echo "$as_val"'`
  14387. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14388. $as_echo "$ac_res" >&6; }
  14389. else
  14390. # Is the header compilable?
  14391. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  14392. $as_echo_n "checking $ac_header usability... " >&6; }
  14393. cat >conftest.$ac_ext <<_ACEOF
  14394. /* confdefs.h. */
  14395. _ACEOF
  14396. cat confdefs.h >>conftest.$ac_ext
  14397. cat >>conftest.$ac_ext <<_ACEOF
  14398. /* end confdefs.h. */
  14399. $ac_includes_default
  14400. #include <$ac_header>
  14401. _ACEOF
  14402. rm -f conftest.$ac_objext
  14403. if { (ac_try="$ac_compile"
  14404. case "(($ac_try" in
  14405. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14406. *) ac_try_echo=$ac_try;;
  14407. esac
  14408. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14409. $as_echo "$ac_try_echo") >&5
  14410. (eval "$ac_compile") 2>conftest.er1
  14411. ac_status=$?
  14412. grep -v '^ *+' conftest.er1 >conftest.err
  14413. rm -f conftest.er1
  14414. cat conftest.err >&5
  14415. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14416. (exit $ac_status); } && {
  14417. test -z "$ac_c_werror_flag" ||
  14418. test ! -s conftest.err
  14419. } && test -s conftest.$ac_objext; then
  14420. ac_header_compiler=yes
  14421. else
  14422. $as_echo "$as_me: failed program was:" >&5
  14423. sed 's/^/| /' conftest.$ac_ext >&5
  14424. ac_header_compiler=no
  14425. fi
  14426. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14427. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  14428. $as_echo "$ac_header_compiler" >&6; }
  14429. # Is the header present?
  14430. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  14431. $as_echo_n "checking $ac_header presence... " >&6; }
  14432. cat >conftest.$ac_ext <<_ACEOF
  14433. /* confdefs.h. */
  14434. _ACEOF
  14435. cat confdefs.h >>conftest.$ac_ext
  14436. cat >>conftest.$ac_ext <<_ACEOF
  14437. /* end confdefs.h. */
  14438. #include <$ac_header>
  14439. _ACEOF
  14440. if { (ac_try="$ac_cpp conftest.$ac_ext"
  14441. case "(($ac_try" in
  14442. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14443. *) ac_try_echo=$ac_try;;
  14444. esac
  14445. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14446. $as_echo "$ac_try_echo") >&5
  14447. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14448. ac_status=$?
  14449. grep -v '^ *+' conftest.er1 >conftest.err
  14450. rm -f conftest.er1
  14451. cat conftest.err >&5
  14452. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14453. (exit $ac_status); } >/dev/null && {
  14454. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14455. test ! -s conftest.err
  14456. }; then
  14457. ac_header_preproc=yes
  14458. else
  14459. $as_echo "$as_me: failed program was:" >&5
  14460. sed 's/^/| /' conftest.$ac_ext >&5
  14461. ac_header_preproc=no
  14462. fi
  14463. rm -f conftest.err conftest.$ac_ext
  14464. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14465. $as_echo "$ac_header_preproc" >&6; }
  14466. # So? What about this header?
  14467. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14468. yes:no: )
  14469. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14470. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14471. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  14472. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  14473. ac_header_preproc=yes
  14474. ;;
  14475. no:yes:* )
  14476. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  14477. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  14478. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  14479. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  14480. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  14481. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  14482. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  14483. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  14484. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  14485. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  14486. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  14487. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  14488. ;;
  14489. esac
  14490. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14491. $as_echo_n "checking for $ac_header... " >&6; }
  14492. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14493. $as_echo_n "(cached) " >&6
  14494. else
  14495. eval "$as_ac_Header=\$ac_header_preproc"
  14496. fi
  14497. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14498. $as_echo "$as_val"'`
  14499. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14500. $as_echo "$ac_res" >&6; }
  14501. fi
  14502. as_val=`eval 'as_val=${'$as_ac_Header'}
  14503. $as_echo "$as_val"'`
  14504. if test "x$as_val" = x""yes; then
  14505. cat >>confdefs.h <<_ACEOF
  14506. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14507. _ACEOF
  14508. fi
  14509. done
  14510. for ac_header in sys/select.h
  14511. do
  14512. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14513. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14514. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14515. $as_echo_n "checking for $ac_header... " >&6; }
  14516. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14517. $as_echo_n "(cached) " >&6
  14518. fi
  14519. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14520. $as_echo "$as_val"'`
  14521. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14522. $as_echo "$ac_res" >&6; }
  14523. else
  14524. # Is the header compilable?
  14525. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  14526. $as_echo_n "checking $ac_header usability... " >&6; }
  14527. cat >conftest.$ac_ext <<_ACEOF
  14528. /* confdefs.h. */
  14529. _ACEOF
  14530. cat confdefs.h >>conftest.$ac_ext
  14531. cat >>conftest.$ac_ext <<_ACEOF
  14532. /* end confdefs.h. */
  14533. $ac_includes_default
  14534. #include <$ac_header>
  14535. _ACEOF
  14536. rm -f conftest.$ac_objext
  14537. if { (ac_try="$ac_compile"
  14538. case "(($ac_try" in
  14539. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14540. *) ac_try_echo=$ac_try;;
  14541. esac
  14542. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14543. $as_echo "$ac_try_echo") >&5
  14544. (eval "$ac_compile") 2>conftest.er1
  14545. ac_status=$?
  14546. grep -v '^ *+' conftest.er1 >conftest.err
  14547. rm -f conftest.er1
  14548. cat conftest.err >&5
  14549. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14550. (exit $ac_status); } && {
  14551. test -z "$ac_c_werror_flag" ||
  14552. test ! -s conftest.err
  14553. } && test -s conftest.$ac_objext; then
  14554. ac_header_compiler=yes
  14555. else
  14556. $as_echo "$as_me: failed program was:" >&5
  14557. sed 's/^/| /' conftest.$ac_ext >&5
  14558. ac_header_compiler=no
  14559. fi
  14560. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14561. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  14562. $as_echo "$ac_header_compiler" >&6; }
  14563. # Is the header present?
  14564. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  14565. $as_echo_n "checking $ac_header presence... " >&6; }
  14566. cat >conftest.$ac_ext <<_ACEOF
  14567. /* confdefs.h. */
  14568. _ACEOF
  14569. cat confdefs.h >>conftest.$ac_ext
  14570. cat >>conftest.$ac_ext <<_ACEOF
  14571. /* end confdefs.h. */
  14572. #include <$ac_header>
  14573. _ACEOF
  14574. if { (ac_try="$ac_cpp conftest.$ac_ext"
  14575. case "(($ac_try" in
  14576. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14577. *) ac_try_echo=$ac_try;;
  14578. esac
  14579. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14580. $as_echo "$ac_try_echo") >&5
  14581. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14582. ac_status=$?
  14583. grep -v '^ *+' conftest.er1 >conftest.err
  14584. rm -f conftest.er1
  14585. cat conftest.err >&5
  14586. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14587. (exit $ac_status); } >/dev/null && {
  14588. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14589. test ! -s conftest.err
  14590. }; then
  14591. ac_header_preproc=yes
  14592. else
  14593. $as_echo "$as_me: failed program was:" >&5
  14594. sed 's/^/| /' conftest.$ac_ext >&5
  14595. ac_header_preproc=no
  14596. fi
  14597. rm -f conftest.err conftest.$ac_ext
  14598. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14599. $as_echo "$ac_header_preproc" >&6; }
  14600. # So? What about this header?
  14601. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14602. yes:no: )
  14603. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14604. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14605. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  14606. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  14607. ac_header_preproc=yes
  14608. ;;
  14609. no:yes:* )
  14610. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  14611. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  14612. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  14613. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  14614. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  14615. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  14616. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  14617. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  14618. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  14619. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  14620. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  14621. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  14622. ;;
  14623. esac
  14624. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14625. $as_echo_n "checking for $ac_header... " >&6; }
  14626. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14627. $as_echo_n "(cached) " >&6
  14628. else
  14629. eval "$as_ac_Header=\$ac_header_preproc"
  14630. fi
  14631. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14632. $as_echo "$as_val"'`
  14633. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14634. $as_echo "$ac_res" >&6; }
  14635. fi
  14636. as_val=`eval 'as_val=${'$as_ac_Header'}
  14637. $as_echo "$as_val"'`
  14638. if test "x$as_val" = x""yes; then
  14639. cat >>confdefs.h <<_ACEOF
  14640. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14641. _ACEOF
  14642. fi
  14643. done
  14644. for ac_header in poll.h
  14645. do
  14646. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14647. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14648. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14649. $as_echo_n "checking for $ac_header... " >&6; }
  14650. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14651. $as_echo_n "(cached) " >&6
  14652. fi
  14653. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14654. $as_echo "$as_val"'`
  14655. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14656. $as_echo "$ac_res" >&6; }
  14657. else
  14658. # Is the header compilable?
  14659. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  14660. $as_echo_n "checking $ac_header usability... " >&6; }
  14661. cat >conftest.$ac_ext <<_ACEOF
  14662. /* confdefs.h. */
  14663. _ACEOF
  14664. cat confdefs.h >>conftest.$ac_ext
  14665. cat >>conftest.$ac_ext <<_ACEOF
  14666. /* end confdefs.h. */
  14667. $ac_includes_default
  14668. #include <$ac_header>
  14669. _ACEOF
  14670. rm -f conftest.$ac_objext
  14671. if { (ac_try="$ac_compile"
  14672. case "(($ac_try" in
  14673. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14674. *) ac_try_echo=$ac_try;;
  14675. esac
  14676. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14677. $as_echo "$ac_try_echo") >&5
  14678. (eval "$ac_compile") 2>conftest.er1
  14679. ac_status=$?
  14680. grep -v '^ *+' conftest.er1 >conftest.err
  14681. rm -f conftest.er1
  14682. cat conftest.err >&5
  14683. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14684. (exit $ac_status); } && {
  14685. test -z "$ac_c_werror_flag" ||
  14686. test ! -s conftest.err
  14687. } && test -s conftest.$ac_objext; then
  14688. ac_header_compiler=yes
  14689. else
  14690. $as_echo "$as_me: failed program was:" >&5
  14691. sed 's/^/| /' conftest.$ac_ext >&5
  14692. ac_header_compiler=no
  14693. fi
  14694. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14695. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  14696. $as_echo "$ac_header_compiler" >&6; }
  14697. # Is the header present?
  14698. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  14699. $as_echo_n "checking $ac_header presence... " >&6; }
  14700. cat >conftest.$ac_ext <<_ACEOF
  14701. /* confdefs.h. */
  14702. _ACEOF
  14703. cat confdefs.h >>conftest.$ac_ext
  14704. cat >>conftest.$ac_ext <<_ACEOF
  14705. /* end confdefs.h. */
  14706. #include <$ac_header>
  14707. _ACEOF
  14708. if { (ac_try="$ac_cpp conftest.$ac_ext"
  14709. case "(($ac_try" in
  14710. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14711. *) ac_try_echo=$ac_try;;
  14712. esac
  14713. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14714. $as_echo "$ac_try_echo") >&5
  14715. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14716. ac_status=$?
  14717. grep -v '^ *+' conftest.er1 >conftest.err
  14718. rm -f conftest.er1
  14719. cat conftest.err >&5
  14720. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14721. (exit $ac_status); } >/dev/null && {
  14722. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14723. test ! -s conftest.err
  14724. }; then
  14725. ac_header_preproc=yes
  14726. else
  14727. $as_echo "$as_me: failed program was:" >&5
  14728. sed 's/^/| /' conftest.$ac_ext >&5
  14729. ac_header_preproc=no
  14730. fi
  14731. rm -f conftest.err conftest.$ac_ext
  14732. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14733. $as_echo "$ac_header_preproc" >&6; }
  14734. # So? What about this header?
  14735. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14736. yes:no: )
  14737. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14738. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14739. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  14740. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  14741. ac_header_preproc=yes
  14742. ;;
  14743. no:yes:* )
  14744. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  14745. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  14746. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  14747. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  14748. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  14749. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  14750. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  14751. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  14752. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  14753. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  14754. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  14755. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  14756. ;;
  14757. esac
  14758. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14759. $as_echo_n "checking for $ac_header... " >&6; }
  14760. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14761. $as_echo_n "(cached) " >&6
  14762. else
  14763. eval "$as_ac_Header=\$ac_header_preproc"
  14764. fi
  14765. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14766. $as_echo "$as_val"'`
  14767. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14768. $as_echo "$ac_res" >&6; }
  14769. fi
  14770. as_val=`eval 'as_val=${'$as_ac_Header'}
  14771. $as_echo "$as_val"'`
  14772. if test "x$as_val" = x""yes; then
  14773. cat >>confdefs.h <<_ACEOF
  14774. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14775. _ACEOF
  14776. fi
  14777. done
  14778. for ac_header in sys/mman.h
  14779. do
  14780. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14781. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14782. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14783. $as_echo_n "checking for $ac_header... " >&6; }
  14784. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14785. $as_echo_n "(cached) " >&6
  14786. fi
  14787. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14788. $as_echo "$as_val"'`
  14789. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14790. $as_echo "$ac_res" >&6; }
  14791. else
  14792. # Is the header compilable?
  14793. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  14794. $as_echo_n "checking $ac_header usability... " >&6; }
  14795. cat >conftest.$ac_ext <<_ACEOF
  14796. /* confdefs.h. */
  14797. _ACEOF
  14798. cat confdefs.h >>conftest.$ac_ext
  14799. cat >>conftest.$ac_ext <<_ACEOF
  14800. /* end confdefs.h. */
  14801. $ac_includes_default
  14802. #include <$ac_header>
  14803. _ACEOF
  14804. rm -f conftest.$ac_objext
  14805. if { (ac_try="$ac_compile"
  14806. case "(($ac_try" in
  14807. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14808. *) ac_try_echo=$ac_try;;
  14809. esac
  14810. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14811. $as_echo "$ac_try_echo") >&5
  14812. (eval "$ac_compile") 2>conftest.er1
  14813. ac_status=$?
  14814. grep -v '^ *+' conftest.er1 >conftest.err
  14815. rm -f conftest.er1
  14816. cat conftest.err >&5
  14817. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14818. (exit $ac_status); } && {
  14819. test -z "$ac_c_werror_flag" ||
  14820. test ! -s conftest.err
  14821. } && test -s conftest.$ac_objext; then
  14822. ac_header_compiler=yes
  14823. else
  14824. $as_echo "$as_me: failed program was:" >&5
  14825. sed 's/^/| /' conftest.$ac_ext >&5
  14826. ac_header_compiler=no
  14827. fi
  14828. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14829. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  14830. $as_echo "$ac_header_compiler" >&6; }
  14831. # Is the header present?
  14832. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  14833. $as_echo_n "checking $ac_header presence... " >&6; }
  14834. cat >conftest.$ac_ext <<_ACEOF
  14835. /* confdefs.h. */
  14836. _ACEOF
  14837. cat confdefs.h >>conftest.$ac_ext
  14838. cat >>conftest.$ac_ext <<_ACEOF
  14839. /* end confdefs.h. */
  14840. #include <$ac_header>
  14841. _ACEOF
  14842. if { (ac_try="$ac_cpp conftest.$ac_ext"
  14843. case "(($ac_try" in
  14844. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14845. *) ac_try_echo=$ac_try;;
  14846. esac
  14847. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14848. $as_echo "$ac_try_echo") >&5
  14849. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14850. ac_status=$?
  14851. grep -v '^ *+' conftest.er1 >conftest.err
  14852. rm -f conftest.er1
  14853. cat conftest.err >&5
  14854. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14855. (exit $ac_status); } >/dev/null && {
  14856. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14857. test ! -s conftest.err
  14858. }; then
  14859. ac_header_preproc=yes
  14860. else
  14861. $as_echo "$as_me: failed program was:" >&5
  14862. sed 's/^/| /' conftest.$ac_ext >&5
  14863. ac_header_preproc=no
  14864. fi
  14865. rm -f conftest.err conftest.$ac_ext
  14866. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  14867. $as_echo "$ac_header_preproc" >&6; }
  14868. # So? What about this header?
  14869. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  14870. yes:no: )
  14871. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  14872. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  14873. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  14874. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  14875. ac_header_preproc=yes
  14876. ;;
  14877. no:yes:* )
  14878. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  14879. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  14880. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  14881. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  14882. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  14883. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  14884. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  14885. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  14886. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  14887. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  14888. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  14889. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  14890. ;;
  14891. esac
  14892. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14893. $as_echo_n "checking for $ac_header... " >&6; }
  14894. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14895. $as_echo_n "(cached) " >&6
  14896. else
  14897. eval "$as_ac_Header=\$ac_header_preproc"
  14898. fi
  14899. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14900. $as_echo "$as_val"'`
  14901. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14902. $as_echo "$ac_res" >&6; }
  14903. fi
  14904. as_val=`eval 'as_val=${'$as_ac_Header'}
  14905. $as_echo "$as_val"'`
  14906. if test "x$as_val" = x""yes; then
  14907. cat >>confdefs.h <<_ACEOF
  14908. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14909. _ACEOF
  14910. fi
  14911. done
  14912. for ac_header in sys/timeb.h
  14913. do
  14914. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14915. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14916. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  14917. $as_echo_n "checking for $ac_header... " >&6; }
  14918. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  14919. $as_echo_n "(cached) " >&6
  14920. fi
  14921. ac_res=`eval 'as_val=${'$as_ac_Header'}
  14922. $as_echo "$as_val"'`
  14923. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  14924. $as_echo "$ac_res" >&6; }
  14925. else
  14926. # Is the header compilable?
  14927. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  14928. $as_echo_n "checking $ac_header usability... " >&6; }
  14929. cat >conftest.$ac_ext <<_ACEOF
  14930. /* confdefs.h. */
  14931. _ACEOF
  14932. cat confdefs.h >>conftest.$ac_ext
  14933. cat >>conftest.$ac_ext <<_ACEOF
  14934. /* end confdefs.h. */
  14935. $ac_includes_default
  14936. #include <$ac_header>
  14937. _ACEOF
  14938. rm -f conftest.$ac_objext
  14939. if { (ac_try="$ac_compile"
  14940. case "(($ac_try" in
  14941. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14942. *) ac_try_echo=$ac_try;;
  14943. esac
  14944. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14945. $as_echo "$ac_try_echo") >&5
  14946. (eval "$ac_compile") 2>conftest.er1
  14947. ac_status=$?
  14948. grep -v '^ *+' conftest.er1 >conftest.err
  14949. rm -f conftest.er1
  14950. cat conftest.err >&5
  14951. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14952. (exit $ac_status); } && {
  14953. test -z "$ac_c_werror_flag" ||
  14954. test ! -s conftest.err
  14955. } && test -s conftest.$ac_objext; then
  14956. ac_header_compiler=yes
  14957. else
  14958. $as_echo "$as_me: failed program was:" >&5
  14959. sed 's/^/| /' conftest.$ac_ext >&5
  14960. ac_header_compiler=no
  14961. fi
  14962. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14963. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  14964. $as_echo "$ac_header_compiler" >&6; }
  14965. # Is the header present?
  14966. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  14967. $as_echo_n "checking $ac_header presence... " >&6; }
  14968. cat >conftest.$ac_ext <<_ACEOF
  14969. /* confdefs.h. */
  14970. _ACEOF
  14971. cat confdefs.h >>conftest.$ac_ext
  14972. cat >>conftest.$ac_ext <<_ACEOF
  14973. /* end confdefs.h. */
  14974. #include <$ac_header>
  14975. _ACEOF
  14976. if { (ac_try="$ac_cpp conftest.$ac_ext"
  14977. case "(($ac_try" in
  14978. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14979. *) ac_try_echo=$ac_try;;
  14980. esac
  14981. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  14982. $as_echo "$ac_try_echo") >&5
  14983. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  14984. ac_status=$?
  14985. grep -v '^ *+' conftest.er1 >conftest.err
  14986. rm -f conftest.er1
  14987. cat conftest.err >&5
  14988. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  14989. (exit $ac_status); } >/dev/null && {
  14990. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  14991. test ! -s conftest.err
  14992. }; then
  14993. ac_header_preproc=yes
  14994. else
  14995. $as_echo "$as_me: failed program was:" >&5
  14996. sed 's/^/| /' conftest.$ac_ext >&5
  14997. ac_header_preproc=no
  14998. fi
  14999. rm -f conftest.err conftest.$ac_ext
  15000. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15001. $as_echo "$ac_header_preproc" >&6; }
  15002. # So? What about this header?
  15003. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  15004. yes:no: )
  15005. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  15006. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  15007. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  15008. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  15009. ac_header_preproc=yes
  15010. ;;
  15011. no:yes:* )
  15012. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  15013. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  15014. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  15015. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  15016. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  15017. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  15018. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  15019. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  15020. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  15021. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  15022. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  15023. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  15024. ;;
  15025. esac
  15026. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15027. $as_echo_n "checking for $ac_header... " >&6; }
  15028. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15029. $as_echo_n "(cached) " >&6
  15030. else
  15031. eval "$as_ac_Header=\$ac_header_preproc"
  15032. fi
  15033. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15034. $as_echo "$as_val"'`
  15035. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15036. $as_echo "$ac_res" >&6; }
  15037. fi
  15038. as_val=`eval 'as_val=${'$as_ac_Header'}
  15039. $as_echo "$as_val"'`
  15040. if test "x$as_val" = x""yes; then
  15041. cat >>confdefs.h <<_ACEOF
  15042. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15043. _ACEOF
  15044. fi
  15045. done
  15046. for ac_header in signal.h
  15047. do
  15048. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15049. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15050. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15051. $as_echo_n "checking for $ac_header... " >&6; }
  15052. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15053. $as_echo_n "(cached) " >&6
  15054. fi
  15055. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15056. $as_echo "$as_val"'`
  15057. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15058. $as_echo "$ac_res" >&6; }
  15059. else
  15060. # Is the header compilable?
  15061. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  15062. $as_echo_n "checking $ac_header usability... " >&6; }
  15063. cat >conftest.$ac_ext <<_ACEOF
  15064. /* confdefs.h. */
  15065. _ACEOF
  15066. cat confdefs.h >>conftest.$ac_ext
  15067. cat >>conftest.$ac_ext <<_ACEOF
  15068. /* end confdefs.h. */
  15069. $ac_includes_default
  15070. #include <$ac_header>
  15071. _ACEOF
  15072. rm -f conftest.$ac_objext
  15073. if { (ac_try="$ac_compile"
  15074. case "(($ac_try" in
  15075. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15076. *) ac_try_echo=$ac_try;;
  15077. esac
  15078. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15079. $as_echo "$ac_try_echo") >&5
  15080. (eval "$ac_compile") 2>conftest.er1
  15081. ac_status=$?
  15082. grep -v '^ *+' conftest.er1 >conftest.err
  15083. rm -f conftest.er1
  15084. cat conftest.err >&5
  15085. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15086. (exit $ac_status); } && {
  15087. test -z "$ac_c_werror_flag" ||
  15088. test ! -s conftest.err
  15089. } && test -s conftest.$ac_objext; then
  15090. ac_header_compiler=yes
  15091. else
  15092. $as_echo "$as_me: failed program was:" >&5
  15093. sed 's/^/| /' conftest.$ac_ext >&5
  15094. ac_header_compiler=no
  15095. fi
  15096. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15097. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15098. $as_echo "$ac_header_compiler" >&6; }
  15099. # Is the header present?
  15100. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  15101. $as_echo_n "checking $ac_header presence... " >&6; }
  15102. cat >conftest.$ac_ext <<_ACEOF
  15103. /* confdefs.h. */
  15104. _ACEOF
  15105. cat confdefs.h >>conftest.$ac_ext
  15106. cat >>conftest.$ac_ext <<_ACEOF
  15107. /* end confdefs.h. */
  15108. #include <$ac_header>
  15109. _ACEOF
  15110. if { (ac_try="$ac_cpp conftest.$ac_ext"
  15111. case "(($ac_try" in
  15112. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15113. *) ac_try_echo=$ac_try;;
  15114. esac
  15115. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15116. $as_echo "$ac_try_echo") >&5
  15117. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  15118. ac_status=$?
  15119. grep -v '^ *+' conftest.er1 >conftest.err
  15120. rm -f conftest.er1
  15121. cat conftest.err >&5
  15122. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15123. (exit $ac_status); } >/dev/null && {
  15124. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  15125. test ! -s conftest.err
  15126. }; then
  15127. ac_header_preproc=yes
  15128. else
  15129. $as_echo "$as_me: failed program was:" >&5
  15130. sed 's/^/| /' conftest.$ac_ext >&5
  15131. ac_header_preproc=no
  15132. fi
  15133. rm -f conftest.err conftest.$ac_ext
  15134. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15135. $as_echo "$ac_header_preproc" >&6; }
  15136. # So? What about this header?
  15137. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  15138. yes:no: )
  15139. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  15140. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  15141. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  15142. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  15143. ac_header_preproc=yes
  15144. ;;
  15145. no:yes:* )
  15146. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  15147. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  15148. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  15149. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  15150. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  15151. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  15152. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  15153. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  15154. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  15155. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  15156. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  15157. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  15158. ;;
  15159. esac
  15160. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15161. $as_echo_n "checking for $ac_header... " >&6; }
  15162. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15163. $as_echo_n "(cached) " >&6
  15164. else
  15165. eval "$as_ac_Header=\$ac_header_preproc"
  15166. fi
  15167. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15168. $as_echo "$as_val"'`
  15169. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15170. $as_echo "$ac_res" >&6; }
  15171. fi
  15172. as_val=`eval 'as_val=${'$as_ac_Header'}
  15173. $as_echo "$as_val"'`
  15174. if test "x$as_val" = x""yes; then
  15175. cat >>confdefs.h <<_ACEOF
  15176. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15177. _ACEOF
  15178. fi
  15179. done
  15180. for ac_header in arpa/nameser.h
  15181. do
  15182. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15183. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15184. $as_echo_n "checking for $ac_header... " >&6; }
  15185. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15186. $as_echo_n "(cached) " >&6
  15187. else
  15188. cat >conftest.$ac_ext <<_ACEOF
  15189. /* confdefs.h. */
  15190. _ACEOF
  15191. cat confdefs.h >>conftest.$ac_ext
  15192. cat >>conftest.$ac_ext <<_ACEOF
  15193. /* end confdefs.h. */
  15194. #if HAVE_SYS_TYPES_H
  15195. # include <sys/types.h>
  15196. # endif
  15197. #include <$ac_header>
  15198. _ACEOF
  15199. rm -f conftest.$ac_objext
  15200. if { (ac_try="$ac_compile"
  15201. case "(($ac_try" in
  15202. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15203. *) ac_try_echo=$ac_try;;
  15204. esac
  15205. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15206. $as_echo "$ac_try_echo") >&5
  15207. (eval "$ac_compile") 2>conftest.er1
  15208. ac_status=$?
  15209. grep -v '^ *+' conftest.er1 >conftest.err
  15210. rm -f conftest.er1
  15211. cat conftest.err >&5
  15212. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15213. (exit $ac_status); } && {
  15214. test -z "$ac_c_werror_flag" ||
  15215. test ! -s conftest.err
  15216. } && test -s conftest.$ac_objext; then
  15217. eval "$as_ac_Header=yes"
  15218. else
  15219. $as_echo "$as_me: failed program was:" >&5
  15220. sed 's/^/| /' conftest.$ac_ext >&5
  15221. eval "$as_ac_Header=no"
  15222. fi
  15223. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15224. fi
  15225. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15226. $as_echo "$as_val"'`
  15227. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15228. $as_echo "$ac_res" >&6; }
  15229. as_val=`eval 'as_val=${'$as_ac_Header'}
  15230. $as_echo "$as_val"'`
  15231. if test "x$as_val" = x""yes; then
  15232. cat >>confdefs.h <<_ACEOF
  15233. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15234. _ACEOF
  15235. fi
  15236. done
  15237. for ac_header in resolv.h
  15238. do
  15239. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15240. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15241. $as_echo_n "checking for $ac_header... " >&6; }
  15242. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15243. $as_echo_n "(cached) " >&6
  15244. else
  15245. cat >conftest.$ac_ext <<_ACEOF
  15246. /* confdefs.h. */
  15247. _ACEOF
  15248. cat confdefs.h >>conftest.$ac_ext
  15249. cat >>conftest.$ac_ext <<_ACEOF
  15250. /* end confdefs.h. */
  15251. #if HAVE_SYS_TYPES_H
  15252. # include <sys/types.h>
  15253. # endif
  15254. #if HAVE_NETINET_IN_H
  15255. # include <netinet/in.h>
  15256. # endif
  15257. #if HAVE_ARPA_NAMESER_H
  15258. # include <arpa/nameser.h>
  15259. # endif
  15260. #include <$ac_header>
  15261. _ACEOF
  15262. rm -f conftest.$ac_objext
  15263. if { (ac_try="$ac_compile"
  15264. case "(($ac_try" in
  15265. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15266. *) ac_try_echo=$ac_try;;
  15267. esac
  15268. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15269. $as_echo "$ac_try_echo") >&5
  15270. (eval "$ac_compile") 2>conftest.er1
  15271. ac_status=$?
  15272. grep -v '^ *+' conftest.er1 >conftest.err
  15273. rm -f conftest.er1
  15274. cat conftest.err >&5
  15275. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15276. (exit $ac_status); } && {
  15277. test -z "$ac_c_werror_flag" ||
  15278. test ! -s conftest.err
  15279. } && test -s conftest.$ac_objext; then
  15280. eval "$as_ac_Header=yes"
  15281. else
  15282. $as_echo "$as_me: failed program was:" >&5
  15283. sed 's/^/| /' conftest.$ac_ext >&5
  15284. eval "$as_ac_Header=no"
  15285. fi
  15286. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15287. fi
  15288. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15289. $as_echo "$as_val"'`
  15290. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15291. $as_echo "$ac_res" >&6; }
  15292. as_val=`eval 'as_val=${'$as_ac_Header'}
  15293. $as_echo "$as_val"'`
  15294. if test "x$as_val" = x""yes; then
  15295. cat >>confdefs.h <<_ACEOF
  15296. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15297. _ACEOF
  15298. fi
  15299. done
  15300. for ac_header in dl.h
  15301. do
  15302. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15303. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15304. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15305. $as_echo_n "checking for $ac_header... " >&6; }
  15306. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15307. $as_echo_n "(cached) " >&6
  15308. fi
  15309. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15310. $as_echo "$as_val"'`
  15311. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15312. $as_echo "$ac_res" >&6; }
  15313. else
  15314. # Is the header compilable?
  15315. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  15316. $as_echo_n "checking $ac_header usability... " >&6; }
  15317. cat >conftest.$ac_ext <<_ACEOF
  15318. /* confdefs.h. */
  15319. _ACEOF
  15320. cat confdefs.h >>conftest.$ac_ext
  15321. cat >>conftest.$ac_ext <<_ACEOF
  15322. /* end confdefs.h. */
  15323. $ac_includes_default
  15324. #include <$ac_header>
  15325. _ACEOF
  15326. rm -f conftest.$ac_objext
  15327. if { (ac_try="$ac_compile"
  15328. case "(($ac_try" in
  15329. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15330. *) ac_try_echo=$ac_try;;
  15331. esac
  15332. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15333. $as_echo "$ac_try_echo") >&5
  15334. (eval "$ac_compile") 2>conftest.er1
  15335. ac_status=$?
  15336. grep -v '^ *+' conftest.er1 >conftest.err
  15337. rm -f conftest.er1
  15338. cat conftest.err >&5
  15339. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15340. (exit $ac_status); } && {
  15341. test -z "$ac_c_werror_flag" ||
  15342. test ! -s conftest.err
  15343. } && test -s conftest.$ac_objext; then
  15344. ac_header_compiler=yes
  15345. else
  15346. $as_echo "$as_me: failed program was:" >&5
  15347. sed 's/^/| /' conftest.$ac_ext >&5
  15348. ac_header_compiler=no
  15349. fi
  15350. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15351. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15352. $as_echo "$ac_header_compiler" >&6; }
  15353. # Is the header present?
  15354. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  15355. $as_echo_n "checking $ac_header presence... " >&6; }
  15356. cat >conftest.$ac_ext <<_ACEOF
  15357. /* confdefs.h. */
  15358. _ACEOF
  15359. cat confdefs.h >>conftest.$ac_ext
  15360. cat >>conftest.$ac_ext <<_ACEOF
  15361. /* end confdefs.h. */
  15362. #include <$ac_header>
  15363. _ACEOF
  15364. if { (ac_try="$ac_cpp conftest.$ac_ext"
  15365. case "(($ac_try" in
  15366. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15367. *) ac_try_echo=$ac_try;;
  15368. esac
  15369. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15370. $as_echo "$ac_try_echo") >&5
  15371. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  15372. ac_status=$?
  15373. grep -v '^ *+' conftest.er1 >conftest.err
  15374. rm -f conftest.er1
  15375. cat conftest.err >&5
  15376. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15377. (exit $ac_status); } >/dev/null && {
  15378. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  15379. test ! -s conftest.err
  15380. }; then
  15381. ac_header_preproc=yes
  15382. else
  15383. $as_echo "$as_me: failed program was:" >&5
  15384. sed 's/^/| /' conftest.$ac_ext >&5
  15385. ac_header_preproc=no
  15386. fi
  15387. rm -f conftest.err conftest.$ac_ext
  15388. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15389. $as_echo "$ac_header_preproc" >&6; }
  15390. # So? What about this header?
  15391. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  15392. yes:no: )
  15393. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  15394. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  15395. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  15396. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  15397. ac_header_preproc=yes
  15398. ;;
  15399. no:yes:* )
  15400. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  15401. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  15402. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  15403. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  15404. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  15405. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  15406. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  15407. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  15408. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  15409. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  15410. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  15411. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  15412. ;;
  15413. esac
  15414. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15415. $as_echo_n "checking for $ac_header... " >&6; }
  15416. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15417. $as_echo_n "(cached) " >&6
  15418. else
  15419. eval "$as_ac_Header=\$ac_header_preproc"
  15420. fi
  15421. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15422. $as_echo "$as_val"'`
  15423. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15424. $as_echo "$ac_res" >&6; }
  15425. fi
  15426. as_val=`eval 'as_val=${'$as_ac_Header'}
  15427. $as_echo "$as_val"'`
  15428. if test "x$as_val" = x""yes; then
  15429. cat >>confdefs.h <<_ACEOF
  15430. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15431. _ACEOF
  15432. fi
  15433. done
  15434. for ac_header in dlfcn.h
  15435. do
  15436. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15437. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15438. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15439. $as_echo_n "checking for $ac_header... " >&6; }
  15440. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15441. $as_echo_n "(cached) " >&6
  15442. fi
  15443. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15444. $as_echo "$as_val"'`
  15445. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15446. $as_echo "$ac_res" >&6; }
  15447. else
  15448. # Is the header compilable?
  15449. { $as_echo "$as_me:$LINENO: checking $ac_header usability" >&5
  15450. $as_echo_n "checking $ac_header usability... " >&6; }
  15451. cat >conftest.$ac_ext <<_ACEOF
  15452. /* confdefs.h. */
  15453. _ACEOF
  15454. cat confdefs.h >>conftest.$ac_ext
  15455. cat >>conftest.$ac_ext <<_ACEOF
  15456. /* end confdefs.h. */
  15457. $ac_includes_default
  15458. #include <$ac_header>
  15459. _ACEOF
  15460. rm -f conftest.$ac_objext
  15461. if { (ac_try="$ac_compile"
  15462. case "(($ac_try" in
  15463. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15464. *) ac_try_echo=$ac_try;;
  15465. esac
  15466. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15467. $as_echo "$ac_try_echo") >&5
  15468. (eval "$ac_compile") 2>conftest.er1
  15469. ac_status=$?
  15470. grep -v '^ *+' conftest.er1 >conftest.err
  15471. rm -f conftest.er1
  15472. cat conftest.err >&5
  15473. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15474. (exit $ac_status); } && {
  15475. test -z "$ac_c_werror_flag" ||
  15476. test ! -s conftest.err
  15477. } && test -s conftest.$ac_objext; then
  15478. ac_header_compiler=yes
  15479. else
  15480. $as_echo "$as_me: failed program was:" >&5
  15481. sed 's/^/| /' conftest.$ac_ext >&5
  15482. ac_header_compiler=no
  15483. fi
  15484. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15485. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  15486. $as_echo "$ac_header_compiler" >&6; }
  15487. # Is the header present?
  15488. { $as_echo "$as_me:$LINENO: checking $ac_header presence" >&5
  15489. $as_echo_n "checking $ac_header presence... " >&6; }
  15490. cat >conftest.$ac_ext <<_ACEOF
  15491. /* confdefs.h. */
  15492. _ACEOF
  15493. cat confdefs.h >>conftest.$ac_ext
  15494. cat >>conftest.$ac_ext <<_ACEOF
  15495. /* end confdefs.h. */
  15496. #include <$ac_header>
  15497. _ACEOF
  15498. if { (ac_try="$ac_cpp conftest.$ac_ext"
  15499. case "(($ac_try" in
  15500. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15501. *) ac_try_echo=$ac_try;;
  15502. esac
  15503. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15504. $as_echo "$ac_try_echo") >&5
  15505. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  15506. ac_status=$?
  15507. grep -v '^ *+' conftest.er1 >conftest.err
  15508. rm -f conftest.er1
  15509. cat conftest.err >&5
  15510. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15511. (exit $ac_status); } >/dev/null && {
  15512. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  15513. test ! -s conftest.err
  15514. }; then
  15515. ac_header_preproc=yes
  15516. else
  15517. $as_echo "$as_me: failed program was:" >&5
  15518. sed 's/^/| /' conftest.$ac_ext >&5
  15519. ac_header_preproc=no
  15520. fi
  15521. rm -f conftest.err conftest.$ac_ext
  15522. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  15523. $as_echo "$ac_header_preproc" >&6; }
  15524. # So? What about this header?
  15525. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  15526. yes:no: )
  15527. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
  15528. $as_echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
  15529. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
  15530. $as_echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
  15531. ac_header_preproc=yes
  15532. ;;
  15533. no:yes:* )
  15534. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
  15535. $as_echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
  15536. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
  15537. $as_echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
  15538. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
  15539. $as_echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
  15540. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
  15541. $as_echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
  15542. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
  15543. $as_echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
  15544. { $as_echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
  15545. $as_echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
  15546. ;;
  15547. esac
  15548. { $as_echo "$as_me:$LINENO: checking for $ac_header" >&5
  15549. $as_echo_n "checking for $ac_header... " >&6; }
  15550. if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
  15551. $as_echo_n "(cached) " >&6
  15552. else
  15553. eval "$as_ac_Header=\$ac_header_preproc"
  15554. fi
  15555. ac_res=`eval 'as_val=${'$as_ac_Header'}
  15556. $as_echo "$as_val"'`
  15557. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15558. $as_echo "$ac_res" >&6; }
  15559. fi
  15560. as_val=`eval 'as_val=${'$as_ac_Header'}
  15561. $as_echo "$as_val"'`
  15562. if test "x$as_val" = x""yes; then
  15563. cat >>confdefs.h <<_ACEOF
  15564. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15565. _ACEOF
  15566. fi
  15567. done
  15568. echo Checking libraries
  15569. for ac_func in strftime
  15570. do
  15571. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  15572. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  15573. $as_echo_n "checking for $ac_func... " >&6; }
  15574. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  15575. $as_echo_n "(cached) " >&6
  15576. else
  15577. cat >conftest.$ac_ext <<_ACEOF
  15578. /* confdefs.h. */
  15579. _ACEOF
  15580. cat confdefs.h >>conftest.$ac_ext
  15581. cat >>conftest.$ac_ext <<_ACEOF
  15582. /* end confdefs.h. */
  15583. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  15584. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  15585. #define $ac_func innocuous_$ac_func
  15586. /* System header to define __stub macros and hopefully few prototypes,
  15587. which can conflict with char $ac_func (); below.
  15588. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  15589. <limits.h> exists even on freestanding compilers. */
  15590. #ifdef __STDC__
  15591. # include <limits.h>
  15592. #else
  15593. # include <assert.h>
  15594. #endif
  15595. #undef $ac_func
  15596. /* Override any GCC internal prototype to avoid an error.
  15597. Use char because int might match the return type of a GCC
  15598. builtin and then its argument prototype would still apply. */
  15599. #ifdef __cplusplus
  15600. extern "C"
  15601. #endif
  15602. char $ac_func ();
  15603. /* The GNU C library defines this for functions which it implements
  15604. to always fail with ENOSYS. Some functions are actually named
  15605. something starting with __ and the normal name is an alias. */
  15606. #if defined __stub_$ac_func || defined __stub___$ac_func
  15607. choke me
  15608. #endif
  15609. int
  15610. main ()
  15611. {
  15612. return $ac_func ();
  15613. ;
  15614. return 0;
  15615. }
  15616. _ACEOF
  15617. rm -f conftest.$ac_objext conftest$ac_exeext
  15618. if { (ac_try="$ac_link"
  15619. case "(($ac_try" in
  15620. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15621. *) ac_try_echo=$ac_try;;
  15622. esac
  15623. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15624. $as_echo "$ac_try_echo") >&5
  15625. (eval "$ac_link") 2>conftest.er1
  15626. ac_status=$?
  15627. grep -v '^ *+' conftest.er1 >conftest.err
  15628. rm -f conftest.er1
  15629. cat conftest.err >&5
  15630. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15631. (exit $ac_status); } && {
  15632. test -z "$ac_c_werror_flag" ||
  15633. test ! -s conftest.err
  15634. } && test -s conftest$ac_exeext && {
  15635. test "$cross_compiling" = yes ||
  15636. $as_test_x conftest$ac_exeext
  15637. }; then
  15638. eval "$as_ac_var=yes"
  15639. else
  15640. $as_echo "$as_me: failed program was:" >&5
  15641. sed 's/^/| /' conftest.$ac_ext >&5
  15642. eval "$as_ac_var=no"
  15643. fi
  15644. rm -rf conftest.dSYM
  15645. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15646. conftest$ac_exeext conftest.$ac_ext
  15647. fi
  15648. ac_res=`eval 'as_val=${'$as_ac_var'}
  15649. $as_echo "$as_val"'`
  15650. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15651. $as_echo "$ac_res" >&6; }
  15652. as_val=`eval 'as_val=${'$as_ac_var'}
  15653. $as_echo "$as_val"'`
  15654. if test "x$as_val" = x""yes; then
  15655. cat >>confdefs.h <<_ACEOF
  15656. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  15657. _ACEOF
  15658. else
  15659. # strftime is in -lintl on SCO UNIX.
  15660. { $as_echo "$as_me:$LINENO: checking for strftime in -lintl" >&5
  15661. $as_echo_n "checking for strftime in -lintl... " >&6; }
  15662. if test "${ac_cv_lib_intl_strftime+set}" = set; then
  15663. $as_echo_n "(cached) " >&6
  15664. else
  15665. ac_check_lib_save_LIBS=$LIBS
  15666. LIBS="-lintl $LIBS"
  15667. cat >conftest.$ac_ext <<_ACEOF
  15668. /* confdefs.h. */
  15669. _ACEOF
  15670. cat confdefs.h >>conftest.$ac_ext
  15671. cat >>conftest.$ac_ext <<_ACEOF
  15672. /* end confdefs.h. */
  15673. /* Override any GCC internal prototype to avoid an error.
  15674. Use char because int might match the return type of a GCC
  15675. builtin and then its argument prototype would still apply. */
  15676. #ifdef __cplusplus
  15677. extern "C"
  15678. #endif
  15679. char strftime ();
  15680. int
  15681. main ()
  15682. {
  15683. return strftime ();
  15684. ;
  15685. return 0;
  15686. }
  15687. _ACEOF
  15688. rm -f conftest.$ac_objext conftest$ac_exeext
  15689. if { (ac_try="$ac_link"
  15690. case "(($ac_try" in
  15691. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15692. *) ac_try_echo=$ac_try;;
  15693. esac
  15694. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15695. $as_echo "$ac_try_echo") >&5
  15696. (eval "$ac_link") 2>conftest.er1
  15697. ac_status=$?
  15698. grep -v '^ *+' conftest.er1 >conftest.err
  15699. rm -f conftest.er1
  15700. cat conftest.err >&5
  15701. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15702. (exit $ac_status); } && {
  15703. test -z "$ac_c_werror_flag" ||
  15704. test ! -s conftest.err
  15705. } && test -s conftest$ac_exeext && {
  15706. test "$cross_compiling" = yes ||
  15707. $as_test_x conftest$ac_exeext
  15708. }; then
  15709. ac_cv_lib_intl_strftime=yes
  15710. else
  15711. $as_echo "$as_me: failed program was:" >&5
  15712. sed 's/^/| /' conftest.$ac_ext >&5
  15713. ac_cv_lib_intl_strftime=no
  15714. fi
  15715. rm -rf conftest.dSYM
  15716. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15717. conftest$ac_exeext conftest.$ac_ext
  15718. LIBS=$ac_check_lib_save_LIBS
  15719. fi
  15720. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_intl_strftime" >&5
  15721. $as_echo "$ac_cv_lib_intl_strftime" >&6; }
  15722. if test "x$ac_cv_lib_intl_strftime" = x""yes; then
  15723. cat >>confdefs.h <<\_ACEOF
  15724. #define HAVE_STRFTIME 1
  15725. _ACEOF
  15726. LIBS="-lintl $LIBS"
  15727. fi
  15728. fi
  15729. done
  15730. for ac_func in strdup strndup strerror
  15731. do
  15732. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  15733. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  15734. $as_echo_n "checking for $ac_func... " >&6; }
  15735. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  15736. $as_echo_n "(cached) " >&6
  15737. else
  15738. cat >conftest.$ac_ext <<_ACEOF
  15739. /* confdefs.h. */
  15740. _ACEOF
  15741. cat confdefs.h >>conftest.$ac_ext
  15742. cat >>conftest.$ac_ext <<_ACEOF
  15743. /* end confdefs.h. */
  15744. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  15745. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  15746. #define $ac_func innocuous_$ac_func
  15747. /* System header to define __stub macros and hopefully few prototypes,
  15748. which can conflict with char $ac_func (); below.
  15749. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  15750. <limits.h> exists even on freestanding compilers. */
  15751. #ifdef __STDC__
  15752. # include <limits.h>
  15753. #else
  15754. # include <assert.h>
  15755. #endif
  15756. #undef $ac_func
  15757. /* Override any GCC internal prototype to avoid an error.
  15758. Use char because int might match the return type of a GCC
  15759. builtin and then its argument prototype would still apply. */
  15760. #ifdef __cplusplus
  15761. extern "C"
  15762. #endif
  15763. char $ac_func ();
  15764. /* The GNU C library defines this for functions which it implements
  15765. to always fail with ENOSYS. Some functions are actually named
  15766. something starting with __ and the normal name is an alias. */
  15767. #if defined __stub_$ac_func || defined __stub___$ac_func
  15768. choke me
  15769. #endif
  15770. int
  15771. main ()
  15772. {
  15773. return $ac_func ();
  15774. ;
  15775. return 0;
  15776. }
  15777. _ACEOF
  15778. rm -f conftest.$ac_objext conftest$ac_exeext
  15779. if { (ac_try="$ac_link"
  15780. case "(($ac_try" in
  15781. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15782. *) ac_try_echo=$ac_try;;
  15783. esac
  15784. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15785. $as_echo "$ac_try_echo") >&5
  15786. (eval "$ac_link") 2>conftest.er1
  15787. ac_status=$?
  15788. grep -v '^ *+' conftest.er1 >conftest.err
  15789. rm -f conftest.er1
  15790. cat conftest.err >&5
  15791. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15792. (exit $ac_status); } && {
  15793. test -z "$ac_c_werror_flag" ||
  15794. test ! -s conftest.err
  15795. } && test -s conftest$ac_exeext && {
  15796. test "$cross_compiling" = yes ||
  15797. $as_test_x conftest$ac_exeext
  15798. }; then
  15799. eval "$as_ac_var=yes"
  15800. else
  15801. $as_echo "$as_me: failed program was:" >&5
  15802. sed 's/^/| /' conftest.$ac_ext >&5
  15803. eval "$as_ac_var=no"
  15804. fi
  15805. rm -rf conftest.dSYM
  15806. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15807. conftest$ac_exeext conftest.$ac_ext
  15808. fi
  15809. ac_res=`eval 'as_val=${'$as_ac_var'}
  15810. $as_echo "$as_val"'`
  15811. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15812. $as_echo "$ac_res" >&6; }
  15813. as_val=`eval 'as_val=${'$as_ac_var'}
  15814. $as_echo "$as_val"'`
  15815. if test "x$as_val" = x""yes; then
  15816. cat >>confdefs.h <<_ACEOF
  15817. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  15818. _ACEOF
  15819. fi
  15820. done
  15821. for ac_func in finite isnand fp_class class fpclass
  15822. do
  15823. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  15824. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  15825. $as_echo_n "checking for $ac_func... " >&6; }
  15826. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  15827. $as_echo_n "(cached) " >&6
  15828. else
  15829. cat >conftest.$ac_ext <<_ACEOF
  15830. /* confdefs.h. */
  15831. _ACEOF
  15832. cat confdefs.h >>conftest.$ac_ext
  15833. cat >>conftest.$ac_ext <<_ACEOF
  15834. /* end confdefs.h. */
  15835. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  15836. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  15837. #define $ac_func innocuous_$ac_func
  15838. /* System header to define __stub macros and hopefully few prototypes,
  15839. which can conflict with char $ac_func (); below.
  15840. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  15841. <limits.h> exists even on freestanding compilers. */
  15842. #ifdef __STDC__
  15843. # include <limits.h>
  15844. #else
  15845. # include <assert.h>
  15846. #endif
  15847. #undef $ac_func
  15848. /* Override any GCC internal prototype to avoid an error.
  15849. Use char because int might match the return type of a GCC
  15850. builtin and then its argument prototype would still apply. */
  15851. #ifdef __cplusplus
  15852. extern "C"
  15853. #endif
  15854. char $ac_func ();
  15855. /* The GNU C library defines this for functions which it implements
  15856. to always fail with ENOSYS. Some functions are actually named
  15857. something starting with __ and the normal name is an alias. */
  15858. #if defined __stub_$ac_func || defined __stub___$ac_func
  15859. choke me
  15860. #endif
  15861. int
  15862. main ()
  15863. {
  15864. return $ac_func ();
  15865. ;
  15866. return 0;
  15867. }
  15868. _ACEOF
  15869. rm -f conftest.$ac_objext conftest$ac_exeext
  15870. if { (ac_try="$ac_link"
  15871. case "(($ac_try" in
  15872. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15873. *) ac_try_echo=$ac_try;;
  15874. esac
  15875. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15876. $as_echo "$ac_try_echo") >&5
  15877. (eval "$ac_link") 2>conftest.er1
  15878. ac_status=$?
  15879. grep -v '^ *+' conftest.er1 >conftest.err
  15880. rm -f conftest.er1
  15881. cat conftest.err >&5
  15882. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15883. (exit $ac_status); } && {
  15884. test -z "$ac_c_werror_flag" ||
  15885. test ! -s conftest.err
  15886. } && test -s conftest$ac_exeext && {
  15887. test "$cross_compiling" = yes ||
  15888. $as_test_x conftest$ac_exeext
  15889. }; then
  15890. eval "$as_ac_var=yes"
  15891. else
  15892. $as_echo "$as_me: failed program was:" >&5
  15893. sed 's/^/| /' conftest.$ac_ext >&5
  15894. eval "$as_ac_var=no"
  15895. fi
  15896. rm -rf conftest.dSYM
  15897. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15898. conftest$ac_exeext conftest.$ac_ext
  15899. fi
  15900. ac_res=`eval 'as_val=${'$as_ac_var'}
  15901. $as_echo "$as_val"'`
  15902. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15903. $as_echo "$ac_res" >&6; }
  15904. as_val=`eval 'as_val=${'$as_ac_var'}
  15905. $as_echo "$as_val"'`
  15906. if test "x$as_val" = x""yes; then
  15907. cat >>confdefs.h <<_ACEOF
  15908. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  15909. _ACEOF
  15910. fi
  15911. done
  15912. for ac_func in strftime localtime gettimeofday ftime
  15913. do
  15914. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  15915. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  15916. $as_echo_n "checking for $ac_func... " >&6; }
  15917. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  15918. $as_echo_n "(cached) " >&6
  15919. else
  15920. cat >conftest.$ac_ext <<_ACEOF
  15921. /* confdefs.h. */
  15922. _ACEOF
  15923. cat confdefs.h >>conftest.$ac_ext
  15924. cat >>conftest.$ac_ext <<_ACEOF
  15925. /* end confdefs.h. */
  15926. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  15927. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  15928. #define $ac_func innocuous_$ac_func
  15929. /* System header to define __stub macros and hopefully few prototypes,
  15930. which can conflict with char $ac_func (); below.
  15931. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  15932. <limits.h> exists even on freestanding compilers. */
  15933. #ifdef __STDC__
  15934. # include <limits.h>
  15935. #else
  15936. # include <assert.h>
  15937. #endif
  15938. #undef $ac_func
  15939. /* Override any GCC internal prototype to avoid an error.
  15940. Use char because int might match the return type of a GCC
  15941. builtin and then its argument prototype would still apply. */
  15942. #ifdef __cplusplus
  15943. extern "C"
  15944. #endif
  15945. char $ac_func ();
  15946. /* The GNU C library defines this for functions which it implements
  15947. to always fail with ENOSYS. Some functions are actually named
  15948. something starting with __ and the normal name is an alias. */
  15949. #if defined __stub_$ac_func || defined __stub___$ac_func
  15950. choke me
  15951. #endif
  15952. int
  15953. main ()
  15954. {
  15955. return $ac_func ();
  15956. ;
  15957. return 0;
  15958. }
  15959. _ACEOF
  15960. rm -f conftest.$ac_objext conftest$ac_exeext
  15961. if { (ac_try="$ac_link"
  15962. case "(($ac_try" in
  15963. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  15964. *) ac_try_echo=$ac_try;;
  15965. esac
  15966. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  15967. $as_echo "$ac_try_echo") >&5
  15968. (eval "$ac_link") 2>conftest.er1
  15969. ac_status=$?
  15970. grep -v '^ *+' conftest.er1 >conftest.err
  15971. rm -f conftest.er1
  15972. cat conftest.err >&5
  15973. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  15974. (exit $ac_status); } && {
  15975. test -z "$ac_c_werror_flag" ||
  15976. test ! -s conftest.err
  15977. } && test -s conftest$ac_exeext && {
  15978. test "$cross_compiling" = yes ||
  15979. $as_test_x conftest$ac_exeext
  15980. }; then
  15981. eval "$as_ac_var=yes"
  15982. else
  15983. $as_echo "$as_me: failed program was:" >&5
  15984. sed 's/^/| /' conftest.$ac_ext >&5
  15985. eval "$as_ac_var=no"
  15986. fi
  15987. rm -rf conftest.dSYM
  15988. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  15989. conftest$ac_exeext conftest.$ac_ext
  15990. fi
  15991. ac_res=`eval 'as_val=${'$as_ac_var'}
  15992. $as_echo "$as_val"'`
  15993. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  15994. $as_echo "$ac_res" >&6; }
  15995. as_val=`eval 'as_val=${'$as_ac_var'}
  15996. $as_echo "$as_val"'`
  15997. if test "x$as_val" = x""yes; then
  15998. cat >>confdefs.h <<_ACEOF
  15999. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16000. _ACEOF
  16001. fi
  16002. done
  16003. for ac_func in stat _stat signal
  16004. do
  16005. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16006. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  16007. $as_echo_n "checking for $ac_func... " >&6; }
  16008. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  16009. $as_echo_n "(cached) " >&6
  16010. else
  16011. cat >conftest.$ac_ext <<_ACEOF
  16012. /* confdefs.h. */
  16013. _ACEOF
  16014. cat confdefs.h >>conftest.$ac_ext
  16015. cat >>conftest.$ac_ext <<_ACEOF
  16016. /* end confdefs.h. */
  16017. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  16018. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  16019. #define $ac_func innocuous_$ac_func
  16020. /* System header to define __stub macros and hopefully few prototypes,
  16021. which can conflict with char $ac_func (); below.
  16022. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16023. <limits.h> exists even on freestanding compilers. */
  16024. #ifdef __STDC__
  16025. # include <limits.h>
  16026. #else
  16027. # include <assert.h>
  16028. #endif
  16029. #undef $ac_func
  16030. /* Override any GCC internal prototype to avoid an error.
  16031. Use char because int might match the return type of a GCC
  16032. builtin and then its argument prototype would still apply. */
  16033. #ifdef __cplusplus
  16034. extern "C"
  16035. #endif
  16036. char $ac_func ();
  16037. /* The GNU C library defines this for functions which it implements
  16038. to always fail with ENOSYS. Some functions are actually named
  16039. something starting with __ and the normal name is an alias. */
  16040. #if defined __stub_$ac_func || defined __stub___$ac_func
  16041. choke me
  16042. #endif
  16043. int
  16044. main ()
  16045. {
  16046. return $ac_func ();
  16047. ;
  16048. return 0;
  16049. }
  16050. _ACEOF
  16051. rm -f conftest.$ac_objext conftest$ac_exeext
  16052. if { (ac_try="$ac_link"
  16053. case "(($ac_try" in
  16054. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16055. *) ac_try_echo=$ac_try;;
  16056. esac
  16057. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16058. $as_echo "$ac_try_echo") >&5
  16059. (eval "$ac_link") 2>conftest.er1
  16060. ac_status=$?
  16061. grep -v '^ *+' conftest.er1 >conftest.err
  16062. rm -f conftest.er1
  16063. cat conftest.err >&5
  16064. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16065. (exit $ac_status); } && {
  16066. test -z "$ac_c_werror_flag" ||
  16067. test ! -s conftest.err
  16068. } && test -s conftest$ac_exeext && {
  16069. test "$cross_compiling" = yes ||
  16070. $as_test_x conftest$ac_exeext
  16071. }; then
  16072. eval "$as_ac_var=yes"
  16073. else
  16074. $as_echo "$as_me: failed program was:" >&5
  16075. sed 's/^/| /' conftest.$ac_ext >&5
  16076. eval "$as_ac_var=no"
  16077. fi
  16078. rm -rf conftest.dSYM
  16079. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16080. conftest$ac_exeext conftest.$ac_ext
  16081. fi
  16082. ac_res=`eval 'as_val=${'$as_ac_var'}
  16083. $as_echo "$as_val"'`
  16084. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  16085. $as_echo "$ac_res" >&6; }
  16086. as_val=`eval 'as_val=${'$as_ac_var'}
  16087. $as_echo "$as_val"'`
  16088. if test "x$as_val" = x""yes; then
  16089. cat >>confdefs.h <<_ACEOF
  16090. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16091. _ACEOF
  16092. fi
  16093. done
  16094. for ac_func in printf sprintf fprintf snprintf vfprintf vsprintf vsnprintf sscanf
  16095. do
  16096. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16097. { $as_echo "$as_me:$LINENO: checking for $ac_func" >&5
  16098. $as_echo_n "checking for $ac_func... " >&6; }
  16099. if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
  16100. $as_echo_n "(cached) " >&6
  16101. else
  16102. cat >conftest.$ac_ext <<_ACEOF
  16103. /* confdefs.h. */
  16104. _ACEOF
  16105. cat confdefs.h >>conftest.$ac_ext
  16106. cat >>conftest.$ac_ext <<_ACEOF
  16107. /* end confdefs.h. */
  16108. /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
  16109. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  16110. #define $ac_func innocuous_$ac_func
  16111. /* System header to define __stub macros and hopefully few prototypes,
  16112. which can conflict with char $ac_func (); below.
  16113. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16114. <limits.h> exists even on freestanding compilers. */
  16115. #ifdef __STDC__
  16116. # include <limits.h>
  16117. #else
  16118. # include <assert.h>
  16119. #endif
  16120. #undef $ac_func
  16121. /* Override any GCC internal prototype to avoid an error.
  16122. Use char because int might match the return type of a GCC
  16123. builtin and then its argument prototype would still apply. */
  16124. #ifdef __cplusplus
  16125. extern "C"
  16126. #endif
  16127. char $ac_func ();
  16128. /* The GNU C library defines this for functions which it implements
  16129. to always fail with ENOSYS. Some functions are actually named
  16130. something starting with __ and the normal name is an alias. */
  16131. #if defined __stub_$ac_func || defined __stub___$ac_func
  16132. choke me
  16133. #endif
  16134. int
  16135. main ()
  16136. {
  16137. return $ac_func ();
  16138. ;
  16139. return 0;
  16140. }
  16141. _ACEOF
  16142. rm -f conftest.$ac_objext conftest$ac_exeext
  16143. if { (ac_try="$ac_link"
  16144. case "(($ac_try" in
  16145. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16146. *) ac_try_echo=$ac_try;;
  16147. esac
  16148. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16149. $as_echo "$ac_try_echo") >&5
  16150. (eval "$ac_link") 2>conftest.er1
  16151. ac_status=$?
  16152. grep -v '^ *+' conftest.er1 >conftest.err
  16153. rm -f conftest.er1
  16154. cat conftest.err >&5
  16155. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16156. (exit $ac_status); } && {
  16157. test -z "$ac_c_werror_flag" ||
  16158. test ! -s conftest.err
  16159. } && test -s conftest$ac_exeext && {
  16160. test "$cross_compiling" = yes ||
  16161. $as_test_x conftest$ac_exeext
  16162. }; then
  16163. eval "$as_ac_var=yes"
  16164. else
  16165. $as_echo "$as_me: failed program was:" >&5
  16166. sed 's/^/| /' conftest.$ac_ext >&5
  16167. eval "$as_ac_var=no"
  16168. fi
  16169. rm -rf conftest.dSYM
  16170. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16171. conftest$ac_exeext conftest.$ac_ext
  16172. fi
  16173. ac_res=`eval 'as_val=${'$as_ac_var'}
  16174. $as_echo "$as_val"'`
  16175. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  16176. $as_echo "$ac_res" >&6; }
  16177. as_val=`eval 'as_val=${'$as_ac_var'}
  16178. $as_echo "$as_val"'`
  16179. if test "x$as_val" = x""yes; then
  16180. cat >>confdefs.h <<_ACEOF
  16181. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16182. _ACEOF
  16183. else
  16184. NEED_TRIO=1
  16185. fi
  16186. done
  16187. { $as_echo "$as_me:$LINENO: checking for va_copy" >&5
  16188. $as_echo_n "checking for va_copy... " >&6; }
  16189. cat >conftest.$ac_ext <<_ACEOF
  16190. /* confdefs.h. */
  16191. _ACEOF
  16192. cat confdefs.h >>conftest.$ac_ext
  16193. cat >>conftest.$ac_ext <<_ACEOF
  16194. /* end confdefs.h. */
  16195. #include <stdarg.h>
  16196. va_list ap1,ap2;
  16197. int
  16198. main ()
  16199. {
  16200. va_copy(ap1,ap2);
  16201. ;
  16202. return 0;
  16203. }
  16204. _ACEOF
  16205. rm -f conftest.$ac_objext conftest$ac_exeext
  16206. if { (ac_try="$ac_link"
  16207. case "(($ac_try" in
  16208. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16209. *) ac_try_echo=$ac_try;;
  16210. esac
  16211. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16212. $as_echo "$ac_try_echo") >&5
  16213. (eval "$ac_link") 2>conftest.er1
  16214. ac_status=$?
  16215. grep -v '^ *+' conftest.er1 >conftest.err
  16216. rm -f conftest.er1
  16217. cat conftest.err >&5
  16218. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16219. (exit $ac_status); } && {
  16220. test -z "$ac_c_werror_flag" ||
  16221. test ! -s conftest.err
  16222. } && test -s conftest$ac_exeext && {
  16223. test "$cross_compiling" = yes ||
  16224. $as_test_x conftest$ac_exeext
  16225. }; then
  16226. have_va_copy=yes
  16227. else
  16228. $as_echo "$as_me: failed program was:" >&5
  16229. sed 's/^/| /' conftest.$ac_ext >&5
  16230. have_va_copy=no
  16231. fi
  16232. rm -rf conftest.dSYM
  16233. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16234. conftest$ac_exeext conftest.$ac_ext
  16235. { $as_echo "$as_me:$LINENO: result: $have_va_copy" >&5
  16236. $as_echo "$have_va_copy" >&6; }
  16237. if test x"$have_va_copy" = x"yes"; then
  16238. cat >>confdefs.h <<\_ACEOF
  16239. #define HAVE_VA_COPY 1
  16240. _ACEOF
  16241. else
  16242. { $as_echo "$as_me:$LINENO: checking for __va_copy" >&5
  16243. $as_echo_n "checking for __va_copy... " >&6; }
  16244. cat >conftest.$ac_ext <<_ACEOF
  16245. /* confdefs.h. */
  16246. _ACEOF
  16247. cat confdefs.h >>conftest.$ac_ext
  16248. cat >>conftest.$ac_ext <<_ACEOF
  16249. /* end confdefs.h. */
  16250. #include <stdarg.h>
  16251. va_list ap1,ap2;
  16252. int
  16253. main ()
  16254. {
  16255. __va_copy(ap1,ap2);
  16256. ;
  16257. return 0;
  16258. }
  16259. _ACEOF
  16260. rm -f conftest.$ac_objext conftest$ac_exeext
  16261. if { (ac_try="$ac_link"
  16262. case "(($ac_try" in
  16263. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16264. *) ac_try_echo=$ac_try;;
  16265. esac
  16266. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16267. $as_echo "$ac_try_echo") >&5
  16268. (eval "$ac_link") 2>conftest.er1
  16269. ac_status=$?
  16270. grep -v '^ *+' conftest.er1 >conftest.err
  16271. rm -f conftest.er1
  16272. cat conftest.err >&5
  16273. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16274. (exit $ac_status); } && {
  16275. test -z "$ac_c_werror_flag" ||
  16276. test ! -s conftest.err
  16277. } && test -s conftest$ac_exeext && {
  16278. test "$cross_compiling" = yes ||
  16279. $as_test_x conftest$ac_exeext
  16280. }; then
  16281. have___va_copy=yes
  16282. else
  16283. $as_echo "$as_me: failed program was:" >&5
  16284. sed 's/^/| /' conftest.$ac_ext >&5
  16285. have___va_copy=no
  16286. fi
  16287. rm -rf conftest.dSYM
  16288. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16289. conftest$ac_exeext conftest.$ac_ext
  16290. { $as_echo "$as_me:$LINENO: result: $have___va_copy" >&5
  16291. $as_echo "$have___va_copy" >&6; }
  16292. if test x"$have___va_copy" = x"yes"; then
  16293. cat >>confdefs.h <<\_ACEOF
  16294. #define HAVE___VA_COPY 1
  16295. _ACEOF
  16296. fi
  16297. fi
  16298. { $as_echo "$as_me:$LINENO: checking for library containing gethostent" >&5
  16299. $as_echo_n "checking for library containing gethostent... " >&6; }
  16300. if test "${ac_cv_search_gethostent+set}" = set; then
  16301. $as_echo_n "(cached) " >&6
  16302. else
  16303. ac_func_search_save_LIBS=$LIBS
  16304. cat >conftest.$ac_ext <<_ACEOF
  16305. /* confdefs.h. */
  16306. _ACEOF
  16307. cat confdefs.h >>conftest.$ac_ext
  16308. cat >>conftest.$ac_ext <<_ACEOF
  16309. /* end confdefs.h. */
  16310. /* Override any GCC internal prototype to avoid an error.
  16311. Use char because int might match the return type of a GCC
  16312. builtin and then its argument prototype would still apply. */
  16313. #ifdef __cplusplus
  16314. extern "C"
  16315. #endif
  16316. char gethostent ();
  16317. int
  16318. main ()
  16319. {
  16320. return gethostent ();
  16321. ;
  16322. return 0;
  16323. }
  16324. _ACEOF
  16325. for ac_lib in '' nsl; do
  16326. if test -z "$ac_lib"; then
  16327. ac_res="none required"
  16328. else
  16329. ac_res=-l$ac_lib
  16330. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16331. fi
  16332. rm -f conftest.$ac_objext conftest$ac_exeext
  16333. if { (ac_try="$ac_link"
  16334. case "(($ac_try" in
  16335. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16336. *) ac_try_echo=$ac_try;;
  16337. esac
  16338. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16339. $as_echo "$ac_try_echo") >&5
  16340. (eval "$ac_link") 2>conftest.er1
  16341. ac_status=$?
  16342. grep -v '^ *+' conftest.er1 >conftest.err
  16343. rm -f conftest.er1
  16344. cat conftest.err >&5
  16345. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16346. (exit $ac_status); } && {
  16347. test -z "$ac_c_werror_flag" ||
  16348. test ! -s conftest.err
  16349. } && test -s conftest$ac_exeext && {
  16350. test "$cross_compiling" = yes ||
  16351. $as_test_x conftest$ac_exeext
  16352. }; then
  16353. ac_cv_search_gethostent=$ac_res
  16354. else
  16355. $as_echo "$as_me: failed program was:" >&5
  16356. sed 's/^/| /' conftest.$ac_ext >&5
  16357. fi
  16358. rm -rf conftest.dSYM
  16359. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16360. conftest$ac_exeext
  16361. if test "${ac_cv_search_gethostent+set}" = set; then
  16362. break
  16363. fi
  16364. done
  16365. if test "${ac_cv_search_gethostent+set}" = set; then
  16366. :
  16367. else
  16368. ac_cv_search_gethostent=no
  16369. fi
  16370. rm conftest.$ac_ext
  16371. LIBS=$ac_func_search_save_LIBS
  16372. fi
  16373. { $as_echo "$as_me:$LINENO: result: $ac_cv_search_gethostent" >&5
  16374. $as_echo "$ac_cv_search_gethostent" >&6; }
  16375. ac_res=$ac_cv_search_gethostent
  16376. if test "$ac_res" != no; then
  16377. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16378. fi
  16379. { $as_echo "$as_me:$LINENO: checking for library containing setsockopt" >&5
  16380. $as_echo_n "checking for library containing setsockopt... " >&6; }
  16381. if test "${ac_cv_search_setsockopt+set}" = set; then
  16382. $as_echo_n "(cached) " >&6
  16383. else
  16384. ac_func_search_save_LIBS=$LIBS
  16385. cat >conftest.$ac_ext <<_ACEOF
  16386. /* confdefs.h. */
  16387. _ACEOF
  16388. cat confdefs.h >>conftest.$ac_ext
  16389. cat >>conftest.$ac_ext <<_ACEOF
  16390. /* end confdefs.h. */
  16391. /* Override any GCC internal prototype to avoid an error.
  16392. Use char because int might match the return type of a GCC
  16393. builtin and then its argument prototype would still apply. */
  16394. #ifdef __cplusplus
  16395. extern "C"
  16396. #endif
  16397. char setsockopt ();
  16398. int
  16399. main ()
  16400. {
  16401. return setsockopt ();
  16402. ;
  16403. return 0;
  16404. }
  16405. _ACEOF
  16406. for ac_lib in '' socket net network; do
  16407. if test -z "$ac_lib"; then
  16408. ac_res="none required"
  16409. else
  16410. ac_res=-l$ac_lib
  16411. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16412. fi
  16413. rm -f conftest.$ac_objext conftest$ac_exeext
  16414. if { (ac_try="$ac_link"
  16415. case "(($ac_try" in
  16416. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16417. *) ac_try_echo=$ac_try;;
  16418. esac
  16419. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16420. $as_echo "$ac_try_echo") >&5
  16421. (eval "$ac_link") 2>conftest.er1
  16422. ac_status=$?
  16423. grep -v '^ *+' conftest.er1 >conftest.err
  16424. rm -f conftest.er1
  16425. cat conftest.err >&5
  16426. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16427. (exit $ac_status); } && {
  16428. test -z "$ac_c_werror_flag" ||
  16429. test ! -s conftest.err
  16430. } && test -s conftest$ac_exeext && {
  16431. test "$cross_compiling" = yes ||
  16432. $as_test_x conftest$ac_exeext
  16433. }; then
  16434. ac_cv_search_setsockopt=$ac_res
  16435. else
  16436. $as_echo "$as_me: failed program was:" >&5
  16437. sed 's/^/| /' conftest.$ac_ext >&5
  16438. fi
  16439. rm -rf conftest.dSYM
  16440. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16441. conftest$ac_exeext
  16442. if test "${ac_cv_search_setsockopt+set}" = set; then
  16443. break
  16444. fi
  16445. done
  16446. if test "${ac_cv_search_setsockopt+set}" = set; then
  16447. :
  16448. else
  16449. ac_cv_search_setsockopt=no
  16450. fi
  16451. rm conftest.$ac_ext
  16452. LIBS=$ac_func_search_save_LIBS
  16453. fi
  16454. { $as_echo "$as_me:$LINENO: result: $ac_cv_search_setsockopt" >&5
  16455. $as_echo "$ac_cv_search_setsockopt" >&6; }
  16456. ac_res=$ac_cv_search_setsockopt
  16457. if test "$ac_res" != no; then
  16458. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16459. fi
  16460. { $as_echo "$as_me:$LINENO: checking for library containing connect" >&5
  16461. $as_echo_n "checking for library containing connect... " >&6; }
  16462. if test "${ac_cv_search_connect+set}" = set; then
  16463. $as_echo_n "(cached) " >&6
  16464. else
  16465. ac_func_search_save_LIBS=$LIBS
  16466. cat >conftest.$ac_ext <<_ACEOF
  16467. /* confdefs.h. */
  16468. _ACEOF
  16469. cat confdefs.h >>conftest.$ac_ext
  16470. cat >>conftest.$ac_ext <<_ACEOF
  16471. /* end confdefs.h. */
  16472. /* Override any GCC internal prototype to avoid an error.
  16473. Use char because int might match the return type of a GCC
  16474. builtin and then its argument prototype would still apply. */
  16475. #ifdef __cplusplus
  16476. extern "C"
  16477. #endif
  16478. char connect ();
  16479. int
  16480. main ()
  16481. {
  16482. return connect ();
  16483. ;
  16484. return 0;
  16485. }
  16486. _ACEOF
  16487. for ac_lib in '' inet; do
  16488. if test -z "$ac_lib"; then
  16489. ac_res="none required"
  16490. else
  16491. ac_res=-l$ac_lib
  16492. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16493. fi
  16494. rm -f conftest.$ac_objext conftest$ac_exeext
  16495. if { (ac_try="$ac_link"
  16496. case "(($ac_try" in
  16497. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16498. *) ac_try_echo=$ac_try;;
  16499. esac
  16500. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16501. $as_echo "$ac_try_echo") >&5
  16502. (eval "$ac_link") 2>conftest.er1
  16503. ac_status=$?
  16504. grep -v '^ *+' conftest.er1 >conftest.err
  16505. rm -f conftest.er1
  16506. cat conftest.err >&5
  16507. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16508. (exit $ac_status); } && {
  16509. test -z "$ac_c_werror_flag" ||
  16510. test ! -s conftest.err
  16511. } && test -s conftest$ac_exeext && {
  16512. test "$cross_compiling" = yes ||
  16513. $as_test_x conftest$ac_exeext
  16514. }; then
  16515. ac_cv_search_connect=$ac_res
  16516. else
  16517. $as_echo "$as_me: failed program was:" >&5
  16518. sed 's/^/| /' conftest.$ac_ext >&5
  16519. fi
  16520. rm -rf conftest.dSYM
  16521. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16522. conftest$ac_exeext
  16523. if test "${ac_cv_search_connect+set}" = set; then
  16524. break
  16525. fi
  16526. done
  16527. if test "${ac_cv_search_connect+set}" = set; then
  16528. :
  16529. else
  16530. ac_cv_search_connect=no
  16531. fi
  16532. rm conftest.$ac_ext
  16533. LIBS=$ac_func_search_save_LIBS
  16534. fi
  16535. { $as_echo "$as_me:$LINENO: result: $ac_cv_search_connect" >&5
  16536. $as_echo "$ac_cv_search_connect" >&6; }
  16537. ac_res=$ac_cv_search_connect
  16538. if test "$ac_res" != no; then
  16539. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16540. fi
  16541. { $as_echo "$as_me:$LINENO: checking for type of socket length (socklen_t)" >&5
  16542. $as_echo_n "checking for type of socket length (socklen_t)... " >&6; }
  16543. cat > conftest.$ac_ext <<EOF
  16544. #line 18938 "configure"
  16545. #include "confdefs.h"
  16546. #include <stddef.h>
  16547. #include <sys/types.h>
  16548. #include <sys/socket.h>
  16549. int main(void) {
  16550. (void)getsockopt (1, 1, 1, NULL, (socklen_t *)NULL)
  16551. ; return 0; }
  16552. EOF
  16553. if { (eval echo configure:18949: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
  16554. rm -rf conftest*
  16555. { $as_echo "$as_me:$LINENO: result: socklen_t *" >&5
  16556. $as_echo "socklen_t *" >&6; }
  16557. XML_SOCKLEN_T=socklen_t
  16558. else
  16559. echo "configure: failed program was:" >&5
  16560. cat conftest.$ac_ext >&5
  16561. rm -rf conftest*
  16562. cat > conftest.$ac_ext <<EOF
  16563. #line 18961 "configure"
  16564. #include "confdefs.h"
  16565. #include <stddef.h>
  16566. #include <sys/types.h>
  16567. #include <sys/socket.h>
  16568. int main(void) {
  16569. (void)getsockopt (1, 1, 1, NULL, (size_t *)NULL)
  16570. ; return 0; }
  16571. EOF
  16572. if { (eval echo configure:18972: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
  16573. rm -rf conftest*
  16574. { $as_echo "$as_me:$LINENO: result: size_t *" >&5
  16575. $as_echo "size_t *" >&6; }
  16576. XML_SOCKLEN_T=size_t
  16577. else
  16578. echo "configure: failed program was:" >&5
  16579. cat conftest.$ac_ext >&5
  16580. rm -rf conftest*
  16581. cat > conftest.$ac_ext <<EOF
  16582. #line 18984 "configure"
  16583. #include "confdefs.h"
  16584. #include <stddef.h>
  16585. #include <sys/types.h>
  16586. #include <sys/socket.h>
  16587. int main(void) {
  16588. (void)getsockopt (1, 1, 1, NULL, (int *)NULL)
  16589. ; return 0; }
  16590. EOF
  16591. if { (eval echo configure:18995: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; _out=`eval $ac_compile 2>&1` && test "x$_out" = x; }; then
  16592. rm -rf conftest*
  16593. { $as_echo "$as_me:$LINENO: result: int *" >&5
  16594. $as_echo "int *" >&6; }
  16595. XML_SOCKLEN_T=int
  16596. else
  16597. echo "configure: failed program was:" >&5
  16598. cat conftest.$ac_ext >&5
  16599. rm -rf conftest*
  16600. { $as_echo "$as_me:$LINENO: WARNING: could not determine" >&5
  16601. $as_echo "$as_me: WARNING: could not determine" >&2;}
  16602. XML_SOCKLEN_T="int"
  16603. fi
  16604. rm -f conftest*
  16605. fi
  16606. rm -f conftest*
  16607. fi
  16608. rm -f conftest*
  16609. cat >>confdefs.h <<_ACEOF
  16610. #define XML_SOCKLEN_T $XML_SOCKLEN_T
  16611. _ACEOF
  16612. { $as_echo "$as_me:$LINENO: checking whether to enable IPv6" >&5
  16613. $as_echo_n "checking whether to enable IPv6... " >&6; }
  16614. # Check whether --enable-ipv6 was given.
  16615. if test "${enable_ipv6+set}" = set; then
  16616. enableval=$enable_ipv6;
  16617. else
  16618. enable_ipv6=yes
  16619. fi
  16620. if test "$with_minimum" = "yes"
  16621. then
  16622. enable_ipv6=no
  16623. fi
  16624. if test $enable_ipv6 = yes; then
  16625. have_ipv6=no
  16626. cat >conftest.$ac_ext <<_ACEOF
  16627. /* confdefs.h. */
  16628. _ACEOF
  16629. cat confdefs.h >>conftest.$ac_ext
  16630. cat >>conftest.$ac_ext <<_ACEOF
  16631. /* end confdefs.h. */
  16632. #include <sys/types.h>
  16633. #include <sys/socket.h>
  16634. int
  16635. main ()
  16636. {
  16637. struct sockaddr_storage ss;
  16638. socket(AF_INET6, SOCK_STREAM, 0)
  16639. ;
  16640. return 0;
  16641. }
  16642. _ACEOF
  16643. rm -f conftest.$ac_objext
  16644. if { (ac_try="$ac_compile"
  16645. case "(($ac_try" in
  16646. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16647. *) ac_try_echo=$ac_try;;
  16648. esac
  16649. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16650. $as_echo "$ac_try_echo") >&5
  16651. (eval "$ac_compile") 2>conftest.er1
  16652. ac_status=$?
  16653. grep -v '^ *+' conftest.er1 >conftest.err
  16654. rm -f conftest.er1
  16655. cat conftest.err >&5
  16656. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16657. (exit $ac_status); } && {
  16658. test -z "$ac_c_werror_flag" ||
  16659. test ! -s conftest.err
  16660. } && test -s conftest.$ac_objext; then
  16661. have_ipv6=yes
  16662. else
  16663. $as_echo "$as_me: failed program was:" >&5
  16664. sed 's/^/| /' conftest.$ac_ext >&5
  16665. have_ipv6=no
  16666. fi
  16667. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16668. { $as_echo "$as_me:$LINENO: result: $have_ipv6" >&5
  16669. $as_echo "$have_ipv6" >&6; }
  16670. if test $have_ipv6 = yes; then
  16671. cat >>confdefs.h <<\_ACEOF
  16672. #define SUPPORT_IP6 /**/
  16673. _ACEOF
  16674. have_broken_ss_family=no
  16675. { $as_echo "$as_me:$LINENO: checking struct sockaddr::ss_family" >&5
  16676. $as_echo_n "checking struct sockaddr::ss_family... " >&6; }
  16677. cat >conftest.$ac_ext <<_ACEOF
  16678. /* confdefs.h. */
  16679. _ACEOF
  16680. cat confdefs.h >>conftest.$ac_ext
  16681. cat >>conftest.$ac_ext <<_ACEOF
  16682. /* end confdefs.h. */
  16683. #include <sys/types.h>
  16684. #include <sys/socket.h>
  16685. int
  16686. main ()
  16687. {
  16688. struct sockaddr_storage ss ;
  16689. ss.ss_family = 0 ;
  16690. ;
  16691. return 0;
  16692. }
  16693. _ACEOF
  16694. rm -f conftest.$ac_objext
  16695. if { (ac_try="$ac_compile"
  16696. case "(($ac_try" in
  16697. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16698. *) ac_try_echo=$ac_try;;
  16699. esac
  16700. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16701. $as_echo "$ac_try_echo") >&5
  16702. (eval "$ac_compile") 2>conftest.er1
  16703. ac_status=$?
  16704. grep -v '^ *+' conftest.er1 >conftest.err
  16705. rm -f conftest.er1
  16706. cat conftest.err >&5
  16707. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16708. (exit $ac_status); } && {
  16709. test -z "$ac_c_werror_flag" ||
  16710. test ! -s conftest.err
  16711. } && test -s conftest.$ac_objext; then
  16712. have_ss_family=yes
  16713. else
  16714. $as_echo "$as_me: failed program was:" >&5
  16715. sed 's/^/| /' conftest.$ac_ext >&5
  16716. have_ss_family=no
  16717. fi
  16718. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16719. { $as_echo "$as_me:$LINENO: result: $have_ss_family" >&5
  16720. $as_echo "$have_ss_family" >&6; }
  16721. if test x$have_ss_family = xno ; then
  16722. { $as_echo "$as_me:$LINENO: checking broken struct sockaddr::ss_family" >&5
  16723. $as_echo_n "checking broken struct sockaddr::ss_family... " >&6; }
  16724. cat >conftest.$ac_ext <<_ACEOF
  16725. /* confdefs.h. */
  16726. _ACEOF
  16727. cat confdefs.h >>conftest.$ac_ext
  16728. cat >>conftest.$ac_ext <<_ACEOF
  16729. /* end confdefs.h. */
  16730. #include <sys/types.h>
  16731. #include <sys/socket.h>
  16732. int
  16733. main ()
  16734. {
  16735. struct sockaddr_storage ss ;
  16736. ss.__ss_family = 0 ;
  16737. ;
  16738. return 0;
  16739. }
  16740. _ACEOF
  16741. rm -f conftest.$ac_objext
  16742. if { (ac_try="$ac_compile"
  16743. case "(($ac_try" in
  16744. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16745. *) ac_try_echo=$ac_try;;
  16746. esac
  16747. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16748. $as_echo "$ac_try_echo") >&5
  16749. (eval "$ac_compile") 2>conftest.er1
  16750. ac_status=$?
  16751. grep -v '^ *+' conftest.er1 >conftest.err
  16752. rm -f conftest.er1
  16753. cat conftest.err >&5
  16754. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16755. (exit $ac_status); } && {
  16756. test -z "$ac_c_werror_flag" ||
  16757. test ! -s conftest.err
  16758. } && test -s conftest.$ac_objext; then
  16759. have_broken_ss_family=yes
  16760. else
  16761. $as_echo "$as_me: failed program was:" >&5
  16762. sed 's/^/| /' conftest.$ac_ext >&5
  16763. have_broken_ss_family=no
  16764. fi
  16765. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16766. { $as_echo "$as_me:$LINENO: result: $have_broken_ss_family" >&5
  16767. $as_echo "$have_broken_ss_family" >&6; }
  16768. if test x$have_broken_ss_family = xyes ; then
  16769. cat >>confdefs.h <<\_ACEOF
  16770. #define HAVE_BROKEN_SS_FAMILY /**/
  16771. _ACEOF
  16772. cat >>confdefs.h <<\_ACEOF
  16773. #define ss_family __ss_family
  16774. _ACEOF
  16775. else
  16776. { $as_echo "$as_me:$LINENO: WARNING: ss_family and __ss_family not found" >&5
  16777. $as_echo "$as_me: WARNING: ss_family and __ss_family not found" >&2;}
  16778. fi
  16779. fi
  16780. have_getaddrinfo=no
  16781. { $as_echo "$as_me:$LINENO: checking for getaddrinfo" >&5
  16782. $as_echo_n "checking for getaddrinfo... " >&6; }
  16783. if test "${ac_cv_func_getaddrinfo+set}" = set; then
  16784. $as_echo_n "(cached) " >&6
  16785. else
  16786. cat >conftest.$ac_ext <<_ACEOF
  16787. /* confdefs.h. */
  16788. _ACEOF
  16789. cat confdefs.h >>conftest.$ac_ext
  16790. cat >>conftest.$ac_ext <<_ACEOF
  16791. /* end confdefs.h. */
  16792. /* Define getaddrinfo to an innocuous variant, in case <limits.h> declares getaddrinfo.
  16793. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  16794. #define getaddrinfo innocuous_getaddrinfo
  16795. /* System header to define __stub macros and hopefully few prototypes,
  16796. which can conflict with char getaddrinfo (); below.
  16797. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16798. <limits.h> exists even on freestanding compilers. */
  16799. #ifdef __STDC__
  16800. # include <limits.h>
  16801. #else
  16802. # include <assert.h>
  16803. #endif
  16804. #undef getaddrinfo
  16805. /* Override any GCC internal prototype to avoid an error.
  16806. Use char because int might match the return type of a GCC
  16807. builtin and then its argument prototype would still apply. */
  16808. #ifdef __cplusplus
  16809. extern "C"
  16810. #endif
  16811. char getaddrinfo ();
  16812. /* The GNU C library defines this for functions which it implements
  16813. to always fail with ENOSYS. Some functions are actually named
  16814. something starting with __ and the normal name is an alias. */
  16815. #if defined __stub_getaddrinfo || defined __stub___getaddrinfo
  16816. choke me
  16817. #endif
  16818. int
  16819. main ()
  16820. {
  16821. return getaddrinfo ();
  16822. ;
  16823. return 0;
  16824. }
  16825. _ACEOF
  16826. rm -f conftest.$ac_objext conftest$ac_exeext
  16827. if { (ac_try="$ac_link"
  16828. case "(($ac_try" in
  16829. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16830. *) ac_try_echo=$ac_try;;
  16831. esac
  16832. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16833. $as_echo "$ac_try_echo") >&5
  16834. (eval "$ac_link") 2>conftest.er1
  16835. ac_status=$?
  16836. grep -v '^ *+' conftest.er1 >conftest.err
  16837. rm -f conftest.er1
  16838. cat conftest.err >&5
  16839. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16840. (exit $ac_status); } && {
  16841. test -z "$ac_c_werror_flag" ||
  16842. test ! -s conftest.err
  16843. } && test -s conftest$ac_exeext && {
  16844. test "$cross_compiling" = yes ||
  16845. $as_test_x conftest$ac_exeext
  16846. }; then
  16847. ac_cv_func_getaddrinfo=yes
  16848. else
  16849. $as_echo "$as_me: failed program was:" >&5
  16850. sed 's/^/| /' conftest.$ac_ext >&5
  16851. ac_cv_func_getaddrinfo=no
  16852. fi
  16853. rm -rf conftest.dSYM
  16854. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16855. conftest$ac_exeext conftest.$ac_ext
  16856. fi
  16857. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_getaddrinfo" >&5
  16858. $as_echo "$ac_cv_func_getaddrinfo" >&6; }
  16859. if test "x$ac_cv_func_getaddrinfo" = x""yes; then
  16860. have_getaddrinfo=yes
  16861. fi
  16862. if test $have_getaddrinfo != yes; then
  16863. for lib in bsd socket inet; do
  16864. as_ac_Lib=`$as_echo "ac_cv_lib_$lib''_getaddrinfo" | $as_tr_sh`
  16865. { $as_echo "$as_me:$LINENO: checking for getaddrinfo in -l$lib" >&5
  16866. $as_echo_n "checking for getaddrinfo in -l$lib... " >&6; }
  16867. if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
  16868. $as_echo_n "(cached) " >&6
  16869. else
  16870. ac_check_lib_save_LIBS=$LIBS
  16871. LIBS="-l$lib $LIBS"
  16872. cat >conftest.$ac_ext <<_ACEOF
  16873. /* confdefs.h. */
  16874. _ACEOF
  16875. cat confdefs.h >>conftest.$ac_ext
  16876. cat >>conftest.$ac_ext <<_ACEOF
  16877. /* end confdefs.h. */
  16878. /* Override any GCC internal prototype to avoid an error.
  16879. Use char because int might match the return type of a GCC
  16880. builtin and then its argument prototype would still apply. */
  16881. #ifdef __cplusplus
  16882. extern "C"
  16883. #endif
  16884. char getaddrinfo ();
  16885. int
  16886. main ()
  16887. {
  16888. return getaddrinfo ();
  16889. ;
  16890. return 0;
  16891. }
  16892. _ACEOF
  16893. rm -f conftest.$ac_objext conftest$ac_exeext
  16894. if { (ac_try="$ac_link"
  16895. case "(($ac_try" in
  16896. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16897. *) ac_try_echo=$ac_try;;
  16898. esac
  16899. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16900. $as_echo "$ac_try_echo") >&5
  16901. (eval "$ac_link") 2>conftest.er1
  16902. ac_status=$?
  16903. grep -v '^ *+' conftest.er1 >conftest.err
  16904. rm -f conftest.er1
  16905. cat conftest.err >&5
  16906. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  16907. (exit $ac_status); } && {
  16908. test -z "$ac_c_werror_flag" ||
  16909. test ! -s conftest.err
  16910. } && test -s conftest$ac_exeext && {
  16911. test "$cross_compiling" = yes ||
  16912. $as_test_x conftest$ac_exeext
  16913. }; then
  16914. eval "$as_ac_Lib=yes"
  16915. else
  16916. $as_echo "$as_me: failed program was:" >&5
  16917. sed 's/^/| /' conftest.$ac_ext >&5
  16918. eval "$as_ac_Lib=no"
  16919. fi
  16920. rm -rf conftest.dSYM
  16921. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  16922. conftest$ac_exeext conftest.$ac_ext
  16923. LIBS=$ac_check_lib_save_LIBS
  16924. fi
  16925. ac_res=`eval 'as_val=${'$as_ac_Lib'}
  16926. $as_echo "$as_val"'`
  16927. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  16928. $as_echo "$ac_res" >&6; }
  16929. as_val=`eval 'as_val=${'$as_ac_Lib'}
  16930. $as_echo "$as_val"'`
  16931. if test "x$as_val" = x""yes; then
  16932. LIBS="$LIBS -l$lib";have_getaddrinfo=yes;break
  16933. fi
  16934. done
  16935. fi
  16936. if test $have_getaddrinfo = yes; then
  16937. cat >>confdefs.h <<\_ACEOF
  16938. #define HAVE_GETADDRINFO /**/
  16939. _ACEOF
  16940. fi
  16941. fi
  16942. fi
  16943. { $as_echo "$as_me:$LINENO: checking for isnan" >&5
  16944. $as_echo_n "checking for isnan... " >&6; }
  16945. if test "${ac_cv_func_isnan+set}" = set; then
  16946. $as_echo_n "(cached) " >&6
  16947. else
  16948. cat >conftest.$ac_ext <<_ACEOF
  16949. /* confdefs.h. */
  16950. _ACEOF
  16951. cat confdefs.h >>conftest.$ac_ext
  16952. cat >>conftest.$ac_ext <<_ACEOF
  16953. /* end confdefs.h. */
  16954. /* Define isnan to an innocuous variant, in case <limits.h> declares isnan.
  16955. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  16956. #define isnan innocuous_isnan
  16957. /* System header to define __stub macros and hopefully few prototypes,
  16958. which can conflict with char isnan (); below.
  16959. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  16960. <limits.h> exists even on freestanding compilers. */
  16961. #ifdef __STDC__
  16962. # include <limits.h>
  16963. #else
  16964. # include <assert.h>
  16965. #endif
  16966. #undef isnan
  16967. /* Override any GCC internal prototype to avoid an error.
  16968. Use char because int might match the return type of a GCC
  16969. builtin and then its argument prototype would still apply. */
  16970. #ifdef __cplusplus
  16971. extern "C"
  16972. #endif
  16973. char isnan ();
  16974. /* The GNU C library defines this for functions which it implements
  16975. to always fail with ENOSYS. Some functions are actually named
  16976. something starting with __ and the normal name is an alias. */
  16977. #if defined __stub_isnan || defined __stub___isnan
  16978. choke me
  16979. #endif
  16980. int
  16981. main ()
  16982. {
  16983. return isnan ();
  16984. ;
  16985. return 0;
  16986. }
  16987. _ACEOF
  16988. rm -f conftest.$ac_objext conftest$ac_exeext
  16989. if { (ac_try="$ac_link"
  16990. case "(($ac_try" in
  16991. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  16992. *) ac_try_echo=$ac_try;;
  16993. esac
  16994. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  16995. $as_echo "$ac_try_echo") >&5
  16996. (eval "$ac_link") 2>conftest.er1
  16997. ac_status=$?
  16998. grep -v '^ *+' conftest.er1 >conftest.err
  16999. rm -f conftest.er1
  17000. cat conftest.err >&5
  17001. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17002. (exit $ac_status); } && {
  17003. test -z "$ac_c_werror_flag" ||
  17004. test ! -s conftest.err
  17005. } && test -s conftest$ac_exeext && {
  17006. test "$cross_compiling" = yes ||
  17007. $as_test_x conftest$ac_exeext
  17008. }; then
  17009. ac_cv_func_isnan=yes
  17010. else
  17011. $as_echo "$as_me: failed program was:" >&5
  17012. sed 's/^/| /' conftest.$ac_ext >&5
  17013. ac_cv_func_isnan=no
  17014. fi
  17015. rm -rf conftest.dSYM
  17016. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17017. conftest$ac_exeext conftest.$ac_ext
  17018. fi
  17019. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_isnan" >&5
  17020. $as_echo "$ac_cv_func_isnan" >&6; }
  17021. if test "x$ac_cv_func_isnan" = x""yes; then
  17022. cat >>confdefs.h <<\_ACEOF
  17023. #define HAVE_ISNAN /**/
  17024. _ACEOF
  17025. else
  17026. { $as_echo "$as_me:$LINENO: checking for isnan in -lm" >&5
  17027. $as_echo_n "checking for isnan in -lm... " >&6; }
  17028. if test "${ac_cv_lib_m_isnan+set}" = set; then
  17029. $as_echo_n "(cached) " >&6
  17030. else
  17031. ac_check_lib_save_LIBS=$LIBS
  17032. LIBS="-lm $LIBS"
  17033. cat >conftest.$ac_ext <<_ACEOF
  17034. /* confdefs.h. */
  17035. _ACEOF
  17036. cat confdefs.h >>conftest.$ac_ext
  17037. cat >>conftest.$ac_ext <<_ACEOF
  17038. /* end confdefs.h. */
  17039. /* Override any GCC internal prototype to avoid an error.
  17040. Use char because int might match the return type of a GCC
  17041. builtin and then its argument prototype would still apply. */
  17042. #ifdef __cplusplus
  17043. extern "C"
  17044. #endif
  17045. char isnan ();
  17046. int
  17047. main ()
  17048. {
  17049. return isnan ();
  17050. ;
  17051. return 0;
  17052. }
  17053. _ACEOF
  17054. rm -f conftest.$ac_objext conftest$ac_exeext
  17055. if { (ac_try="$ac_link"
  17056. case "(($ac_try" in
  17057. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17058. *) ac_try_echo=$ac_try;;
  17059. esac
  17060. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17061. $as_echo "$ac_try_echo") >&5
  17062. (eval "$ac_link") 2>conftest.er1
  17063. ac_status=$?
  17064. grep -v '^ *+' conftest.er1 >conftest.err
  17065. rm -f conftest.er1
  17066. cat conftest.err >&5
  17067. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17068. (exit $ac_status); } && {
  17069. test -z "$ac_c_werror_flag" ||
  17070. test ! -s conftest.err
  17071. } && test -s conftest$ac_exeext && {
  17072. test "$cross_compiling" = yes ||
  17073. $as_test_x conftest$ac_exeext
  17074. }; then
  17075. ac_cv_lib_m_isnan=yes
  17076. else
  17077. $as_echo "$as_me: failed program was:" >&5
  17078. sed 's/^/| /' conftest.$ac_ext >&5
  17079. ac_cv_lib_m_isnan=no
  17080. fi
  17081. rm -rf conftest.dSYM
  17082. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17083. conftest$ac_exeext conftest.$ac_ext
  17084. LIBS=$ac_check_lib_save_LIBS
  17085. fi
  17086. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_isnan" >&5
  17087. $as_echo "$ac_cv_lib_m_isnan" >&6; }
  17088. if test "x$ac_cv_lib_m_isnan" = x""yes; then
  17089. cat >>confdefs.h <<\_ACEOF
  17090. #define HAVE_ISNAN /**/
  17091. _ACEOF
  17092. fi
  17093. fi
  17094. { $as_echo "$as_me:$LINENO: checking for isinf" >&5
  17095. $as_echo_n "checking for isinf... " >&6; }
  17096. if test "${ac_cv_func_isinf+set}" = set; then
  17097. $as_echo_n "(cached) " >&6
  17098. else
  17099. cat >conftest.$ac_ext <<_ACEOF
  17100. /* confdefs.h. */
  17101. _ACEOF
  17102. cat confdefs.h >>conftest.$ac_ext
  17103. cat >>conftest.$ac_ext <<_ACEOF
  17104. /* end confdefs.h. */
  17105. /* Define isinf to an innocuous variant, in case <limits.h> declares isinf.
  17106. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  17107. #define isinf innocuous_isinf
  17108. /* System header to define __stub macros and hopefully few prototypes,
  17109. which can conflict with char isinf (); below.
  17110. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  17111. <limits.h> exists even on freestanding compilers. */
  17112. #ifdef __STDC__
  17113. # include <limits.h>
  17114. #else
  17115. # include <assert.h>
  17116. #endif
  17117. #undef isinf
  17118. /* Override any GCC internal prototype to avoid an error.
  17119. Use char because int might match the return type of a GCC
  17120. builtin and then its argument prototype would still apply. */
  17121. #ifdef __cplusplus
  17122. extern "C"
  17123. #endif
  17124. char isinf ();
  17125. /* The GNU C library defines this for functions which it implements
  17126. to always fail with ENOSYS. Some functions are actually named
  17127. something starting with __ and the normal name is an alias. */
  17128. #if defined __stub_isinf || defined __stub___isinf
  17129. choke me
  17130. #endif
  17131. int
  17132. main ()
  17133. {
  17134. return isinf ();
  17135. ;
  17136. return 0;
  17137. }
  17138. _ACEOF
  17139. rm -f conftest.$ac_objext conftest$ac_exeext
  17140. if { (ac_try="$ac_link"
  17141. case "(($ac_try" in
  17142. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17143. *) ac_try_echo=$ac_try;;
  17144. esac
  17145. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17146. $as_echo "$ac_try_echo") >&5
  17147. (eval "$ac_link") 2>conftest.er1
  17148. ac_status=$?
  17149. grep -v '^ *+' conftest.er1 >conftest.err
  17150. rm -f conftest.er1
  17151. cat conftest.err >&5
  17152. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17153. (exit $ac_status); } && {
  17154. test -z "$ac_c_werror_flag" ||
  17155. test ! -s conftest.err
  17156. } && test -s conftest$ac_exeext && {
  17157. test "$cross_compiling" = yes ||
  17158. $as_test_x conftest$ac_exeext
  17159. }; then
  17160. ac_cv_func_isinf=yes
  17161. else
  17162. $as_echo "$as_me: failed program was:" >&5
  17163. sed 's/^/| /' conftest.$ac_ext >&5
  17164. ac_cv_func_isinf=no
  17165. fi
  17166. rm -rf conftest.dSYM
  17167. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17168. conftest$ac_exeext conftest.$ac_ext
  17169. fi
  17170. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_isinf" >&5
  17171. $as_echo "$ac_cv_func_isinf" >&6; }
  17172. if test "x$ac_cv_func_isinf" = x""yes; then
  17173. cat >>confdefs.h <<\_ACEOF
  17174. #define HAVE_ISINF /**/
  17175. _ACEOF
  17176. else
  17177. { $as_echo "$as_me:$LINENO: checking for isinf in -lm" >&5
  17178. $as_echo_n "checking for isinf in -lm... " >&6; }
  17179. if test "${ac_cv_lib_m_isinf+set}" = set; then
  17180. $as_echo_n "(cached) " >&6
  17181. else
  17182. ac_check_lib_save_LIBS=$LIBS
  17183. LIBS="-lm $LIBS"
  17184. cat >conftest.$ac_ext <<_ACEOF
  17185. /* confdefs.h. */
  17186. _ACEOF
  17187. cat confdefs.h >>conftest.$ac_ext
  17188. cat >>conftest.$ac_ext <<_ACEOF
  17189. /* end confdefs.h. */
  17190. /* Override any GCC internal prototype to avoid an error.
  17191. Use char because int might match the return type of a GCC
  17192. builtin and then its argument prototype would still apply. */
  17193. #ifdef __cplusplus
  17194. extern "C"
  17195. #endif
  17196. char isinf ();
  17197. int
  17198. main ()
  17199. {
  17200. return isinf ();
  17201. ;
  17202. return 0;
  17203. }
  17204. _ACEOF
  17205. rm -f conftest.$ac_objext conftest$ac_exeext
  17206. if { (ac_try="$ac_link"
  17207. case "(($ac_try" in
  17208. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17209. *) ac_try_echo=$ac_try;;
  17210. esac
  17211. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17212. $as_echo "$ac_try_echo") >&5
  17213. (eval "$ac_link") 2>conftest.er1
  17214. ac_status=$?
  17215. grep -v '^ *+' conftest.er1 >conftest.err
  17216. rm -f conftest.er1
  17217. cat conftest.err >&5
  17218. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17219. (exit $ac_status); } && {
  17220. test -z "$ac_c_werror_flag" ||
  17221. test ! -s conftest.err
  17222. } && test -s conftest$ac_exeext && {
  17223. test "$cross_compiling" = yes ||
  17224. $as_test_x conftest$ac_exeext
  17225. }; then
  17226. ac_cv_lib_m_isinf=yes
  17227. else
  17228. $as_echo "$as_me: failed program was:" >&5
  17229. sed 's/^/| /' conftest.$ac_ext >&5
  17230. ac_cv_lib_m_isinf=no
  17231. fi
  17232. rm -rf conftest.dSYM
  17233. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17234. conftest$ac_exeext conftest.$ac_ext
  17235. LIBS=$ac_check_lib_save_LIBS
  17236. fi
  17237. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_m_isinf" >&5
  17238. $as_echo "$ac_cv_lib_m_isinf" >&6; }
  17239. if test "x$ac_cv_lib_m_isinf" = x""yes; then
  17240. cat >>confdefs.h <<\_ACEOF
  17241. #define HAVE_ISINF /**/
  17242. _ACEOF
  17243. fi
  17244. fi
  17245. XML_LIBDIR='-L${libdir}'
  17246. XML_INCLUDEDIR='-I${includedir}/libxml2'
  17247. XML_CFLAGS=""
  17248. RDL_LIBS=""
  17249. if test "${GCC}" != "yes" ; then
  17250. case "${host}" in
  17251. hppa*-*-hpux* )
  17252. CFLAGS="${CFLAGS} -Wp,-H30000"
  17253. ;;
  17254. *-dec-osf* )
  17255. CFLAGS="${CFLAGS} -ieee"
  17256. ;;
  17257. alpha*-*-linux* )
  17258. CFLAGS="${CFLAGS} -ieee"
  17259. ;;
  17260. esac
  17261. else
  17262. if test "$with_fexceptions" = "yes"
  17263. then
  17264. #
  17265. # Not activated by default because this inflates the code size
  17266. # Used to allow propagation of C++ exceptions through the library
  17267. #
  17268. CFLAGS="${CFLAGS} -fexceptions"
  17269. fi
  17270. 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"
  17271. case "${host}" in
  17272. alpha*-*-linux* )
  17273. CFLAGS="${CFLAGS} -mieee"
  17274. ;;
  17275. alpha*-*-osf* )
  17276. CFLAGS="${CFLAGS} -mieee"
  17277. ;;
  17278. esac
  17279. fi
  17280. case ${host} in
  17281. *-*-solaris*)
  17282. XML_LIBDIR="${XML_LIBDIR} -R${libdir}"
  17283. ;;
  17284. hppa*-hp-mpeix)
  17285. NEED_TRIO=1
  17286. ;;
  17287. *-*-mingw* | *-*-cygwin* | *-*-msvc* )
  17288. # If the host is Windows, and shared libraries are disabled, we
  17289. # need to add -DLIBXML_STATIC to CFLAGS in order for linking to
  17290. # work properly (without it, xmlexports.h would force the use of
  17291. # DLL imports, which obviously aren't present in a static
  17292. # library).
  17293. if test "x$enable_shared" = "xno"; then
  17294. XML_CFLAGS="$XML_CFLAGS -DLIBXML_STATIC"
  17295. CFLAGS="$CFLAGS -DLIBXML_STATIC"
  17296. fi
  17297. ;;
  17298. esac
  17299. PYTHON_VERSION=
  17300. PYTHON_INCLUDES=
  17301. PYTHON_SITE_PACKAGES=
  17302. PYTHON_TESTS=
  17303. pythondir=
  17304. if test "$with_python" != "no" ; then
  17305. if test -x "$with_python/bin/python"
  17306. then
  17307. echo Found python in $with_python/bin/python
  17308. PYTHON="$with_python/bin/python"
  17309. else
  17310. if test -x "$with_python"
  17311. then
  17312. echo Found python in $with_python
  17313. PYTHON="$with_python"
  17314. else
  17315. if test -x "$PYTHON"
  17316. then
  17317. echo Found python in environment PYTHON=$PYTHON
  17318. with_python=`$PYTHON -c "import sys; print sys.exec_prefix"`
  17319. else
  17320. # 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.
  17321. set dummy python python2.6 python2.5 python2.4 python2.3 python2.2 python2.1 python2.0 python1.6 python1.5; ac_word=$2
  17322. { $as_echo "$as_me:$LINENO: checking for $ac_word" >&5
  17323. $as_echo_n "checking for $ac_word... " >&6; }
  17324. if test "${ac_cv_path_PYTHON+set}" = set; then
  17325. $as_echo_n "(cached) " >&6
  17326. else
  17327. case $PYTHON in
  17328. [\\/]* | ?:[\\/]*)
  17329. ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
  17330. ;;
  17331. *)
  17332. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  17333. for as_dir in $PATH
  17334. do
  17335. IFS=$as_save_IFS
  17336. test -z "$as_dir" && as_dir=.
  17337. for ac_exec_ext in '' $ac_executable_extensions; do
  17338. if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
  17339. ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
  17340. $as_echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
  17341. break 2
  17342. fi
  17343. done
  17344. done
  17345. IFS=$as_save_IFS
  17346. ;;
  17347. esac
  17348. fi
  17349. PYTHON=$ac_cv_path_PYTHON
  17350. if test -n "$PYTHON"; then
  17351. { $as_echo "$as_me:$LINENO: result: $PYTHON" >&5
  17352. $as_echo "$PYTHON" >&6; }
  17353. else
  17354. { $as_echo "$as_me:$LINENO: result: no" >&5
  17355. $as_echo "no" >&6; }
  17356. fi
  17357. fi
  17358. fi
  17359. fi
  17360. if test "$PYTHON" != ""
  17361. then
  17362. PYTHON_VERSION=`$PYTHON -c "import sys; print sys.version[0:3]"`
  17363. echo Found Python version $PYTHON_VERSION
  17364. fi
  17365. if test "$PYTHON_VERSION" != ""
  17366. then
  17367. if test -r $with_python/include/python$PYTHON_VERSION/Python.h -a \
  17368. -d $with_python/lib/python$PYTHON_VERSION/site-packages
  17369. then
  17370. PYTHON_INCLUDES=$with_python/include/python$PYTHON_VERSION
  17371. PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
  17372. else
  17373. if test -r $prefix/include/python$PYTHON_VERSION/Python.h
  17374. then
  17375. PYTHON_INCLUDES=$prefix/include/python$PYTHON_VERSION
  17376. PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
  17377. else
  17378. if test -r /usr/include/python$PYTHON_VERSION/Python.h
  17379. then
  17380. PYTHON_INCLUDES=/usr/include/python$PYTHON_VERSION
  17381. PYTHON_SITE_PACKAGES=$libdir/python$PYTHON_VERSION/site-packages
  17382. else
  17383. echo could not find python$PYTHON_VERSION/Python.h
  17384. fi
  17385. fi
  17386. if test ! -d "$PYTHON_SITE_PACKAGES"
  17387. then
  17388. PYTHON_SITE_PACKAGES=`$PYTHON -c "from distutils import sysconfig; print sysconfig.get_python_lib()"`
  17389. fi
  17390. fi
  17391. PYTHON_LIBS=`python$PYTHON_VERSION-config --ldflags`
  17392. fi
  17393. if test "$with_python" != ""
  17394. then
  17395. pythondir='$(PYTHON_SITE_PACKAGES)'
  17396. else
  17397. pythondir='$(libdir)/python$(PYTHON_VERSION)/site-packages'
  17398. fi
  17399. else
  17400. PYTHON=
  17401. fi
  17402. if test "$PYTHON_INCLUDES" != ""; then
  17403. WITH_PYTHON_TRUE=
  17404. WITH_PYTHON_FALSE='#'
  17405. else
  17406. WITH_PYTHON_TRUE='#'
  17407. WITH_PYTHON_FALSE=
  17408. fi
  17409. if test "$PYTHON_INCLUDES" != ""
  17410. then
  17411. PYTHON_SUBDIR=python
  17412. else
  17413. PYTHON_SUBDIR=
  17414. fi
  17415. WITH_MODULES=0
  17416. TEST_MODULES=
  17417. if test "$with_modules" != "no" ; then
  17418. case "$host" in
  17419. *-*-cygwin*)
  17420. MODULE_EXTENSION=".dll"
  17421. { $as_echo "$as_me:$LINENO: checking for dlopen in -lcygwin" >&5
  17422. $as_echo_n "checking for dlopen in -lcygwin... " >&6; }
  17423. if test "${ac_cv_lib_cygwin_dlopen+set}" = set; then
  17424. $as_echo_n "(cached) " >&6
  17425. else
  17426. ac_check_lib_save_LIBS=$LIBS
  17427. LIBS="-lcygwin $LIBS"
  17428. cat >conftest.$ac_ext <<_ACEOF
  17429. /* confdefs.h. */
  17430. _ACEOF
  17431. cat confdefs.h >>conftest.$ac_ext
  17432. cat >>conftest.$ac_ext <<_ACEOF
  17433. /* end confdefs.h. */
  17434. /* Override any GCC internal prototype to avoid an error.
  17435. Use char because int might match the return type of a GCC
  17436. builtin and then its argument prototype would still apply. */
  17437. #ifdef __cplusplus
  17438. extern "C"
  17439. #endif
  17440. char dlopen ();
  17441. int
  17442. main ()
  17443. {
  17444. return dlopen ();
  17445. ;
  17446. return 0;
  17447. }
  17448. _ACEOF
  17449. rm -f conftest.$ac_objext conftest$ac_exeext
  17450. if { (ac_try="$ac_link"
  17451. case "(($ac_try" in
  17452. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17453. *) ac_try_echo=$ac_try;;
  17454. esac
  17455. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17456. $as_echo "$ac_try_echo") >&5
  17457. (eval "$ac_link") 2>conftest.er1
  17458. ac_status=$?
  17459. grep -v '^ *+' conftest.er1 >conftest.err
  17460. rm -f conftest.er1
  17461. cat conftest.err >&5
  17462. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17463. (exit $ac_status); } && {
  17464. test -z "$ac_c_werror_flag" ||
  17465. test ! -s conftest.err
  17466. } && test -s conftest$ac_exeext && {
  17467. test "$cross_compiling" = yes ||
  17468. $as_test_x conftest$ac_exeext
  17469. }; then
  17470. ac_cv_lib_cygwin_dlopen=yes
  17471. else
  17472. $as_echo "$as_me: failed program was:" >&5
  17473. sed 's/^/| /' conftest.$ac_ext >&5
  17474. ac_cv_lib_cygwin_dlopen=no
  17475. fi
  17476. rm -rf conftest.dSYM
  17477. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17478. conftest$ac_exeext conftest.$ac_ext
  17479. LIBS=$ac_check_lib_save_LIBS
  17480. fi
  17481. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_cygwin_dlopen" >&5
  17482. $as_echo "$ac_cv_lib_cygwin_dlopen" >&6; }
  17483. if test "x$ac_cv_lib_cygwin_dlopen" = x""yes; then
  17484. WITH_MODULES=1
  17485. MODULE_PLATFORM_LIBS=
  17486. cat >>confdefs.h <<\_ACEOF
  17487. #define HAVE_DLOPEN /**/
  17488. _ACEOF
  17489. fi
  17490. ;;
  17491. *-*-mingw*)
  17492. MODULE_EXTENSION=".dll"
  17493. WITH_MODULES=1
  17494. ;;
  17495. *)
  17496. { $as_echo "$as_me:$LINENO: checking for shl_load" >&5
  17497. $as_echo_n "checking for shl_load... " >&6; }
  17498. if test "${ac_cv_func_shl_load+set}" = set; then
  17499. $as_echo_n "(cached) " >&6
  17500. else
  17501. cat >conftest.$ac_ext <<_ACEOF
  17502. /* confdefs.h. */
  17503. _ACEOF
  17504. cat confdefs.h >>conftest.$ac_ext
  17505. cat >>conftest.$ac_ext <<_ACEOF
  17506. /* end confdefs.h. */
  17507. /* Define shl_load to an innocuous variant, in case <limits.h> declares shl_load.
  17508. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  17509. #define shl_load innocuous_shl_load
  17510. /* System header to define __stub macros and hopefully few prototypes,
  17511. which can conflict with char shl_load (); below.
  17512. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  17513. <limits.h> exists even on freestanding compilers. */
  17514. #ifdef __STDC__
  17515. # include <limits.h>
  17516. #else
  17517. # include <assert.h>
  17518. #endif
  17519. #undef shl_load
  17520. /* Override any GCC internal prototype to avoid an error.
  17521. Use char because int might match the return type of a GCC
  17522. builtin and then its argument prototype would still apply. */
  17523. #ifdef __cplusplus
  17524. extern "C"
  17525. #endif
  17526. char shl_load ();
  17527. /* The GNU C library defines this for functions which it implements
  17528. to always fail with ENOSYS. Some functions are actually named
  17529. something starting with __ and the normal name is an alias. */
  17530. #if defined __stub_shl_load || defined __stub___shl_load
  17531. choke me
  17532. #endif
  17533. int
  17534. main ()
  17535. {
  17536. return shl_load ();
  17537. ;
  17538. return 0;
  17539. }
  17540. _ACEOF
  17541. rm -f conftest.$ac_objext conftest$ac_exeext
  17542. if { (ac_try="$ac_link"
  17543. case "(($ac_try" in
  17544. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17545. *) ac_try_echo=$ac_try;;
  17546. esac
  17547. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17548. $as_echo "$ac_try_echo") >&5
  17549. (eval "$ac_link") 2>conftest.er1
  17550. ac_status=$?
  17551. grep -v '^ *+' conftest.er1 >conftest.err
  17552. rm -f conftest.er1
  17553. cat conftest.err >&5
  17554. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17555. (exit $ac_status); } && {
  17556. test -z "$ac_c_werror_flag" ||
  17557. test ! -s conftest.err
  17558. } && test -s conftest$ac_exeext && {
  17559. test "$cross_compiling" = yes ||
  17560. $as_test_x conftest$ac_exeext
  17561. }; then
  17562. ac_cv_func_shl_load=yes
  17563. else
  17564. $as_echo "$as_me: failed program was:" >&5
  17565. sed 's/^/| /' conftest.$ac_ext >&5
  17566. ac_cv_func_shl_load=no
  17567. fi
  17568. rm -rf conftest.dSYM
  17569. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17570. conftest$ac_exeext conftest.$ac_ext
  17571. fi
  17572. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_shl_load" >&5
  17573. $as_echo "$ac_cv_func_shl_load" >&6; }
  17574. if test "x$ac_cv_func_shl_load" = x""yes; then
  17575. libxml_have_shl_load=yes
  17576. else
  17577. { $as_echo "$as_me:$LINENO: checking for shl_load in -ldld" >&5
  17578. $as_echo_n "checking for shl_load in -ldld... " >&6; }
  17579. if test "${ac_cv_lib_dld_shl_load+set}" = set; then
  17580. $as_echo_n "(cached) " >&6
  17581. else
  17582. ac_check_lib_save_LIBS=$LIBS
  17583. LIBS="-ldld $LIBS"
  17584. cat >conftest.$ac_ext <<_ACEOF
  17585. /* confdefs.h. */
  17586. _ACEOF
  17587. cat confdefs.h >>conftest.$ac_ext
  17588. cat >>conftest.$ac_ext <<_ACEOF
  17589. /* end confdefs.h. */
  17590. /* Override any GCC internal prototype to avoid an error.
  17591. Use char because int might match the return type of a GCC
  17592. builtin and then its argument prototype would still apply. */
  17593. #ifdef __cplusplus
  17594. extern "C"
  17595. #endif
  17596. char shl_load ();
  17597. int
  17598. main ()
  17599. {
  17600. return shl_load ();
  17601. ;
  17602. return 0;
  17603. }
  17604. _ACEOF
  17605. rm -f conftest.$ac_objext conftest$ac_exeext
  17606. if { (ac_try="$ac_link"
  17607. case "(($ac_try" in
  17608. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17609. *) ac_try_echo=$ac_try;;
  17610. esac
  17611. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17612. $as_echo "$ac_try_echo") >&5
  17613. (eval "$ac_link") 2>conftest.er1
  17614. ac_status=$?
  17615. grep -v '^ *+' conftest.er1 >conftest.err
  17616. rm -f conftest.er1
  17617. cat conftest.err >&5
  17618. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17619. (exit $ac_status); } && {
  17620. test -z "$ac_c_werror_flag" ||
  17621. test ! -s conftest.err
  17622. } && test -s conftest$ac_exeext && {
  17623. test "$cross_compiling" = yes ||
  17624. $as_test_x conftest$ac_exeext
  17625. }; then
  17626. ac_cv_lib_dld_shl_load=yes
  17627. else
  17628. $as_echo "$as_me: failed program was:" >&5
  17629. sed 's/^/| /' conftest.$ac_ext >&5
  17630. ac_cv_lib_dld_shl_load=no
  17631. fi
  17632. rm -rf conftest.dSYM
  17633. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17634. conftest$ac_exeext conftest.$ac_ext
  17635. LIBS=$ac_check_lib_save_LIBS
  17636. fi
  17637. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dld_shl_load" >&5
  17638. $as_echo "$ac_cv_lib_dld_shl_load" >&6; }
  17639. if test "x$ac_cv_lib_dld_shl_load" = x""yes; then
  17640. MODULE_PLATFORM_LIBS="-ldld"
  17641. libxml_have_shl_load=yes
  17642. else
  17643. { $as_echo "$as_me:$LINENO: checking for dlopen" >&5
  17644. $as_echo_n "checking for dlopen... " >&6; }
  17645. if test "${ac_cv_func_dlopen+set}" = set; then
  17646. $as_echo_n "(cached) " >&6
  17647. else
  17648. cat >conftest.$ac_ext <<_ACEOF
  17649. /* confdefs.h. */
  17650. _ACEOF
  17651. cat confdefs.h >>conftest.$ac_ext
  17652. cat >>conftest.$ac_ext <<_ACEOF
  17653. /* end confdefs.h. */
  17654. /* Define dlopen to an innocuous variant, in case <limits.h> declares dlopen.
  17655. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  17656. #define dlopen innocuous_dlopen
  17657. /* System header to define __stub macros and hopefully few prototypes,
  17658. which can conflict with char dlopen (); below.
  17659. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  17660. <limits.h> exists even on freestanding compilers. */
  17661. #ifdef __STDC__
  17662. # include <limits.h>
  17663. #else
  17664. # include <assert.h>
  17665. #endif
  17666. #undef dlopen
  17667. /* Override any GCC internal prototype to avoid an error.
  17668. Use char because int might match the return type of a GCC
  17669. builtin and then its argument prototype would still apply. */
  17670. #ifdef __cplusplus
  17671. extern "C"
  17672. #endif
  17673. char dlopen ();
  17674. /* The GNU C library defines this for functions which it implements
  17675. to always fail with ENOSYS. Some functions are actually named
  17676. something starting with __ and the normal name is an alias. */
  17677. #if defined __stub_dlopen || defined __stub___dlopen
  17678. choke me
  17679. #endif
  17680. int
  17681. main ()
  17682. {
  17683. return dlopen ();
  17684. ;
  17685. return 0;
  17686. }
  17687. _ACEOF
  17688. rm -f conftest.$ac_objext conftest$ac_exeext
  17689. if { (ac_try="$ac_link"
  17690. case "(($ac_try" in
  17691. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17692. *) ac_try_echo=$ac_try;;
  17693. esac
  17694. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17695. $as_echo "$ac_try_echo") >&5
  17696. (eval "$ac_link") 2>conftest.er1
  17697. ac_status=$?
  17698. grep -v '^ *+' conftest.er1 >conftest.err
  17699. rm -f conftest.er1
  17700. cat conftest.err >&5
  17701. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17702. (exit $ac_status); } && {
  17703. test -z "$ac_c_werror_flag" ||
  17704. test ! -s conftest.err
  17705. } && test -s conftest$ac_exeext && {
  17706. test "$cross_compiling" = yes ||
  17707. $as_test_x conftest$ac_exeext
  17708. }; then
  17709. ac_cv_func_dlopen=yes
  17710. else
  17711. $as_echo "$as_me: failed program was:" >&5
  17712. sed 's/^/| /' conftest.$ac_ext >&5
  17713. ac_cv_func_dlopen=no
  17714. fi
  17715. rm -rf conftest.dSYM
  17716. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17717. conftest$ac_exeext conftest.$ac_ext
  17718. fi
  17719. { $as_echo "$as_me:$LINENO: result: $ac_cv_func_dlopen" >&5
  17720. $as_echo "$ac_cv_func_dlopen" >&6; }
  17721. if test "x$ac_cv_func_dlopen" = x""yes; then
  17722. libxml_have_dlopen=yes
  17723. else
  17724. { $as_echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
  17725. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  17726. if test "${ac_cv_lib_dl_dlopen+set}" = set; then
  17727. $as_echo_n "(cached) " >&6
  17728. else
  17729. ac_check_lib_save_LIBS=$LIBS
  17730. LIBS="-ldl $LIBS"
  17731. cat >conftest.$ac_ext <<_ACEOF
  17732. /* confdefs.h. */
  17733. _ACEOF
  17734. cat confdefs.h >>conftest.$ac_ext
  17735. cat >>conftest.$ac_ext <<_ACEOF
  17736. /* end confdefs.h. */
  17737. /* Override any GCC internal prototype to avoid an error.
  17738. Use char because int might match the return type of a GCC
  17739. builtin and then its argument prototype would still apply. */
  17740. #ifdef __cplusplus
  17741. extern "C"
  17742. #endif
  17743. char dlopen ();
  17744. int
  17745. main ()
  17746. {
  17747. return dlopen ();
  17748. ;
  17749. return 0;
  17750. }
  17751. _ACEOF
  17752. rm -f conftest.$ac_objext conftest$ac_exeext
  17753. if { (ac_try="$ac_link"
  17754. case "(($ac_try" in
  17755. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17756. *) ac_try_echo=$ac_try;;
  17757. esac
  17758. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17759. $as_echo "$ac_try_echo") >&5
  17760. (eval "$ac_link") 2>conftest.er1
  17761. ac_status=$?
  17762. grep -v '^ *+' conftest.er1 >conftest.err
  17763. rm -f conftest.er1
  17764. cat conftest.err >&5
  17765. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17766. (exit $ac_status); } && {
  17767. test -z "$ac_c_werror_flag" ||
  17768. test ! -s conftest.err
  17769. } && test -s conftest$ac_exeext && {
  17770. test "$cross_compiling" = yes ||
  17771. $as_test_x conftest$ac_exeext
  17772. }; then
  17773. ac_cv_lib_dl_dlopen=yes
  17774. else
  17775. $as_echo "$as_me: failed program was:" >&5
  17776. sed 's/^/| /' conftest.$ac_ext >&5
  17777. ac_cv_lib_dl_dlopen=no
  17778. fi
  17779. rm -rf conftest.dSYM
  17780. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  17781. conftest$ac_exeext conftest.$ac_ext
  17782. LIBS=$ac_check_lib_save_LIBS
  17783. fi
  17784. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
  17785. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  17786. if test "x$ac_cv_lib_dl_dlopen" = x""yes; then
  17787. MODULE_PLATFORM_LIBS="-ldl"
  17788. libxml_have_dlopen=yes
  17789. fi
  17790. fi
  17791. fi
  17792. fi
  17793. if test "${libxml_have_shl_load}" = "yes"; then
  17794. MODULE_EXTENSION=".sl"
  17795. WITH_MODULES=1
  17796. cat >>confdefs.h <<\_ACEOF
  17797. #define HAVE_SHLLOAD /**/
  17798. _ACEOF
  17799. fi
  17800. if test "${libxml_have_dlopen}" = "yes"; then
  17801. case "${host}" in
  17802. *-*-hpux* )
  17803. MODULE_EXTENSION=".sl"
  17804. ;;
  17805. * )
  17806. MODULE_EXTENSION=".so"
  17807. ;;
  17808. esac
  17809. WITH_MODULES=1
  17810. cat >>confdefs.h <<\_ACEOF
  17811. #define HAVE_DLOPEN /**/
  17812. _ACEOF
  17813. fi
  17814. ;;
  17815. esac
  17816. fi
  17817. if test "${WITH_MODULES}" = "1"; then
  17818. TEST_MODULES="ModuleTests"
  17819. fi
  17820. if [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/u/veillard/XML" ] || \
  17821. [ "${LOGNAME}" = "veillard" -a "`pwd`" = "/home/veillard/libxml2" ] || \
  17822. [ "${LOGNAME}" = "bill" -a "`pwd`" = "/home/bill/gnomesvn/libxml2" ]
  17823. then
  17824. if test "$with_minimum" != "yes"
  17825. then
  17826. if test "${with_mem_debug}" = "" ; then
  17827. echo Activating memory debugging
  17828. with_mem_debug="yes"
  17829. with_run_debug="yes"
  17830. fi
  17831. if test "${with_docbook}" = "" ; then
  17832. with_docbook="yes"
  17833. fi
  17834. fi
  17835. if test "${GCC}" = "yes" ; then
  17836. 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"
  17837. fi
  17838. STATIC_BINARIES="-static"
  17839. else
  17840. STATIC_BINARIES=
  17841. fi
  17842. if test "${NEED_TRIO}" = "1" ; then
  17843. echo Adding trio library for string functions
  17844. WITH_TRIO=1
  17845. else
  17846. WITH_TRIO=0
  17847. fi
  17848. if test "${NEED_TRIO}" = "1"; then
  17849. WITH_TRIO_SOURCES_TRUE=
  17850. WITH_TRIO_SOURCES_FALSE='#'
  17851. else
  17852. WITH_TRIO_SOURCES_TRUE='#'
  17853. WITH_TRIO_SOURCES_FALSE=
  17854. fi
  17855. echo Checking configuration requirements
  17856. THREAD_LIBS=""
  17857. BASE_THREAD_LIBS=""
  17858. WITH_THREADS=0
  17859. THREAD_CFLAGS=""
  17860. TEST_THREADS=""
  17861. THREADS_W32=""
  17862. if test "$with_threads" = "no" ; then
  17863. echo Disabling multithreaded support
  17864. else
  17865. echo Enabling multithreaded support
  17866. if test "$with_threads" = "pthread" || test "$with_threads" = "" || test "$with_threads" = "yes" ; then
  17867. if test "${ac_cv_header_pthread_h+set}" = set; then
  17868. { $as_echo "$as_me:$LINENO: checking for pthread.h" >&5
  17869. $as_echo_n "checking for pthread.h... " >&6; }
  17870. if test "${ac_cv_header_pthread_h+set}" = set; then
  17871. $as_echo_n "(cached) " >&6
  17872. fi
  17873. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
  17874. $as_echo "$ac_cv_header_pthread_h" >&6; }
  17875. else
  17876. # Is the header compilable?
  17877. { $as_echo "$as_me:$LINENO: checking pthread.h usability" >&5
  17878. $as_echo_n "checking pthread.h usability... " >&6; }
  17879. cat >conftest.$ac_ext <<_ACEOF
  17880. /* confdefs.h. */
  17881. _ACEOF
  17882. cat confdefs.h >>conftest.$ac_ext
  17883. cat >>conftest.$ac_ext <<_ACEOF
  17884. /* end confdefs.h. */
  17885. $ac_includes_default
  17886. #include <pthread.h>
  17887. _ACEOF
  17888. rm -f conftest.$ac_objext
  17889. if { (ac_try="$ac_compile"
  17890. case "(($ac_try" in
  17891. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17892. *) ac_try_echo=$ac_try;;
  17893. esac
  17894. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17895. $as_echo "$ac_try_echo") >&5
  17896. (eval "$ac_compile") 2>conftest.er1
  17897. ac_status=$?
  17898. grep -v '^ *+' conftest.er1 >conftest.err
  17899. rm -f conftest.er1
  17900. cat conftest.err >&5
  17901. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17902. (exit $ac_status); } && {
  17903. test -z "$ac_c_werror_flag" ||
  17904. test ! -s conftest.err
  17905. } && test -s conftest.$ac_objext; then
  17906. ac_header_compiler=yes
  17907. else
  17908. $as_echo "$as_me: failed program was:" >&5
  17909. sed 's/^/| /' conftest.$ac_ext >&5
  17910. ac_header_compiler=no
  17911. fi
  17912. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17913. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  17914. $as_echo "$ac_header_compiler" >&6; }
  17915. # Is the header present?
  17916. { $as_echo "$as_me:$LINENO: checking pthread.h presence" >&5
  17917. $as_echo_n "checking pthread.h presence... " >&6; }
  17918. cat >conftest.$ac_ext <<_ACEOF
  17919. /* confdefs.h. */
  17920. _ACEOF
  17921. cat confdefs.h >>conftest.$ac_ext
  17922. cat >>conftest.$ac_ext <<_ACEOF
  17923. /* end confdefs.h. */
  17924. #include <pthread.h>
  17925. _ACEOF
  17926. if { (ac_try="$ac_cpp conftest.$ac_ext"
  17927. case "(($ac_try" in
  17928. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  17929. *) ac_try_echo=$ac_try;;
  17930. esac
  17931. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  17932. $as_echo "$ac_try_echo") >&5
  17933. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  17934. ac_status=$?
  17935. grep -v '^ *+' conftest.er1 >conftest.err
  17936. rm -f conftest.er1
  17937. cat conftest.err >&5
  17938. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  17939. (exit $ac_status); } >/dev/null && {
  17940. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  17941. test ! -s conftest.err
  17942. }; then
  17943. ac_header_preproc=yes
  17944. else
  17945. $as_echo "$as_me: failed program was:" >&5
  17946. sed 's/^/| /' conftest.$ac_ext >&5
  17947. ac_header_preproc=no
  17948. fi
  17949. rm -f conftest.err conftest.$ac_ext
  17950. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  17951. $as_echo "$ac_header_preproc" >&6; }
  17952. # So? What about this header?
  17953. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  17954. yes:no: )
  17955. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&5
  17956. $as_echo "$as_me: WARNING: pthread.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  17957. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the compiler's result" >&5
  17958. $as_echo "$as_me: WARNING: pthread.h: proceeding with the compiler's result" >&2;}
  17959. ac_header_preproc=yes
  17960. ;;
  17961. no:yes:* )
  17962. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: present but cannot be compiled" >&5
  17963. $as_echo "$as_me: WARNING: pthread.h: present but cannot be compiled" >&2;}
  17964. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: check for missing prerequisite headers?" >&5
  17965. $as_echo "$as_me: WARNING: pthread.h: check for missing prerequisite headers?" >&2;}
  17966. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: see the Autoconf documentation" >&5
  17967. $as_echo "$as_me: WARNING: pthread.h: see the Autoconf documentation" >&2;}
  17968. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&5
  17969. $as_echo "$as_me: WARNING: pthread.h: section \"Present But Cannot Be Compiled\"" >&2;}
  17970. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: proceeding with the preprocessor's result" >&5
  17971. $as_echo "$as_me: WARNING: pthread.h: proceeding with the preprocessor's result" >&2;}
  17972. { $as_echo "$as_me:$LINENO: WARNING: pthread.h: in the future, the compiler will take precedence" >&5
  17973. $as_echo "$as_me: WARNING: pthread.h: in the future, the compiler will take precedence" >&2;}
  17974. ;;
  17975. esac
  17976. { $as_echo "$as_me:$LINENO: checking for pthread.h" >&5
  17977. $as_echo_n "checking for pthread.h... " >&6; }
  17978. if test "${ac_cv_header_pthread_h+set}" = set; then
  17979. $as_echo_n "(cached) " >&6
  17980. else
  17981. ac_cv_header_pthread_h=$ac_header_preproc
  17982. fi
  17983. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_pthread_h" >&5
  17984. $as_echo "$ac_cv_header_pthread_h" >&6; }
  17985. fi
  17986. if test "x$ac_cv_header_pthread_h" = x""yes; then
  17987. { $as_echo "$as_me:$LINENO: checking for pthread_join in -lpthread" >&5
  17988. $as_echo_n "checking for pthread_join in -lpthread... " >&6; }
  17989. if test "${ac_cv_lib_pthread_pthread_join+set}" = set; then
  17990. $as_echo_n "(cached) " >&6
  17991. else
  17992. ac_check_lib_save_LIBS=$LIBS
  17993. LIBS="-lpthread $LIBS"
  17994. cat >conftest.$ac_ext <<_ACEOF
  17995. /* confdefs.h. */
  17996. _ACEOF
  17997. cat confdefs.h >>conftest.$ac_ext
  17998. cat >>conftest.$ac_ext <<_ACEOF
  17999. /* end confdefs.h. */
  18000. /* Override any GCC internal prototype to avoid an error.
  18001. Use char because int might match the return type of a GCC
  18002. builtin and then its argument prototype would still apply. */
  18003. #ifdef __cplusplus
  18004. extern "C"
  18005. #endif
  18006. char pthread_join ();
  18007. int
  18008. main ()
  18009. {
  18010. return pthread_join ();
  18011. ;
  18012. return 0;
  18013. }
  18014. _ACEOF
  18015. rm -f conftest.$ac_objext conftest$ac_exeext
  18016. if { (ac_try="$ac_link"
  18017. case "(($ac_try" in
  18018. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18019. *) ac_try_echo=$ac_try;;
  18020. esac
  18021. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18022. $as_echo "$ac_try_echo") >&5
  18023. (eval "$ac_link") 2>conftest.er1
  18024. ac_status=$?
  18025. grep -v '^ *+' conftest.er1 >conftest.err
  18026. rm -f conftest.er1
  18027. cat conftest.err >&5
  18028. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18029. (exit $ac_status); } && {
  18030. test -z "$ac_c_werror_flag" ||
  18031. test ! -s conftest.err
  18032. } && test -s conftest$ac_exeext && {
  18033. test "$cross_compiling" = yes ||
  18034. $as_test_x conftest$ac_exeext
  18035. }; then
  18036. ac_cv_lib_pthread_pthread_join=yes
  18037. else
  18038. $as_echo "$as_me: failed program was:" >&5
  18039. sed 's/^/| /' conftest.$ac_ext >&5
  18040. ac_cv_lib_pthread_pthread_join=no
  18041. fi
  18042. rm -rf conftest.dSYM
  18043. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18044. conftest$ac_exeext conftest.$ac_ext
  18045. LIBS=$ac_check_lib_save_LIBS
  18046. fi
  18047. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_pthread_pthread_join" >&5
  18048. $as_echo "$ac_cv_lib_pthread_pthread_join" >&6; }
  18049. if test "x$ac_cv_lib_pthread_pthread_join" = x""yes; then
  18050. THREAD_LIBS="-lpthread"
  18051. cat >>confdefs.h <<\_ACEOF
  18052. #define HAVE_LIBPTHREAD /**/
  18053. _ACEOF
  18054. cat >>confdefs.h <<\_ACEOF
  18055. #define HAVE_PTHREAD_H /**/
  18056. _ACEOF
  18057. WITH_THREADS="1"
  18058. fi
  18059. fi
  18060. fi
  18061. case $host_os in
  18062. *mingw32*) if test "$THREAD_LIBS" != "-lpthread"; then
  18063. WITH_THREADS="1"
  18064. THREADS_W32="Win32"
  18065. THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_WIN32_THREADS"
  18066. fi
  18067. ;;
  18068. *cygwin*) THREAD_LIBS=""
  18069. ;;
  18070. *beos*) WITH_THREADS="1"
  18071. THREAD_CFLAGS="$THREAD_CFLAGS -DHAVE_BEOS_THREADS"
  18072. ;;
  18073. *linux*)
  18074. if test "${GCC}" = "yes" ; then
  18075. GCC_VERSION=`${CC} --version | head -1 | awk '{print $3}'`
  18076. GCC_MAJOR=`echo ${GCC_VERSION} | sed 's+\..*++'`
  18077. GCC_MEDIUM=`echo ${GCC_VERSION} | sed 's+[0-9]*\.++' | sed 's+\..*++'`
  18078. if test "${THREAD_LIBS}" = "-lpthread" ; then
  18079. if expr ${GCC_MEDIUM} \> 2 \& ${GCC_MAJOR} = 3 > /dev/null
  18080. then
  18081. THREAD_LIBS=""
  18082. BASE_THREAD_LIBS="-lpthread"
  18083. else
  18084. if expr ${GCC_MAJOR} \> 3 > /dev/null
  18085. then
  18086. THREAD_LIBS=""
  18087. BASE_THREAD_LIBS="-lpthread"
  18088. else
  18089. echo old GCC disabling weak symbols for pthread
  18090. fi
  18091. fi
  18092. fi
  18093. fi
  18094. ;;
  18095. esac
  18096. if test "$WITH_THREADS" = "1" ; then
  18097. THREAD_CFLAGS="$THREAD_CFLAGS -D_REENTRANT"
  18098. TEST_THREADS="Threadtests"
  18099. fi
  18100. fi
  18101. if test "$with_thread_alloc" = "yes" -a "$WITH_THREADS" = "1" ; then
  18102. THREAD_CFLAGS="$THREAD_CFLAGS -DLIBXML_THREAD_ALLOC_ENABLED"
  18103. fi
  18104. if test "$with_history" = "yes" ; then
  18105. echo Enabling xmllint shell history
  18106. unset tcap
  18107. for termlib in ncurses curses termcap terminfo termlib; do
  18108. as_ac_Lib=`$as_echo "ac_cv_lib_${termlib}''_tputs" | $as_tr_sh`
  18109. { $as_echo "$as_me:$LINENO: checking for tputs in -l${termlib}" >&5
  18110. $as_echo_n "checking for tputs in -l${termlib}... " >&6; }
  18111. if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
  18112. $as_echo_n "(cached) " >&6
  18113. else
  18114. ac_check_lib_save_LIBS=$LIBS
  18115. LIBS="-l${termlib} $LIBS"
  18116. cat >conftest.$ac_ext <<_ACEOF
  18117. /* confdefs.h. */
  18118. _ACEOF
  18119. cat confdefs.h >>conftest.$ac_ext
  18120. cat >>conftest.$ac_ext <<_ACEOF
  18121. /* end confdefs.h. */
  18122. /* Override any GCC internal prototype to avoid an error.
  18123. Use char because int might match the return type of a GCC
  18124. builtin and then its argument prototype would still apply. */
  18125. #ifdef __cplusplus
  18126. extern "C"
  18127. #endif
  18128. char tputs ();
  18129. int
  18130. main ()
  18131. {
  18132. return tputs ();
  18133. ;
  18134. return 0;
  18135. }
  18136. _ACEOF
  18137. rm -f conftest.$ac_objext conftest$ac_exeext
  18138. if { (ac_try="$ac_link"
  18139. case "(($ac_try" in
  18140. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18141. *) ac_try_echo=$ac_try;;
  18142. esac
  18143. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18144. $as_echo "$ac_try_echo") >&5
  18145. (eval "$ac_link") 2>conftest.er1
  18146. ac_status=$?
  18147. grep -v '^ *+' conftest.er1 >conftest.err
  18148. rm -f conftest.er1
  18149. cat conftest.err >&5
  18150. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18151. (exit $ac_status); } && {
  18152. test -z "$ac_c_werror_flag" ||
  18153. test ! -s conftest.err
  18154. } && test -s conftest$ac_exeext && {
  18155. test "$cross_compiling" = yes ||
  18156. $as_test_x conftest$ac_exeext
  18157. }; then
  18158. eval "$as_ac_Lib=yes"
  18159. else
  18160. $as_echo "$as_me: failed program was:" >&5
  18161. sed 's/^/| /' conftest.$ac_ext >&5
  18162. eval "$as_ac_Lib=no"
  18163. fi
  18164. rm -rf conftest.dSYM
  18165. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18166. conftest$ac_exeext conftest.$ac_ext
  18167. LIBS=$ac_check_lib_save_LIBS
  18168. fi
  18169. ac_res=`eval 'as_val=${'$as_ac_Lib'}
  18170. $as_echo "$as_val"'`
  18171. { $as_echo "$as_me:$LINENO: result: $ac_res" >&5
  18172. $as_echo "$ac_res" >&6; }
  18173. as_val=`eval 'as_val=${'$as_ac_Lib'}
  18174. $as_echo "$as_val"'`
  18175. if test "x$as_val" = x""yes; then
  18176. tcap="-l$termlib"
  18177. fi
  18178. test -n "$tcap" && break
  18179. done
  18180. if test "${ac_cv_header_readline_history_h+set}" = set; then
  18181. { $as_echo "$as_me:$LINENO: checking for readline/history.h" >&5
  18182. $as_echo_n "checking for readline/history.h... " >&6; }
  18183. if test "${ac_cv_header_readline_history_h+set}" = set; then
  18184. $as_echo_n "(cached) " >&6
  18185. fi
  18186. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
  18187. $as_echo "$ac_cv_header_readline_history_h" >&6; }
  18188. else
  18189. # Is the header compilable?
  18190. { $as_echo "$as_me:$LINENO: checking readline/history.h usability" >&5
  18191. $as_echo_n "checking readline/history.h usability... " >&6; }
  18192. cat >conftest.$ac_ext <<_ACEOF
  18193. /* confdefs.h. */
  18194. _ACEOF
  18195. cat confdefs.h >>conftest.$ac_ext
  18196. cat >>conftest.$ac_ext <<_ACEOF
  18197. /* end confdefs.h. */
  18198. $ac_includes_default
  18199. #include <readline/history.h>
  18200. _ACEOF
  18201. rm -f conftest.$ac_objext
  18202. if { (ac_try="$ac_compile"
  18203. case "(($ac_try" in
  18204. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18205. *) ac_try_echo=$ac_try;;
  18206. esac
  18207. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18208. $as_echo "$ac_try_echo") >&5
  18209. (eval "$ac_compile") 2>conftest.er1
  18210. ac_status=$?
  18211. grep -v '^ *+' conftest.er1 >conftest.err
  18212. rm -f conftest.er1
  18213. cat conftest.err >&5
  18214. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18215. (exit $ac_status); } && {
  18216. test -z "$ac_c_werror_flag" ||
  18217. test ! -s conftest.err
  18218. } && test -s conftest.$ac_objext; then
  18219. ac_header_compiler=yes
  18220. else
  18221. $as_echo "$as_me: failed program was:" >&5
  18222. sed 's/^/| /' conftest.$ac_ext >&5
  18223. ac_header_compiler=no
  18224. fi
  18225. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18226. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  18227. $as_echo "$ac_header_compiler" >&6; }
  18228. # Is the header present?
  18229. { $as_echo "$as_me:$LINENO: checking readline/history.h presence" >&5
  18230. $as_echo_n "checking readline/history.h presence... " >&6; }
  18231. cat >conftest.$ac_ext <<_ACEOF
  18232. /* confdefs.h. */
  18233. _ACEOF
  18234. cat confdefs.h >>conftest.$ac_ext
  18235. cat >>conftest.$ac_ext <<_ACEOF
  18236. /* end confdefs.h. */
  18237. #include <readline/history.h>
  18238. _ACEOF
  18239. if { (ac_try="$ac_cpp conftest.$ac_ext"
  18240. case "(($ac_try" in
  18241. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18242. *) ac_try_echo=$ac_try;;
  18243. esac
  18244. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18245. $as_echo "$ac_try_echo") >&5
  18246. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  18247. ac_status=$?
  18248. grep -v '^ *+' conftest.er1 >conftest.err
  18249. rm -f conftest.er1
  18250. cat conftest.err >&5
  18251. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18252. (exit $ac_status); } >/dev/null && {
  18253. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  18254. test ! -s conftest.err
  18255. }; then
  18256. ac_header_preproc=yes
  18257. else
  18258. $as_echo "$as_me: failed program was:" >&5
  18259. sed 's/^/| /' conftest.$ac_ext >&5
  18260. ac_header_preproc=no
  18261. fi
  18262. rm -f conftest.err conftest.$ac_ext
  18263. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  18264. $as_echo "$ac_header_preproc" >&6; }
  18265. # So? What about this header?
  18266. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  18267. yes:no: )
  18268. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&5
  18269. $as_echo "$as_me: WARNING: readline/history.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  18270. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the compiler's result" >&5
  18271. $as_echo "$as_me: WARNING: readline/history.h: proceeding with the compiler's result" >&2;}
  18272. ac_header_preproc=yes
  18273. ;;
  18274. no:yes:* )
  18275. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: present but cannot be compiled" >&5
  18276. $as_echo "$as_me: WARNING: readline/history.h: present but cannot be compiled" >&2;}
  18277. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: check for missing prerequisite headers?" >&5
  18278. $as_echo "$as_me: WARNING: readline/history.h: check for missing prerequisite headers?" >&2;}
  18279. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: see the Autoconf documentation" >&5
  18280. $as_echo "$as_me: WARNING: readline/history.h: see the Autoconf documentation" >&2;}
  18281. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: section \"Present But Cannot Be Compiled\"" >&5
  18282. $as_echo "$as_me: WARNING: readline/history.h: section \"Present But Cannot Be Compiled\"" >&2;}
  18283. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: proceeding with the preprocessor's result" >&5
  18284. $as_echo "$as_me: WARNING: readline/history.h: proceeding with the preprocessor's result" >&2;}
  18285. { $as_echo "$as_me:$LINENO: WARNING: readline/history.h: in the future, the compiler will take precedence" >&5
  18286. $as_echo "$as_me: WARNING: readline/history.h: in the future, the compiler will take precedence" >&2;}
  18287. ;;
  18288. esac
  18289. { $as_echo "$as_me:$LINENO: checking for readline/history.h" >&5
  18290. $as_echo_n "checking for readline/history.h... " >&6; }
  18291. if test "${ac_cv_header_readline_history_h+set}" = set; then
  18292. $as_echo_n "(cached) " >&6
  18293. else
  18294. ac_cv_header_readline_history_h=$ac_header_preproc
  18295. fi
  18296. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_history_h" >&5
  18297. $as_echo "$ac_cv_header_readline_history_h" >&6; }
  18298. fi
  18299. if test "x$ac_cv_header_readline_history_h" = x""yes; then
  18300. { $as_echo "$as_me:$LINENO: checking for append_history in -lhistory" >&5
  18301. $as_echo_n "checking for append_history in -lhistory... " >&6; }
  18302. if test "${ac_cv_lib_history_append_history+set}" = set; then
  18303. $as_echo_n "(cached) " >&6
  18304. else
  18305. ac_check_lib_save_LIBS=$LIBS
  18306. LIBS="-lhistory $LIBS"
  18307. cat >conftest.$ac_ext <<_ACEOF
  18308. /* confdefs.h. */
  18309. _ACEOF
  18310. cat confdefs.h >>conftest.$ac_ext
  18311. cat >>conftest.$ac_ext <<_ACEOF
  18312. /* end confdefs.h. */
  18313. /* Override any GCC internal prototype to avoid an error.
  18314. Use char because int might match the return type of a GCC
  18315. builtin and then its argument prototype would still apply. */
  18316. #ifdef __cplusplus
  18317. extern "C"
  18318. #endif
  18319. char append_history ();
  18320. int
  18321. main ()
  18322. {
  18323. return append_history ();
  18324. ;
  18325. return 0;
  18326. }
  18327. _ACEOF
  18328. rm -f conftest.$ac_objext conftest$ac_exeext
  18329. if { (ac_try="$ac_link"
  18330. case "(($ac_try" in
  18331. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18332. *) ac_try_echo=$ac_try;;
  18333. esac
  18334. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18335. $as_echo "$ac_try_echo") >&5
  18336. (eval "$ac_link") 2>conftest.er1
  18337. ac_status=$?
  18338. grep -v '^ *+' conftest.er1 >conftest.err
  18339. rm -f conftest.er1
  18340. cat conftest.err >&5
  18341. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18342. (exit $ac_status); } && {
  18343. test -z "$ac_c_werror_flag" ||
  18344. test ! -s conftest.err
  18345. } && test -s conftest$ac_exeext && {
  18346. test "$cross_compiling" = yes ||
  18347. $as_test_x conftest$ac_exeext
  18348. }; then
  18349. ac_cv_lib_history_append_history=yes
  18350. else
  18351. $as_echo "$as_me: failed program was:" >&5
  18352. sed 's/^/| /' conftest.$ac_ext >&5
  18353. ac_cv_lib_history_append_history=no
  18354. fi
  18355. rm -rf conftest.dSYM
  18356. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18357. conftest$ac_exeext conftest.$ac_ext
  18358. LIBS=$ac_check_lib_save_LIBS
  18359. fi
  18360. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_history_append_history" >&5
  18361. $as_echo "$ac_cv_lib_history_append_history" >&6; }
  18362. if test "x$ac_cv_lib_history_append_history" = x""yes; then
  18363. RDL_LIBS="-lhistory"
  18364. cat >>confdefs.h <<\_ACEOF
  18365. #define HAVE_LIBHISTORY /**/
  18366. _ACEOF
  18367. fi
  18368. fi
  18369. if test "${ac_cv_header_readline_readline_h+set}" = set; then
  18370. { $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
  18371. $as_echo_n "checking for readline/readline.h... " >&6; }
  18372. if test "${ac_cv_header_readline_readline_h+set}" = set; then
  18373. $as_echo_n "(cached) " >&6
  18374. fi
  18375. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
  18376. $as_echo "$ac_cv_header_readline_readline_h" >&6; }
  18377. else
  18378. # Is the header compilable?
  18379. { $as_echo "$as_me:$LINENO: checking readline/readline.h usability" >&5
  18380. $as_echo_n "checking readline/readline.h usability... " >&6; }
  18381. cat >conftest.$ac_ext <<_ACEOF
  18382. /* confdefs.h. */
  18383. _ACEOF
  18384. cat confdefs.h >>conftest.$ac_ext
  18385. cat >>conftest.$ac_ext <<_ACEOF
  18386. /* end confdefs.h. */
  18387. $ac_includes_default
  18388. #include <readline/readline.h>
  18389. _ACEOF
  18390. rm -f conftest.$ac_objext
  18391. if { (ac_try="$ac_compile"
  18392. case "(($ac_try" in
  18393. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18394. *) ac_try_echo=$ac_try;;
  18395. esac
  18396. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18397. $as_echo "$ac_try_echo") >&5
  18398. (eval "$ac_compile") 2>conftest.er1
  18399. ac_status=$?
  18400. grep -v '^ *+' conftest.er1 >conftest.err
  18401. rm -f conftest.er1
  18402. cat conftest.err >&5
  18403. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18404. (exit $ac_status); } && {
  18405. test -z "$ac_c_werror_flag" ||
  18406. test ! -s conftest.err
  18407. } && test -s conftest.$ac_objext; then
  18408. ac_header_compiler=yes
  18409. else
  18410. $as_echo "$as_me: failed program was:" >&5
  18411. sed 's/^/| /' conftest.$ac_ext >&5
  18412. ac_header_compiler=no
  18413. fi
  18414. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18415. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  18416. $as_echo "$ac_header_compiler" >&6; }
  18417. # Is the header present?
  18418. { $as_echo "$as_me:$LINENO: checking readline/readline.h presence" >&5
  18419. $as_echo_n "checking readline/readline.h presence... " >&6; }
  18420. cat >conftest.$ac_ext <<_ACEOF
  18421. /* confdefs.h. */
  18422. _ACEOF
  18423. cat confdefs.h >>conftest.$ac_ext
  18424. cat >>conftest.$ac_ext <<_ACEOF
  18425. /* end confdefs.h. */
  18426. #include <readline/readline.h>
  18427. _ACEOF
  18428. if { (ac_try="$ac_cpp conftest.$ac_ext"
  18429. case "(($ac_try" in
  18430. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18431. *) ac_try_echo=$ac_try;;
  18432. esac
  18433. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18434. $as_echo "$ac_try_echo") >&5
  18435. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  18436. ac_status=$?
  18437. grep -v '^ *+' conftest.er1 >conftest.err
  18438. rm -f conftest.er1
  18439. cat conftest.err >&5
  18440. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18441. (exit $ac_status); } >/dev/null && {
  18442. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  18443. test ! -s conftest.err
  18444. }; then
  18445. ac_header_preproc=yes
  18446. else
  18447. $as_echo "$as_me: failed program was:" >&5
  18448. sed 's/^/| /' conftest.$ac_ext >&5
  18449. ac_header_preproc=no
  18450. fi
  18451. rm -f conftest.err conftest.$ac_ext
  18452. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  18453. $as_echo "$ac_header_preproc" >&6; }
  18454. # So? What about this header?
  18455. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  18456. yes:no: )
  18457. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&5
  18458. $as_echo "$as_me: WARNING: readline/readline.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  18459. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the compiler's result" >&5
  18460. $as_echo "$as_me: WARNING: readline/readline.h: proceeding with the compiler's result" >&2;}
  18461. ac_header_preproc=yes
  18462. ;;
  18463. no:yes:* )
  18464. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: present but cannot be compiled" >&5
  18465. $as_echo "$as_me: WARNING: readline/readline.h: present but cannot be compiled" >&2;}
  18466. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: check for missing prerequisite headers?" >&5
  18467. $as_echo "$as_me: WARNING: readline/readline.h: check for missing prerequisite headers?" >&2;}
  18468. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: see the Autoconf documentation" >&5
  18469. $as_echo "$as_me: WARNING: readline/readline.h: see the Autoconf documentation" >&2;}
  18470. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&5
  18471. $as_echo "$as_me: WARNING: readline/readline.h: section \"Present But Cannot Be Compiled\"" >&2;}
  18472. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&5
  18473. $as_echo "$as_me: WARNING: readline/readline.h: proceeding with the preprocessor's result" >&2;}
  18474. { $as_echo "$as_me:$LINENO: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&5
  18475. $as_echo "$as_me: WARNING: readline/readline.h: in the future, the compiler will take precedence" >&2;}
  18476. ;;
  18477. esac
  18478. { $as_echo "$as_me:$LINENO: checking for readline/readline.h" >&5
  18479. $as_echo_n "checking for readline/readline.h... " >&6; }
  18480. if test "${ac_cv_header_readline_readline_h+set}" = set; then
  18481. $as_echo_n "(cached) " >&6
  18482. else
  18483. ac_cv_header_readline_readline_h=$ac_header_preproc
  18484. fi
  18485. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_readline_readline_h" >&5
  18486. $as_echo "$ac_cv_header_readline_readline_h" >&6; }
  18487. fi
  18488. if test "x$ac_cv_header_readline_readline_h" = x""yes; then
  18489. { $as_echo "$as_me:$LINENO: checking for readline in -lreadline" >&5
  18490. $as_echo_n "checking for readline in -lreadline... " >&6; }
  18491. if test "${ac_cv_lib_readline_readline+set}" = set; then
  18492. $as_echo_n "(cached) " >&6
  18493. else
  18494. ac_check_lib_save_LIBS=$LIBS
  18495. LIBS="-lreadline $tcap $LIBS"
  18496. cat >conftest.$ac_ext <<_ACEOF
  18497. /* confdefs.h. */
  18498. _ACEOF
  18499. cat confdefs.h >>conftest.$ac_ext
  18500. cat >>conftest.$ac_ext <<_ACEOF
  18501. /* end confdefs.h. */
  18502. /* Override any GCC internal prototype to avoid an error.
  18503. Use char because int might match the return type of a GCC
  18504. builtin and then its argument prototype would still apply. */
  18505. #ifdef __cplusplus
  18506. extern "C"
  18507. #endif
  18508. char readline ();
  18509. int
  18510. main ()
  18511. {
  18512. return readline ();
  18513. ;
  18514. return 0;
  18515. }
  18516. _ACEOF
  18517. rm -f conftest.$ac_objext conftest$ac_exeext
  18518. if { (ac_try="$ac_link"
  18519. case "(($ac_try" in
  18520. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18521. *) ac_try_echo=$ac_try;;
  18522. esac
  18523. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18524. $as_echo "$ac_try_echo") >&5
  18525. (eval "$ac_link") 2>conftest.er1
  18526. ac_status=$?
  18527. grep -v '^ *+' conftest.er1 >conftest.err
  18528. rm -f conftest.er1
  18529. cat conftest.err >&5
  18530. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18531. (exit $ac_status); } && {
  18532. test -z "$ac_c_werror_flag" ||
  18533. test ! -s conftest.err
  18534. } && test -s conftest$ac_exeext && {
  18535. test "$cross_compiling" = yes ||
  18536. $as_test_x conftest$ac_exeext
  18537. }; then
  18538. ac_cv_lib_readline_readline=yes
  18539. else
  18540. $as_echo "$as_me: failed program was:" >&5
  18541. sed 's/^/| /' conftest.$ac_ext >&5
  18542. ac_cv_lib_readline_readline=no
  18543. fi
  18544. rm -rf conftest.dSYM
  18545. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18546. conftest$ac_exeext conftest.$ac_ext
  18547. LIBS=$ac_check_lib_save_LIBS
  18548. fi
  18549. { $as_echo "$as_me:$LINENO: result: $ac_cv_lib_readline_readline" >&5
  18550. $as_echo "$ac_cv_lib_readline_readline" >&6; }
  18551. if test "x$ac_cv_lib_readline_readline" = x""yes; then
  18552. RDL_LIBS="-lreadline $RDL_LIBS $tcap"
  18553. cat >>confdefs.h <<\_ACEOF
  18554. #define HAVE_LIBREADLINE /**/
  18555. _ACEOF
  18556. fi
  18557. fi
  18558. if test -n "$RDL_DIR" -a -n "$RDL_LIBS"; then
  18559. CPPFLAGS="$CPPFLAGS -I${RDL_DIR}/include"
  18560. RDL_LIBS="-L${RDL_DIR}/lib $RDL_LIBS"
  18561. fi
  18562. fi
  18563. if test "$with_tree" = "no" ; then
  18564. echo Disabling DOM like tree manipulation APIs
  18565. WITH_TREE=0
  18566. else
  18567. WITH_TREE=1
  18568. fi
  18569. if test "$with_ftp" = "no" ; then
  18570. echo Disabling FTP support
  18571. WITH_FTP=0
  18572. FTP_OBJ=
  18573. else
  18574. WITH_FTP=1
  18575. FTP_OBJ=nanoftp.o
  18576. fi
  18577. if test "$with_http" = "no" ; then
  18578. echo Disabling HTTP support
  18579. WITH_HTTP=0
  18580. HTTP_OBJ=
  18581. else
  18582. WITH_HTTP=1
  18583. HTTP_OBJ=nanohttp.o
  18584. fi
  18585. if test "$with_legacy" = "no" ; then
  18586. echo Disabling deprecated APIs
  18587. WITH_LEGACY=0
  18588. else
  18589. WITH_LEGACY=1
  18590. fi
  18591. if test "$with_reader" = "no" ; then
  18592. echo Disabling the xmlReader parsing interface
  18593. WITH_READER=0
  18594. READER_TEST=
  18595. else
  18596. WITH_READER=1
  18597. READER_TEST=Readertests
  18598. if test "$with_push" = "no" ; then
  18599. echo xmlReader requires Push interface - enabling it
  18600. with_push=yes
  18601. fi
  18602. fi
  18603. if test "$with_writer" = "no" ; then
  18604. echo Disabling the xmlWriter saving interface
  18605. WITH_WRITER=0
  18606. # WRITER_TEST=
  18607. else
  18608. WITH_WRITER=1
  18609. # WRITER_TEST=Writertests
  18610. if test "$with_push" = "no" ; then
  18611. echo xmlWriter requires Push interface - enabling it
  18612. with_push=yes
  18613. fi
  18614. if test "$with_output" = "no" ; then
  18615. echo xmlWriter requires Output interface - enabling it
  18616. with_output=yes
  18617. fi
  18618. fi
  18619. #AC_SUBST(WRITER_TEST)
  18620. if test "$with_pattern" = "no" ; then
  18621. echo Disabling the xmlPattern parsing interface
  18622. WITH_PATTERN=0
  18623. TEST_PATTERN=
  18624. else
  18625. WITH_PATTERN=1
  18626. TEST_PATTERN=Patterntests
  18627. fi
  18628. if test "$with_sax1" = "no" ; then
  18629. echo Disabling the older SAX1 interface
  18630. WITH_SAX1=0
  18631. TEST_SAX=
  18632. else
  18633. WITH_SAX1=1
  18634. TEST_SAX=SAXtests
  18635. fi
  18636. if test "$with_push" = "no" ; then
  18637. echo Disabling the PUSH parser interfaces
  18638. WITH_PUSH=0
  18639. TEST_PUSH=
  18640. else
  18641. WITH_PUSH=1
  18642. TEST_PUSH="XMLPushtests"
  18643. fi
  18644. if test "$with_html" = "no" ; then
  18645. echo Disabling HTML support
  18646. WITH_HTML=0
  18647. HTML_OBJ=
  18648. TEST_HTML=
  18649. else
  18650. WITH_HTML=1
  18651. HTML_OBJ="HTMLparser.o HTMLtree.o"
  18652. TEST_HTML=HTMLtests
  18653. if test "$with_push" != "no" ; then
  18654. TEST_PHTML=HTMLPushtests
  18655. else
  18656. TEST_PHTML=
  18657. fi
  18658. fi
  18659. if test "$with_valid" = "no" ; then
  18660. echo Disabling DTD validation support
  18661. WITH_VALID=0
  18662. TEST_VALID=
  18663. TEST_VTIME=
  18664. else
  18665. WITH_VALID=1
  18666. TEST_VALID=Validtests
  18667. TEST_VTIME=VTimingtests
  18668. fi
  18669. if test "$with_catalog" = "no" ; then
  18670. echo Disabling Catalog support
  18671. WITH_CATALOG=0
  18672. CATALOG_OBJ=
  18673. TEST_CATALOG=
  18674. else
  18675. WITH_CATALOG=1
  18676. CATALOG_OBJ="catalog.o"
  18677. TEST_CATALOG=Catatests
  18678. fi
  18679. if test "$with_docbook" = "no" ; then
  18680. echo Disabling Docbook support
  18681. WITH_DOCB=0
  18682. DOCB_OBJ=
  18683. else
  18684. WITH_DOCB=1
  18685. DOCB_OBJ="DOCBparser.o"
  18686. fi
  18687. if test "$with_xptr" = "no" ; then
  18688. echo Disabling XPointer support
  18689. WITH_XPTR=0
  18690. XPTR_OBJ=
  18691. TEST_XPTR=
  18692. else
  18693. WITH_XPTR=1
  18694. XPTR_OBJ=xpointer.o
  18695. TEST_XPTR=XPtrtests
  18696. if test "$with_xpath" = "no" ; then
  18697. echo XPointer requires XPath support - enabling it
  18698. with_xpath=yes
  18699. fi
  18700. fi
  18701. if test "$with_c14n" = "no" ; then
  18702. echo Disabling C14N support
  18703. WITH_C14N=0
  18704. C14N_OBJ=
  18705. TEST_C14N=
  18706. else
  18707. WITH_C14N=1
  18708. C14N_OBJ="c14n.c"
  18709. TEST_C14N=C14Ntests
  18710. if test "$with_xpath" = "no" ; then
  18711. echo C14N requires XPath support - enabling it
  18712. with_xpath=yes
  18713. fi
  18714. fi
  18715. if test "$with_xinclude" = "no" ; then
  18716. echo Disabling XInclude support
  18717. WITH_XINCLUDE=0
  18718. XINCLUDE_OBJ=
  18719. with_xinclude="no"
  18720. TEST_XINCLUDE=
  18721. else
  18722. WITH_XINCLUDE=1
  18723. XINCLUDE_OBJ=xinclude.o
  18724. TEST_XINCLUDE=XIncludetests
  18725. if test "$with_xpath" = "no" ; then
  18726. echo XInclude requires XPath support - enabling it
  18727. with_xpath=yes
  18728. fi
  18729. fi
  18730. if test "$with_xpath" = "no" ; then
  18731. echo Disabling XPATH support
  18732. WITH_XPATH=0
  18733. XPATH_OBJ=
  18734. TEST_XPATH=
  18735. else
  18736. WITH_XPATH=1
  18737. XPATH_OBJ=xpath.o
  18738. TEST_XPATH=XPathtests
  18739. fi
  18740. if test "$with_output" = "no" ; then
  18741. echo Disabling serialization/saving support
  18742. WITH_OUTPUT=0
  18743. else
  18744. WITH_OUTPUT=1
  18745. fi
  18746. WITH_ICONV=0
  18747. if test "$with_iconv" = "no" ; then
  18748. echo Disabling ICONV support
  18749. else
  18750. if test "$with_iconv" != "yes" -a "$with_iconv" != "" ; then
  18751. CPPFLAGS="${CPPFLAGS} -I$with_iconv/include"
  18752. # Export this since our headers include iconv.h
  18753. XML_INCLUDEDIR="${XML_INCLUDEDIR} -I$with_iconv/include"
  18754. ICONV_LIBS="-L$with_iconv/lib"
  18755. fi
  18756. if test "${ac_cv_header_iconv_h+set}" = set; then
  18757. { $as_echo "$as_me:$LINENO: checking for iconv.h" >&5
  18758. $as_echo_n "checking for iconv.h... " >&6; }
  18759. if test "${ac_cv_header_iconv_h+set}" = set; then
  18760. $as_echo_n "(cached) " >&6
  18761. fi
  18762. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
  18763. $as_echo "$ac_cv_header_iconv_h" >&6; }
  18764. else
  18765. # Is the header compilable?
  18766. { $as_echo "$as_me:$LINENO: checking iconv.h usability" >&5
  18767. $as_echo_n "checking iconv.h usability... " >&6; }
  18768. cat >conftest.$ac_ext <<_ACEOF
  18769. /* confdefs.h. */
  18770. _ACEOF
  18771. cat confdefs.h >>conftest.$ac_ext
  18772. cat >>conftest.$ac_ext <<_ACEOF
  18773. /* end confdefs.h. */
  18774. $ac_includes_default
  18775. #include <iconv.h>
  18776. _ACEOF
  18777. rm -f conftest.$ac_objext
  18778. if { (ac_try="$ac_compile"
  18779. case "(($ac_try" in
  18780. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18781. *) ac_try_echo=$ac_try;;
  18782. esac
  18783. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18784. $as_echo "$ac_try_echo") >&5
  18785. (eval "$ac_compile") 2>conftest.er1
  18786. ac_status=$?
  18787. grep -v '^ *+' conftest.er1 >conftest.err
  18788. rm -f conftest.er1
  18789. cat conftest.err >&5
  18790. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18791. (exit $ac_status); } && {
  18792. test -z "$ac_c_werror_flag" ||
  18793. test ! -s conftest.err
  18794. } && test -s conftest.$ac_objext; then
  18795. ac_header_compiler=yes
  18796. else
  18797. $as_echo "$as_me: failed program was:" >&5
  18798. sed 's/^/| /' conftest.$ac_ext >&5
  18799. ac_header_compiler=no
  18800. fi
  18801. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18802. { $as_echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
  18803. $as_echo "$ac_header_compiler" >&6; }
  18804. # Is the header present?
  18805. { $as_echo "$as_me:$LINENO: checking iconv.h presence" >&5
  18806. $as_echo_n "checking iconv.h presence... " >&6; }
  18807. cat >conftest.$ac_ext <<_ACEOF
  18808. /* confdefs.h. */
  18809. _ACEOF
  18810. cat confdefs.h >>conftest.$ac_ext
  18811. cat >>conftest.$ac_ext <<_ACEOF
  18812. /* end confdefs.h. */
  18813. #include <iconv.h>
  18814. _ACEOF
  18815. if { (ac_try="$ac_cpp conftest.$ac_ext"
  18816. case "(($ac_try" in
  18817. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18818. *) ac_try_echo=$ac_try;;
  18819. esac
  18820. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18821. $as_echo "$ac_try_echo") >&5
  18822. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
  18823. ac_status=$?
  18824. grep -v '^ *+' conftest.er1 >conftest.err
  18825. rm -f conftest.er1
  18826. cat conftest.err >&5
  18827. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18828. (exit $ac_status); } >/dev/null && {
  18829. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  18830. test ! -s conftest.err
  18831. }; then
  18832. ac_header_preproc=yes
  18833. else
  18834. $as_echo "$as_me: failed program was:" >&5
  18835. sed 's/^/| /' conftest.$ac_ext >&5
  18836. ac_header_preproc=no
  18837. fi
  18838. rm -f conftest.err conftest.$ac_ext
  18839. { $as_echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
  18840. $as_echo "$ac_header_preproc" >&6; }
  18841. # So? What about this header?
  18842. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
  18843. yes:no: )
  18844. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&5
  18845. $as_echo "$as_me: WARNING: iconv.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
  18846. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the compiler's result" >&5
  18847. $as_echo "$as_me: WARNING: iconv.h: proceeding with the compiler's result" >&2;}
  18848. ac_header_preproc=yes
  18849. ;;
  18850. no:yes:* )
  18851. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: present but cannot be compiled" >&5
  18852. $as_echo "$as_me: WARNING: iconv.h: present but cannot be compiled" >&2;}
  18853. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: check for missing prerequisite headers?" >&5
  18854. $as_echo "$as_me: WARNING: iconv.h: check for missing prerequisite headers?" >&2;}
  18855. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: see the Autoconf documentation" >&5
  18856. $as_echo "$as_me: WARNING: iconv.h: see the Autoconf documentation" >&2;}
  18857. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&5
  18858. $as_echo "$as_me: WARNING: iconv.h: section \"Present But Cannot Be Compiled\"" >&2;}
  18859. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: proceeding with the preprocessor's result" >&5
  18860. $as_echo "$as_me: WARNING: iconv.h: proceeding with the preprocessor's result" >&2;}
  18861. { $as_echo "$as_me:$LINENO: WARNING: iconv.h: in the future, the compiler will take precedence" >&5
  18862. $as_echo "$as_me: WARNING: iconv.h: in the future, the compiler will take precedence" >&2;}
  18863. ;;
  18864. esac
  18865. { $as_echo "$as_me:$LINENO: checking for iconv.h" >&5
  18866. $as_echo_n "checking for iconv.h... " >&6; }
  18867. if test "${ac_cv_header_iconv_h+set}" = set; then
  18868. $as_echo_n "(cached) " >&6
  18869. else
  18870. ac_cv_header_iconv_h=$ac_header_preproc
  18871. fi
  18872. { $as_echo "$as_me:$LINENO: result: $ac_cv_header_iconv_h" >&5
  18873. $as_echo "$ac_cv_header_iconv_h" >&6; }
  18874. fi
  18875. if test "x$ac_cv_header_iconv_h" = x""yes; then
  18876. { $as_echo "$as_me:$LINENO: checking for iconv" >&5
  18877. $as_echo_n "checking for iconv... " >&6; }
  18878. cat >conftest.$ac_ext <<_ACEOF
  18879. /* confdefs.h. */
  18880. _ACEOF
  18881. cat confdefs.h >>conftest.$ac_ext
  18882. cat >>conftest.$ac_ext <<_ACEOF
  18883. /* end confdefs.h. */
  18884. #include <stdlib.h>
  18885. #include <iconv.h>
  18886. int
  18887. main ()
  18888. {
  18889. iconv_t cd = iconv_open ("","");
  18890. iconv (cd, NULL, NULL, NULL, NULL);
  18891. ;
  18892. return 0;
  18893. }
  18894. _ACEOF
  18895. rm -f conftest.$ac_objext conftest$ac_exeext
  18896. if { (ac_try="$ac_link"
  18897. case "(($ac_try" in
  18898. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18899. *) ac_try_echo=$ac_try;;
  18900. esac
  18901. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18902. $as_echo "$ac_try_echo") >&5
  18903. (eval "$ac_link") 2>conftest.er1
  18904. ac_status=$?
  18905. grep -v '^ *+' conftest.er1 >conftest.err
  18906. rm -f conftest.er1
  18907. cat conftest.err >&5
  18908. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18909. (exit $ac_status); } && {
  18910. test -z "$ac_c_werror_flag" ||
  18911. test ! -s conftest.err
  18912. } && test -s conftest$ac_exeext && {
  18913. test "$cross_compiling" = yes ||
  18914. $as_test_x conftest$ac_exeext
  18915. }; then
  18916. { $as_echo "$as_me:$LINENO: result: yes" >&5
  18917. $as_echo "yes" >&6; }
  18918. WITH_ICONV=1
  18919. else
  18920. $as_echo "$as_me: failed program was:" >&5
  18921. sed 's/^/| /' conftest.$ac_ext >&5
  18922. { $as_echo "$as_me:$LINENO: result: no" >&5
  18923. $as_echo "no" >&6; }
  18924. { $as_echo "$as_me:$LINENO: checking for iconv in -liconv" >&5
  18925. $as_echo_n "checking for iconv in -liconv... " >&6; }
  18926. _ldflags="${LDFLAGS}"
  18927. _libs="${LIBS}"
  18928. LDFLAGS="${LDFLAGS} ${ICONV_LIBS}"
  18929. LIBS="${LIBS} -liconv"
  18930. cat >conftest.$ac_ext <<_ACEOF
  18931. /* confdefs.h. */
  18932. _ACEOF
  18933. cat confdefs.h >>conftest.$ac_ext
  18934. cat >>conftest.$ac_ext <<_ACEOF
  18935. /* end confdefs.h. */
  18936. #include <stdlib.h>
  18937. #include <iconv.h>
  18938. int
  18939. main ()
  18940. {
  18941. iconv_t cd = iconv_open ("","");
  18942. iconv (cd, NULL, NULL, NULL, NULL);
  18943. ;
  18944. return 0;
  18945. }
  18946. _ACEOF
  18947. rm -f conftest.$ac_objext conftest$ac_exeext
  18948. if { (ac_try="$ac_link"
  18949. case "(($ac_try" in
  18950. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  18951. *) ac_try_echo=$ac_try;;
  18952. esac
  18953. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  18954. $as_echo "$ac_try_echo") >&5
  18955. (eval "$ac_link") 2>conftest.er1
  18956. ac_status=$?
  18957. grep -v '^ *+' conftest.er1 >conftest.err
  18958. rm -f conftest.er1
  18959. cat conftest.err >&5
  18960. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  18961. (exit $ac_status); } && {
  18962. test -z "$ac_c_werror_flag" ||
  18963. test ! -s conftest.err
  18964. } && test -s conftest$ac_exeext && {
  18965. test "$cross_compiling" = yes ||
  18966. $as_test_x conftest$ac_exeext
  18967. }; then
  18968. { $as_echo "$as_me:$LINENO: result: yes" >&5
  18969. $as_echo "yes" >&6; }
  18970. WITH_ICONV=1
  18971. ICONV_LIBS="${ICONV_LIBS} -liconv"
  18972. LIBS="${_libs}"
  18973. LDFLAGS="${_ldflags}"
  18974. else
  18975. $as_echo "$as_me: failed program was:" >&5
  18976. sed 's/^/| /' conftest.$ac_ext >&5
  18977. { $as_echo "$as_me:$LINENO: result: no" >&5
  18978. $as_echo "no" >&6; }
  18979. LIBS="${_libs}"
  18980. LDFLAGS="${_ldflags}"
  18981. fi
  18982. rm -rf conftest.dSYM
  18983. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18984. conftest$ac_exeext conftest.$ac_ext
  18985. fi
  18986. rm -rf conftest.dSYM
  18987. rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
  18988. conftest$ac_exeext conftest.$ac_ext
  18989. fi
  18990. if test "$WITH_ICONV" = "1" ; then
  18991. { $as_echo "$as_me:$LINENO: checking for iconv declaration" >&5
  18992. $as_echo_n "checking for iconv declaration... " >&6; }
  18993. if test "${xml_cv_iconv_arg2+set}" = set; then
  18994. $as_echo_n "(cached) " >&6
  18995. else
  18996. cat >conftest.$ac_ext <<_ACEOF
  18997. /* confdefs.h. */
  18998. _ACEOF
  18999. cat confdefs.h >>conftest.$ac_ext
  19000. cat >>conftest.$ac_ext <<_ACEOF
  19001. /* end confdefs.h. */
  19002. #include <stdlib.h>
  19003. #include <iconv.h>
  19004. extern
  19005. #ifdef __cplusplus
  19006. "C"
  19007. #endif
  19008. #if defined(__STDC__) || defined(__cplusplus)
  19009. size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  19010. #else
  19011. size_t iconv();
  19012. #endif
  19013. int
  19014. main ()
  19015. {
  19016. ;
  19017. return 0;
  19018. }
  19019. _ACEOF
  19020. rm -f conftest.$ac_objext
  19021. if { (ac_try="$ac_compile"
  19022. case "(($ac_try" in
  19023. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  19024. *) ac_try_echo=$ac_try;;
  19025. esac
  19026. eval ac_try_echo="\"\$as_me:$LINENO: $ac_try_echo\""
  19027. $as_echo "$ac_try_echo") >&5
  19028. (eval "$ac_compile") 2>conftest.er1
  19029. ac_status=$?
  19030. grep -v '^ *+' conftest.er1 >conftest.err
  19031. rm -f conftest.er1
  19032. cat conftest.err >&5
  19033. $as_echo "$as_me:$LINENO: \$? = $ac_status" >&5
  19034. (exit $ac_status); } && {
  19035. test -z "$ac_c_werror_flag" ||
  19036. test ! -s conftest.err
  19037. } && test -s conftest.$ac_objext; then
  19038. xml_cv_iconv_arg2=""
  19039. else
  19040. $as_echo "$as_me: failed program was:" >&5
  19041. sed 's/^/| /' conftest.$ac_ext >&5
  19042. xml_cv_iconv_arg2="const"
  19043. fi
  19044. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  19045. fi
  19046. 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);"
  19047. { $as_echo "$as_me:$LINENO: result: ${xml_xxx:-
  19048. }$xml_cv_iconv_decl" >&5
  19049. $as_echo "${xml_xxx:-
  19050. }$xml_cv_iconv_decl" >&6; }
  19051. cat >>confdefs.h <<_ACEOF
  19052. #define ICONV_CONST $xml_cv_iconv_arg2
  19053. _ACEOF
  19054. fi
  19055. fi
  19056. case "$host" in
  19057. *mingw*) M_LIBS=""
  19058. ;;
  19059. *beos*) M_LIBS=""
  19060. ;;
  19061. *haiku*) M_LIBS=""
  19062. ;;
  19063. *) M_LIBS="-lm"
  19064. ;;
  19065. esac
  19066. XML_LIBS="-lxml2 $Z_LIBS $THREAD_LIBS $ICONV_LIBS $M_LIBS $LIBS"
  19067. XML_LIBTOOLLIBS="libxml2.la"
  19068. WITH_ISO8859X=1
  19069. if test "$WITH_ICONV" != "1" ; then
  19070. if test "$with_iso8859x" = "no" ; then
  19071. echo Disabling ISO8859X support
  19072. WITH_ISO8859X=0
  19073. fi
  19074. fi
  19075. if test "$with_schematron" = "no" ; then
  19076. echo "Disabling Schematron support"
  19077. WITH_SCHEMATRON=0
  19078. TEST_SCHEMATRON=
  19079. else
  19080. echo "Enabled Schematron support"
  19081. WITH_SCHEMATRON=1
  19082. TEST_SCHEMATRON="Schematrontests"
  19083. with_xpath=yes
  19084. with_pattern=yes
  19085. fi
  19086. if test "$with_schemas" = "no" ; then
  19087. echo "Disabling Schemas/Relax-NG support"
  19088. WITH_SCHEMAS=0
  19089. TEST_SCHEMAS=
  19090. else
  19091. echo "Enabled Schemas/Relax-NG support"
  19092. WITH_SCHEMAS=1
  19093. TEST_SCHEMAS="Schemastests Relaxtests"
  19094. if test "$PYTHON_INCLUDES" != "" ; then
  19095. PYTHON_TESTS="$PYTHON_TESTS RelaxNGPythonTests SchemasPythonTests"
  19096. fi
  19097. with_regexps=yes
  19098. fi
  19099. if test "$with_regexps" = "no" ; then
  19100. echo Disabling Regexps support
  19101. WITH_REGEXPS=0
  19102. TEST_REGEXPS=
  19103. else
  19104. WITH_REGEXPS=1
  19105. TEST_REGEXPS="Regexptests Automatatests"
  19106. fi
  19107. if test "$with_debug" = "no" ; then
  19108. echo Disabling DEBUG support
  19109. WITH_DEBUG=0
  19110. DEBUG_OBJ=
  19111. TEST_DEBUG=
  19112. else
  19113. WITH_DEBUG=1
  19114. DEBUG_OBJ=debugXML.o
  19115. TEST_DEBUG=Scripttests
  19116. fi
  19117. if test "$with_mem_debug" = "yes" ; then
  19118. if test "$with_thread_alloc" = "yes" ; then
  19119. echo Disabling memory debug - cannot use mem-debug with thread-alloc!
  19120. WITH_MEM_DEBUG=0
  19121. else
  19122. echo Enabling memory debug support
  19123. WITH_MEM_DEBUG=1
  19124. fi
  19125. else
  19126. WITH_MEM_DEBUG=0
  19127. fi
  19128. if test "$with_run_debug" = "yes" ; then
  19129. echo Enabling runtime debug support
  19130. WITH_RUN_DEBUG=1
  19131. else
  19132. WITH_RUN_DEBUG=0
  19133. fi
  19134. WIN32_EXTRA_LIBADD=
  19135. WIN32_EXTRA_LDFLAGS=
  19136. CYGWIN_EXTRA_LDFLAGS=
  19137. CYGWIN_EXTRA_PYTHON_LIBADD=
  19138. case "$host" in
  19139. *-*-mingw*)
  19140. CPPFLAGS="$CPPFLAGS -DWIN32"
  19141. WIN32_EXTRA_LIBADD="-lws2_32"
  19142. WIN32_EXTRA_LDFLAGS="-no-undefined"
  19143. cat >>confdefs.h <<\_ACEOF
  19144. #define _WINSOCKAPI_ 1
  19145. _ACEOF
  19146. cat >>confdefs.h <<\_ACEOF
  19147. #define snprintf _snprintf
  19148. _ACEOF
  19149. cat >>confdefs.h <<\_ACEOF
  19150. #define vsnprintf _vsnprintf
  19151. _ACEOF
  19152. ;;
  19153. *-*-cygwin*)
  19154. CYGWIN_EXTRA_LDFLAGS="-no-undefined"
  19155. if test "${PYTHON}" != ""
  19156. then
  19157. CYGWIN_EXTRA_PYTHON_LIBADD="-L/usr/lib/python${PYTHON_VERSION}/config -lpython${PYTHON_VERSION}"
  19158. fi
  19159. ;;
  19160. esac
  19161. if test "$with_coverage" = "yes" -a "${GCC}" = "yes"
  19162. then
  19163. echo Enabling code coverage for GCC
  19164. CFLAGS="$CFLAGS -fprofile-arcs -ftest-coverage"
  19165. LDFLAGS="$LDFLAGS -fprofile-arcs -ftest-coverage"
  19166. else
  19167. echo Disabling code coverage for GCC
  19168. fi
  19169. RELDATE=`date +'%a %b %e %Y'`
  19170. rm -f COPYING.LIB COPYING
  19171. ln -s Copyright COPYING
  19172. # keep on one line for cygwin c.f. #130896
  19173. 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"
  19174. cat >confcache <<\_ACEOF
  19175. # This file is a shell script that caches the results of configure
  19176. # tests run on this system so they can be shared between configure
  19177. # scripts and configure runs, see configure's option --config-cache.
  19178. # It is not useful on other systems. If it contains results you don't
  19179. # want to keep, you may remove or edit it.
  19180. #
  19181. # config.status only pays attention to the cache file if you give it
  19182. # the --recheck option to rerun configure.
  19183. #
  19184. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  19185. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  19186. # following values.
  19187. _ACEOF
  19188. # The following way of writing the cache mishandles newlines in values,
  19189. # but we know of no workaround that is simple, portable, and efficient.
  19190. # So, we kill variables containing newlines.
  19191. # Ultrix sh set writes to stderr and can't be redirected directly,
  19192. # and sets the high bit in the cache file unless we assign to the vars.
  19193. (
  19194. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  19195. eval ac_val=\$$ac_var
  19196. case $ac_val in #(
  19197. *${as_nl}*)
  19198. case $ac_var in #(
  19199. *_cv_*) { $as_echo "$as_me:$LINENO: WARNING: cache variable $ac_var contains a newline" >&5
  19200. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  19201. esac
  19202. case $ac_var in #(
  19203. _ | IFS | as_nl) ;; #(
  19204. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  19205. *) $as_unset $ac_var ;;
  19206. esac ;;
  19207. esac
  19208. done
  19209. (set) 2>&1 |
  19210. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  19211. *${as_nl}ac_space=\ *)
  19212. # `set' does not quote correctly, so add quotes (double-quote
  19213. # substitution turns \\\\ into \\, and sed turns \\ into \).
  19214. sed -n \
  19215. "s/'/'\\\\''/g;
  19216. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  19217. ;; #(
  19218. *)
  19219. # `set' quotes correctly as required by POSIX, so do not add quotes.
  19220. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  19221. ;;
  19222. esac |
  19223. sort
  19224. ) |
  19225. sed '
  19226. /^ac_cv_env_/b end
  19227. t clear
  19228. :clear
  19229. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  19230. t end
  19231. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  19232. :end' >>confcache
  19233. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  19234. if test -w "$cache_file"; then
  19235. test "x$cache_file" != "x/dev/null" &&
  19236. { $as_echo "$as_me:$LINENO: updating cache $cache_file" >&5
  19237. $as_echo "$as_me: updating cache $cache_file" >&6;}
  19238. cat confcache >$cache_file
  19239. else
  19240. { $as_echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
  19241. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  19242. fi
  19243. fi
  19244. rm -f confcache
  19245. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  19246. # Let make expand exec_prefix.
  19247. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  19248. DEFS=-DHAVE_CONFIG_H
  19249. ac_libobjs=
  19250. ac_ltlibobjs=
  19251. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  19252. # 1. Remove the extension, and $U if already installed.
  19253. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  19254. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  19255. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  19256. # will be set to the directory where LIBOBJS objects are built.
  19257. ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  19258. ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
  19259. done
  19260. LIBOBJS=$ac_libobjs
  19261. LTLIBOBJS=$ac_ltlibobjs
  19262. if test -n "$EXEEXT"; then
  19263. am__EXEEXT_TRUE=
  19264. am__EXEEXT_FALSE='#'
  19265. else
  19266. am__EXEEXT_TRUE='#'
  19267. am__EXEEXT_FALSE=
  19268. fi
  19269. if test -z "${AMDEP_TRUE}" && test -z "${AMDEP_FALSE}"; then
  19270. { { $as_echo "$as_me:$LINENO: error: conditional \"AMDEP\" was never defined.
  19271. Usually this means the macro was only invoked conditionally." >&5
  19272. $as_echo "$as_me: error: conditional \"AMDEP\" was never defined.
  19273. Usually this means the macro was only invoked conditionally." >&2;}
  19274. { (exit 1); exit 1; }; }
  19275. fi
  19276. if test -z "${am__fastdepCC_TRUE}" && test -z "${am__fastdepCC_FALSE}"; then
  19277. { { $as_echo "$as_me:$LINENO: error: conditional \"am__fastdepCC\" was never defined.
  19278. Usually this means the macro was only invoked conditionally." >&5
  19279. $as_echo "$as_me: error: conditional \"am__fastdepCC\" was never defined.
  19280. Usually this means the macro was only invoked conditionally." >&2;}
  19281. { (exit 1); exit 1; }; }
  19282. fi
  19283. if test -z "${USE_VERSION_SCRIPT_TRUE}" && test -z "${USE_VERSION_SCRIPT_FALSE}"; then
  19284. { { $as_echo "$as_me:$LINENO: error: conditional \"USE_VERSION_SCRIPT\" was never defined.
  19285. Usually this means the macro was only invoked conditionally." >&5
  19286. $as_echo "$as_me: error: conditional \"USE_VERSION_SCRIPT\" was never defined.
  19287. Usually this means the macro was only invoked conditionally." >&2;}
  19288. { (exit 1); exit 1; }; }
  19289. fi
  19290. if test -z "${REBUILD_DOCS_TRUE}" && test -z "${REBUILD_DOCS_FALSE}"; then
  19291. { { $as_echo "$as_me:$LINENO: error: conditional \"REBUILD_DOCS\" was never defined.
  19292. Usually this means the macro was only invoked conditionally." >&5
  19293. $as_echo "$as_me: error: conditional \"REBUILD_DOCS\" was never defined.
  19294. Usually this means the macro was only invoked conditionally." >&2;}
  19295. { (exit 1); exit 1; }; }
  19296. fi
  19297. if test -z "${WITH_PYTHON_TRUE}" && test -z "${WITH_PYTHON_FALSE}"; then
  19298. { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_PYTHON\" was never defined.
  19299. Usually this means the macro was only invoked conditionally." >&5
  19300. $as_echo "$as_me: error: conditional \"WITH_PYTHON\" was never defined.
  19301. Usually this means the macro was only invoked conditionally." >&2;}
  19302. { (exit 1); exit 1; }; }
  19303. fi
  19304. if test -z "${WITH_TRIO_SOURCES_TRUE}" && test -z "${WITH_TRIO_SOURCES_FALSE}"; then
  19305. { { $as_echo "$as_me:$LINENO: error: conditional \"WITH_TRIO_SOURCES\" was never defined.
  19306. Usually this means the macro was only invoked conditionally." >&5
  19307. $as_echo "$as_me: error: conditional \"WITH_TRIO_SOURCES\" was never defined.
  19308. Usually this means the macro was only invoked conditionally." >&2;}
  19309. { (exit 1); exit 1; }; }
  19310. fi
  19311. : ${CONFIG_STATUS=./config.status}
  19312. ac_write_fail=0
  19313. ac_clean_files_save=$ac_clean_files
  19314. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  19315. { $as_echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
  19316. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  19317. cat >$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19318. #! $SHELL
  19319. # Generated by $as_me.
  19320. # Run this file to recreate the current configuration.
  19321. # Compiler output produced by configure, useful for debugging
  19322. # configure, is in config.log if it exists.
  19323. debug=false
  19324. ac_cs_recheck=false
  19325. ac_cs_silent=false
  19326. SHELL=\${CONFIG_SHELL-$SHELL}
  19327. _ACEOF
  19328. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19329. ## --------------------- ##
  19330. ## M4sh Initialization. ##
  19331. ## --------------------- ##
  19332. # Be more Bourne compatible
  19333. DUALCASE=1; export DUALCASE # for MKS sh
  19334. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
  19335. emulate sh
  19336. NULLCMD=:
  19337. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  19338. # is contrary to our usage. Disable this feature.
  19339. alias -g '${1+"$@"}'='"$@"'
  19340. setopt NO_GLOB_SUBST
  19341. else
  19342. case `(set -o) 2>/dev/null` in
  19343. *posix*) set -o posix ;;
  19344. esac
  19345. fi
  19346. # PATH needs CR
  19347. # Avoid depending upon Character Ranges.
  19348. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  19349. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  19350. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  19351. as_cr_digits='0123456789'
  19352. as_cr_alnum=$as_cr_Letters$as_cr_digits
  19353. as_nl='
  19354. '
  19355. export as_nl
  19356. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  19357. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  19358. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  19359. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  19360. if (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  19361. as_echo='printf %s\n'
  19362. as_echo_n='printf %s'
  19363. else
  19364. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  19365. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  19366. as_echo_n='/usr/ucb/echo -n'
  19367. else
  19368. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  19369. as_echo_n_body='eval
  19370. arg=$1;
  19371. case $arg in
  19372. *"$as_nl"*)
  19373. expr "X$arg" : "X\\(.*\\)$as_nl";
  19374. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  19375. esac;
  19376. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  19377. '
  19378. export as_echo_n_body
  19379. as_echo_n='sh -c $as_echo_n_body as_echo'
  19380. fi
  19381. export as_echo_body
  19382. as_echo='sh -c $as_echo_body as_echo'
  19383. fi
  19384. # The user is always right.
  19385. if test "${PATH_SEPARATOR+set}" != set; then
  19386. PATH_SEPARATOR=:
  19387. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  19388. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  19389. PATH_SEPARATOR=';'
  19390. }
  19391. fi
  19392. # Support unset when possible.
  19393. if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
  19394. as_unset=unset
  19395. else
  19396. as_unset=false
  19397. fi
  19398. # IFS
  19399. # We need space, tab and new line, in precisely that order. Quoting is
  19400. # there to prevent editors from complaining about space-tab.
  19401. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  19402. # splitting by setting IFS to empty value.)
  19403. IFS=" "" $as_nl"
  19404. # Find who we are. Look in the path if we contain no directory separator.
  19405. case $0 in
  19406. *[\\/]* ) as_myself=$0 ;;
  19407. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19408. for as_dir in $PATH
  19409. do
  19410. IFS=$as_save_IFS
  19411. test -z "$as_dir" && as_dir=.
  19412. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  19413. done
  19414. IFS=$as_save_IFS
  19415. ;;
  19416. esac
  19417. # We did not find ourselves, most probably we were run as `sh COMMAND'
  19418. # in which case we are not to be found in the path.
  19419. if test "x$as_myself" = x; then
  19420. as_myself=$0
  19421. fi
  19422. if test ! -f "$as_myself"; then
  19423. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  19424. { (exit 1); exit 1; }
  19425. fi
  19426. # Work around bugs in pre-3.0 UWIN ksh.
  19427. for as_var in ENV MAIL MAILPATH
  19428. do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
  19429. done
  19430. PS1='$ '
  19431. PS2='> '
  19432. PS4='+ '
  19433. # NLS nuisances.
  19434. LC_ALL=C
  19435. export LC_ALL
  19436. LANGUAGE=C
  19437. export LANGUAGE
  19438. # Required to use basename.
  19439. if expr a : '\(a\)' >/dev/null 2>&1 &&
  19440. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  19441. as_expr=expr
  19442. else
  19443. as_expr=false
  19444. fi
  19445. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  19446. as_basename=basename
  19447. else
  19448. as_basename=false
  19449. fi
  19450. # Name of the executable.
  19451. as_me=`$as_basename -- "$0" ||
  19452. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  19453. X"$0" : 'X\(//\)$' \| \
  19454. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  19455. $as_echo X/"$0" |
  19456. sed '/^.*\/\([^/][^/]*\)\/*$/{
  19457. s//\1/
  19458. q
  19459. }
  19460. /^X\/\(\/\/\)$/{
  19461. s//\1/
  19462. q
  19463. }
  19464. /^X\/\(\/\).*/{
  19465. s//\1/
  19466. q
  19467. }
  19468. s/.*/./; q'`
  19469. # CDPATH.
  19470. $as_unset CDPATH
  19471. as_lineno_1=$LINENO
  19472. as_lineno_2=$LINENO
  19473. test "x$as_lineno_1" != "x$as_lineno_2" &&
  19474. test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
  19475. # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
  19476. # uniformly replaced by the line number. The first 'sed' inserts a
  19477. # line-number line after each line using $LINENO; the second 'sed'
  19478. # does the real work. The second script uses 'N' to pair each
  19479. # line-number line with the line containing $LINENO, and appends
  19480. # trailing '-' during substitution so that $LINENO is not a special
  19481. # case at line end.
  19482. # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
  19483. # scripts with optimization help from Paolo Bonzini. Blame Lee
  19484. # E. McMahon (1931-1989) for sed's syntax. :-)
  19485. sed -n '
  19486. p
  19487. /[$]LINENO/=
  19488. ' <$as_myself |
  19489. sed '
  19490. s/[$]LINENO.*/&-/
  19491. t lineno
  19492. b
  19493. :lineno
  19494. N
  19495. :loop
  19496. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  19497. t loop
  19498. s/-\n.*//
  19499. ' >$as_me.lineno &&
  19500. chmod +x "$as_me.lineno" ||
  19501. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
  19502. { (exit 1); exit 1; }; }
  19503. # Don't try to exec as it changes $[0], causing all sort of problems
  19504. # (the dirname of $[0] is not the place where we might find the
  19505. # original and so on. Autoconf is especially sensitive to this).
  19506. . "./$as_me.lineno"
  19507. # Exit status is that of the last command.
  19508. exit
  19509. }
  19510. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  19511. as_dirname=dirname
  19512. else
  19513. as_dirname=false
  19514. fi
  19515. ECHO_C= ECHO_N= ECHO_T=
  19516. case `echo -n x` in
  19517. -n*)
  19518. case `echo 'x\c'` in
  19519. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  19520. *) ECHO_C='\c';;
  19521. esac;;
  19522. *)
  19523. ECHO_N='-n';;
  19524. esac
  19525. if expr a : '\(a\)' >/dev/null 2>&1 &&
  19526. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  19527. as_expr=expr
  19528. else
  19529. as_expr=false
  19530. fi
  19531. rm -f conf$$ conf$$.exe conf$$.file
  19532. if test -d conf$$.dir; then
  19533. rm -f conf$$.dir/conf$$.file
  19534. else
  19535. rm -f conf$$.dir
  19536. mkdir conf$$.dir 2>/dev/null
  19537. fi
  19538. if (echo >conf$$.file) 2>/dev/null; then
  19539. if ln -s conf$$.file conf$$ 2>/dev/null; then
  19540. as_ln_s='ln -s'
  19541. # ... but there are two gotchas:
  19542. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  19543. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  19544. # In both cases, we have to default to `cp -p'.
  19545. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  19546. as_ln_s='cp -p'
  19547. elif ln conf$$.file conf$$ 2>/dev/null; then
  19548. as_ln_s=ln
  19549. else
  19550. as_ln_s='cp -p'
  19551. fi
  19552. else
  19553. as_ln_s='cp -p'
  19554. fi
  19555. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  19556. rmdir conf$$.dir 2>/dev/null
  19557. if mkdir -p . 2>/dev/null; then
  19558. as_mkdir_p=:
  19559. else
  19560. test -d ./-p && rmdir ./-p
  19561. as_mkdir_p=false
  19562. fi
  19563. if test -x / >/dev/null 2>&1; then
  19564. as_test_x='test -x'
  19565. else
  19566. if ls -dL / >/dev/null 2>&1; then
  19567. as_ls_L_option=L
  19568. else
  19569. as_ls_L_option=
  19570. fi
  19571. as_test_x='
  19572. eval sh -c '\''
  19573. if test -d "$1"; then
  19574. test -d "$1/.";
  19575. else
  19576. case $1 in
  19577. -*)set "./$1";;
  19578. esac;
  19579. case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
  19580. ???[sx]*):;;*)false;;esac;fi
  19581. '\'' sh
  19582. '
  19583. fi
  19584. as_executable_p=$as_test_x
  19585. # Sed expression to map a string onto a valid CPP name.
  19586. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  19587. # Sed expression to map a string onto a valid variable name.
  19588. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  19589. exec 6>&1
  19590. # Save the log message, to keep $[0] and so on meaningful, and to
  19591. # report actual input values of CONFIG_FILES etc. instead of their
  19592. # values after options handling.
  19593. ac_log="
  19594. This file was extended by $as_me, which was
  19595. generated by GNU Autoconf 2.63. Invocation command line was
  19596. CONFIG_FILES = $CONFIG_FILES
  19597. CONFIG_HEADERS = $CONFIG_HEADERS
  19598. CONFIG_LINKS = $CONFIG_LINKS
  19599. CONFIG_COMMANDS = $CONFIG_COMMANDS
  19600. $ $0 $@
  19601. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  19602. "
  19603. _ACEOF
  19604. case $ac_config_files in *"
  19605. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  19606. esac
  19607. case $ac_config_headers in *"
  19608. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  19609. esac
  19610. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19611. # Files that config.status was made for.
  19612. config_files="$ac_config_files"
  19613. config_headers="$ac_config_headers"
  19614. config_commands="$ac_config_commands"
  19615. _ACEOF
  19616. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19617. ac_cs_usage="\
  19618. \`$as_me' instantiates files from templates according to the
  19619. current configuration.
  19620. Usage: $0 [OPTION]... [FILE]...
  19621. -h, --help print this help, then exit
  19622. -V, --version print version number and configuration settings, then exit
  19623. -q, --quiet, --silent
  19624. do not print progress messages
  19625. -d, --debug don't remove temporary files
  19626. --recheck update $as_me by reconfiguring in the same conditions
  19627. --file=FILE[:TEMPLATE]
  19628. instantiate the configuration file FILE
  19629. --header=FILE[:TEMPLATE]
  19630. instantiate the configuration header FILE
  19631. Configuration files:
  19632. $config_files
  19633. Configuration headers:
  19634. $config_headers
  19635. Configuration commands:
  19636. $config_commands
  19637. Report bugs to <bug-autoconf@gnu.org>."
  19638. _ACEOF
  19639. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19640. ac_cs_version="\\
  19641. config.status
  19642. configured by $0, generated by GNU Autoconf 2.63,
  19643. with options \\"`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
  19644. Copyright (C) 2008 Free Software Foundation, Inc.
  19645. This config.status script is free software; the Free Software Foundation
  19646. gives unlimited permission to copy, distribute and modify it."
  19647. ac_pwd='$ac_pwd'
  19648. srcdir='$srcdir'
  19649. INSTALL='$INSTALL'
  19650. MKDIR_P='$MKDIR_P'
  19651. AWK='$AWK'
  19652. test -n "\$AWK" || AWK=awk
  19653. _ACEOF
  19654. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19655. # The default lists apply if the user does not specify any file.
  19656. ac_need_defaults=:
  19657. while test $# != 0
  19658. do
  19659. case $1 in
  19660. --*=*)
  19661. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  19662. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  19663. ac_shift=:
  19664. ;;
  19665. *)
  19666. ac_option=$1
  19667. ac_optarg=$2
  19668. ac_shift=shift
  19669. ;;
  19670. esac
  19671. case $ac_option in
  19672. # Handling of the options.
  19673. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  19674. ac_cs_recheck=: ;;
  19675. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  19676. $as_echo "$ac_cs_version"; exit ;;
  19677. --debug | --debu | --deb | --de | --d | -d )
  19678. debug=: ;;
  19679. --file | --fil | --fi | --f )
  19680. $ac_shift
  19681. case $ac_optarg in
  19682. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  19683. esac
  19684. CONFIG_FILES="$CONFIG_FILES '$ac_optarg'"
  19685. ac_need_defaults=false;;
  19686. --header | --heade | --head | --hea )
  19687. $ac_shift
  19688. case $ac_optarg in
  19689. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  19690. esac
  19691. CONFIG_HEADERS="$CONFIG_HEADERS '$ac_optarg'"
  19692. ac_need_defaults=false;;
  19693. --he | --h)
  19694. # Conflict between --help and --header
  19695. { $as_echo "$as_me: error: ambiguous option: $1
  19696. Try \`$0 --help' for more information." >&2
  19697. { (exit 1); exit 1; }; };;
  19698. --help | --hel | -h )
  19699. $as_echo "$ac_cs_usage"; exit ;;
  19700. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  19701. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  19702. ac_cs_silent=: ;;
  19703. # This is an error.
  19704. -*) { $as_echo "$as_me: error: unrecognized option: $1
  19705. Try \`$0 --help' for more information." >&2
  19706. { (exit 1); exit 1; }; } ;;
  19707. *) ac_config_targets="$ac_config_targets $1"
  19708. ac_need_defaults=false ;;
  19709. esac
  19710. shift
  19711. done
  19712. ac_configure_extra_args=
  19713. if $ac_cs_silent; then
  19714. exec 6>/dev/null
  19715. ac_configure_extra_args="$ac_configure_extra_args --silent"
  19716. fi
  19717. _ACEOF
  19718. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19719. if \$ac_cs_recheck; then
  19720. set X '$SHELL' '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  19721. shift
  19722. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  19723. CONFIG_SHELL='$SHELL'
  19724. export CONFIG_SHELL
  19725. exec "\$@"
  19726. fi
  19727. _ACEOF
  19728. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19729. exec 5>>config.log
  19730. {
  19731. echo
  19732. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  19733. ## Running $as_me. ##
  19734. _ASBOX
  19735. $as_echo "$ac_log"
  19736. } >&5
  19737. _ACEOF
  19738. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  19739. #
  19740. # INIT-COMMANDS
  19741. #
  19742. AMDEP_TRUE="$AMDEP_TRUE" ac_aux_dir="$ac_aux_dir"
  19743. # The HP-UX ksh and POSIX shell print the target directory to stdout
  19744. # if CDPATH is set.
  19745. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  19746. sed_quote_subst='$sed_quote_subst'
  19747. double_quote_subst='$double_quote_subst'
  19748. delay_variable_subst='$delay_variable_subst'
  19749. AS='`$ECHO "X$AS" | $Xsed -e "$delay_single_quote_subst"`'
  19750. DLLTOOL='`$ECHO "X$DLLTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  19751. OBJDUMP='`$ECHO "X$OBJDUMP" | $Xsed -e "$delay_single_quote_subst"`'
  19752. macro_version='`$ECHO "X$macro_version" | $Xsed -e "$delay_single_quote_subst"`'
  19753. macro_revision='`$ECHO "X$macro_revision" | $Xsed -e "$delay_single_quote_subst"`'
  19754. enable_shared='`$ECHO "X$enable_shared" | $Xsed -e "$delay_single_quote_subst"`'
  19755. enable_static='`$ECHO "X$enable_static" | $Xsed -e "$delay_single_quote_subst"`'
  19756. pic_mode='`$ECHO "X$pic_mode" | $Xsed -e "$delay_single_quote_subst"`'
  19757. enable_fast_install='`$ECHO "X$enable_fast_install" | $Xsed -e "$delay_single_quote_subst"`'
  19758. host_alias='`$ECHO "X$host_alias" | $Xsed -e "$delay_single_quote_subst"`'
  19759. host='`$ECHO "X$host" | $Xsed -e "$delay_single_quote_subst"`'
  19760. host_os='`$ECHO "X$host_os" | $Xsed -e "$delay_single_quote_subst"`'
  19761. build_alias='`$ECHO "X$build_alias" | $Xsed -e "$delay_single_quote_subst"`'
  19762. build='`$ECHO "X$build" | $Xsed -e "$delay_single_quote_subst"`'
  19763. build_os='`$ECHO "X$build_os" | $Xsed -e "$delay_single_quote_subst"`'
  19764. SED='`$ECHO "X$SED" | $Xsed -e "$delay_single_quote_subst"`'
  19765. Xsed='`$ECHO "X$Xsed" | $Xsed -e "$delay_single_quote_subst"`'
  19766. GREP='`$ECHO "X$GREP" | $Xsed -e "$delay_single_quote_subst"`'
  19767. EGREP='`$ECHO "X$EGREP" | $Xsed -e "$delay_single_quote_subst"`'
  19768. FGREP='`$ECHO "X$FGREP" | $Xsed -e "$delay_single_quote_subst"`'
  19769. LD='`$ECHO "X$LD" | $Xsed -e "$delay_single_quote_subst"`'
  19770. NM='`$ECHO "X$NM" | $Xsed -e "$delay_single_quote_subst"`'
  19771. LN_S='`$ECHO "X$LN_S" | $Xsed -e "$delay_single_quote_subst"`'
  19772. max_cmd_len='`$ECHO "X$max_cmd_len" | $Xsed -e "$delay_single_quote_subst"`'
  19773. ac_objext='`$ECHO "X$ac_objext" | $Xsed -e "$delay_single_quote_subst"`'
  19774. exeext='`$ECHO "X$exeext" | $Xsed -e "$delay_single_quote_subst"`'
  19775. lt_unset='`$ECHO "X$lt_unset" | $Xsed -e "$delay_single_quote_subst"`'
  19776. lt_SP2NL='`$ECHO "X$lt_SP2NL" | $Xsed -e "$delay_single_quote_subst"`'
  19777. lt_NL2SP='`$ECHO "X$lt_NL2SP" | $Xsed -e "$delay_single_quote_subst"`'
  19778. reload_flag='`$ECHO "X$reload_flag" | $Xsed -e "$delay_single_quote_subst"`'
  19779. reload_cmds='`$ECHO "X$reload_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19780. deplibs_check_method='`$ECHO "X$deplibs_check_method" | $Xsed -e "$delay_single_quote_subst"`'
  19781. file_magic_cmd='`$ECHO "X$file_magic_cmd" | $Xsed -e "$delay_single_quote_subst"`'
  19782. AR='`$ECHO "X$AR" | $Xsed -e "$delay_single_quote_subst"`'
  19783. AR_FLAGS='`$ECHO "X$AR_FLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  19784. STRIP='`$ECHO "X$STRIP" | $Xsed -e "$delay_single_quote_subst"`'
  19785. RANLIB='`$ECHO "X$RANLIB" | $Xsed -e "$delay_single_quote_subst"`'
  19786. old_postinstall_cmds='`$ECHO "X$old_postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19787. old_postuninstall_cmds='`$ECHO "X$old_postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19788. old_archive_cmds='`$ECHO "X$old_archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19789. CC='`$ECHO "X$CC" | $Xsed -e "$delay_single_quote_subst"`'
  19790. CFLAGS='`$ECHO "X$CFLAGS" | $Xsed -e "$delay_single_quote_subst"`'
  19791. compiler='`$ECHO "X$compiler" | $Xsed -e "$delay_single_quote_subst"`'
  19792. GCC='`$ECHO "X$GCC" | $Xsed -e "$delay_single_quote_subst"`'
  19793. lt_cv_sys_global_symbol_pipe='`$ECHO "X$lt_cv_sys_global_symbol_pipe" | $Xsed -e "$delay_single_quote_subst"`'
  19794. lt_cv_sys_global_symbol_to_cdecl='`$ECHO "X$lt_cv_sys_global_symbol_to_cdecl" | $Xsed -e "$delay_single_quote_subst"`'
  19795. 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"`'
  19796. 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"`'
  19797. objdir='`$ECHO "X$objdir" | $Xsed -e "$delay_single_quote_subst"`'
  19798. SHELL='`$ECHO "X$SHELL" | $Xsed -e "$delay_single_quote_subst"`'
  19799. ECHO='`$ECHO "X$ECHO" | $Xsed -e "$delay_single_quote_subst"`'
  19800. MAGIC_CMD='`$ECHO "X$MAGIC_CMD" | $Xsed -e "$delay_single_quote_subst"`'
  19801. lt_prog_compiler_no_builtin_flag='`$ECHO "X$lt_prog_compiler_no_builtin_flag" | $Xsed -e "$delay_single_quote_subst"`'
  19802. lt_prog_compiler_wl='`$ECHO "X$lt_prog_compiler_wl" | $Xsed -e "$delay_single_quote_subst"`'
  19803. lt_prog_compiler_pic='`$ECHO "X$lt_prog_compiler_pic" | $Xsed -e "$delay_single_quote_subst"`'
  19804. lt_prog_compiler_static='`$ECHO "X$lt_prog_compiler_static" | $Xsed -e "$delay_single_quote_subst"`'
  19805. lt_cv_prog_compiler_c_o='`$ECHO "X$lt_cv_prog_compiler_c_o" | $Xsed -e "$delay_single_quote_subst"`'
  19806. need_locks='`$ECHO "X$need_locks" | $Xsed -e "$delay_single_quote_subst"`'
  19807. DSYMUTIL='`$ECHO "X$DSYMUTIL" | $Xsed -e "$delay_single_quote_subst"`'
  19808. NMEDIT='`$ECHO "X$NMEDIT" | $Xsed -e "$delay_single_quote_subst"`'
  19809. LIPO='`$ECHO "X$LIPO" | $Xsed -e "$delay_single_quote_subst"`'
  19810. OTOOL='`$ECHO "X$OTOOL" | $Xsed -e "$delay_single_quote_subst"`'
  19811. OTOOL64='`$ECHO "X$OTOOL64" | $Xsed -e "$delay_single_quote_subst"`'
  19812. libext='`$ECHO "X$libext" | $Xsed -e "$delay_single_quote_subst"`'
  19813. shrext_cmds='`$ECHO "X$shrext_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19814. extract_expsyms_cmds='`$ECHO "X$extract_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19815. archive_cmds_need_lc='`$ECHO "X$archive_cmds_need_lc" | $Xsed -e "$delay_single_quote_subst"`'
  19816. enable_shared_with_static_runtimes='`$ECHO "X$enable_shared_with_static_runtimes" | $Xsed -e "$delay_single_quote_subst"`'
  19817. export_dynamic_flag_spec='`$ECHO "X$export_dynamic_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19818. whole_archive_flag_spec='`$ECHO "X$whole_archive_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19819. compiler_needs_object='`$ECHO "X$compiler_needs_object" | $Xsed -e "$delay_single_quote_subst"`'
  19820. old_archive_from_new_cmds='`$ECHO "X$old_archive_from_new_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19821. old_archive_from_expsyms_cmds='`$ECHO "X$old_archive_from_expsyms_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19822. archive_cmds='`$ECHO "X$archive_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19823. archive_expsym_cmds='`$ECHO "X$archive_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19824. module_cmds='`$ECHO "X$module_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19825. module_expsym_cmds='`$ECHO "X$module_expsym_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19826. with_gnu_ld='`$ECHO "X$with_gnu_ld" | $Xsed -e "$delay_single_quote_subst"`'
  19827. allow_undefined_flag='`$ECHO "X$allow_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  19828. no_undefined_flag='`$ECHO "X$no_undefined_flag" | $Xsed -e "$delay_single_quote_subst"`'
  19829. hardcode_libdir_flag_spec='`$ECHO "X$hardcode_libdir_flag_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19830. hardcode_libdir_flag_spec_ld='`$ECHO "X$hardcode_libdir_flag_spec_ld" | $Xsed -e "$delay_single_quote_subst"`'
  19831. hardcode_libdir_separator='`$ECHO "X$hardcode_libdir_separator" | $Xsed -e "$delay_single_quote_subst"`'
  19832. hardcode_direct='`$ECHO "X$hardcode_direct" | $Xsed -e "$delay_single_quote_subst"`'
  19833. hardcode_direct_absolute='`$ECHO "X$hardcode_direct_absolute" | $Xsed -e "$delay_single_quote_subst"`'
  19834. hardcode_minus_L='`$ECHO "X$hardcode_minus_L" | $Xsed -e "$delay_single_quote_subst"`'
  19835. hardcode_shlibpath_var='`$ECHO "X$hardcode_shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  19836. hardcode_automatic='`$ECHO "X$hardcode_automatic" | $Xsed -e "$delay_single_quote_subst"`'
  19837. inherit_rpath='`$ECHO "X$inherit_rpath" | $Xsed -e "$delay_single_quote_subst"`'
  19838. link_all_deplibs='`$ECHO "X$link_all_deplibs" | $Xsed -e "$delay_single_quote_subst"`'
  19839. fix_srcfile_path='`$ECHO "X$fix_srcfile_path" | $Xsed -e "$delay_single_quote_subst"`'
  19840. always_export_symbols='`$ECHO "X$always_export_symbols" | $Xsed -e "$delay_single_quote_subst"`'
  19841. export_symbols_cmds='`$ECHO "X$export_symbols_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19842. exclude_expsyms='`$ECHO "X$exclude_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  19843. include_expsyms='`$ECHO "X$include_expsyms" | $Xsed -e "$delay_single_quote_subst"`'
  19844. prelink_cmds='`$ECHO "X$prelink_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19845. file_list_spec='`$ECHO "X$file_list_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19846. variables_saved_for_relink='`$ECHO "X$variables_saved_for_relink" | $Xsed -e "$delay_single_quote_subst"`'
  19847. need_lib_prefix='`$ECHO "X$need_lib_prefix" | $Xsed -e "$delay_single_quote_subst"`'
  19848. need_version='`$ECHO "X$need_version" | $Xsed -e "$delay_single_quote_subst"`'
  19849. version_type='`$ECHO "X$version_type" | $Xsed -e "$delay_single_quote_subst"`'
  19850. runpath_var='`$ECHO "X$runpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  19851. shlibpath_var='`$ECHO "X$shlibpath_var" | $Xsed -e "$delay_single_quote_subst"`'
  19852. shlibpath_overrides_runpath='`$ECHO "X$shlibpath_overrides_runpath" | $Xsed -e "$delay_single_quote_subst"`'
  19853. libname_spec='`$ECHO "X$libname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19854. library_names_spec='`$ECHO "X$library_names_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19855. soname_spec='`$ECHO "X$soname_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19856. postinstall_cmds='`$ECHO "X$postinstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19857. postuninstall_cmds='`$ECHO "X$postuninstall_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19858. finish_cmds='`$ECHO "X$finish_cmds" | $Xsed -e "$delay_single_quote_subst"`'
  19859. finish_eval='`$ECHO "X$finish_eval" | $Xsed -e "$delay_single_quote_subst"`'
  19860. hardcode_into_libs='`$ECHO "X$hardcode_into_libs" | $Xsed -e "$delay_single_quote_subst"`'
  19861. sys_lib_search_path_spec='`$ECHO "X$sys_lib_search_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19862. sys_lib_dlsearch_path_spec='`$ECHO "X$sys_lib_dlsearch_path_spec" | $Xsed -e "$delay_single_quote_subst"`'
  19863. hardcode_action='`$ECHO "X$hardcode_action" | $Xsed -e "$delay_single_quote_subst"`'
  19864. enable_dlopen='`$ECHO "X$enable_dlopen" | $Xsed -e "$delay_single_quote_subst"`'
  19865. enable_dlopen_self='`$ECHO "X$enable_dlopen_self" | $Xsed -e "$delay_single_quote_subst"`'
  19866. enable_dlopen_self_static='`$ECHO "X$enable_dlopen_self_static" | $Xsed -e "$delay_single_quote_subst"`'
  19867. old_striplib='`$ECHO "X$old_striplib" | $Xsed -e "$delay_single_quote_subst"`'
  19868. striplib='`$ECHO "X$striplib" | $Xsed -e "$delay_single_quote_subst"`'
  19869. LTCC='$LTCC'
  19870. LTCFLAGS='$LTCFLAGS'
  19871. compiler='$compiler_DEFAULT'
  19872. # Quote evaled strings.
  19873. for var in SED \
  19874. GREP \
  19875. EGREP \
  19876. FGREP \
  19877. LD \
  19878. NM \
  19879. LN_S \
  19880. lt_SP2NL \
  19881. lt_NL2SP \
  19882. reload_flag \
  19883. deplibs_check_method \
  19884. file_magic_cmd \
  19885. AR \
  19886. AR_FLAGS \
  19887. STRIP \
  19888. RANLIB \
  19889. CC \
  19890. CFLAGS \
  19891. compiler \
  19892. lt_cv_sys_global_symbol_pipe \
  19893. lt_cv_sys_global_symbol_to_cdecl \
  19894. lt_cv_sys_global_symbol_to_c_name_address \
  19895. lt_cv_sys_global_symbol_to_c_name_address_lib_prefix \
  19896. SHELL \
  19897. ECHO \
  19898. lt_prog_compiler_no_builtin_flag \
  19899. lt_prog_compiler_wl \
  19900. lt_prog_compiler_pic \
  19901. lt_prog_compiler_static \
  19902. lt_cv_prog_compiler_c_o \
  19903. need_locks \
  19904. DSYMUTIL \
  19905. NMEDIT \
  19906. LIPO \
  19907. OTOOL \
  19908. OTOOL64 \
  19909. shrext_cmds \
  19910. export_dynamic_flag_spec \
  19911. whole_archive_flag_spec \
  19912. compiler_needs_object \
  19913. with_gnu_ld \
  19914. allow_undefined_flag \
  19915. no_undefined_flag \
  19916. hardcode_libdir_flag_spec \
  19917. hardcode_libdir_flag_spec_ld \
  19918. hardcode_libdir_separator \
  19919. fix_srcfile_path \
  19920. exclude_expsyms \
  19921. include_expsyms \
  19922. file_list_spec \
  19923. variables_saved_for_relink \
  19924. libname_spec \
  19925. library_names_spec \
  19926. soname_spec \
  19927. finish_eval \
  19928. old_striplib \
  19929. striplib; do
  19930. case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  19931. *[\\\\\\\`\\"\\\$]*)
  19932. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$sed_quote_subst\\"\\\`\\\\\\""
  19933. ;;
  19934. *)
  19935. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  19936. ;;
  19937. esac
  19938. done
  19939. # Double-quote double-evaled strings.
  19940. for var in reload_cmds \
  19941. old_postinstall_cmds \
  19942. old_postuninstall_cmds \
  19943. old_archive_cmds \
  19944. extract_expsyms_cmds \
  19945. old_archive_from_new_cmds \
  19946. old_archive_from_expsyms_cmds \
  19947. archive_cmds \
  19948. archive_expsym_cmds \
  19949. module_cmds \
  19950. module_expsym_cmds \
  19951. export_symbols_cmds \
  19952. prelink_cmds \
  19953. postinstall_cmds \
  19954. postuninstall_cmds \
  19955. finish_cmds \
  19956. sys_lib_search_path_spec \
  19957. sys_lib_dlsearch_path_spec; do
  19958. case \`eval \\\\\$ECHO "X\\\\\$\$var"\` in
  19959. *[\\\\\\\`\\"\\\$]*)
  19960. eval "lt_\$var=\\\\\\"\\\`\\\$ECHO \\"X\\\$\$var\\" | \\\$Xsed -e \\"\\\$double_quote_subst\\" -e \\"\\\$sed_quote_subst\\" -e \\"\\\$delay_variable_subst\\"\\\`\\\\\\""
  19961. ;;
  19962. *)
  19963. eval "lt_\$var=\\\\\\"\\\$\$var\\\\\\""
  19964. ;;
  19965. esac
  19966. done
  19967. # Fix-up fallback echo if it was mangled by the above quoting rules.
  19968. case \$lt_ECHO in
  19969. *'\\\$0 --fallback-echo"') lt_ECHO=\`\$ECHO "X\$lt_ECHO" | \$Xsed -e 's/\\\\\\\\\\\\\\\$0 --fallback-echo"\$/\$0 --fallback-echo"/'\`
  19970. ;;
  19971. esac
  19972. ac_aux_dir='$ac_aux_dir'
  19973. xsi_shell='$xsi_shell'
  19974. lt_shell_append='$lt_shell_append'
  19975. # See if we are running on zsh, and set the options which allow our
  19976. # commands through without removal of \ escapes INIT.
  19977. if test -n "\${ZSH_VERSION+set}" ; then
  19978. setopt NO_GLOB_SUBST
  19979. fi
  19980. PACKAGE='$PACKAGE'
  19981. VERSION='$VERSION'
  19982. TIMESTAMP='$TIMESTAMP'
  19983. RM='$RM'
  19984. ofile='$ofile'
  19985. _ACEOF
  19986. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  19987. # Handling of arguments.
  19988. for ac_config_target in $ac_config_targets
  19989. do
  19990. case $ac_config_target in
  19991. "config.h") CONFIG_HEADERS="$CONFIG_HEADERS config.h" ;;
  19992. "depfiles") CONFIG_COMMANDS="$CONFIG_COMMANDS depfiles" ;;
  19993. "libtool") CONFIG_COMMANDS="$CONFIG_COMMANDS libtool" ;;
  19994. "libxml2.spec") CONFIG_FILES="$CONFIG_FILES libxml2.spec:libxml.spec.in" ;;
  19995. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  19996. "include/Makefile") CONFIG_FILES="$CONFIG_FILES include/Makefile" ;;
  19997. "include/libxml/Makefile") CONFIG_FILES="$CONFIG_FILES include/libxml/Makefile" ;;
  19998. "doc/Makefile") CONFIG_FILES="$CONFIG_FILES doc/Makefile" ;;
  19999. "doc/examples/Makefile") CONFIG_FILES="$CONFIG_FILES doc/examples/Makefile" ;;
  20000. "doc/devhelp/Makefile") CONFIG_FILES="$CONFIG_FILES doc/devhelp/Makefile" ;;
  20001. "example/Makefile") CONFIG_FILES="$CONFIG_FILES example/Makefile" ;;
  20002. "python/Makefile") CONFIG_FILES="$CONFIG_FILES python/Makefile" ;;
  20003. "python/tests/Makefile") CONFIG_FILES="$CONFIG_FILES python/tests/Makefile" ;;
  20004. "xstc/Makefile") CONFIG_FILES="$CONFIG_FILES xstc/Makefile" ;;
  20005. "include/libxml/xmlversion.h") CONFIG_FILES="$CONFIG_FILES include/libxml/xmlversion.h" ;;
  20006. "xml2-config") CONFIG_FILES="$CONFIG_FILES xml2-config" ;;
  20007. "libxml-2.0.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0.pc" ;;
  20008. "libxml-2.0-uninstalled.pc") CONFIG_FILES="$CONFIG_FILES libxml-2.0-uninstalled.pc" ;;
  20009. "python/setup.py") CONFIG_FILES="$CONFIG_FILES python/setup.py" ;;
  20010. *) { { $as_echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
  20011. $as_echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
  20012. { (exit 1); exit 1; }; };;
  20013. esac
  20014. done
  20015. # If the user did not use the arguments to specify the items to instantiate,
  20016. # then the envvar interface is used. Set only those that are not.
  20017. # We use the long form for the default assignment because of an extremely
  20018. # bizarre bug on SunOS 4.1.3.
  20019. if $ac_need_defaults; then
  20020. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  20021. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  20022. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  20023. fi
  20024. # Have a temporary directory for convenience. Make it in the build tree
  20025. # simply because there is no reason against having it here, and in addition,
  20026. # creating and moving files from /tmp can sometimes cause problems.
  20027. # Hook for its removal unless debugging.
  20028. # Note that there is a small window in which the directory will not be cleaned:
  20029. # after its creation but before its name has been assigned to `$tmp'.
  20030. $debug ||
  20031. {
  20032. tmp=
  20033. trap 'exit_status=$?
  20034. { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
  20035. ' 0
  20036. trap '{ (exit 1); exit 1; }' 1 2 13 15
  20037. }
  20038. # Create a (secure) tmp directory for tmp files.
  20039. {
  20040. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  20041. test -n "$tmp" && test -d "$tmp"
  20042. } ||
  20043. {
  20044. tmp=./conf$$-$RANDOM
  20045. (umask 077 && mkdir "$tmp")
  20046. } ||
  20047. {
  20048. $as_echo "$as_me: cannot create a temporary directory in ." >&2
  20049. { (exit 1); exit 1; }
  20050. }
  20051. # Set up the scripts for CONFIG_FILES section.
  20052. # No need to generate them if there are no CONFIG_FILES.
  20053. # This happens for instance with `./config.status config.h'.
  20054. if test -n "$CONFIG_FILES"; then
  20055. ac_cr=' '
  20056. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  20057. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  20058. ac_cs_awk_cr='\\r'
  20059. else
  20060. ac_cs_awk_cr=$ac_cr
  20061. fi
  20062. echo 'BEGIN {' >"$tmp/subs1.awk" &&
  20063. _ACEOF
  20064. {
  20065. echo "cat >conf$$subs.awk <<_ACEOF" &&
  20066. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  20067. echo "_ACEOF"
  20068. } >conf$$subs.sh ||
  20069. { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  20070. $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  20071. { (exit 1); exit 1; }; }
  20072. ac_delim_num=`echo "$ac_subst_vars" | grep -c '$'`
  20073. ac_delim='%!_!# '
  20074. for ac_last_try in false false false false false :; do
  20075. . ./conf$$subs.sh ||
  20076. { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  20077. $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  20078. { (exit 1); exit 1; }; }
  20079. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  20080. if test $ac_delim_n = $ac_delim_num; then
  20081. break
  20082. elif $ac_last_try; then
  20083. { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
  20084. $as_echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
  20085. { (exit 1); exit 1; }; }
  20086. else
  20087. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  20088. fi
  20089. done
  20090. rm -f conf$$subs.sh
  20091. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20092. cat >>"\$tmp/subs1.awk" <<\\_ACAWK &&
  20093. _ACEOF
  20094. sed -n '
  20095. h
  20096. s/^/S["/; s/!.*/"]=/
  20097. p
  20098. g
  20099. s/^[^!]*!//
  20100. :repl
  20101. t repl
  20102. s/'"$ac_delim"'$//
  20103. t delim
  20104. :nl
  20105. h
  20106. s/\(.\{148\}\).*/\1/
  20107. t more1
  20108. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  20109. p
  20110. n
  20111. b repl
  20112. :more1
  20113. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  20114. p
  20115. g
  20116. s/.\{148\}//
  20117. t nl
  20118. :delim
  20119. h
  20120. s/\(.\{148\}\).*/\1/
  20121. t more2
  20122. s/["\\]/\\&/g; s/^/"/; s/$/"/
  20123. p
  20124. b
  20125. :more2
  20126. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  20127. p
  20128. g
  20129. s/.\{148\}//
  20130. t delim
  20131. ' <conf$$subs.awk | sed '
  20132. /^[^""]/{
  20133. N
  20134. s/\n//
  20135. }
  20136. ' >>$CONFIG_STATUS || ac_write_fail=1
  20137. rm -f conf$$subs.awk
  20138. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20139. _ACAWK
  20140. cat >>"\$tmp/subs1.awk" <<_ACAWK &&
  20141. for (key in S) S_is_set[key] = 1
  20142. FS = ""
  20143. }
  20144. {
  20145. line = $ 0
  20146. nfields = split(line, field, "@")
  20147. substed = 0
  20148. len = length(field[1])
  20149. for (i = 2; i < nfields; i++) {
  20150. key = field[i]
  20151. keylen = length(key)
  20152. if (S_is_set[key]) {
  20153. value = S[key]
  20154. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  20155. len += length(value) + length(field[++i])
  20156. substed = 1
  20157. } else
  20158. len += 1 + keylen
  20159. }
  20160. print line
  20161. }
  20162. _ACAWK
  20163. _ACEOF
  20164. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20165. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  20166. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  20167. else
  20168. cat
  20169. fi < "$tmp/subs1.awk" > "$tmp/subs.awk" \
  20170. || { { $as_echo "$as_me:$LINENO: error: could not setup config files machinery" >&5
  20171. $as_echo "$as_me: error: could not setup config files machinery" >&2;}
  20172. { (exit 1); exit 1; }; }
  20173. _ACEOF
  20174. # VPATH may cause trouble with some makes, so we remove $(srcdir),
  20175. # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
  20176. # trailing colons and then remove the whole line if VPATH becomes empty
  20177. # (actually we leave an empty line to preserve line numbers).
  20178. if test "x$srcdir" = x.; then
  20179. ac_vpsub='/^[ ]*VPATH[ ]*=/{
  20180. s/:*\$(srcdir):*/:/
  20181. s/:*\${srcdir}:*/:/
  20182. s/:*@srcdir@:*/:/
  20183. s/^\([^=]*=[ ]*\):*/\1/
  20184. s/:*$//
  20185. s/^[^=]*=[ ]*$//
  20186. }'
  20187. fi
  20188. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20189. fi # test -n "$CONFIG_FILES"
  20190. # Set up the scripts for CONFIG_HEADERS section.
  20191. # No need to generate them if there are no CONFIG_HEADERS.
  20192. # This happens for instance with `./config.status Makefile'.
  20193. if test -n "$CONFIG_HEADERS"; then
  20194. cat >"$tmp/defines.awk" <<\_ACAWK ||
  20195. BEGIN {
  20196. _ACEOF
  20197. # Transform confdefs.h into an awk script `defines.awk', embedded as
  20198. # here-document in config.status, that substitutes the proper values into
  20199. # config.h.in to produce config.h.
  20200. # Create a delimiter string that does not exist in confdefs.h, to ease
  20201. # handling of long lines.
  20202. ac_delim='%!_!# '
  20203. for ac_last_try in false false :; do
  20204. ac_t=`sed -n "/$ac_delim/p" confdefs.h`
  20205. if test -z "$ac_t"; then
  20206. break
  20207. elif $ac_last_try; then
  20208. { { $as_echo "$as_me:$LINENO: error: could not make $CONFIG_HEADERS" >&5
  20209. $as_echo "$as_me: error: could not make $CONFIG_HEADERS" >&2;}
  20210. { (exit 1); exit 1; }; }
  20211. else
  20212. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  20213. fi
  20214. done
  20215. # For the awk script, D is an array of macro values keyed by name,
  20216. # likewise P contains macro parameters if any. Preserve backslash
  20217. # newline sequences.
  20218. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  20219. sed -n '
  20220. s/.\{148\}/&'"$ac_delim"'/g
  20221. t rset
  20222. :rset
  20223. s/^[ ]*#[ ]*define[ ][ ]*/ /
  20224. t def
  20225. d
  20226. :def
  20227. s/\\$//
  20228. t bsnl
  20229. s/["\\]/\\&/g
  20230. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  20231. D["\1"]=" \3"/p
  20232. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  20233. d
  20234. :bsnl
  20235. s/["\\]/\\&/g
  20236. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  20237. D["\1"]=" \3\\\\\\n"\\/p
  20238. t cont
  20239. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  20240. t cont
  20241. d
  20242. :cont
  20243. n
  20244. s/.\{148\}/&'"$ac_delim"'/g
  20245. t clear
  20246. :clear
  20247. s/\\$//
  20248. t bsnlc
  20249. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  20250. d
  20251. :bsnlc
  20252. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  20253. b cont
  20254. ' <confdefs.h | sed '
  20255. s/'"$ac_delim"'/"\\\
  20256. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  20257. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20258. for (key in D) D_is_set[key] = 1
  20259. FS = ""
  20260. }
  20261. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  20262. line = \$ 0
  20263. split(line, arg, " ")
  20264. if (arg[1] == "#") {
  20265. defundef = arg[2]
  20266. mac1 = arg[3]
  20267. } else {
  20268. defundef = substr(arg[1], 2)
  20269. mac1 = arg[2]
  20270. }
  20271. split(mac1, mac2, "(") #)
  20272. macro = mac2[1]
  20273. prefix = substr(line, 1, index(line, defundef) - 1)
  20274. if (D_is_set[macro]) {
  20275. # Preserve the white space surrounding the "#".
  20276. print prefix "define", macro P[macro] D[macro]
  20277. next
  20278. } else {
  20279. # Replace #undef with comments. This is necessary, for example,
  20280. # in the case of _POSIX_SOURCE, which is predefined and required
  20281. # on some systems where configure will not decide to define it.
  20282. if (defundef == "undef") {
  20283. print "/*", prefix defundef, macro, "*/"
  20284. next
  20285. }
  20286. }
  20287. }
  20288. { print }
  20289. _ACAWK
  20290. _ACEOF
  20291. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20292. { { $as_echo "$as_me:$LINENO: error: could not setup config headers machinery" >&5
  20293. $as_echo "$as_me: error: could not setup config headers machinery" >&2;}
  20294. { (exit 1); exit 1; }; }
  20295. fi # test -n "$CONFIG_HEADERS"
  20296. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  20297. shift
  20298. for ac_tag
  20299. do
  20300. case $ac_tag in
  20301. :[FHLC]) ac_mode=$ac_tag; continue;;
  20302. esac
  20303. case $ac_mode$ac_tag in
  20304. :[FHL]*:*);;
  20305. :L* | :C*:*) { { $as_echo "$as_me:$LINENO: error: invalid tag $ac_tag" >&5
  20306. $as_echo "$as_me: error: invalid tag $ac_tag" >&2;}
  20307. { (exit 1); exit 1; }; };;
  20308. :[FH]-) ac_tag=-:-;;
  20309. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  20310. esac
  20311. ac_save_IFS=$IFS
  20312. IFS=:
  20313. set x $ac_tag
  20314. IFS=$ac_save_IFS
  20315. shift
  20316. ac_file=$1
  20317. shift
  20318. case $ac_mode in
  20319. :L) ac_source=$1;;
  20320. :[FH])
  20321. ac_file_inputs=
  20322. for ac_f
  20323. do
  20324. case $ac_f in
  20325. -) ac_f="$tmp/stdin";;
  20326. *) # Look for the file first in the build tree, then in the source tree
  20327. # (if the path is not absolute). The absolute path cannot be DOS-style,
  20328. # because $ac_f cannot contain `:'.
  20329. test -f "$ac_f" ||
  20330. case $ac_f in
  20331. [\\/$]*) false;;
  20332. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  20333. esac ||
  20334. { { $as_echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
  20335. $as_echo "$as_me: error: cannot find input file: $ac_f" >&2;}
  20336. { (exit 1); exit 1; }; };;
  20337. esac
  20338. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  20339. ac_file_inputs="$ac_file_inputs '$ac_f'"
  20340. done
  20341. # Let's still pretend it is `configure' which instantiates (i.e., don't
  20342. # use $as_me), people would be surprised to read:
  20343. # /* config.h. Generated by config.status. */
  20344. configure_input='Generated from '`
  20345. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  20346. `' by configure.'
  20347. if test x"$ac_file" != x-; then
  20348. configure_input="$ac_file. $configure_input"
  20349. { $as_echo "$as_me:$LINENO: creating $ac_file" >&5
  20350. $as_echo "$as_me: creating $ac_file" >&6;}
  20351. fi
  20352. # Neutralize special characters interpreted by sed in replacement strings.
  20353. case $configure_input in #(
  20354. *\&* | *\|* | *\\* )
  20355. ac_sed_conf_input=`$as_echo "$configure_input" |
  20356. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  20357. *) ac_sed_conf_input=$configure_input;;
  20358. esac
  20359. case $ac_tag in
  20360. *:-:* | *:-) cat >"$tmp/stdin" \
  20361. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  20362. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  20363. { (exit 1); exit 1; }; } ;;
  20364. esac
  20365. ;;
  20366. esac
  20367. ac_dir=`$as_dirname -- "$ac_file" ||
  20368. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20369. X"$ac_file" : 'X\(//\)[^/]' \| \
  20370. X"$ac_file" : 'X\(//\)$' \| \
  20371. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  20372. $as_echo X"$ac_file" |
  20373. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20374. s//\1/
  20375. q
  20376. }
  20377. /^X\(\/\/\)[^/].*/{
  20378. s//\1/
  20379. q
  20380. }
  20381. /^X\(\/\/\)$/{
  20382. s//\1/
  20383. q
  20384. }
  20385. /^X\(\/\).*/{
  20386. s//\1/
  20387. q
  20388. }
  20389. s/.*/./; q'`
  20390. { as_dir="$ac_dir"
  20391. case $as_dir in #(
  20392. -*) as_dir=./$as_dir;;
  20393. esac
  20394. test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  20395. as_dirs=
  20396. while :; do
  20397. case $as_dir in #(
  20398. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  20399. *) as_qdir=$as_dir;;
  20400. esac
  20401. as_dirs="'$as_qdir' $as_dirs"
  20402. as_dir=`$as_dirname -- "$as_dir" ||
  20403. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20404. X"$as_dir" : 'X\(//\)[^/]' \| \
  20405. X"$as_dir" : 'X\(//\)$' \| \
  20406. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  20407. $as_echo X"$as_dir" |
  20408. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20409. s//\1/
  20410. q
  20411. }
  20412. /^X\(\/\/\)[^/].*/{
  20413. s//\1/
  20414. q
  20415. }
  20416. /^X\(\/\/\)$/{
  20417. s//\1/
  20418. q
  20419. }
  20420. /^X\(\/\).*/{
  20421. s//\1/
  20422. q
  20423. }
  20424. s/.*/./; q'`
  20425. test -d "$as_dir" && break
  20426. done
  20427. test -z "$as_dirs" || eval "mkdir $as_dirs"
  20428. } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  20429. $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  20430. { (exit 1); exit 1; }; }; }
  20431. ac_builddir=.
  20432. case "$ac_dir" in
  20433. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  20434. *)
  20435. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  20436. # A ".." for each directory in $ac_dir_suffix.
  20437. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  20438. case $ac_top_builddir_sub in
  20439. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  20440. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  20441. esac ;;
  20442. esac
  20443. ac_abs_top_builddir=$ac_pwd
  20444. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  20445. # for backward compatibility:
  20446. ac_top_builddir=$ac_top_build_prefix
  20447. case $srcdir in
  20448. .) # We are building in place.
  20449. ac_srcdir=.
  20450. ac_top_srcdir=$ac_top_builddir_sub
  20451. ac_abs_top_srcdir=$ac_pwd ;;
  20452. [\\/]* | ?:[\\/]* ) # Absolute name.
  20453. ac_srcdir=$srcdir$ac_dir_suffix;
  20454. ac_top_srcdir=$srcdir
  20455. ac_abs_top_srcdir=$srcdir ;;
  20456. *) # Relative name.
  20457. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  20458. ac_top_srcdir=$ac_top_build_prefix$srcdir
  20459. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  20460. esac
  20461. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  20462. case $ac_mode in
  20463. :F)
  20464. #
  20465. # CONFIG_FILE
  20466. #
  20467. case $INSTALL in
  20468. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  20469. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  20470. esac
  20471. ac_MKDIR_P=$MKDIR_P
  20472. case $MKDIR_P in
  20473. [\\/$]* | ?:[\\/]* ) ;;
  20474. */*) ac_MKDIR_P=$ac_top_build_prefix$MKDIR_P ;;
  20475. esac
  20476. _ACEOF
  20477. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20478. # If the template does not know about datarootdir, expand it.
  20479. # FIXME: This hack should be removed a few years after 2.60.
  20480. ac_datarootdir_hack=; ac_datarootdir_seen=
  20481. ac_sed_dataroot='
  20482. /datarootdir/ {
  20483. p
  20484. q
  20485. }
  20486. /@datadir@/p
  20487. /@docdir@/p
  20488. /@infodir@/p
  20489. /@localedir@/p
  20490. /@mandir@/p
  20491. '
  20492. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  20493. *datarootdir*) ac_datarootdir_seen=yes;;
  20494. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  20495. { $as_echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  20496. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  20497. _ACEOF
  20498. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20499. ac_datarootdir_hack='
  20500. s&@datadir@&$datadir&g
  20501. s&@docdir@&$docdir&g
  20502. s&@infodir@&$infodir&g
  20503. s&@localedir@&$localedir&g
  20504. s&@mandir@&$mandir&g
  20505. s&\\\${datarootdir}&$datarootdir&g' ;;
  20506. esac
  20507. _ACEOF
  20508. # Neutralize VPATH when `$srcdir' = `.'.
  20509. # Shell code in configure.ac might set extrasub.
  20510. # FIXME: do we really want to maintain this feature?
  20511. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20512. ac_sed_extra="$ac_vpsub
  20513. $extrasub
  20514. _ACEOF
  20515. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20516. :t
  20517. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  20518. s|@configure_input@|$ac_sed_conf_input|;t t
  20519. s&@top_builddir@&$ac_top_builddir_sub&;t t
  20520. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  20521. s&@srcdir@&$ac_srcdir&;t t
  20522. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  20523. s&@top_srcdir@&$ac_top_srcdir&;t t
  20524. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  20525. s&@builddir@&$ac_builddir&;t t
  20526. s&@abs_builddir@&$ac_abs_builddir&;t t
  20527. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  20528. s&@INSTALL@&$ac_INSTALL&;t t
  20529. s&@MKDIR_P@&$ac_MKDIR_P&;t t
  20530. $ac_datarootdir_hack
  20531. "
  20532. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$tmp/subs.awk" >$tmp/out \
  20533. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  20534. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  20535. { (exit 1); exit 1; }; }
  20536. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  20537. { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
  20538. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
  20539. { $as_echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  20540. which seems to be undefined. Please make sure it is defined." >&5
  20541. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  20542. which seems to be undefined. Please make sure it is defined." >&2;}
  20543. rm -f "$tmp/stdin"
  20544. case $ac_file in
  20545. -) cat "$tmp/out" && rm -f "$tmp/out";;
  20546. *) rm -f "$ac_file" && mv "$tmp/out" "$ac_file";;
  20547. esac \
  20548. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  20549. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  20550. { (exit 1); exit 1; }; }
  20551. ;;
  20552. :H)
  20553. #
  20554. # CONFIG_HEADER
  20555. #
  20556. if test x"$ac_file" != x-; then
  20557. {
  20558. $as_echo "/* $configure_input */" \
  20559. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs"
  20560. } >"$tmp/config.h" \
  20561. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  20562. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  20563. { (exit 1); exit 1; }; }
  20564. if diff "$ac_file" "$tmp/config.h" >/dev/null 2>&1; then
  20565. { $as_echo "$as_me:$LINENO: $ac_file is unchanged" >&5
  20566. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  20567. else
  20568. rm -f "$ac_file"
  20569. mv "$tmp/config.h" "$ac_file" \
  20570. || { { $as_echo "$as_me:$LINENO: error: could not create $ac_file" >&5
  20571. $as_echo "$as_me: error: could not create $ac_file" >&2;}
  20572. { (exit 1); exit 1; }; }
  20573. fi
  20574. else
  20575. $as_echo "/* $configure_input */" \
  20576. && eval '$AWK -f "$tmp/defines.awk"' "$ac_file_inputs" \
  20577. || { { $as_echo "$as_me:$LINENO: error: could not create -" >&5
  20578. $as_echo "$as_me: error: could not create -" >&2;}
  20579. { (exit 1); exit 1; }; }
  20580. fi
  20581. # Compute "$ac_file"'s index in $config_headers.
  20582. _am_arg="$ac_file"
  20583. _am_stamp_count=1
  20584. for _am_header in $config_headers :; do
  20585. case $_am_header in
  20586. $_am_arg | $_am_arg:* )
  20587. break ;;
  20588. * )
  20589. _am_stamp_count=`expr $_am_stamp_count + 1` ;;
  20590. esac
  20591. done
  20592. echo "timestamp for $_am_arg" >`$as_dirname -- "$_am_arg" ||
  20593. $as_expr X"$_am_arg" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20594. X"$_am_arg" : 'X\(//\)[^/]' \| \
  20595. X"$_am_arg" : 'X\(//\)$' \| \
  20596. X"$_am_arg" : 'X\(/\)' \| . 2>/dev/null ||
  20597. $as_echo X"$_am_arg" |
  20598. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20599. s//\1/
  20600. q
  20601. }
  20602. /^X\(\/\/\)[^/].*/{
  20603. s//\1/
  20604. q
  20605. }
  20606. /^X\(\/\/\)$/{
  20607. s//\1/
  20608. q
  20609. }
  20610. /^X\(\/\).*/{
  20611. s//\1/
  20612. q
  20613. }
  20614. s/.*/./; q'`/stamp-h$_am_stamp_count
  20615. ;;
  20616. :C) { $as_echo "$as_me:$LINENO: executing $ac_file commands" >&5
  20617. $as_echo "$as_me: executing $ac_file commands" >&6;}
  20618. ;;
  20619. esac
  20620. case $ac_file$ac_mode in
  20621. "depfiles":C) test x"$AMDEP_TRUE" != x"" || {
  20622. # Autoconf 2.62 quotes --file arguments for eval, but not when files
  20623. # are listed without --file. Let's play safe and only enable the eval
  20624. # if we detect the quoting.
  20625. case $CONFIG_FILES in
  20626. *\'*) eval set x "$CONFIG_FILES" ;;
  20627. *) set x $CONFIG_FILES ;;
  20628. esac
  20629. shift
  20630. for mf
  20631. do
  20632. # Strip MF so we end up with the name of the file.
  20633. mf=`echo "$mf" | sed -e 's/:.*$//'`
  20634. # Check whether this is an Automake generated Makefile or not.
  20635. # We used to match only the files named `Makefile.in', but
  20636. # some people rename them; so instead we look at the file content.
  20637. # Grep'ing the first line is not enough: some people post-process
  20638. # each Makefile.in and add a new line on top of each file to say so.
  20639. # Grep'ing the whole file is not good either: AIX grep has a line
  20640. # limit of 2048, but all sed's we know have understand at least 4000.
  20641. if sed -n 's,^#.*generated by automake.*,X,p' "$mf" | grep X >/dev/null 2>&1; then
  20642. dirpart=`$as_dirname -- "$mf" ||
  20643. $as_expr X"$mf" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20644. X"$mf" : 'X\(//\)[^/]' \| \
  20645. X"$mf" : 'X\(//\)$' \| \
  20646. X"$mf" : 'X\(/\)' \| . 2>/dev/null ||
  20647. $as_echo X"$mf" |
  20648. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20649. s//\1/
  20650. q
  20651. }
  20652. /^X\(\/\/\)[^/].*/{
  20653. s//\1/
  20654. q
  20655. }
  20656. /^X\(\/\/\)$/{
  20657. s//\1/
  20658. q
  20659. }
  20660. /^X\(\/\).*/{
  20661. s//\1/
  20662. q
  20663. }
  20664. s/.*/./; q'`
  20665. else
  20666. continue
  20667. fi
  20668. # Extract the definition of DEPDIR, am__include, and am__quote
  20669. # from the Makefile without running `make'.
  20670. DEPDIR=`sed -n 's/^DEPDIR = //p' < "$mf"`
  20671. test -z "$DEPDIR" && continue
  20672. am__include=`sed -n 's/^am__include = //p' < "$mf"`
  20673. test -z "am__include" && continue
  20674. am__quote=`sed -n 's/^am__quote = //p' < "$mf"`
  20675. # When using ansi2knr, U may be empty or an underscore; expand it
  20676. U=`sed -n 's/^U = //p' < "$mf"`
  20677. # Find all dependency output files, they are included files with
  20678. # $(DEPDIR) in their names. We invoke sed twice because it is the
  20679. # simplest approach to changing $(DEPDIR) to its actual value in the
  20680. # expansion.
  20681. for file in `sed -n "
  20682. s/^$am__include $am__quote\(.*(DEPDIR).*\)$am__quote"'$/\1/p' <"$mf" | \
  20683. sed -e 's/\$(DEPDIR)/'"$DEPDIR"'/g' -e 's/\$U/'"$U"'/g'`; do
  20684. # Make sure the directory exists.
  20685. test -f "$dirpart/$file" && continue
  20686. fdir=`$as_dirname -- "$file" ||
  20687. $as_expr X"$file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20688. X"$file" : 'X\(//\)[^/]' \| \
  20689. X"$file" : 'X\(//\)$' \| \
  20690. X"$file" : 'X\(/\)' \| . 2>/dev/null ||
  20691. $as_echo X"$file" |
  20692. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20693. s//\1/
  20694. q
  20695. }
  20696. /^X\(\/\/\)[^/].*/{
  20697. s//\1/
  20698. q
  20699. }
  20700. /^X\(\/\/\)$/{
  20701. s//\1/
  20702. q
  20703. }
  20704. /^X\(\/\).*/{
  20705. s//\1/
  20706. q
  20707. }
  20708. s/.*/./; q'`
  20709. { as_dir=$dirpart/$fdir
  20710. case $as_dir in #(
  20711. -*) as_dir=./$as_dir;;
  20712. esac
  20713. test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
  20714. as_dirs=
  20715. while :; do
  20716. case $as_dir in #(
  20717. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  20718. *) as_qdir=$as_dir;;
  20719. esac
  20720. as_dirs="'$as_qdir' $as_dirs"
  20721. as_dir=`$as_dirname -- "$as_dir" ||
  20722. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20723. X"$as_dir" : 'X\(//\)[^/]' \| \
  20724. X"$as_dir" : 'X\(//\)$' \| \
  20725. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  20726. $as_echo X"$as_dir" |
  20727. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20728. s//\1/
  20729. q
  20730. }
  20731. /^X\(\/\/\)[^/].*/{
  20732. s//\1/
  20733. q
  20734. }
  20735. /^X\(\/\/\)$/{
  20736. s//\1/
  20737. q
  20738. }
  20739. /^X\(\/\).*/{
  20740. s//\1/
  20741. q
  20742. }
  20743. s/.*/./; q'`
  20744. test -d "$as_dir" && break
  20745. done
  20746. test -z "$as_dirs" || eval "mkdir $as_dirs"
  20747. } || test -d "$as_dir" || { { $as_echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
  20748. $as_echo "$as_me: error: cannot create directory $as_dir" >&2;}
  20749. { (exit 1); exit 1; }; }; }
  20750. # echo "creating $dirpart/$file"
  20751. echo '# dummy' > "$dirpart/$file"
  20752. done
  20753. done
  20754. }
  20755. ;;
  20756. "libtool":C)
  20757. # See if we are running on zsh, and set the options which allow our
  20758. # commands through without removal of \ escapes.
  20759. if test -n "${ZSH_VERSION+set}" ; then
  20760. setopt NO_GLOB_SUBST
  20761. fi
  20762. cfgfile="${ofile}T"
  20763. trap "$RM \"$cfgfile\"; exit 1" 1 2 15
  20764. $RM "$cfgfile"
  20765. cat <<_LT_EOF >> "$cfgfile"
  20766. #! $SHELL
  20767. # `$ECHO "$ofile" | sed 's%^.*/%%'` - Provide generalized library-building support services.
  20768. # Generated automatically by $as_me ($PACKAGE$TIMESTAMP) $VERSION
  20769. # Libtool was configured on host `(hostname || uname -n) 2>/dev/null | sed 1q`:
  20770. # NOTE: Changes made to this file will be lost: look at ltmain.sh.
  20771. #
  20772. # Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2003, 2004, 2005,
  20773. # 2006, 2007, 2008 Free Software Foundation, Inc.
  20774. # Written by Gordon Matzigkeit, 1996
  20775. #
  20776. # This file is part of GNU Libtool.
  20777. #
  20778. # GNU Libtool is free software; you can redistribute it and/or
  20779. # modify it under the terms of the GNU General Public License as
  20780. # published by the Free Software Foundation; either version 2 of
  20781. # the License, or (at your option) any later version.
  20782. #
  20783. # As a special exception to the GNU General Public License,
  20784. # if you distribute this file as part of a program or library that
  20785. # is built using GNU Libtool, you may include this file under the
  20786. # same distribution terms that you use for the rest of that program.
  20787. #
  20788. # GNU Libtool is distributed in the hope that it will be useful,
  20789. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  20790. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  20791. # GNU General Public License for more details.
  20792. #
  20793. # You should have received a copy of the GNU General Public License
  20794. # along with GNU Libtool; see the file COPYING. If not, a copy
  20795. # can be downloaded from http://www.gnu.org/licenses/gpl.html, or
  20796. # obtained by writing to the Free Software Foundation, Inc.,
  20797. # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  20798. # The names of the tagged configurations supported by this script.
  20799. available_tags=""
  20800. # ### BEGIN LIBTOOL CONFIG
  20801. # Assembler program.
  20802. AS=$AS
  20803. # DLL creation program.
  20804. DLLTOOL=$DLLTOOL
  20805. # Object dumper program.
  20806. OBJDUMP=$OBJDUMP
  20807. # Which release of libtool.m4 was used?
  20808. macro_version=$macro_version
  20809. macro_revision=$macro_revision
  20810. # Whether or not to build shared libraries.
  20811. build_libtool_libs=$enable_shared
  20812. # Whether or not to build static libraries.
  20813. build_old_libs=$enable_static
  20814. # What type of objects to build.
  20815. pic_mode=$pic_mode
  20816. # Whether or not to optimize for fast installation.
  20817. fast_install=$enable_fast_install
  20818. # The host system.
  20819. host_alias=$host_alias
  20820. host=$host
  20821. host_os=$host_os
  20822. # The build system.
  20823. build_alias=$build_alias
  20824. build=$build
  20825. build_os=$build_os
  20826. # A sed program that does not truncate output.
  20827. SED=$lt_SED
  20828. # Sed that helps us avoid accidentally triggering echo(1) options like -n.
  20829. Xsed="\$SED -e 1s/^X//"
  20830. # A grep program that handles long lines.
  20831. GREP=$lt_GREP
  20832. # An ERE matcher.
  20833. EGREP=$lt_EGREP
  20834. # A literal string matcher.
  20835. FGREP=$lt_FGREP
  20836. # A BSD- or MS-compatible name lister.
  20837. NM=$lt_NM
  20838. # Whether we need soft or hard links.
  20839. LN_S=$lt_LN_S
  20840. # What is the maximum length of a command?
  20841. max_cmd_len=$max_cmd_len
  20842. # Object file suffix (normally "o").
  20843. objext=$ac_objext
  20844. # Executable file suffix (normally "").
  20845. exeext=$exeext
  20846. # whether the shell understands "unset".
  20847. lt_unset=$lt_unset
  20848. # turn spaces into newlines.
  20849. SP2NL=$lt_lt_SP2NL
  20850. # turn newlines into spaces.
  20851. NL2SP=$lt_lt_NL2SP
  20852. # How to create reloadable object files.
  20853. reload_flag=$lt_reload_flag
  20854. reload_cmds=$lt_reload_cmds
  20855. # Method to check whether dependent libraries are shared objects.
  20856. deplibs_check_method=$lt_deplibs_check_method
  20857. # Command to use when deplibs_check_method == "file_magic".
  20858. file_magic_cmd=$lt_file_magic_cmd
  20859. # The archiver.
  20860. AR=$lt_AR
  20861. AR_FLAGS=$lt_AR_FLAGS
  20862. # A symbol stripping program.
  20863. STRIP=$lt_STRIP
  20864. # Commands used to install an old-style archive.
  20865. RANLIB=$lt_RANLIB
  20866. old_postinstall_cmds=$lt_old_postinstall_cmds
  20867. old_postuninstall_cmds=$lt_old_postuninstall_cmds
  20868. # A C compiler.
  20869. LTCC=$lt_CC
  20870. # LTCC compiler flags.
  20871. LTCFLAGS=$lt_CFLAGS
  20872. # Take the output of nm and produce a listing of raw symbols and C names.
  20873. global_symbol_pipe=$lt_lt_cv_sys_global_symbol_pipe
  20874. # Transform the output of nm in a proper C declaration.
  20875. global_symbol_to_cdecl=$lt_lt_cv_sys_global_symbol_to_cdecl
  20876. # Transform the output of nm in a C name address pair.
  20877. global_symbol_to_c_name_address=$lt_lt_cv_sys_global_symbol_to_c_name_address
  20878. # Transform the output of nm in a C name address pair when lib prefix is needed.
  20879. global_symbol_to_c_name_address_lib_prefix=$lt_lt_cv_sys_global_symbol_to_c_name_address_lib_prefix
  20880. # The name of the directory that contains temporary libtool files.
  20881. objdir=$objdir
  20882. # Shell to use when invoking shell scripts.
  20883. SHELL=$lt_SHELL
  20884. # An echo program that does not interpret backslashes.
  20885. ECHO=$lt_ECHO
  20886. # Used to examine libraries when file_magic_cmd begins with "file".
  20887. MAGIC_CMD=$MAGIC_CMD
  20888. # Must we lock files when doing compilation?
  20889. need_locks=$lt_need_locks
  20890. # Tool to manipulate archived DWARF debug symbol files on Mac OS X.
  20891. DSYMUTIL=$lt_DSYMUTIL
  20892. # Tool to change global to local symbols on Mac OS X.
  20893. NMEDIT=$lt_NMEDIT
  20894. # Tool to manipulate fat objects and archives on Mac OS X.
  20895. LIPO=$lt_LIPO
  20896. # ldd/readelf like tool for Mach-O binaries on Mac OS X.
  20897. OTOOL=$lt_OTOOL
  20898. # ldd/readelf like tool for 64 bit Mach-O binaries on Mac OS X 10.4.
  20899. OTOOL64=$lt_OTOOL64
  20900. # Old archive suffix (normally "a").
  20901. libext=$libext
  20902. # Shared library suffix (normally ".so").
  20903. shrext_cmds=$lt_shrext_cmds
  20904. # The commands to extract the exported symbol list from a shared archive.
  20905. extract_expsyms_cmds=$lt_extract_expsyms_cmds
  20906. # Variables whose values should be saved in libtool wrapper scripts and
  20907. # restored at link time.
  20908. variables_saved_for_relink=$lt_variables_saved_for_relink
  20909. # Do we need the "lib" prefix for modules?
  20910. need_lib_prefix=$need_lib_prefix
  20911. # Do we need a version for libraries?
  20912. need_version=$need_version
  20913. # Library versioning type.
  20914. version_type=$version_type
  20915. # Shared library runtime path variable.
  20916. runpath_var=$runpath_var
  20917. # Shared library path variable.
  20918. shlibpath_var=$shlibpath_var
  20919. # Is shlibpath searched before the hard-coded library search path?
  20920. shlibpath_overrides_runpath=$shlibpath_overrides_runpath
  20921. # Format of library name prefix.
  20922. libname_spec=$lt_libname_spec
  20923. # List of archive names. First name is the real one, the rest are links.
  20924. # The last name is the one that the linker finds with -lNAME
  20925. library_names_spec=$lt_library_names_spec
  20926. # The coded name of the library, if different from the real name.
  20927. soname_spec=$lt_soname_spec
  20928. # Command to use after installation of a shared archive.
  20929. postinstall_cmds=$lt_postinstall_cmds
  20930. # Command to use after uninstallation of a shared archive.
  20931. postuninstall_cmds=$lt_postuninstall_cmds
  20932. # Commands used to finish a libtool library installation in a directory.
  20933. finish_cmds=$lt_finish_cmds
  20934. # As "finish_cmds", except a single script fragment to be evaled but
  20935. # not shown.
  20936. finish_eval=$lt_finish_eval
  20937. # Whether we should hardcode library paths into libraries.
  20938. hardcode_into_libs=$hardcode_into_libs
  20939. # Compile-time system search path for libraries.
  20940. sys_lib_search_path_spec=$lt_sys_lib_search_path_spec
  20941. # Run-time system search path for libraries.
  20942. sys_lib_dlsearch_path_spec=$lt_sys_lib_dlsearch_path_spec
  20943. # Whether dlopen is supported.
  20944. dlopen_support=$enable_dlopen
  20945. # Whether dlopen of programs is supported.
  20946. dlopen_self=$enable_dlopen_self
  20947. # Whether dlopen of statically linked programs is supported.
  20948. dlopen_self_static=$enable_dlopen_self_static
  20949. # Commands to strip libraries.
  20950. old_striplib=$lt_old_striplib
  20951. striplib=$lt_striplib
  20952. # The linker used to build libraries.
  20953. LD=$lt_LD
  20954. # Commands used to build an old-style archive.
  20955. old_archive_cmds=$lt_old_archive_cmds
  20956. # A language specific compiler.
  20957. CC=$lt_compiler
  20958. # Is the compiler the GNU compiler?
  20959. with_gcc=$GCC
  20960. # Compiler flag to turn off builtin functions.
  20961. no_builtin_flag=$lt_lt_prog_compiler_no_builtin_flag
  20962. # How to pass a linker flag through the compiler.
  20963. wl=$lt_lt_prog_compiler_wl
  20964. # Additional compiler flags for building library objects.
  20965. pic_flag=$lt_lt_prog_compiler_pic
  20966. # Compiler flag to prevent dynamic linking.
  20967. link_static_flag=$lt_lt_prog_compiler_static
  20968. # Does compiler simultaneously support -c and -o options?
  20969. compiler_c_o=$lt_lt_cv_prog_compiler_c_o
  20970. # Whether or not to add -lc for building shared libraries.
  20971. build_libtool_need_lc=$archive_cmds_need_lc
  20972. # Whether or not to disallow shared libs when runtime libs are static.
  20973. allow_libtool_libs_with_static_runtimes=$enable_shared_with_static_runtimes
  20974. # Compiler flag to allow reflexive dlopens.
  20975. export_dynamic_flag_spec=$lt_export_dynamic_flag_spec
  20976. # Compiler flag to generate shared objects directly from archives.
  20977. whole_archive_flag_spec=$lt_whole_archive_flag_spec
  20978. # Whether the compiler copes with passing no objects directly.
  20979. compiler_needs_object=$lt_compiler_needs_object
  20980. # Create an old-style archive from a shared archive.
  20981. old_archive_from_new_cmds=$lt_old_archive_from_new_cmds
  20982. # Create a temporary old-style archive to link instead of a shared archive.
  20983. old_archive_from_expsyms_cmds=$lt_old_archive_from_expsyms_cmds
  20984. # Commands used to build a shared archive.
  20985. archive_cmds=$lt_archive_cmds
  20986. archive_expsym_cmds=$lt_archive_expsym_cmds
  20987. # Commands used to build a loadable module if different from building
  20988. # a shared archive.
  20989. module_cmds=$lt_module_cmds
  20990. module_expsym_cmds=$lt_module_expsym_cmds
  20991. # Whether we are building with GNU ld or not.
  20992. with_gnu_ld=$lt_with_gnu_ld
  20993. # Flag that allows shared libraries with undefined symbols to be built.
  20994. allow_undefined_flag=$lt_allow_undefined_flag
  20995. # Flag that enforces no undefined symbols.
  20996. no_undefined_flag=$lt_no_undefined_flag
  20997. # Flag to hardcode \$libdir into a binary during linking.
  20998. # This must work even if \$libdir does not exist
  20999. hardcode_libdir_flag_spec=$lt_hardcode_libdir_flag_spec
  21000. # If ld is used when linking, flag to hardcode \$libdir into a binary
  21001. # during linking. This must work even if \$libdir does not exist.
  21002. hardcode_libdir_flag_spec_ld=$lt_hardcode_libdir_flag_spec_ld
  21003. # Whether we need a single "-rpath" flag with a separated argument.
  21004. hardcode_libdir_separator=$lt_hardcode_libdir_separator
  21005. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  21006. # DIR into the resulting binary.
  21007. hardcode_direct=$hardcode_direct
  21008. # Set to "yes" if using DIR/libNAME\${shared_ext} during linking hardcodes
  21009. # DIR into the resulting binary and the resulting library dependency is
  21010. # "absolute",i.e impossible to change by setting \${shlibpath_var} if the
  21011. # library is relocated.
  21012. hardcode_direct_absolute=$hardcode_direct_absolute
  21013. # Set to "yes" if using the -LDIR flag during linking hardcodes DIR
  21014. # into the resulting binary.
  21015. hardcode_minus_L=$hardcode_minus_L
  21016. # Set to "yes" if using SHLIBPATH_VAR=DIR during linking hardcodes DIR
  21017. # into the resulting binary.
  21018. hardcode_shlibpath_var=$hardcode_shlibpath_var
  21019. # Set to "yes" if building a shared library automatically hardcodes DIR
  21020. # into the library and all subsequent libraries and executables linked
  21021. # against it.
  21022. hardcode_automatic=$hardcode_automatic
  21023. # Set to yes if linker adds runtime paths of dependent libraries
  21024. # to runtime path list.
  21025. inherit_rpath=$inherit_rpath
  21026. # Whether libtool must link a program against all its dependency libraries.
  21027. link_all_deplibs=$link_all_deplibs
  21028. # Fix the shell variable \$srcfile for the compiler.
  21029. fix_srcfile_path=$lt_fix_srcfile_path
  21030. # Set to "yes" if exported symbols are required.
  21031. always_export_symbols=$always_export_symbols
  21032. # The commands to list exported symbols.
  21033. export_symbols_cmds=$lt_export_symbols_cmds
  21034. # Symbols that should not be listed in the preloaded symbols.
  21035. exclude_expsyms=$lt_exclude_expsyms
  21036. # Symbols that must always be exported.
  21037. include_expsyms=$lt_include_expsyms
  21038. # Commands necessary for linking programs (against libraries) with templates.
  21039. prelink_cmds=$lt_prelink_cmds
  21040. # Specify filename containing input files.
  21041. file_list_spec=$lt_file_list_spec
  21042. # How to hardcode a shared library path into an executable.
  21043. hardcode_action=$hardcode_action
  21044. # ### END LIBTOOL CONFIG
  21045. _LT_EOF
  21046. case $host_os in
  21047. aix3*)
  21048. cat <<\_LT_EOF >> "$cfgfile"
  21049. # AIX sometimes has problems with the GCC collect2 program. For some
  21050. # reason, if we set the COLLECT_NAMES environment variable, the problems
  21051. # vanish in a puff of smoke.
  21052. if test "X${COLLECT_NAMES+set}" != Xset; then
  21053. COLLECT_NAMES=
  21054. export COLLECT_NAMES
  21055. fi
  21056. _LT_EOF
  21057. ;;
  21058. esac
  21059. ltmain="$ac_aux_dir/ltmain.sh"
  21060. # We use sed instead of cat because bash on DJGPP gets confused if
  21061. # if finds mixed CR/LF and LF-only lines. Since sed operates in
  21062. # text mode, it properly converts lines to CR/LF. This bash problem
  21063. # is reportedly fixed, but why not run on old versions too?
  21064. sed '/^# Generated shell functions inserted here/q' "$ltmain" >> "$cfgfile" \
  21065. || (rm -f "$cfgfile"; exit 1)
  21066. case $xsi_shell in
  21067. yes)
  21068. cat << \_LT_EOF >> "$cfgfile"
  21069. # func_dirname file append nondir_replacement
  21070. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  21071. # otherwise set result to NONDIR_REPLACEMENT.
  21072. func_dirname ()
  21073. {
  21074. case ${1} in
  21075. */*) func_dirname_result="${1%/*}${2}" ;;
  21076. * ) func_dirname_result="${3}" ;;
  21077. esac
  21078. }
  21079. # func_basename file
  21080. func_basename ()
  21081. {
  21082. func_basename_result="${1##*/}"
  21083. }
  21084. # func_dirname_and_basename file append nondir_replacement
  21085. # perform func_basename and func_dirname in a single function
  21086. # call:
  21087. # dirname: Compute the dirname of FILE. If nonempty,
  21088. # add APPEND to the result, otherwise set result
  21089. # to NONDIR_REPLACEMENT.
  21090. # value returned in "$func_dirname_result"
  21091. # basename: Compute filename of FILE.
  21092. # value retuned in "$func_basename_result"
  21093. # Implementation must be kept synchronized with func_dirname
  21094. # and func_basename. For efficiency, we do not delegate to
  21095. # those functions but instead duplicate the functionality here.
  21096. func_dirname_and_basename ()
  21097. {
  21098. case ${1} in
  21099. */*) func_dirname_result="${1%/*}${2}" ;;
  21100. * ) func_dirname_result="${3}" ;;
  21101. esac
  21102. func_basename_result="${1##*/}"
  21103. }
  21104. # func_stripname prefix suffix name
  21105. # strip PREFIX and SUFFIX off of NAME.
  21106. # PREFIX and SUFFIX must not contain globbing or regex special
  21107. # characters, hashes, percent signs, but SUFFIX may contain a leading
  21108. # dot (in which case that matches only a dot).
  21109. func_stripname ()
  21110. {
  21111. # pdksh 5.2.14 does not do ${X%$Y} correctly if both X and Y are
  21112. # positional parameters, so assign one to ordinary parameter first.
  21113. func_stripname_result=${3}
  21114. func_stripname_result=${func_stripname_result#"${1}"}
  21115. func_stripname_result=${func_stripname_result%"${2}"}
  21116. }
  21117. # func_opt_split
  21118. func_opt_split ()
  21119. {
  21120. func_opt_split_opt=${1%%=*}
  21121. func_opt_split_arg=${1#*=}
  21122. }
  21123. # func_lo2o object
  21124. func_lo2o ()
  21125. {
  21126. case ${1} in
  21127. *.lo) func_lo2o_result=${1%.lo}.${objext} ;;
  21128. *) func_lo2o_result=${1} ;;
  21129. esac
  21130. }
  21131. # func_xform libobj-or-source
  21132. func_xform ()
  21133. {
  21134. func_xform_result=${1%.*}.lo
  21135. }
  21136. # func_arith arithmetic-term...
  21137. func_arith ()
  21138. {
  21139. func_arith_result=$(( $* ))
  21140. }
  21141. # func_len string
  21142. # STRING may not start with a hyphen.
  21143. func_len ()
  21144. {
  21145. func_len_result=${#1}
  21146. }
  21147. _LT_EOF
  21148. ;;
  21149. *) # Bourne compatible functions.
  21150. cat << \_LT_EOF >> "$cfgfile"
  21151. # func_dirname file append nondir_replacement
  21152. # Compute the dirname of FILE. If nonempty, add APPEND to the result,
  21153. # otherwise set result to NONDIR_REPLACEMENT.
  21154. func_dirname ()
  21155. {
  21156. # Extract subdirectory from the argument.
  21157. func_dirname_result=`$ECHO "X${1}" | $Xsed -e "$dirname"`
  21158. if test "X$func_dirname_result" = "X${1}"; then
  21159. func_dirname_result="${3}"
  21160. else
  21161. func_dirname_result="$func_dirname_result${2}"
  21162. fi
  21163. }
  21164. # func_basename file
  21165. func_basename ()
  21166. {
  21167. func_basename_result=`$ECHO "X${1}" | $Xsed -e "$basename"`
  21168. }
  21169. # func_stripname prefix suffix name
  21170. # strip PREFIX and SUFFIX off of NAME.
  21171. # PREFIX and SUFFIX must not contain globbing or regex special
  21172. # characters, hashes, percent signs, but SUFFIX may contain a leading
  21173. # dot (in which case that matches only a dot).
  21174. # func_strip_suffix prefix name
  21175. func_stripname ()
  21176. {
  21177. case ${2} in
  21178. .*) func_stripname_result=`$ECHO "X${3}" \
  21179. | $Xsed -e "s%^${1}%%" -e "s%\\\\${2}\$%%"`;;
  21180. *) func_stripname_result=`$ECHO "X${3}" \
  21181. | $Xsed -e "s%^${1}%%" -e "s%${2}\$%%"`;;
  21182. esac
  21183. }
  21184. # sed scripts:
  21185. my_sed_long_opt='1s/^\(-[^=]*\)=.*/\1/;q'
  21186. my_sed_long_arg='1s/^-[^=]*=//'
  21187. # func_opt_split
  21188. func_opt_split ()
  21189. {
  21190. func_opt_split_opt=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_opt"`
  21191. func_opt_split_arg=`$ECHO "X${1}" | $Xsed -e "$my_sed_long_arg"`
  21192. }
  21193. # func_lo2o object
  21194. func_lo2o ()
  21195. {
  21196. func_lo2o_result=`$ECHO "X${1}" | $Xsed -e "$lo2o"`
  21197. }
  21198. # func_xform libobj-or-source
  21199. func_xform ()
  21200. {
  21201. func_xform_result=`$ECHO "X${1}" | $Xsed -e 's/\.[^.]*$/.lo/'`
  21202. }
  21203. # func_arith arithmetic-term...
  21204. func_arith ()
  21205. {
  21206. func_arith_result=`expr "$@"`
  21207. }
  21208. # func_len string
  21209. # STRING may not start with a hyphen.
  21210. func_len ()
  21211. {
  21212. func_len_result=`expr "$1" : ".*" 2>/dev/null || echo $max_cmd_len`
  21213. }
  21214. _LT_EOF
  21215. esac
  21216. case $lt_shell_append in
  21217. yes)
  21218. cat << \_LT_EOF >> "$cfgfile"
  21219. # func_append var value
  21220. # Append VALUE to the end of shell variable VAR.
  21221. func_append ()
  21222. {
  21223. eval "$1+=\$2"
  21224. }
  21225. _LT_EOF
  21226. ;;
  21227. *)
  21228. cat << \_LT_EOF >> "$cfgfile"
  21229. # func_append var value
  21230. # Append VALUE to the end of shell variable VAR.
  21231. func_append ()
  21232. {
  21233. eval "$1=\$$1\$2"
  21234. }
  21235. _LT_EOF
  21236. ;;
  21237. esac
  21238. sed -n '/^# Generated shell functions inserted here/,$p' "$ltmain" >> "$cfgfile" \
  21239. || (rm -f "$cfgfile"; exit 1)
  21240. mv -f "$cfgfile" "$ofile" ||
  21241. (rm -f "$ofile" && cp "$cfgfile" "$ofile" && rm -f "$cfgfile")
  21242. chmod +x "$ofile"
  21243. ;;
  21244. esac
  21245. done # for ac_tag
  21246. { (exit 0); exit 0; }
  21247. _ACEOF
  21248. chmod +x $CONFIG_STATUS
  21249. ac_clean_files=$ac_clean_files_save
  21250. test $ac_write_fail = 0 ||
  21251. { { $as_echo "$as_me:$LINENO: error: write failure creating $CONFIG_STATUS" >&5
  21252. $as_echo "$as_me: error: write failure creating $CONFIG_STATUS" >&2;}
  21253. { (exit 1); exit 1; }; }
  21254. # configure is writing to config.log, and then calls config.status.
  21255. # config.status does its own redirection, appending to config.log.
  21256. # Unfortunately, on DOS this fails, as config.log is still kept open
  21257. # by configure, so config.status won't be able to write to it; its
  21258. # output is simply discarded. So we exec the FD to /dev/null,
  21259. # effectively closing config.log, so it can be properly (re)opened and
  21260. # appended to by config.status. When coming back to configure, we
  21261. # need to make the FD available again.
  21262. if test "$no_create" != yes; then
  21263. ac_cs_success=:
  21264. ac_config_status_args=
  21265. test "$silent" = yes &&
  21266. ac_config_status_args="$ac_config_status_args --quiet"
  21267. exec 5>/dev/null
  21268. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  21269. exec 5>>config.log
  21270. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  21271. # would make configure fail if this is the last instruction.
  21272. $ac_cs_success || { (exit 1); exit 1; }
  21273. fi
  21274. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  21275. { $as_echo "$as_me:$LINENO: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  21276. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  21277. fi
  21278. chmod +x xml2-config python/setup.py
  21279. echo Done configuring