configure 1.2 MB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603236042360523606236072360823609236102361123612236132361423615236162361723618236192362023621236222362323624236252362623627236282362923630236312363223633236342363523636236372363823639236402364123642236432364423645236462364723648236492365023651236522365323654236552365623657236582365923660236612366223663236642366523666236672366823669236702367123672236732367423675236762367723678236792368023681236822368323684236852368623687236882368923690236912369223693236942369523696236972369823699237002370123702237032370423705237062370723708237092371023711237122371323714237152371623717237182371923720237212372223723237242372523726237272372823729237302373123732237332373423735237362373723738237392374023741237422374323744237452374623747237482374923750237512375223753237542375523756237572375823759237602376123762237632376423765237662376723768237692377023771237722377323774237752377623777237782377923780237812378223783237842378523786237872378823789237902379123792237932379423795237962379723798237992380023801238022380323804238052380623807238082380923810238112381223813238142381523816238172381823819238202382123822238232382423825238262382723828238292383023831238322383323834238352383623837238382383923840238412384223843238442384523846238472384823849238502385123852238532385423855238562385723858238592386023861238622386323864238652386623867238682386923870238712387223873238742387523876238772387823879238802388123882238832388423885238862388723888238892389023891238922389323894238952389623897238982389923900239012390223903239042390523906239072390823909239102391123912239132391423915239162391723918239192392023921239222392323924239252392623927239282392923930239312393223933239342393523936239372393823939239402394123942239432394423945239462394723948239492395023951239522395323954239552395623957239582395923960239612396223963239642396523966239672396823969239702397123972239732397423975239762397723978239792398023981239822398323984239852398623987239882398923990239912399223993239942399523996239972399823999240002400124002240032400424005240062400724008240092401024011240122401324014240152401624017240182401924020240212402224023240242402524026240272402824029240302403124032240332403424035240362403724038240392404024041240422404324044240452404624047240482404924050240512405224053240542405524056240572405824059240602406124062240632406424065240662406724068240692407024071240722407324074240752407624077240782407924080240812408224083240842408524086240872408824089240902409124092240932409424095240962409724098240992410024101241022410324104241052410624107241082410924110241112411224113241142411524116241172411824119241202412124122241232412424125241262412724128241292413024131241322413324134241352413624137241382413924140241412414224143241442414524146241472414824149241502415124152241532415424155241562415724158241592416024161241622416324164241652416624167241682416924170241712417224173241742417524176241772417824179241802418124182241832418424185241862418724188241892419024191241922419324194241952419624197241982419924200242012420224203242042420524206242072420824209242102421124212242132421424215242162421724218242192422024221242222422324224242252422624227242282422924230242312423224233242342423524236242372423824239242402424124242242432424424245242462424724248242492425024251242522425324254242552425624257242582425924260242612426224263242642426524266242672426824269242702427124272242732427424275242762427724278242792428024281242822428324284242852428624287242882428924290242912429224293242942429524296242972429824299243002430124302243032430424305243062430724308243092431024311243122431324314243152431624317243182431924320243212432224323243242432524326243272432824329243302433124332243332433424335243362433724338243392434024341243422434324344243452434624347243482434924350243512435224353243542435524356243572435824359243602436124362243632436424365243662436724368243692437024371243722437324374243752437624377243782437924380243812438224383243842438524386243872438824389243902439124392243932439424395243962439724398243992440024401244022440324404244052440624407244082440924410244112441224413244142441524416244172441824419244202442124422244232442424425244262442724428244292443024431244322443324434244352443624437244382443924440244412444224443244442444524446244472444824449244502445124452244532445424455244562445724458244592446024461244622446324464244652446624467244682446924470244712447224473244742447524476244772447824479244802448124482244832448424485244862448724488244892449024491244922449324494244952449624497244982449924500245012450224503245042450524506245072450824509245102451124512245132451424515245162451724518245192452024521245222452324524245252452624527245282452924530245312453224533245342453524536245372453824539245402454124542245432454424545245462454724548245492455024551245522455324554245552455624557245582455924560245612456224563245642456524566245672456824569245702457124572245732457424575245762457724578245792458024581245822458324584245852458624587245882458924590245912459224593245942459524596245972459824599246002460124602246032460424605246062460724608246092461024611246122461324614246152461624617246182461924620246212462224623246242462524626246272462824629246302463124632246332463424635246362463724638246392464024641246422464324644246452464624647246482464924650246512465224653246542465524656246572465824659246602466124662246632466424665246662466724668246692467024671246722467324674246752467624677246782467924680246812468224683246842468524686246872468824689246902469124692246932469424695246962469724698246992470024701247022470324704247052470624707247082470924710247112471224713247142471524716247172471824719247202472124722247232472424725247262472724728247292473024731247322473324734247352473624737247382473924740247412474224743247442474524746247472474824749247502475124752247532475424755247562475724758247592476024761247622476324764247652476624767247682476924770247712477224773247742477524776247772477824779247802478124782247832478424785247862478724788247892479024791247922479324794247952479624797247982479924800248012480224803248042480524806248072480824809248102481124812248132481424815248162481724818248192482024821248222482324824248252482624827248282482924830248312483224833248342483524836248372483824839248402484124842248432484424845248462484724848248492485024851248522485324854248552485624857248582485924860248612486224863248642486524866248672486824869248702487124872248732487424875248762487724878248792488024881248822488324884248852488624887248882488924890248912489224893248942489524896248972489824899249002490124902249032490424905249062490724908249092491024911249122491324914249152491624917249182491924920249212492224923249242492524926249272492824929249302493124932249332493424935249362493724938249392494024941249422494324944249452494624947249482494924950249512495224953249542495524956249572495824959249602496124962249632496424965249662496724968249692497024971249722497324974249752497624977249782497924980249812498224983249842498524986249872498824989249902499124992249932499424995249962499724998249992500025001250022500325004250052500625007250082500925010250112501225013250142501525016250172501825019250202502125022250232502425025250262502725028250292503025031250322503325034250352503625037250382503925040250412504225043250442504525046250472504825049250502505125052250532505425055250562505725058250592506025061250622506325064250652506625067250682506925070250712507225073250742507525076250772507825079250802508125082250832508425085250862508725088250892509025091250922509325094250952509625097250982509925100251012510225103251042510525106251072510825109251102511125112251132511425115251162511725118251192512025121251222512325124251252512625127251282512925130251312513225133251342513525136251372513825139251402514125142251432514425145251462514725148251492515025151251522515325154251552515625157251582515925160251612516225163251642516525166251672516825169251702517125172251732517425175251762517725178251792518025181251822518325184251852518625187251882518925190251912519225193251942519525196251972519825199252002520125202252032520425205252062520725208252092521025211252122521325214252152521625217252182521925220252212522225223252242522525226252272522825229252302523125232252332523425235252362523725238252392524025241252422524325244252452524625247252482524925250252512525225253252542525525256252572525825259252602526125262252632526425265252662526725268252692527025271252722527325274252752527625277252782527925280252812528225283252842528525286252872528825289252902529125292252932529425295252962529725298252992530025301253022530325304253052530625307253082530925310253112531225313253142531525316253172531825319253202532125322253232532425325253262532725328253292533025331253322533325334253352533625337253382533925340253412534225343253442534525346253472534825349253502535125352253532535425355253562535725358253592536025361253622536325364253652536625367253682536925370253712537225373253742537525376253772537825379253802538125382253832538425385253862538725388253892539025391253922539325394253952539625397253982539925400254012540225403254042540525406254072540825409254102541125412254132541425415254162541725418254192542025421254222542325424254252542625427254282542925430254312543225433254342543525436254372543825439254402544125442254432544425445254462544725448254492545025451254522545325454254552545625457254582545925460254612546225463254642546525466254672546825469254702547125472254732547425475254762547725478254792548025481254822548325484254852548625487254882548925490254912549225493254942549525496254972549825499255002550125502255032550425505255062550725508255092551025511255122551325514255152551625517255182551925520255212552225523255242552525526255272552825529255302553125532255332553425535255362553725538255392554025541255422554325544255452554625547255482554925550255512555225553255542555525556255572555825559255602556125562255632556425565255662556725568255692557025571255722557325574255752557625577255782557925580255812558225583255842558525586255872558825589255902559125592255932559425595255962559725598255992560025601256022560325604256052560625607256082560925610256112561225613256142561525616256172561825619256202562125622256232562425625256262562725628256292563025631256322563325634256352563625637256382563925640256412564225643256442564525646256472564825649256502565125652256532565425655256562565725658256592566025661256622566325664256652566625667256682566925670256712567225673256742567525676256772567825679256802568125682256832568425685256862568725688256892569025691256922569325694256952569625697256982569925700257012570225703257042570525706257072570825709257102571125712257132571425715257162571725718257192572025721257222572325724257252572625727257282572925730257312573225733257342573525736257372573825739257402574125742257432574425745257462574725748257492575025751257522575325754257552575625757257582575925760257612576225763257642576525766257672576825769257702577125772257732577425775257762577725778257792578025781257822578325784257852578625787257882578925790257912579225793257942579525796257972579825799258002580125802258032580425805258062580725808258092581025811258122581325814258152581625817258182581925820258212582225823258242582525826258272582825829258302583125832258332583425835258362583725838258392584025841258422584325844258452584625847258482584925850258512585225853258542585525856258572585825859258602586125862258632586425865258662586725868258692587025871258722587325874258752587625877258782587925880258812588225883258842588525886258872588825889258902589125892258932589425895258962589725898258992590025901259022590325904259052590625907259082590925910259112591225913259142591525916259172591825919259202592125922259232592425925259262592725928259292593025931259322593325934259352593625937259382593925940259412594225943259442594525946259472594825949259502595125952259532595425955259562595725958259592596025961259622596325964259652596625967259682596925970259712597225973259742597525976259772597825979259802598125982259832598425985259862598725988259892599025991259922599325994259952599625997259982599926000260012600226003260042600526006260072600826009260102601126012260132601426015260162601726018260192602026021260222602326024260252602626027260282602926030260312603226033260342603526036260372603826039260402604126042260432604426045260462604726048260492605026051260522605326054260552605626057260582605926060260612606226063260642606526066260672606826069260702607126072260732607426075260762607726078260792608026081260822608326084260852608626087260882608926090260912609226093260942609526096260972609826099261002610126102261032610426105261062610726108261092611026111261122611326114261152611626117261182611926120261212612226123261242612526126261272612826129261302613126132261332613426135261362613726138261392614026141261422614326144261452614626147261482614926150261512615226153261542615526156261572615826159261602616126162261632616426165261662616726168261692617026171261722617326174261752617626177261782617926180261812618226183261842618526186261872618826189261902619126192261932619426195261962619726198261992620026201262022620326204262052620626207262082620926210262112621226213262142621526216262172621826219262202622126222262232622426225262262622726228262292623026231262322623326234262352623626237262382623926240262412624226243262442624526246262472624826249262502625126252262532625426255262562625726258262592626026261262622626326264262652626626267262682626926270262712627226273262742627526276262772627826279262802628126282262832628426285262862628726288262892629026291262922629326294262952629626297262982629926300263012630226303263042630526306263072630826309263102631126312263132631426315263162631726318263192632026321263222632326324263252632626327263282632926330263312633226333263342633526336263372633826339263402634126342263432634426345263462634726348263492635026351263522635326354263552635626357263582635926360263612636226363263642636526366263672636826369263702637126372263732637426375263762637726378263792638026381263822638326384263852638626387263882638926390263912639226393263942639526396263972639826399264002640126402264032640426405264062640726408264092641026411264122641326414264152641626417264182641926420264212642226423264242642526426264272642826429264302643126432264332643426435264362643726438264392644026441264422644326444264452644626447264482644926450264512645226453264542645526456264572645826459264602646126462264632646426465264662646726468264692647026471264722647326474264752647626477264782647926480264812648226483264842648526486264872648826489264902649126492264932649426495264962649726498264992650026501265022650326504265052650626507265082650926510265112651226513265142651526516265172651826519265202652126522265232652426525265262652726528265292653026531265322653326534265352653626537265382653926540265412654226543265442654526546265472654826549265502655126552265532655426555265562655726558265592656026561265622656326564265652656626567265682656926570265712657226573265742657526576265772657826579265802658126582265832658426585265862658726588265892659026591265922659326594265952659626597265982659926600266012660226603266042660526606266072660826609266102661126612266132661426615266162661726618266192662026621266222662326624266252662626627266282662926630266312663226633266342663526636266372663826639266402664126642266432664426645266462664726648266492665026651266522665326654266552665626657266582665926660266612666226663266642666526666266672666826669266702667126672266732667426675266762667726678266792668026681266822668326684266852668626687266882668926690266912669226693266942669526696266972669826699267002670126702267032670426705267062670726708267092671026711267122671326714267152671626717267182671926720267212672226723267242672526726267272672826729267302673126732267332673426735267362673726738267392674026741267422674326744267452674626747267482674926750267512675226753267542675526756267572675826759267602676126762267632676426765267662676726768267692677026771267722677326774267752677626777267782677926780267812678226783267842678526786267872678826789267902679126792267932679426795267962679726798267992680026801268022680326804268052680626807268082680926810268112681226813268142681526816268172681826819268202682126822268232682426825268262682726828268292683026831268322683326834268352683626837268382683926840268412684226843268442684526846268472684826849268502685126852268532685426855268562685726858268592686026861268622686326864268652686626867268682686926870268712687226873268742687526876268772687826879268802688126882268832688426885268862688726888268892689026891268922689326894268952689626897268982689926900269012690226903269042690526906269072690826909269102691126912269132691426915269162691726918269192692026921269222692326924269252692626927269282692926930269312693226933269342693526936269372693826939269402694126942269432694426945269462694726948269492695026951269522695326954269552695626957269582695926960269612696226963269642696526966269672696826969269702697126972269732697426975269762697726978269792698026981269822698326984269852698626987269882698926990269912699226993269942699526996269972699826999270002700127002270032700427005270062700727008270092701027011270122701327014270152701627017270182701927020270212702227023270242702527026270272702827029270302703127032270332703427035270362703727038270392704027041270422704327044270452704627047270482704927050270512705227053270542705527056270572705827059270602706127062270632706427065270662706727068270692707027071270722707327074270752707627077270782707927080270812708227083270842708527086270872708827089270902709127092270932709427095270962709727098270992710027101271022710327104271052710627107271082710927110271112711227113271142711527116271172711827119271202712127122271232712427125271262712727128271292713027131271322713327134271352713627137271382713927140271412714227143271442714527146271472714827149271502715127152271532715427155271562715727158271592716027161271622716327164271652716627167271682716927170271712717227173271742717527176271772717827179271802718127182271832718427185271862718727188271892719027191271922719327194271952719627197271982719927200272012720227203272042720527206272072720827209272102721127212272132721427215272162721727218272192722027221272222722327224272252722627227272282722927230272312723227233272342723527236272372723827239272402724127242272432724427245272462724727248272492725027251272522725327254272552725627257272582725927260272612726227263272642726527266272672726827269272702727127272272732727427275272762727727278272792728027281272822728327284272852728627287272882728927290272912729227293272942729527296272972729827299273002730127302273032730427305273062730727308273092731027311273122731327314273152731627317273182731927320273212732227323273242732527326273272732827329273302733127332273332733427335273362733727338273392734027341273422734327344273452734627347273482734927350273512735227353273542735527356273572735827359273602736127362273632736427365273662736727368273692737027371273722737327374273752737627377273782737927380273812738227383273842738527386273872738827389273902739127392273932739427395273962739727398273992740027401274022740327404274052740627407274082740927410274112741227413274142741527416274172741827419274202742127422274232742427425274262742727428274292743027431274322743327434274352743627437274382743927440274412744227443274442744527446274472744827449274502745127452274532745427455274562745727458274592746027461274622746327464274652746627467274682746927470274712747227473274742747527476274772747827479274802748127482274832748427485274862748727488274892749027491274922749327494274952749627497274982749927500275012750227503275042750527506275072750827509275102751127512275132751427515275162751727518275192752027521275222752327524275252752627527275282752927530275312753227533275342753527536275372753827539275402754127542275432754427545275462754727548275492755027551275522755327554275552755627557275582755927560275612756227563275642756527566275672756827569275702757127572275732757427575275762757727578275792758027581275822758327584275852758627587275882758927590275912759227593275942759527596275972759827599276002760127602276032760427605276062760727608276092761027611276122761327614276152761627617276182761927620276212762227623276242762527626276272762827629276302763127632276332763427635276362763727638276392764027641276422764327644276452764627647276482764927650276512765227653276542765527656276572765827659276602766127662276632766427665276662766727668276692767027671276722767327674276752767627677276782767927680276812768227683276842768527686276872768827689276902769127692276932769427695276962769727698276992770027701277022770327704277052770627707277082770927710277112771227713277142771527716277172771827719277202772127722277232772427725277262772727728277292773027731277322773327734277352773627737277382773927740277412774227743277442774527746277472774827749277502775127752277532775427755277562775727758277592776027761277622776327764277652776627767277682776927770277712777227773277742777527776277772777827779277802778127782277832778427785277862778727788277892779027791277922779327794277952779627797277982779927800278012780227803278042780527806278072780827809278102781127812278132781427815278162781727818278192782027821278222782327824278252782627827278282782927830278312783227833278342783527836278372783827839278402784127842278432784427845278462784727848278492785027851278522785327854278552785627857278582785927860278612786227863278642786527866278672786827869278702787127872278732787427875278762787727878278792788027881278822788327884278852788627887278882788927890278912789227893278942789527896278972789827899279002790127902279032790427905279062790727908279092791027911279122791327914279152791627917279182791927920279212792227923279242792527926279272792827929279302793127932279332793427935279362793727938279392794027941279422794327944279452794627947279482794927950279512795227953279542795527956279572795827959279602796127962279632796427965279662796727968279692797027971279722797327974279752797627977279782797927980279812798227983279842798527986279872798827989279902799127992279932799427995279962799727998279992800028001280022800328004280052800628007280082800928010280112801228013280142801528016280172801828019280202802128022280232802428025280262802728028280292803028031280322803328034280352803628037280382803928040280412804228043280442804528046280472804828049280502805128052280532805428055280562805728058280592806028061280622806328064280652806628067280682806928070280712807228073280742807528076280772807828079280802808128082280832808428085280862808728088280892809028091280922809328094280952809628097280982809928100281012810228103281042810528106281072810828109281102811128112281132811428115281162811728118281192812028121281222812328124281252812628127281282812928130281312813228133281342813528136281372813828139281402814128142281432814428145281462814728148281492815028151281522815328154281552815628157281582815928160281612816228163281642816528166281672816828169281702817128172281732817428175281762817728178281792818028181281822818328184281852818628187281882818928190281912819228193281942819528196281972819828199282002820128202282032820428205282062820728208282092821028211282122821328214282152821628217282182821928220282212822228223282242822528226282272822828229282302823128232282332823428235282362823728238282392824028241282422824328244282452824628247282482824928250282512825228253282542825528256282572825828259282602826128262282632826428265282662826728268282692827028271282722827328274282752827628277282782827928280282812828228283282842828528286282872828828289282902829128292282932829428295282962829728298282992830028301283022830328304283052830628307283082830928310283112831228313283142831528316283172831828319283202832128322283232832428325283262832728328283292833028331283322833328334283352833628337283382833928340283412834228343283442834528346283472834828349283502835128352283532835428355283562835728358283592836028361283622836328364283652836628367283682836928370283712837228373283742837528376283772837828379283802838128382283832838428385283862838728388283892839028391283922839328394283952839628397283982839928400284012840228403284042840528406284072840828409284102841128412284132841428415284162841728418284192842028421284222842328424284252842628427284282842928430284312843228433284342843528436284372843828439284402844128442284432844428445284462844728448284492845028451284522845328454284552845628457284582845928460284612846228463284642846528466284672846828469284702847128472284732847428475284762847728478284792848028481284822848328484284852848628487284882848928490284912849228493284942849528496284972849828499285002850128502285032850428505285062850728508285092851028511285122851328514285152851628517285182851928520285212852228523285242852528526285272852828529285302853128532285332853428535285362853728538285392854028541285422854328544285452854628547285482854928550285512855228553285542855528556285572855828559285602856128562285632856428565285662856728568285692857028571285722857328574285752857628577285782857928580285812858228583285842858528586285872858828589285902859128592285932859428595285962859728598285992860028601286022860328604286052860628607286082860928610286112861228613286142861528616286172861828619286202862128622286232862428625286262862728628286292863028631286322863328634286352863628637286382863928640286412864228643286442864528646286472864828649286502865128652286532865428655286562865728658286592866028661286622866328664286652866628667286682866928670286712867228673286742867528676286772867828679286802868128682286832868428685286862868728688286892869028691286922869328694286952869628697286982869928700287012870228703287042870528706287072870828709287102871128712287132871428715287162871728718287192872028721287222872328724287252872628727287282872928730287312873228733287342873528736287372873828739287402874128742287432874428745287462874728748287492875028751287522875328754287552875628757287582875928760287612876228763287642876528766287672876828769287702877128772287732877428775287762877728778287792878028781287822878328784287852878628787287882878928790287912879228793287942879528796287972879828799288002880128802288032880428805288062880728808288092881028811288122881328814288152881628817288182881928820288212882228823288242882528826288272882828829288302883128832288332883428835288362883728838288392884028841288422884328844288452884628847288482884928850288512885228853288542885528856288572885828859288602886128862288632886428865288662886728868288692887028871288722887328874288752887628877288782887928880288812888228883288842888528886288872888828889288902889128892288932889428895288962889728898288992890028901289022890328904289052890628907289082890928910289112891228913289142891528916289172891828919289202892128922289232892428925289262892728928289292893028931289322893328934289352893628937289382893928940289412894228943289442894528946289472894828949289502895128952289532895428955289562895728958289592896028961289622896328964289652896628967289682896928970289712897228973289742897528976289772897828979289802898128982289832898428985289862898728988289892899028991289922899328994289952899628997289982899929000290012900229003290042900529006290072900829009290102901129012290132901429015290162901729018290192902029021290222902329024290252902629027290282902929030290312903229033290342903529036290372903829039290402904129042290432904429045290462904729048290492905029051290522905329054290552905629057290582905929060290612906229063290642906529066290672906829069290702907129072290732907429075290762907729078290792908029081290822908329084290852908629087290882908929090290912909229093290942909529096290972909829099291002910129102291032910429105291062910729108291092911029111291122911329114291152911629117291182911929120291212912229123291242912529126291272912829129291302913129132291332913429135291362913729138291392914029141291422914329144291452914629147291482914929150291512915229153291542915529156291572915829159291602916129162291632916429165291662916729168291692917029171291722917329174291752917629177291782917929180291812918229183291842918529186291872918829189291902919129192291932919429195291962919729198291992920029201292022920329204292052920629207292082920929210292112921229213292142921529216292172921829219292202922129222292232922429225292262922729228292292923029231292322923329234292352923629237292382923929240292412924229243292442924529246292472924829249292502925129252292532925429255292562925729258292592926029261292622926329264292652926629267292682926929270292712927229273292742927529276292772927829279292802928129282292832928429285292862928729288292892929029291292922929329294292952929629297292982929929300293012930229303293042930529306293072930829309293102931129312293132931429315293162931729318293192932029321293222932329324293252932629327293282932929330293312933229333293342933529336293372933829339293402934129342293432934429345293462934729348293492935029351293522935329354293552935629357293582935929360293612936229363293642936529366293672936829369293702937129372293732937429375293762937729378293792938029381293822938329384293852938629387293882938929390293912939229393293942939529396293972939829399294002940129402294032940429405294062940729408294092941029411294122941329414294152941629417294182941929420294212942229423294242942529426294272942829429294302943129432294332943429435294362943729438294392944029441294422944329444294452944629447294482944929450294512945229453294542945529456294572945829459294602946129462294632946429465294662946729468294692947029471294722947329474294752947629477294782947929480294812948229483294842948529486294872948829489294902949129492294932949429495294962949729498294992950029501295022950329504295052950629507295082950929510295112951229513295142951529516295172951829519295202952129522295232952429525295262952729528295292953029531295322953329534295352953629537295382953929540295412954229543295442954529546295472954829549295502955129552295532955429555295562955729558295592956029561295622956329564295652956629567295682956929570295712957229573295742957529576295772957829579295802958129582295832958429585295862958729588295892959029591295922959329594295952959629597295982959929600296012960229603296042960529606296072960829609296102961129612296132961429615296162961729618296192962029621296222962329624296252962629627296282962929630296312963229633296342963529636296372963829639296402964129642296432964429645296462964729648296492965029651296522965329654296552965629657296582965929660296612966229663296642966529666296672966829669296702967129672296732967429675296762967729678296792968029681296822968329684296852968629687296882968929690296912969229693296942969529696296972969829699297002970129702297032970429705297062970729708297092971029711297122971329714297152971629717297182971929720297212972229723297242972529726297272972829729297302973129732297332973429735297362973729738297392974029741297422974329744297452974629747297482974929750297512975229753297542975529756297572975829759297602976129762297632976429765297662976729768297692977029771297722977329774297752977629777297782977929780297812978229783297842978529786297872978829789297902979129792297932979429795297962979729798297992980029801298022980329804298052980629807298082980929810298112981229813298142981529816298172981829819298202982129822298232982429825298262982729828298292983029831298322983329834298352983629837298382983929840298412984229843298442984529846298472984829849298502985129852298532985429855298562985729858298592986029861298622986329864298652986629867298682986929870298712987229873298742987529876298772987829879298802988129882298832988429885298862988729888298892989029891298922989329894298952989629897298982989929900299012990229903299042990529906299072990829909299102991129912299132991429915299162991729918299192992029921299222992329924299252992629927299282992929930299312993229933299342993529936299372993829939299402994129942299432994429945299462994729948299492995029951299522995329954299552995629957299582995929960299612996229963299642996529966299672996829969299702997129972299732997429975299762997729978299792998029981299822998329984299852998629987299882998929990299912999229993299942999529996299972999829999300003000130002300033000430005300063000730008300093001030011300123001330014300153001630017300183001930020300213002230023300243002530026300273002830029300303003130032300333003430035300363003730038300393004030041300423004330044300453004630047300483004930050300513005230053300543005530056300573005830059300603006130062300633006430065300663006730068300693007030071300723007330074300753007630077300783007930080300813008230083300843008530086300873008830089300903009130092300933009430095300963009730098300993010030101301023010330104301053010630107301083010930110301113011230113301143011530116301173011830119301203012130122301233012430125301263012730128301293013030131301323013330134301353013630137301383013930140301413014230143301443014530146301473014830149301503015130152301533015430155301563015730158301593016030161301623016330164301653016630167301683016930170301713017230173301743017530176301773017830179301803018130182301833018430185301863018730188301893019030191301923019330194301953019630197301983019930200302013020230203302043020530206302073020830209302103021130212302133021430215302163021730218302193022030221302223022330224302253022630227302283022930230302313023230233302343023530236302373023830239302403024130242302433024430245302463024730248302493025030251302523025330254302553025630257302583025930260302613026230263302643026530266302673026830269302703027130272302733027430275302763027730278302793028030281302823028330284302853028630287302883028930290302913029230293302943029530296302973029830299303003030130302303033030430305303063030730308303093031030311303123031330314303153031630317303183031930320303213032230323303243032530326303273032830329303303033130332303333033430335303363033730338303393034030341303423034330344303453034630347303483034930350303513035230353303543035530356303573035830359303603036130362303633036430365303663036730368303693037030371303723037330374303753037630377303783037930380303813038230383303843038530386303873038830389303903039130392303933039430395303963039730398303993040030401304023040330404304053040630407304083040930410304113041230413304143041530416304173041830419304203042130422304233042430425304263042730428304293043030431304323043330434304353043630437304383043930440304413044230443304443044530446304473044830449304503045130452304533045430455304563045730458304593046030461304623046330464304653046630467304683046930470304713047230473304743047530476304773047830479304803048130482304833048430485304863048730488304893049030491304923049330494304953049630497304983049930500305013050230503305043050530506305073050830509305103051130512305133051430515305163051730518305193052030521305223052330524305253052630527305283052930530305313053230533305343053530536305373053830539305403054130542305433054430545305463054730548305493055030551305523055330554305553055630557305583055930560305613056230563305643056530566305673056830569305703057130572305733057430575305763057730578305793058030581305823058330584305853058630587305883058930590305913059230593305943059530596305973059830599306003060130602306033060430605306063060730608306093061030611306123061330614306153061630617306183061930620306213062230623306243062530626306273062830629306303063130632306333063430635306363063730638306393064030641306423064330644306453064630647306483064930650306513065230653306543065530656306573065830659306603066130662306633066430665306663066730668306693067030671306723067330674306753067630677306783067930680306813068230683306843068530686306873068830689306903069130692306933069430695306963069730698306993070030701307023070330704307053070630707307083070930710307113071230713307143071530716307173071830719307203072130722307233072430725307263072730728307293073030731307323073330734307353073630737307383073930740307413074230743307443074530746307473074830749307503075130752307533075430755307563075730758307593076030761307623076330764307653076630767307683076930770307713077230773307743077530776307773077830779307803078130782307833078430785307863078730788307893079030791307923079330794307953079630797307983079930800308013080230803308043080530806308073080830809308103081130812308133081430815308163081730818308193082030821308223082330824308253082630827308283082930830308313083230833308343083530836308373083830839308403084130842308433084430845308463084730848308493085030851308523085330854308553085630857308583085930860308613086230863308643086530866308673086830869308703087130872308733087430875308763087730878308793088030881308823088330884308853088630887308883088930890308913089230893308943089530896308973089830899309003090130902309033090430905309063090730908309093091030911309123091330914309153091630917309183091930920309213092230923309243092530926309273092830929309303093130932309333093430935309363093730938309393094030941309423094330944309453094630947309483094930950309513095230953309543095530956309573095830959309603096130962309633096430965309663096730968309693097030971309723097330974309753097630977309783097930980309813098230983309843098530986309873098830989309903099130992309933099430995309963099730998309993100031001310023100331004310053100631007310083100931010310113101231013310143101531016310173101831019310203102131022310233102431025310263102731028310293103031031310323103331034310353103631037310383103931040310413104231043310443104531046310473104831049310503105131052310533105431055310563105731058310593106031061310623106331064310653106631067310683106931070310713107231073310743107531076310773107831079310803108131082310833108431085310863108731088310893109031091310923109331094310953109631097310983109931100311013110231103311043110531106311073110831109311103111131112311133111431115311163111731118311193112031121311223112331124311253112631127311283112931130311313113231133311343113531136311373113831139311403114131142311433114431145311463114731148311493115031151311523115331154311553115631157311583115931160311613116231163311643116531166311673116831169311703117131172311733117431175311763117731178311793118031181311823118331184311853118631187311883118931190311913119231193311943119531196311973119831199312003120131202312033120431205312063120731208312093121031211312123121331214312153121631217312183121931220312213122231223312243122531226312273122831229312303123131232312333123431235312363123731238312393124031241312423124331244312453124631247312483124931250312513125231253312543125531256312573125831259312603126131262312633126431265312663126731268312693127031271312723127331274312753127631277312783127931280312813128231283312843128531286312873128831289312903129131292312933129431295312963129731298312993130031301313023130331304313053130631307313083130931310313113131231313313143131531316313173131831319313203132131322313233132431325313263132731328313293133031331313323133331334313353133631337313383133931340313413134231343313443134531346313473134831349313503135131352313533135431355313563135731358313593136031361313623136331364313653136631367313683136931370313713137231373313743137531376313773137831379313803138131382313833138431385313863138731388313893139031391313923139331394313953139631397313983139931400314013140231403314043140531406314073140831409314103141131412314133141431415314163141731418314193142031421314223142331424314253142631427314283142931430314313143231433314343143531436314373143831439314403144131442314433144431445314463144731448314493145031451314523145331454314553145631457314583145931460314613146231463314643146531466314673146831469314703147131472314733147431475314763147731478314793148031481314823148331484314853148631487314883148931490314913149231493314943149531496314973149831499315003150131502315033150431505315063150731508315093151031511315123151331514315153151631517315183151931520315213152231523315243152531526315273152831529315303153131532315333153431535315363153731538315393154031541315423154331544315453154631547315483154931550315513155231553315543155531556315573155831559315603156131562315633156431565315663156731568315693157031571315723157331574315753157631577315783157931580315813158231583315843158531586315873158831589315903159131592315933159431595315963159731598315993160031601316023160331604316053160631607316083160931610316113161231613316143161531616316173161831619316203162131622316233162431625316263162731628316293163031631316323163331634316353163631637316383163931640316413164231643316443164531646316473164831649316503165131652316533165431655316563165731658316593166031661316623166331664316653166631667316683166931670316713167231673316743167531676316773167831679316803168131682316833168431685316863168731688316893169031691316923169331694316953169631697316983169931700317013170231703317043170531706317073170831709317103171131712317133171431715317163171731718317193172031721317223172331724317253172631727317283172931730317313173231733317343173531736317373173831739317403174131742317433174431745317463174731748317493175031751317523175331754317553175631757317583175931760317613176231763317643176531766317673176831769317703177131772317733177431775317763177731778317793178031781317823178331784317853178631787317883178931790317913179231793317943179531796317973179831799318003180131802318033180431805318063180731808318093181031811318123181331814318153181631817318183181931820318213182231823318243182531826318273182831829318303183131832318333183431835318363183731838318393184031841318423184331844318453184631847318483184931850318513185231853318543185531856318573185831859318603186131862318633186431865318663186731868318693187031871318723187331874318753187631877318783187931880318813188231883318843188531886318873188831889318903189131892318933189431895318963189731898318993190031901319023190331904319053190631907319083190931910319113191231913319143191531916319173191831919319203192131922319233192431925319263192731928319293193031931319323193331934319353193631937319383193931940319413194231943319443194531946319473194831949319503195131952319533195431955319563195731958319593196031961319623196331964319653196631967319683196931970319713197231973319743197531976319773197831979319803198131982319833198431985319863198731988319893199031991319923199331994319953199631997319983199932000320013200232003320043200532006320073200832009320103201132012320133201432015320163201732018320193202032021320223202332024320253202632027320283202932030320313203232033320343203532036320373203832039320403204132042320433204432045320463204732048320493205032051320523205332054320553205632057320583205932060320613206232063320643206532066320673206832069320703207132072320733207432075320763207732078320793208032081320823208332084320853208632087320883208932090320913209232093320943209532096320973209832099321003210132102321033210432105321063210732108321093211032111321123211332114321153211632117321183211932120321213212232123321243212532126321273212832129321303213132132321333213432135321363213732138321393214032141321423214332144321453214632147321483214932150321513215232153321543215532156321573215832159321603216132162321633216432165321663216732168321693217032171321723217332174321753217632177321783217932180321813218232183321843218532186321873218832189321903219132192321933219432195321963219732198321993220032201322023220332204322053220632207322083220932210322113221232213322143221532216322173221832219322203222132222322233222432225322263222732228322293223032231322323223332234322353223632237322383223932240322413224232243322443224532246322473224832249322503225132252322533225432255322563225732258322593226032261322623226332264322653226632267322683226932270322713227232273322743227532276322773227832279322803228132282322833228432285322863228732288322893229032291322923229332294322953229632297322983229932300323013230232303323043230532306323073230832309323103231132312323133231432315323163231732318323193232032321323223232332324323253232632327323283232932330323313233232333323343233532336323373233832339323403234132342323433234432345323463234732348323493235032351323523235332354323553235632357323583235932360323613236232363323643236532366323673236832369323703237132372323733237432375323763237732378323793238032381323823238332384323853238632387323883238932390323913239232393323943239532396323973239832399324003240132402324033240432405324063240732408324093241032411324123241332414324153241632417324183241932420324213242232423324243242532426324273242832429324303243132432324333243432435324363243732438324393244032441324423244332444324453244632447324483244932450324513245232453324543245532456324573245832459324603246132462324633246432465324663246732468324693247032471324723247332474324753247632477324783247932480324813248232483324843248532486324873248832489324903249132492324933249432495324963249732498324993250032501325023250332504325053250632507325083250932510325113251232513325143251532516325173251832519325203252132522325233252432525325263252732528325293253032531325323253332534325353253632537325383253932540325413254232543325443254532546325473254832549325503255132552325533255432555325563255732558325593256032561325623256332564325653256632567325683256932570325713257232573325743257532576325773257832579325803258132582325833258432585325863258732588325893259032591325923259332594325953259632597325983259932600326013260232603326043260532606326073260832609326103261132612326133261432615326163261732618326193262032621326223262332624326253262632627326283262932630326313263232633326343263532636326373263832639326403264132642326433264432645326463264732648326493265032651326523265332654326553265632657326583265932660326613266232663326643266532666326673266832669326703267132672326733267432675326763267732678326793268032681326823268332684326853268632687326883268932690326913269232693326943269532696326973269832699327003270132702327033270432705327063270732708327093271032711327123271332714327153271632717327183271932720327213272232723327243272532726327273272832729327303273132732327333273432735327363273732738327393274032741327423274332744327453274632747327483274932750327513275232753327543275532756327573275832759327603276132762327633276432765327663276732768327693277032771327723277332774327753277632777327783277932780327813278232783327843278532786327873278832789327903279132792327933279432795327963279732798327993280032801328023280332804328053280632807328083280932810328113281232813328143281532816328173281832819328203282132822328233282432825328263282732828328293283032831328323283332834328353283632837328383283932840328413284232843328443284532846328473284832849328503285132852328533285432855328563285732858328593286032861328623286332864328653286632867328683286932870328713287232873328743287532876328773287832879328803288132882328833288432885328863288732888328893289032891328923289332894328953289632897328983289932900329013290232903329043290532906329073290832909329103291132912329133291432915329163291732918329193292032921329223292332924329253292632927329283292932930329313293232933329343293532936329373293832939329403294132942329433294432945329463294732948329493295032951329523295332954329553295632957329583295932960329613296232963329643296532966329673296832969329703297132972329733297432975329763297732978329793298032981329823298332984329853298632987329883298932990329913299232993329943299532996329973299832999330003300133002330033300433005330063300733008330093301033011330123301333014330153301633017330183301933020330213302233023330243302533026330273302833029330303303133032330333303433035330363303733038330393304033041330423304333044330453304633047330483304933050330513305233053330543305533056330573305833059330603306133062330633306433065330663306733068330693307033071330723307333074330753307633077330783307933080330813308233083330843308533086330873308833089330903309133092330933309433095330963309733098330993310033101331023310333104331053310633107331083310933110331113311233113331143311533116331173311833119331203312133122331233312433125331263312733128331293313033131331323313333134331353313633137331383313933140331413314233143331443314533146331473314833149331503315133152331533315433155331563315733158331593316033161331623316333164331653316633167331683316933170331713317233173331743317533176331773317833179331803318133182331833318433185331863318733188331893319033191331923319333194331953319633197331983319933200332013320233203332043320533206332073320833209332103321133212332133321433215332163321733218332193322033221332223322333224332253322633227332283322933230332313323233233332343323533236332373323833239332403324133242332433324433245332463324733248332493325033251332523325333254332553325633257332583325933260332613326233263332643326533266332673326833269332703327133272332733327433275332763327733278332793328033281332823328333284332853328633287332883328933290332913329233293332943329533296332973329833299333003330133302333033330433305333063330733308333093331033311333123331333314333153331633317333183331933320333213332233323333243332533326333273332833329333303333133332333333333433335333363333733338333393334033341333423334333344333453334633347333483334933350333513335233353333543335533356333573335833359333603336133362333633336433365333663336733368333693337033371333723337333374333753337633377333783337933380333813338233383333843338533386333873338833389333903339133392333933339433395333963339733398333993340033401334023340333404334053340633407334083340933410334113341233413334143341533416334173341833419334203342133422334233342433425334263342733428334293343033431334323343333434334353343633437334383343933440334413344233443334443344533446334473344833449334503345133452334533345433455334563345733458334593346033461334623346333464334653346633467334683346933470334713347233473334743347533476334773347833479334803348133482334833348433485334863348733488334893349033491334923349333494334953349633497334983349933500335013350233503335043350533506335073350833509335103351133512335133351433515335163351733518335193352033521335223352333524335253352633527335283352933530335313353233533335343353533536335373353833539335403354133542335433354433545335463354733548335493355033551335523355333554335553355633557335583355933560335613356233563335643356533566335673356833569335703357133572335733357433575335763357733578335793358033581335823358333584335853358633587335883358933590335913359233593335943359533596335973359833599336003360133602336033360433605336063360733608336093361033611336123361333614336153361633617336183361933620336213362233623336243362533626336273362833629336303363133632336333363433635336363363733638336393364033641336423364333644336453364633647336483364933650336513365233653336543365533656336573365833659336603366133662336633366433665336663366733668336693367033671336723367333674336753367633677336783367933680336813368233683336843368533686336873368833689336903369133692336933369433695336963369733698336993370033701337023370333704337053370633707337083370933710337113371233713337143371533716337173371833719337203372133722337233372433725337263372733728337293373033731337323373333734337353373633737337383373933740337413374233743337443374533746337473374833749337503375133752337533375433755337563375733758337593376033761337623376333764337653376633767337683376933770337713377233773337743377533776337773377833779337803378133782337833378433785337863378733788337893379033791337923379333794337953379633797337983379933800338013380233803338043380533806338073380833809338103381133812338133381433815338163381733818338193382033821338223382333824338253382633827338283382933830338313383233833338343383533836338373383833839338403384133842338433384433845338463384733848338493385033851338523385333854338553385633857338583385933860338613386233863338643386533866338673386833869338703387133872338733387433875338763387733878338793388033881338823388333884338853388633887338883388933890338913389233893338943389533896338973389833899339003390133902339033390433905339063390733908339093391033911339123391333914339153391633917339183391933920339213392233923339243392533926339273392833929339303393133932339333393433935339363393733938339393394033941339423394333944339453394633947339483394933950339513395233953339543395533956339573395833959339603396133962339633396433965339663396733968339693397033971339723397333974339753397633977339783397933980339813398233983339843398533986339873398833989339903399133992339933399433995339963399733998339993400034001340023400334004340053400634007340083400934010340113401234013340143401534016340173401834019340203402134022340233402434025340263402734028340293403034031340323403334034340353403634037340383403934040340413404234043340443404534046340473404834049340503405134052340533405434055340563405734058340593406034061340623406334064340653406634067340683406934070340713407234073340743407534076340773407834079340803408134082340833408434085340863408734088340893409034091340923409334094340953409634097340983409934100341013410234103341043410534106341073410834109341103411134112341133411434115341163411734118341193412034121341223412334124341253412634127341283412934130341313413234133341343413534136341373413834139341403414134142341433414434145341463414734148341493415034151341523415334154341553415634157341583415934160341613416234163341643416534166341673416834169341703417134172341733417434175341763417734178341793418034181341823418334184341853418634187341883418934190341913419234193341943419534196341973419834199342003420134202342033420434205342063420734208342093421034211342123421334214342153421634217342183421934220342213422234223342243422534226342273422834229342303423134232342333423434235342363423734238342393424034241342423424334244342453424634247342483424934250342513425234253342543425534256342573425834259342603426134262342633426434265342663426734268342693427034271342723427334274342753427634277342783427934280342813428234283342843428534286342873428834289342903429134292342933429434295342963429734298342993430034301343023430334304343053430634307343083430934310343113431234313343143431534316343173431834319343203432134322343233432434325343263432734328343293433034331343323433334334343353433634337343383433934340343413434234343343443434534346343473434834349343503435134352343533435434355343563435734358343593436034361343623436334364343653436634367343683436934370343713437234373343743437534376343773437834379343803438134382343833438434385343863438734388343893439034391343923439334394343953439634397343983439934400344013440234403344043440534406344073440834409344103441134412344133441434415344163441734418344193442034421344223442334424344253442634427344283442934430344313443234433344343443534436344373443834439344403444134442344433444434445344463444734448344493445034451344523445334454344553445634457344583445934460344613446234463344643446534466344673446834469344703447134472344733447434475344763447734478344793448034481344823448334484344853448634487344883448934490344913449234493344943449534496344973449834499345003450134502345033450434505345063450734508345093451034511345123451334514345153451634517345183451934520345213452234523345243452534526345273452834529345303453134532345333453434535345363453734538345393454034541345423454334544345453454634547345483454934550345513455234553345543455534556345573455834559345603456134562345633456434565345663456734568345693457034571345723457334574345753457634577345783457934580345813458234583345843458534586345873458834589345903459134592345933459434595345963459734598345993460034601346023460334604346053460634607346083460934610346113461234613346143461534616346173461834619346203462134622346233462434625346263462734628346293463034631346323463334634346353463634637346383463934640346413464234643346443464534646346473464834649346503465134652346533465434655346563465734658346593466034661346623466334664346653466634667346683466934670346713467234673346743467534676346773467834679346803468134682346833468434685346863468734688346893469034691346923469334694346953469634697346983469934700347013470234703347043470534706347073470834709347103471134712347133471434715347163471734718347193472034721347223472334724347253472634727347283472934730347313473234733347343473534736347373473834739347403474134742347433474434745347463474734748347493475034751347523475334754347553475634757347583475934760347613476234763347643476534766347673476834769347703477134772347733477434775347763477734778347793478034781347823478334784347853478634787347883478934790347913479234793347943479534796347973479834799348003480134802348033480434805348063480734808348093481034811348123481334814348153481634817348183481934820348213482234823348243482534826348273482834829348303483134832348333483434835348363483734838348393484034841348423484334844348453484634847348483484934850348513485234853348543485534856348573485834859348603486134862348633486434865348663486734868348693487034871348723487334874348753487634877348783487934880348813488234883348843488534886348873488834889348903489134892348933489434895348963489734898348993490034901349023490334904349053490634907349083490934910349113491234913349143491534916349173491834919349203492134922349233492434925349263492734928349293493034931349323493334934349353493634937349383493934940349413494234943349443494534946349473494834949349503495134952349533495434955349563495734958349593496034961349623496334964349653496634967349683496934970349713497234973349743497534976349773497834979349803498134982349833498434985349863498734988349893499034991349923499334994349953499634997349983499935000350013500235003350043500535006350073500835009350103501135012350133501435015350163501735018350193502035021350223502335024350253502635027350283502935030350313503235033350343503535036350373503835039350403504135042350433504435045350463504735048350493505035051350523505335054350553505635057350583505935060350613506235063350643506535066350673506835069350703507135072350733507435075350763507735078350793508035081350823508335084350853508635087350883508935090350913509235093350943509535096350973509835099351003510135102351033510435105351063510735108351093511035111351123511335114351153511635117351183511935120351213512235123351243512535126351273512835129351303513135132351333513435135351363513735138351393514035141351423514335144351453514635147351483514935150351513515235153351543515535156351573515835159351603516135162351633516435165351663516735168351693517035171351723517335174351753517635177351783517935180351813518235183351843518535186351873518835189351903519135192351933519435195351963519735198351993520035201352023520335204352053520635207352083520935210352113521235213352143521535216352173521835219352203522135222352233522435225352263522735228352293523035231352323523335234352353523635237352383523935240352413524235243352443524535246352473524835249352503525135252352533525435255352563525735258352593526035261352623526335264352653526635267352683526935270352713527235273352743527535276352773527835279352803528135282352833528435285352863528735288352893529035291352923529335294352953529635297352983529935300353013530235303353043530535306353073530835309353103531135312353133531435315353163531735318353193532035321353223532335324353253532635327353283532935330353313533235333353343533535336353373533835339353403534135342353433534435345353463534735348353493535035351353523535335354353553535635357353583535935360353613536235363353643536535366353673536835369353703537135372353733537435375353763537735378353793538035381353823538335384353853538635387353883538935390353913539235393353943539535396353973539835399354003540135402354033540435405354063540735408354093541035411354123541335414354153541635417354183541935420354213542235423354243542535426354273542835429354303543135432354333543435435354363543735438354393544035441354423544335444354453544635447354483544935450354513545235453354543545535456354573545835459354603546135462354633546435465354663546735468354693547035471354723547335474354753547635477354783547935480354813548235483354843548535486354873548835489354903549135492354933549435495354963549735498354993550035501355023550335504355053550635507355083550935510355113551235513355143551535516355173551835519355203552135522355233552435525355263552735528355293553035531355323553335534355353553635537355383553935540355413554235543355443554535546355473554835549355503555135552355533555435555355563555735558355593556035561355623556335564355653556635567355683556935570355713557235573355743557535576355773557835579355803558135582355833558435585355863558735588355893559035591355923559335594355953559635597355983559935600356013560235603356043560535606356073560835609356103561135612356133561435615356163561735618356193562035621356223562335624356253562635627356283562935630356313563235633356343563535636356373563835639356403564135642356433564435645356463564735648356493565035651356523565335654356553565635657356583565935660356613566235663356643566535666356673566835669356703567135672356733567435675356763567735678356793568035681356823568335684356853568635687356883568935690356913569235693356943569535696356973569835699357003570135702357033570435705357063570735708357093571035711357123571335714357153571635717357183571935720357213572235723357243572535726357273572835729357303573135732357333573435735357363573735738357393574035741357423574335744357453574635747357483574935750357513575235753357543575535756357573575835759357603576135762357633576435765357663576735768357693577035771357723577335774357753577635777357783577935780357813578235783357843578535786357873578835789357903579135792357933579435795357963579735798357993580035801358023580335804358053580635807358083580935810358113581235813358143581535816358173581835819358203582135822358233582435825358263582735828358293583035831358323583335834358353583635837358383583935840358413584235843358443584535846358473584835849358503585135852358533585435855358563585735858358593586035861358623586335864358653586635867358683586935870358713587235873358743587535876358773587835879358803588135882358833588435885358863588735888358893589035891358923589335894358953589635897358983589935900359013590235903359043590535906359073590835909359103591135912359133591435915359163591735918359193592035921359223592335924359253592635927359283592935930359313593235933359343593535936359373593835939359403594135942359433594435945359463594735948359493595035951359523595335954359553595635957359583595935960359613596235963359643596535966359673596835969359703597135972359733597435975359763597735978359793598035981359823598335984359853598635987359883598935990359913599235993359943599535996359973599835999360003600136002360033600436005360063600736008360093601036011360123601336014360153601636017360183601936020360213602236023360243602536026360273602836029360303603136032360333603436035360363603736038360393604036041360423604336044360453604636047360483604936050360513605236053360543605536056360573605836059360603606136062360633606436065360663606736068360693607036071360723607336074360753607636077360783607936080360813608236083360843608536086360873608836089360903609136092360933609436095360963609736098360993610036101361023610336104361053610636107361083610936110361113611236113361143611536116361173611836119361203612136122361233612436125361263612736128361293613036131361323613336134361353613636137361383613936140361413614236143361443614536146361473614836149361503615136152361533615436155361563615736158361593616036161361623616336164361653616636167361683616936170361713617236173361743617536176361773617836179361803618136182361833618436185361863618736188361893619036191361923619336194361953619636197361983619936200362013620236203362043620536206362073620836209362103621136212362133621436215362163621736218362193622036221362223622336224362253622636227362283622936230362313623236233362343623536236362373623836239362403624136242362433624436245362463624736248362493625036251362523625336254362553625636257362583625936260362613626236263362643626536266362673626836269362703627136272362733627436275362763627736278362793628036281362823628336284362853628636287362883628936290362913629236293362943629536296362973629836299363003630136302363033630436305363063630736308363093631036311363123631336314363153631636317363183631936320363213632236323363243632536326363273632836329363303633136332363333633436335363363633736338363393634036341363423634336344363453634636347363483634936350363513635236353363543635536356363573635836359363603636136362363633636436365363663636736368363693637036371363723637336374363753637636377363783637936380363813638236383363843638536386363873638836389363903639136392363933639436395363963639736398363993640036401364023640336404364053640636407364083640936410364113641236413364143641536416364173641836419364203642136422364233642436425364263642736428364293643036431364323643336434364353643636437364383643936440364413644236443364443644536446364473644836449364503645136452364533645436455364563645736458364593646036461364623646336464364653646636467364683646936470364713647236473364743647536476364773647836479364803648136482364833648436485364863648736488364893649036491364923649336494364953649636497364983649936500365013650236503365043650536506365073650836509365103651136512365133651436515365163651736518365193652036521365223652336524365253652636527365283652936530365313653236533365343653536536365373653836539365403654136542365433654436545365463654736548365493655036551365523655336554365553655636557365583655936560365613656236563365643656536566365673656836569365703657136572365733657436575365763657736578365793658036581365823658336584365853658636587365883658936590365913659236593365943659536596365973659836599366003660136602366033660436605366063660736608366093661036611366123661336614366153661636617366183661936620366213662236623366243662536626366273662836629366303663136632366333663436635366363663736638366393664036641366423664336644366453664636647366483664936650366513665236653366543665536656366573665836659366603666136662366633666436665366663666736668366693667036671366723667336674366753667636677366783667936680366813668236683366843668536686366873668836689366903669136692366933669436695366963669736698366993670036701367023670336704367053670636707367083670936710367113671236713367143671536716367173671836719367203672136722367233672436725367263672736728367293673036731367323673336734367353673636737367383673936740367413674236743367443674536746367473674836749367503675136752367533675436755367563675736758367593676036761367623676336764367653676636767367683676936770367713677236773367743677536776367773677836779367803678136782367833678436785367863678736788367893679036791367923679336794367953679636797367983679936800368013680236803368043680536806368073680836809368103681136812368133681436815368163681736818368193682036821368223682336824368253682636827368283682936830368313683236833368343683536836368373683836839368403684136842368433684436845368463684736848368493685036851368523685336854368553685636857368583685936860368613686236863368643686536866368673686836869368703687136872368733687436875368763687736878368793688036881368823688336884368853688636887368883688936890368913689236893368943689536896368973689836899369003690136902369033690436905369063690736908369093691036911369123691336914369153691636917369183691936920369213692236923369243692536926369273692836929369303693136932369333693436935369363693736938369393694036941369423694336944369453694636947369483694936950369513695236953369543695536956369573695836959369603696136962369633696436965369663696736968369693697036971369723697336974369753697636977369783697936980369813698236983369843698536986369873698836989369903699136992369933699436995369963699736998369993700037001370023700337004370053700637007370083700937010370113701237013370143701537016370173701837019370203702137022370233702437025370263702737028370293703037031370323703337034370353703637037370383703937040370413704237043370443704537046370473704837049370503705137052370533705437055370563705737058370593706037061370623706337064370653706637067370683706937070370713707237073370743707537076370773707837079370803708137082370833708437085370863708737088370893709037091370923709337094370953709637097370983709937100371013710237103371043710537106371073710837109371103711137112371133711437115371163711737118371193712037121371223712337124371253712637127371283712937130371313713237133371343713537136371373713837139371403714137142371433714437145371463714737148371493715037151371523715337154371553715637157371583715937160371613716237163371643716537166371673716837169371703717137172371733717437175371763717737178371793718037181371823718337184371853718637187371883718937190371913719237193371943719537196371973719837199372003720137202372033720437205372063720737208372093721037211372123721337214372153721637217372183721937220372213722237223372243722537226372273722837229372303723137232372333723437235372363723737238372393724037241372423724337244372453724637247372483724937250372513725237253372543725537256372573725837259372603726137262372633726437265372663726737268372693727037271372723727337274372753727637277372783727937280372813728237283372843728537286372873728837289372903729137292372933729437295372963729737298372993730037301373023730337304373053730637307373083730937310373113731237313373143731537316373173731837319373203732137322373233732437325373263732737328373293733037331373323733337334373353733637337373383733937340373413734237343373443734537346373473734837349373503735137352373533735437355373563735737358373593736037361373623736337364373653736637367373683736937370373713737237373373743737537376373773737837379373803738137382373833738437385373863738737388373893739037391373923739337394373953739637397373983739937400374013740237403374043740537406374073740837409374103741137412374133741437415374163741737418374193742037421374223742337424374253742637427374283742937430374313743237433374343743537436374373743837439374403744137442374433744437445374463744737448374493745037451374523745337454374553745637457374583745937460374613746237463374643746537466374673746837469374703747137472374733747437475374763747737478374793748037481374823748337484374853748637487374883748937490374913749237493374943749537496374973749837499375003750137502375033750437505375063750737508375093751037511375123751337514375153751637517375183751937520375213752237523375243752537526375273752837529375303753137532375333753437535375363753737538375393754037541375423754337544375453754637547375483754937550375513755237553375543755537556375573755837559375603756137562375633756437565375663756737568375693757037571375723757337574375753757637577375783757937580375813758237583375843758537586375873758837589375903759137592375933759437595375963759737598375993760037601376023760337604376053760637607376083760937610376113761237613376143761537616376173761837619376203762137622376233762437625376263762737628376293763037631376323763337634376353763637637376383763937640376413764237643376443764537646376473764837649376503765137652376533765437655376563765737658376593766037661376623766337664376653766637667376683766937670376713767237673376743767537676376773767837679376803768137682376833768437685376863768737688376893769037691376923769337694376953769637697376983769937700377013770237703377043770537706377073770837709377103771137712377133771437715377163771737718377193772037721377223772337724377253772637727377283772937730377313773237733377343773537736377373773837739377403774137742377433774437745377463774737748377493775037751377523775337754377553775637757377583775937760377613776237763377643776537766377673776837769377703777137772377733777437775377763777737778377793778037781377823778337784377853778637787377883778937790377913779237793377943779537796377973779837799378003780137802378033780437805378063780737808378093781037811378123781337814378153781637817378183781937820378213782237823378243782537826378273782837829378303783137832378333783437835378363783737838378393784037841378423784337844378453784637847378483784937850378513785237853378543785537856378573785837859378603786137862378633786437865378663786737868378693787037871378723787337874378753787637877378783787937880378813788237883378843788537886378873788837889378903789137892378933789437895378963789737898378993790037901379023790337904379053790637907379083790937910379113791237913379143791537916379173791837919379203792137922379233792437925379263792737928379293793037931379323793337934379353793637937379383793937940379413794237943379443794537946379473794837949379503795137952379533795437955379563795737958379593796037961379623796337964379653796637967379683796937970379713797237973379743797537976379773797837979379803798137982379833798437985379863798737988379893799037991379923799337994379953799637997379983799938000380013800238003380043800538006380073800838009380103801138012380133801438015380163801738018380193802038021380223802338024380253802638027380283802938030380313803238033380343803538036380373803838039380403804138042380433804438045380463804738048380493805038051380523805338054380553805638057380583805938060380613806238063380643806538066380673806838069380703807138072380733807438075380763807738078380793808038081380823808338084380853808638087380883808938090380913809238093380943809538096380973809838099381003810138102381033810438105381063810738108381093811038111381123811338114381153811638117381183811938120381213812238123381243812538126381273812838129381303813138132381333813438135381363813738138381393814038141381423814338144381453814638147381483814938150381513815238153381543815538156381573815838159381603816138162381633816438165381663816738168381693817038171381723817338174381753817638177381783817938180381813818238183381843818538186381873818838189381903819138192381933819438195381963819738198381993820038201382023820338204382053820638207382083820938210382113821238213382143821538216382173821838219382203822138222382233822438225382263822738228382293823038231382323823338234382353823638237382383823938240382413824238243382443824538246382473824838249382503825138252382533825438255382563825738258382593826038261382623826338264382653826638267382683826938270382713827238273382743827538276382773827838279382803828138282382833828438285382863828738288382893829038291382923829338294382953829638297382983829938300383013830238303383043830538306383073830838309383103831138312383133831438315383163831738318383193832038321383223832338324383253832638327383283832938330383313833238333383343833538336383373833838339383403834138342383433834438345383463834738348383493835038351383523835338354383553835638357383583835938360383613836238363383643836538366383673836838369383703837138372383733837438375383763837738378383793838038381383823838338384383853838638387383883838938390383913839238393383943839538396383973839838399384003840138402384033840438405384063840738408384093841038411384123841338414384153841638417384183841938420384213842238423384243842538426384273842838429384303843138432384333843438435384363843738438384393844038441384423844338444384453844638447384483844938450384513845238453384543845538456384573845838459384603846138462384633846438465384663846738468384693847038471384723847338474384753847638477384783847938480384813848238483384843848538486384873848838489384903849138492384933849438495384963849738498384993850038501385023850338504385053850638507385083850938510385113851238513385143851538516385173851838519385203852138522385233852438525385263852738528385293853038531385323853338534385353853638537385383853938540385413854238543385443854538546385473854838549385503855138552385533855438555385563855738558385593856038561385623856338564385653856638567385683856938570385713857238573385743857538576385773857838579385803858138582385833858438585385863858738588385893859038591385923859338594385953859638597385983859938600386013860238603386043860538606386073860838609386103861138612386133861438615386163861738618386193862038621386223862338624386253862638627386283862938630386313863238633386343863538636386373863838639386403864138642386433864438645386463864738648386493865038651386523865338654386553865638657386583865938660386613866238663386643866538666386673866838669386703867138672386733867438675386763867738678386793868038681386823868338684386853868638687386883868938690386913869238693386943869538696386973869838699387003870138702387033870438705387063870738708387093871038711387123871338714387153871638717387183871938720387213872238723387243872538726387273872838729387303873138732387333873438735387363873738738387393874038741387423874338744387453874638747387483874938750387513875238753387543875538756387573875838759387603876138762387633876438765387663876738768387693877038771387723877338774387753877638777387783877938780387813878238783387843878538786387873878838789387903879138792387933879438795387963879738798387993880038801388023880338804388053880638807388083880938810388113881238813388143881538816388173881838819388203882138822388233882438825388263882738828388293883038831388323883338834388353883638837388383883938840388413884238843388443884538846388473884838849388503885138852388533885438855388563885738858388593886038861388623886338864388653886638867388683886938870388713887238873388743887538876388773887838879388803888138882388833888438885388863888738888388893889038891388923889338894388953889638897388983889938900389013890238903389043890538906389073890838909389103891138912389133891438915389163891738918389193892038921389223892338924389253892638927389283892938930389313893238933389343893538936389373893838939389403894138942389433894438945389463894738948389493895038951389523895338954389553895638957389583895938960389613896238963389643896538966389673896838969389703897138972389733897438975389763897738978389793898038981389823898338984389853898638987389883898938990389913899238993389943899538996389973899838999390003900139002390033900439005390063900739008390093901039011390123901339014390153901639017390183901939020390213902239023390243902539026390273902839029390303903139032390333903439035390363903739038390393904039041390423904339044390453904639047390483904939050390513905239053390543905539056390573905839059390603906139062390633906439065390663906739068390693907039071390723907339074390753907639077390783907939080390813908239083390843908539086390873908839089390903909139092390933909439095390963909739098390993910039101391023910339104391053910639107391083910939110391113911239113391143911539116391173911839119391203912139122391233912439125391263912739128391293913039131391323913339134391353913639137391383913939140391413914239143391443914539146391473914839149391503915139152391533915439155391563915739158391593916039161391623916339164391653916639167391683916939170391713917239173391743917539176391773917839179391803918139182391833918439185391863918739188391893919039191391923919339194391953919639197391983919939200392013920239203392043920539206392073920839209392103921139212392133921439215392163921739218392193922039221392223922339224392253922639227392283922939230392313923239233392343923539236392373923839239392403924139242392433924439245392463924739248392493925039251392523925339254392553925639257392583925939260392613926239263392643926539266392673926839269392703927139272392733927439275392763927739278392793928039281392823928339284392853928639287392883928939290392913929239293392943929539296392973929839299393003930139302393033930439305393063930739308393093931039311393123931339314393153931639317393183931939320393213932239323393243932539326393273932839329393303933139332393333933439335393363933739338393393934039341393423934339344393453934639347393483934939350393513935239353393543935539356393573935839359393603936139362393633936439365393663936739368393693937039371393723937339374393753937639377393783937939380393813938239383393843938539386393873938839389393903939139392393933939439395393963939739398393993940039401394023940339404394053940639407394083940939410394113941239413394143941539416394173941839419394203942139422394233942439425394263942739428394293943039431394323943339434394353943639437394383943939440394413944239443394443944539446394473944839449394503945139452394533945439455394563945739458394593946039461394623946339464394653946639467394683946939470394713947239473394743947539476394773947839479394803948139482394833948439485394863948739488394893949039491394923949339494394953949639497394983949939500395013950239503395043950539506395073950839509395103951139512395133951439515395163951739518395193952039521395223952339524395253952639527395283952939530395313953239533395343953539536395373953839539395403954139542395433954439545395463954739548395493955039551395523955339554395553955639557395583955939560395613956239563395643956539566395673956839569395703957139572395733957439575395763957739578395793958039581395823958339584395853958639587395883958939590395913959239593395943959539596395973959839599396003960139602396033960439605396063960739608396093961039611396123961339614396153961639617396183961939620396213962239623396243962539626396273962839629396303963139632396333963439635396363963739638396393964039641396423964339644396453964639647396483964939650396513965239653396543965539656396573965839659396603966139662396633966439665396663966739668396693967039671396723967339674396753967639677396783967939680396813968239683396843968539686396873968839689396903969139692396933969439695396963969739698396993970039701397023970339704397053970639707397083970939710397113971239713397143971539716397173971839719397203972139722397233972439725397263972739728397293973039731397323973339734397353973639737397383973939740397413974239743397443974539746397473974839749397503975139752397533975439755397563975739758397593976039761397623976339764397653976639767397683976939770397713977239773397743977539776397773977839779397803978139782397833978439785397863978739788397893979039791397923979339794397953979639797397983979939800398013980239803398043980539806398073980839809398103981139812398133981439815398163981739818398193982039821398223982339824398253982639827398283982939830398313983239833398343983539836398373983839839398403984139842398433984439845398463984739848398493985039851398523985339854398553985639857398583985939860398613986239863398643986539866398673986839869398703987139872398733987439875398763987739878398793988039881398823988339884398853988639887398883988939890398913989239893398943989539896398973989839899399003990139902399033990439905399063990739908399093991039911399123991339914399153991639917399183991939920399213992239923399243992539926399273992839929399303993139932399333993439935399363993739938399393994039941399423994339944399453994639947399483994939950399513995239953399543995539956399573995839959399603996139962399633996439965399663996739968399693997039971399723997339974399753997639977399783997939980399813998239983399843998539986399873998839989399903999139992399933999439995399963999739998399994000040001400024000340004400054000640007400084000940010400114001240013400144001540016400174001840019400204002140022400234002440025400264002740028400294003040031400324003340034400354003640037400384003940040400414004240043400444004540046400474004840049400504005140052400534005440055400564005740058400594006040061400624006340064400654006640067400684006940070400714007240073400744007540076400774007840079400804008140082400834008440085400864008740088400894009040091400924009340094400954009640097400984009940100401014010240103401044010540106401074010840109401104011140112401134011440115401164011740118401194012040121401224012340124401254012640127401284012940130401314013240133401344013540136401374013840139401404014140142401434014440145401464014740148401494015040151401524015340154401554015640157401584015940160401614016240163401644016540166401674016840169401704017140172401734017440175401764017740178401794018040181401824018340184401854018640187401884018940190401914019240193401944019540196401974019840199402004020140202402034020440205402064020740208402094021040211402124021340214402154021640217402184021940220402214022240223402244022540226402274022840229402304023140232402334023440235402364023740238402394024040241402424024340244402454024640247402484024940250402514025240253402544025540256402574025840259402604026140262402634026440265402664026740268402694027040271402724027340274402754027640277402784027940280402814028240283402844028540286402874028840289402904029140292402934029440295402964029740298402994030040301403024030340304403054030640307403084030940310403114031240313403144031540316403174031840319403204032140322403234032440325403264032740328403294033040331403324033340334403354033640337403384033940340403414034240343403444034540346403474034840349403504035140352403534035440355403564035740358403594036040361403624036340364403654036640367403684036940370403714037240373403744037540376403774037840379403804038140382403834038440385403864038740388403894039040391403924039340394403954039640397403984039940400404014040240403404044040540406404074040840409404104041140412404134041440415404164041740418404194042040421404224042340424404254042640427404284042940430404314043240433404344043540436404374043840439404404044140442404434044440445404464044740448404494045040451404524045340454404554045640457404584045940460404614046240463404644046540466404674046840469404704047140472404734047440475404764047740478404794048040481404824048340484404854048640487404884048940490404914049240493404944049540496404974049840499405004050140502405034050440505405064050740508405094051040511405124051340514405154051640517405184051940520405214052240523405244052540526405274052840529405304053140532405334053440535405364053740538405394054040541405424054340544405454054640547405484054940550405514055240553405544055540556405574055840559405604056140562405634056440565405664056740568405694057040571405724057340574405754057640577405784057940580405814058240583405844058540586405874058840589405904059140592405934059440595405964059740598405994060040601406024060340604406054060640607406084060940610406114061240613406144061540616406174061840619406204062140622406234062440625406264062740628406294063040631406324063340634406354063640637406384063940640406414064240643406444064540646406474064840649406504065140652406534065440655406564065740658406594066040661406624066340664406654066640667406684066940670406714067240673406744067540676406774067840679406804068140682406834068440685406864068740688406894069040691406924069340694406954069640697406984069940700407014070240703407044070540706407074070840709407104071140712407134071440715407164071740718407194072040721407224072340724407254072640727407284072940730407314073240733407344073540736407374073840739407404074140742407434074440745407464074740748407494075040751407524075340754407554075640757407584075940760407614076240763407644076540766407674076840769407704077140772407734077440775407764077740778407794078040781407824078340784407854078640787407884078940790407914079240793407944079540796407974079840799408004080140802408034080440805408064080740808408094081040811408124081340814408154081640817408184081940820408214082240823408244082540826408274082840829408304083140832408334083440835408364083740838408394084040841408424084340844408454084640847408484084940850408514085240853408544085540856408574085840859408604086140862408634086440865408664086740868408694087040871408724087340874408754087640877408784087940880408814088240883408844088540886408874088840889408904089140892408934089440895408964089740898408994090040901409024090340904409054090640907409084090940910409114091240913409144091540916409174091840919409204092140922409234092440925409264092740928409294093040931409324093340934409354093640937409384093940940409414094240943409444094540946409474094840949409504095140952409534095440955409564095740958409594096040961409624096340964409654096640967409684096940970409714097240973409744097540976409774097840979409804098140982409834098440985409864098740988409894099040991409924099340994409954099640997409984099941000410014100241003410044100541006410074100841009410104101141012410134101441015410164101741018410194102041021410224102341024410254102641027410284102941030410314103241033410344103541036410374103841039410404104141042410434104441045410464104741048410494105041051410524105341054410554105641057410584105941060410614106241063410644106541066410674106841069410704107141072410734107441075410764107741078410794108041081410824108341084410854108641087410884108941090410914109241093410944109541096410974109841099411004110141102411034110441105411064110741108411094111041111411124111341114411154111641117411184111941120411214112241123411244112541126411274112841129411304113141132411334113441135411364113741138411394114041141411424114341144411454114641147411484114941150411514115241153411544115541156411574115841159411604116141162411634116441165411664116741168411694117041171411724117341174411754117641177411784117941180411814118241183411844118541186411874118841189411904119141192411934119441195411964119741198411994120041201412024120341204412054120641207412084120941210412114121241213412144121541216412174121841219412204122141222412234122441225412264122741228412294123041231412324123341234412354123641237412384123941240412414124241243412444124541246412474124841249412504125141252412534125441255412564125741258412594126041261412624126341264412654126641267412684126941270412714127241273412744127541276412774127841279412804128141282412834128441285412864128741288412894129041291412924129341294412954129641297412984129941300413014130241303413044130541306413074130841309413104131141312413134131441315413164131741318413194132041321413224132341324413254132641327413284132941330413314133241333413344133541336413374133841339413404134141342413434134441345413464134741348413494135041351413524135341354413554135641357413584135941360413614136241363413644136541366413674136841369413704137141372413734137441375413764137741378413794138041381413824138341384413854138641387413884138941390413914139241393413944139541396413974139841399414004140141402414034140441405414064140741408414094141041411414124141341414414154141641417414184141941420414214142241423414244142541426414274142841429414304143141432414334143441435414364143741438414394144041441414424144341444414454144641447414484144941450414514145241453414544145541456414574145841459414604146141462414634146441465414664146741468414694147041471414724147341474414754147641477414784147941480414814148241483414844148541486414874148841489414904149141492414934149441495414964149741498414994150041501415024150341504415054150641507415084150941510415114151241513415144151541516415174151841519415204152141522415234152441525415264152741528415294153041531415324153341534415354153641537415384153941540415414154241543415444154541546415474154841549415504155141552415534155441555415564155741558415594156041561415624156341564415654156641567415684156941570415714157241573415744157541576415774157841579415804158141582415834158441585415864158741588415894159041591415924159341594415954159641597415984159941600416014160241603416044160541606416074160841609416104161141612416134161441615416164161741618416194162041621416224162341624416254162641627416284162941630416314163241633416344163541636416374163841639416404164141642416434164441645416464164741648416494165041651416524165341654416554165641657416584165941660416614166241663416644166541666416674166841669416704167141672416734167441675416764167741678416794168041681416824168341684416854168641687416884168941690416914169241693416944169541696416974169841699417004170141702417034170441705417064170741708417094171041711417124171341714417154171641717417184171941720417214172241723417244172541726417274172841729417304173141732417334173441735417364173741738417394174041741417424174341744417454174641747417484174941750417514175241753417544175541756417574175841759417604176141762417634176441765417664176741768417694177041771417724177341774417754177641777417784177941780417814178241783417844178541786417874178841789417904179141792417934179441795417964179741798417994180041801418024180341804418054180641807418084180941810418114181241813418144181541816418174181841819418204182141822418234182441825418264182741828418294183041831418324183341834418354183641837418384183941840418414184241843418444184541846418474184841849418504185141852418534185441855418564185741858418594186041861418624186341864418654186641867418684186941870418714187241873418744187541876418774187841879418804188141882418834188441885418864188741888418894189041891418924189341894418954189641897418984189941900419014190241903419044190541906419074190841909419104191141912419134191441915419164191741918419194192041921419224192341924419254192641927419284192941930419314193241933419344193541936419374193841939419404194141942419434194441945419464194741948419494195041951419524195341954419554195641957419584195941960419614196241963419644196541966419674196841969419704197141972419734197441975419764197741978419794198041981419824198341984419854198641987419884198941990419914199241993419944199541996419974199841999420004200142002420034200442005420064200742008420094201042011420124201342014420154201642017420184201942020420214202242023420244202542026420274202842029420304203142032420334203442035420364203742038420394204042041420424204342044420454204642047420484204942050420514205242053420544205542056420574205842059420604206142062420634206442065420664206742068420694207042071420724207342074420754207642077420784207942080420814208242083420844208542086420874208842089420904209142092420934209442095420964209742098420994210042101421024210342104421054210642107421084210942110421114211242113421144211542116421174211842119421204212142122421234212442125421264212742128421294213042131421324213342134421354213642137421384213942140421414214242143421444214542146421474214842149421504215142152421534215442155421564215742158421594216042161421624216342164421654216642167421684216942170421714217242173421744217542176421774217842179421804218142182421834218442185421864218742188421894219042191421924219342194421954219642197421984219942200422014220242203422044220542206422074220842209422104221142212422134221442215422164221742218422194222042221422224222342224422254222642227422284222942230422314223242233422344223542236422374223842239422404224142242422434224442245422464224742248422494225042251422524225342254422554225642257422584225942260422614226242263422644226542266422674226842269422704227142272422734227442275422764227742278422794228042281422824228342284422854228642287422884228942290422914229242293422944229542296422974229842299423004230142302423034230442305423064230742308423094231042311423124231342314423154231642317423184231942320423214232242323423244232542326423274232842329423304233142332423334233442335423364233742338423394234042341423424234342344423454234642347423484234942350423514235242353423544235542356423574235842359423604236142362423634236442365423664236742368423694237042371423724237342374423754237642377423784237942380423814238242383423844238542386423874238842389423904239142392423934239442395423964239742398423994240042401424024240342404424054240642407424084240942410424114241242413424144241542416424174241842419424204242142422424234242442425424264242742428424294243042431424324243342434424354243642437424384243942440424414244242443424444244542446424474244842449424504245142452424534245442455424564245742458424594246042461424624246342464424654246642467424684246942470424714247242473424744247542476424774247842479424804248142482424834248442485424864248742488424894249042491424924249342494424954249642497424984249942500425014250242503425044250542506425074250842509425104251142512425134251442515425164251742518425194252042521425224252342524425254252642527425284252942530425314253242533425344253542536425374253842539425404254142542425434254442545425464254742548425494255042551425524255342554425554255642557425584255942560425614256242563425644256542566425674256842569425704257142572425734257442575425764257742578425794258042581425824258342584425854258642587425884258942590425914259242593425944259542596425974259842599426004260142602426034260442605426064260742608426094261042611426124261342614426154261642617426184261942620426214262242623426244262542626426274262842629426304263142632426334263442635426364263742638426394264042641426424264342644426454264642647426484264942650426514265242653426544265542656426574265842659426604266142662426634266442665426664266742668426694267042671426724267342674426754267642677426784267942680426814268242683426844268542686426874268842689426904269142692426934269442695426964269742698426994270042701427024270342704427054270642707427084270942710427114271242713427144271542716427174271842719427204272142722427234272442725427264272742728427294273042731427324273342734427354273642737427384273942740427414274242743427444274542746427474274842749427504275142752427534275442755427564275742758427594276042761427624276342764427654276642767427684276942770427714277242773427744277542776427774277842779427804278142782427834278442785427864278742788427894279042791427924279342794427954279642797427984279942800428014280242803428044280542806428074280842809428104281142812428134281442815428164281742818428194282042821428224282342824428254282642827428284282942830428314283242833428344283542836428374283842839428404284142842428434284442845428464284742848428494285042851428524285342854428554285642857428584285942860428614286242863428644286542866428674286842869428704287142872428734287442875428764287742878428794288042881428824288342884428854288642887428884288942890428914289242893428944289542896428974289842899429004290142902429034290442905429064290742908429094291042911429124291342914429154291642917429184291942920429214292242923429244292542926429274292842929429304293142932429334293442935429364293742938429394294042941429424294342944
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for wxWidgets 3.0.2.
  4. #
  5. # Report bugs to <wx-dev@lists.wxwidgets.org>.
  6. #
  7. #
  8. # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
  9. #
  10. #
  11. # This configure script is free software; the Free Software Foundation
  12. # gives unlimited permission to copy, distribute and modify it.
  13. ## -------------------- ##
  14. ## M4sh Initialization. ##
  15. ## -------------------- ##
  16. # Be more Bourne compatible
  17. DUALCASE=1; export DUALCASE # for MKS sh
  18. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  19. emulate sh
  20. NULLCMD=:
  21. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  22. # is contrary to our usage. Disable this feature.
  23. alias -g '${1+"$@"}'='"$@"'
  24. setopt NO_GLOB_SUBST
  25. else
  26. case `(set -o) 2>/dev/null` in #(
  27. *posix*) :
  28. set -o posix ;; #(
  29. *) :
  30. ;;
  31. esac
  32. fi
  33. as_nl='
  34. '
  35. export as_nl
  36. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  37. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  38. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  39. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  40. # Prefer a ksh shell builtin over an external printf program on Solaris,
  41. # but without wasting forks for bash or zsh.
  42. if test -z "$BASH_VERSION$ZSH_VERSION" \
  43. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  44. as_echo='print -r --'
  45. as_echo_n='print -rn --'
  46. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  47. as_echo='printf %s\n'
  48. as_echo_n='printf %s'
  49. else
  50. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  51. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  52. as_echo_n='/usr/ucb/echo -n'
  53. else
  54. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  55. as_echo_n_body='eval
  56. arg=$1;
  57. case $arg in #(
  58. *"$as_nl"*)
  59. expr "X$arg" : "X\\(.*\\)$as_nl";
  60. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  61. esac;
  62. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  63. '
  64. export as_echo_n_body
  65. as_echo_n='sh -c $as_echo_n_body as_echo'
  66. fi
  67. export as_echo_body
  68. as_echo='sh -c $as_echo_body as_echo'
  69. fi
  70. # The user is always right.
  71. if test "${PATH_SEPARATOR+set}" != set; then
  72. PATH_SEPARATOR=:
  73. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  74. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  75. PATH_SEPARATOR=';'
  76. }
  77. fi
  78. # IFS
  79. # We need space, tab and new line, in precisely that order. Quoting is
  80. # there to prevent editors from complaining about space-tab.
  81. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  82. # splitting by setting IFS to empty value.)
  83. IFS=" "" $as_nl"
  84. # Find who we are. Look in the path if we contain no directory separator.
  85. as_myself=
  86. case $0 in #((
  87. *[\\/]* ) as_myself=$0 ;;
  88. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  89. for as_dir in $PATH
  90. do
  91. IFS=$as_save_IFS
  92. test -z "$as_dir" && as_dir=.
  93. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  94. done
  95. IFS=$as_save_IFS
  96. ;;
  97. esac
  98. # We did not find ourselves, most probably we were run as `sh COMMAND'
  99. # in which case we are not to be found in the path.
  100. if test "x$as_myself" = x; then
  101. as_myself=$0
  102. fi
  103. if test ! -f "$as_myself"; then
  104. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  105. exit 1
  106. fi
  107. # Unset variables that we do not need and which cause bugs (e.g. in
  108. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  109. # suppresses any "Segmentation fault" message there. '((' could
  110. # trigger a bug in pdksh 5.2.14.
  111. for as_var in BASH_ENV ENV MAIL MAILPATH
  112. do eval test x\${$as_var+set} = xset \
  113. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  114. done
  115. PS1='$ '
  116. PS2='> '
  117. PS4='+ '
  118. # NLS nuisances.
  119. LC_ALL=C
  120. export LC_ALL
  121. LANGUAGE=C
  122. export LANGUAGE
  123. # CDPATH.
  124. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  125. # Use a proper internal environment variable to ensure we don't fall
  126. # into an infinite loop, continuously re-executing ourselves.
  127. if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
  128. _as_can_reexec=no; export _as_can_reexec;
  129. # We cannot yet assume a decent shell, so we have to provide a
  130. # neutralization value for shells without unset; and this also
  131. # works around shells that cannot unset nonexistent variables.
  132. # Preserve -v and -x to the replacement shell.
  133. BASH_ENV=/dev/null
  134. ENV=/dev/null
  135. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  136. case $- in # ((((
  137. *v*x* | *x*v* ) as_opts=-vx ;;
  138. *v* ) as_opts=-v ;;
  139. *x* ) as_opts=-x ;;
  140. * ) as_opts= ;;
  141. esac
  142. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  143. # Admittedly, this is quite paranoid, since all the known shells bail
  144. # out after a failed `exec'.
  145. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  146. as_fn_exit 255
  147. fi
  148. # We don't want this to propagate to other subprocesses.
  149. { _as_can_reexec=; unset _as_can_reexec;}
  150. if test "x$CONFIG_SHELL" = x; then
  151. as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
  152. emulate sh
  153. NULLCMD=:
  154. # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
  155. # is contrary to our usage. Disable this feature.
  156. alias -g '\${1+\"\$@\"}'='\"\$@\"'
  157. setopt NO_GLOB_SUBST
  158. else
  159. case \`(set -o) 2>/dev/null\` in #(
  160. *posix*) :
  161. set -o posix ;; #(
  162. *) :
  163. ;;
  164. esac
  165. fi
  166. "
  167. as_required="as_fn_return () { (exit \$1); }
  168. as_fn_success () { as_fn_return 0; }
  169. as_fn_failure () { as_fn_return 1; }
  170. as_fn_ret_success () { return 0; }
  171. as_fn_ret_failure () { return 1; }
  172. exitcode=0
  173. as_fn_success || { exitcode=1; echo as_fn_success failed.; }
  174. as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
  175. as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
  176. as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
  177. if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
  178. else
  179. exitcode=1; echo positional parameters were not saved.
  180. fi
  181. test x\$exitcode = x0 || exit 1
  182. test -x / || exit 1"
  183. as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
  184. as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
  185. eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
  186. test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
  187. test \$(( 1 + 1 )) = 2 || exit 1"
  188. if (eval "$as_required") 2>/dev/null; then :
  189. as_have_required=yes
  190. else
  191. as_have_required=no
  192. fi
  193. if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
  194. else
  195. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  196. as_found=false
  197. for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
  198. do
  199. IFS=$as_save_IFS
  200. test -z "$as_dir" && as_dir=.
  201. as_found=:
  202. case $as_dir in #(
  203. /*)
  204. for as_base in sh bash ksh sh5; do
  205. # Try only shells that exist, to save several forks.
  206. as_shell=$as_dir/$as_base
  207. if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
  208. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
  209. CONFIG_SHELL=$as_shell as_have_required=yes
  210. if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
  211. break 2
  212. fi
  213. fi
  214. done;;
  215. esac
  216. as_found=false
  217. done
  218. $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
  219. { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
  220. CONFIG_SHELL=$SHELL as_have_required=yes
  221. fi; }
  222. IFS=$as_save_IFS
  223. if test "x$CONFIG_SHELL" != x; then :
  224. export CONFIG_SHELL
  225. # We cannot yet assume a decent shell, so we have to provide a
  226. # neutralization value for shells without unset; and this also
  227. # works around shells that cannot unset nonexistent variables.
  228. # Preserve -v and -x to the replacement shell.
  229. BASH_ENV=/dev/null
  230. ENV=/dev/null
  231. (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
  232. case $- in # ((((
  233. *v*x* | *x*v* ) as_opts=-vx ;;
  234. *v* ) as_opts=-v ;;
  235. *x* ) as_opts=-x ;;
  236. * ) as_opts= ;;
  237. esac
  238. exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
  239. # Admittedly, this is quite paranoid, since all the known shells bail
  240. # out after a failed `exec'.
  241. $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
  242. exit 255
  243. fi
  244. if test x$as_have_required = xno; then :
  245. $as_echo "$0: This script requires a shell more modern than all"
  246. $as_echo "$0: the shells that I found on your system."
  247. if test x${ZSH_VERSION+set} = xset ; then
  248. $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
  249. $as_echo "$0: be upgraded to zsh 4.3.4 or later."
  250. else
  251. $as_echo "$0: Please tell bug-autoconf@gnu.org and
  252. $0: wx-dev@lists.wxwidgets.org about your system, including
  253. $0: any error possibly output before this message. Then
  254. $0: install a modern shell, or manually run the script
  255. $0: under such a shell if you do have one."
  256. fi
  257. exit 1
  258. fi
  259. fi
  260. fi
  261. SHELL=${CONFIG_SHELL-/bin/sh}
  262. export SHELL
  263. # Unset more variables known to interfere with behavior of common tools.
  264. CLICOLOR_FORCE= GREP_OPTIONS=
  265. unset CLICOLOR_FORCE GREP_OPTIONS
  266. ## --------------------- ##
  267. ## M4sh Shell Functions. ##
  268. ## --------------------- ##
  269. # as_fn_unset VAR
  270. # ---------------
  271. # Portably unset VAR.
  272. as_fn_unset ()
  273. {
  274. { eval $1=; unset $1;}
  275. }
  276. as_unset=as_fn_unset
  277. # as_fn_set_status STATUS
  278. # -----------------------
  279. # Set $? to STATUS, without forking.
  280. as_fn_set_status ()
  281. {
  282. return $1
  283. } # as_fn_set_status
  284. # as_fn_exit STATUS
  285. # -----------------
  286. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  287. as_fn_exit ()
  288. {
  289. set +e
  290. as_fn_set_status $1
  291. exit $1
  292. } # as_fn_exit
  293. # as_fn_mkdir_p
  294. # -------------
  295. # Create "$as_dir" as a directory, including parents if necessary.
  296. as_fn_mkdir_p ()
  297. {
  298. case $as_dir in #(
  299. -*) as_dir=./$as_dir;;
  300. esac
  301. test -d "$as_dir" || eval $as_mkdir_p || {
  302. as_dirs=
  303. while :; do
  304. case $as_dir in #(
  305. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  306. *) as_qdir=$as_dir;;
  307. esac
  308. as_dirs="'$as_qdir' $as_dirs"
  309. as_dir=`$as_dirname -- "$as_dir" ||
  310. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  311. X"$as_dir" : 'X\(//\)[^/]' \| \
  312. X"$as_dir" : 'X\(//\)$' \| \
  313. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  314. $as_echo X"$as_dir" |
  315. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  316. s//\1/
  317. q
  318. }
  319. /^X\(\/\/\)[^/].*/{
  320. s//\1/
  321. q
  322. }
  323. /^X\(\/\/\)$/{
  324. s//\1/
  325. q
  326. }
  327. /^X\(\/\).*/{
  328. s//\1/
  329. q
  330. }
  331. s/.*/./; q'`
  332. test -d "$as_dir" && break
  333. done
  334. test -z "$as_dirs" || eval "mkdir $as_dirs"
  335. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  336. } # as_fn_mkdir_p
  337. # as_fn_executable_p FILE
  338. # -----------------------
  339. # Test if FILE is an executable regular file.
  340. as_fn_executable_p ()
  341. {
  342. test -f "$1" && test -x "$1"
  343. } # as_fn_executable_p
  344. # as_fn_append VAR VALUE
  345. # ----------------------
  346. # Append the text in VALUE to the end of the definition contained in VAR. Take
  347. # advantage of any shell optimizations that allow amortized linear growth over
  348. # repeated appends, instead of the typical quadratic growth present in naive
  349. # implementations.
  350. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  351. eval 'as_fn_append ()
  352. {
  353. eval $1+=\$2
  354. }'
  355. else
  356. as_fn_append ()
  357. {
  358. eval $1=\$$1\$2
  359. }
  360. fi # as_fn_append
  361. # as_fn_arith ARG...
  362. # ------------------
  363. # Perform arithmetic evaluation on the ARGs, and store the result in the
  364. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  365. # must be portable across $(()) and expr.
  366. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  367. eval 'as_fn_arith ()
  368. {
  369. as_val=$(( $* ))
  370. }'
  371. else
  372. as_fn_arith ()
  373. {
  374. as_val=`expr "$@" || test $? -eq 1`
  375. }
  376. fi # as_fn_arith
  377. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  378. # ----------------------------------------
  379. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  380. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  381. # script with STATUS, using 1 if that was 0.
  382. as_fn_error ()
  383. {
  384. as_status=$1; test $as_status -eq 0 && as_status=1
  385. if test "$4"; then
  386. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  387. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  388. fi
  389. $as_echo "$as_me: error: $2" >&2
  390. as_fn_exit $as_status
  391. } # as_fn_error
  392. if expr a : '\(a\)' >/dev/null 2>&1 &&
  393. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  394. as_expr=expr
  395. else
  396. as_expr=false
  397. fi
  398. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  399. as_basename=basename
  400. else
  401. as_basename=false
  402. fi
  403. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  404. as_dirname=dirname
  405. else
  406. as_dirname=false
  407. fi
  408. as_me=`$as_basename -- "$0" ||
  409. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  410. X"$0" : 'X\(//\)$' \| \
  411. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  412. $as_echo X/"$0" |
  413. sed '/^.*\/\([^/][^/]*\)\/*$/{
  414. s//\1/
  415. q
  416. }
  417. /^X\/\(\/\/\)$/{
  418. s//\1/
  419. q
  420. }
  421. /^X\/\(\/\).*/{
  422. s//\1/
  423. q
  424. }
  425. s/.*/./; q'`
  426. # Avoid depending upon Character Ranges.
  427. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  428. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  429. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  430. as_cr_digits='0123456789'
  431. as_cr_alnum=$as_cr_Letters$as_cr_digits
  432. as_lineno_1=$LINENO as_lineno_1a=$LINENO
  433. as_lineno_2=$LINENO as_lineno_2a=$LINENO
  434. eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
  435. test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
  436. # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
  437. sed -n '
  438. p
  439. /[$]LINENO/=
  440. ' <$as_myself |
  441. sed '
  442. s/[$]LINENO.*/&-/
  443. t lineno
  444. b
  445. :lineno
  446. N
  447. :loop
  448. s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
  449. t loop
  450. s/-\n.*//
  451. ' >$as_me.lineno &&
  452. chmod +x "$as_me.lineno" ||
  453. { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
  454. # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
  455. # already done that, so ensure we don't try to do so again and fall
  456. # in an infinite loop. This has already happened in practice.
  457. _as_can_reexec=no; export _as_can_reexec
  458. # Don't try to exec as it changes $[0], causing all sort of problems
  459. # (the dirname of $[0] is not the place where we might find the
  460. # original and so on. Autoconf is especially sensitive to this).
  461. . "./$as_me.lineno"
  462. # Exit status is that of the last command.
  463. exit
  464. }
  465. ECHO_C= ECHO_N= ECHO_T=
  466. case `echo -n x` in #(((((
  467. -n*)
  468. case `echo 'xy\c'` in
  469. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  470. xy) ECHO_C='\c';;
  471. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  472. ECHO_T=' ';;
  473. esac;;
  474. *)
  475. ECHO_N='-n';;
  476. esac
  477. rm -f conf$$ conf$$.exe conf$$.file
  478. if test -d conf$$.dir; then
  479. rm -f conf$$.dir/conf$$.file
  480. else
  481. rm -f conf$$.dir
  482. mkdir conf$$.dir 2>/dev/null
  483. fi
  484. if (echo >conf$$.file) 2>/dev/null; then
  485. if ln -s conf$$.file conf$$ 2>/dev/null; then
  486. as_ln_s='ln -s'
  487. # ... but there are two gotchas:
  488. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  489. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  490. # In both cases, we have to default to `cp -pR'.
  491. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  492. as_ln_s='cp -pR'
  493. elif ln conf$$.file conf$$ 2>/dev/null; then
  494. as_ln_s=ln
  495. else
  496. as_ln_s='cp -pR'
  497. fi
  498. else
  499. as_ln_s='cp -pR'
  500. fi
  501. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  502. rmdir conf$$.dir 2>/dev/null
  503. if mkdir -p . 2>/dev/null; then
  504. as_mkdir_p='mkdir -p "$as_dir"'
  505. else
  506. test -d ./-p && rmdir ./-p
  507. as_mkdir_p=false
  508. fi
  509. as_test_x='test -x'
  510. as_executable_p=as_fn_executable_p
  511. # Sed expression to map a string onto a valid CPP name.
  512. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  513. # Sed expression to map a string onto a valid variable name.
  514. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  515. test -n "$DJDIR" || exec 7<&0 </dev/null
  516. exec 6>&1
  517. # Name of the host.
  518. # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
  519. # so uname gets run too.
  520. ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
  521. #
  522. # Initializations.
  523. #
  524. ac_default_prefix=/usr/local
  525. ac_clean_files=
  526. ac_config_libobj_dir=.
  527. LIBOBJS=
  528. cross_compiling=no
  529. subdirs=
  530. MFLAGS=
  531. MAKEFLAGS=
  532. # Identity of this package.
  533. PACKAGE_NAME='wxWidgets'
  534. PACKAGE_TARNAME='wxwidgets'
  535. PACKAGE_VERSION='3.0.2'
  536. PACKAGE_STRING='wxWidgets 3.0.2'
  537. PACKAGE_BUGREPORT='wx-dev@lists.wxwidgets.org'
  538. PACKAGE_URL=''
  539. ac_unique_file="wx-config.in"
  540. # Factoring default headers for most tests.
  541. ac_includes_default="\
  542. #include <stdio.h>
  543. #ifdef HAVE_SYS_TYPES_H
  544. # include <sys/types.h>
  545. #endif
  546. #ifdef HAVE_SYS_STAT_H
  547. # include <sys/stat.h>
  548. #endif
  549. #ifdef STDC_HEADERS
  550. # include <stdlib.h>
  551. # include <stddef.h>
  552. #else
  553. # ifdef HAVE_STDLIB_H
  554. # include <stdlib.h>
  555. # endif
  556. #endif
  557. #ifdef HAVE_STRING_H
  558. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  559. # include <memory.h>
  560. # endif
  561. # include <string.h>
  562. #endif
  563. #ifdef HAVE_STRINGS_H
  564. # include <strings.h>
  565. #endif
  566. #ifdef HAVE_INTTYPES_H
  567. # include <inttypes.h>
  568. #endif
  569. #ifdef HAVE_STDINT_H
  570. # include <stdint.h>
  571. #endif
  572. #ifdef HAVE_UNISTD_H
  573. # include <unistd.h>
  574. #endif"
  575. enable_option_checking=no
  576. ac_subst_vars='LTLIBOBJS
  577. LIBOBJS
  578. CPPUNIT_CONFIG
  579. DLLTOOL
  580. GCC
  581. MACSETFILE
  582. POSTLINK_COMMAND
  583. LIBWXMACRES
  584. WX_RESOURCES_MACOSX_DATA
  585. WX_RESOURCES_MACOSX_ASCII
  586. RESCOMP
  587. WX_VERSION_TAG
  588. DMALLOC_LIBS
  589. OPENGL_LIBS
  590. LDFLAGS_GL
  591. SAMPLES_SUBDIRS
  592. DISTDIR
  593. GUIDIST
  594. WXCONFIG_RESFLAGS
  595. WXCONFIG_LDFLAGS_GUI
  596. WXCONFIG_LDFLAGS
  597. WXCONFIG_RPATH
  598. WXCONFIG_LIBS
  599. WXCONFIG_CXXFLAGS
  600. WXCONFIG_CFLAGS
  601. WXCONFIG_CPPFLAGS
  602. WX_CHARTYPE
  603. WX_SUBVERSION
  604. WX_VERSION
  605. WX_RELEASE
  606. WIDGET_SET
  607. cross_compiling
  608. TOOLCHAIN_FULLNAME
  609. TOOLCHAIN_NAME
  610. TOOLKIT_DIR
  611. TOOLKIT
  612. USE_GUI
  613. WX_LIBRARY_BASENAME_GUI
  614. WX_LIBRARY_BASENAME_NOGUI
  615. SHARED
  616. DEREZ
  617. COND_wxUSE_ZLIB_builtin
  618. COND_wxUSE_REGEX_builtin
  619. COND_wxUSE_LIBTIFF_builtin
  620. COND_wxUSE_LIBPNG_builtin
  621. COND_wxUSE_LIBJPEG_builtin
  622. COND_wxUSE_EXPAT_builtin
  623. COND_WXUNIV_1
  624. COND_WXUNIV_0
  625. COND_WITH_PLUGIN_SDL_1
  626. COND_WINDOWS_IMPLIB_1
  627. COND_USE_XRC_1
  628. COND_USE_THREADS_1
  629. COND_USE_THREADS_0
  630. COND_USE_STC_1
  631. COND_USE_SOVERSOLARIS_1
  632. COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1
  633. COND_USE_SOVERSION_0
  634. COND_USE_SOVERLINUX_1
  635. COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
  636. COND_USE_SOTWOSYMLINKS_1
  637. COND_USE_RTTI_1
  638. COND_USE_RTTI_0
  639. COND_USE_PLUGINS_0
  640. COND_USE_PCH_1
  641. COND_USE_OPENGL_1
  642. COND_USE_GUI_1_wxUSE_LIBTIFF_builtin
  643. COND_USE_GUI_1_wxUSE_LIBPNG_builtin
  644. COND_USE_GUI_1_wxUSE_LIBJPEG_builtin
  645. COND_USE_GUI_1_WXUNIV_1
  646. COND_USE_GUI_1_WXUNIV_0
  647. COND_USE_GUI_1_USE_OPENGL_1
  648. COND_USE_GUI_1
  649. COND_USE_GUI_0
  650. COND_USE_EXCEPTIONS_1
  651. COND_USE_EXCEPTIONS_0
  652. COND_USE_CAIRO_1
  653. COND_UNICODE_1
  654. COND_TOOLKIT_X11_WXUNIV_1
  655. COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1
  656. COND_TOOLKIT_X11_USE_GUI_1
  657. COND_TOOLKIT_X11
  658. COND_TOOLKIT_WINCE_WXUNIV_0
  659. COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
  660. COND_TOOLKIT_WINCE_USE_GUI_1
  661. COND_TOOLKIT_WINCE
  662. COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
  663. COND_TOOLKIT_PM_USE_GUI_1
  664. COND_TOOLKIT_PM
  665. COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
  666. COND_TOOLKIT_OSX_IPHONE_USE_GUI_1
  667. COND_TOOLKIT_OSX_IPHONE
  668. COND_TOOLKIT_OSX_COCOA_USE_GUI_1
  669. COND_TOOLKIT_OSX_COCOA
  670. COND_TOOLKIT_OSX_CARBON_USE_GUI_1
  671. COND_TOOLKIT_OSX_CARBON
  672. COND_TOOLKIT_MSW_WXUNIV_0
  673. COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
  674. COND_TOOLKIT_MSW_USE_GUI_1
  675. COND_TOOLKIT_MSW
  676. COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
  677. COND_TOOLKIT_MOTIF_USE_GUI_1
  678. COND_TOOLKIT_MOTIF
  679. COND_TOOLKIT_MAC
  680. COND_TOOLKIT_GTK_USE_GUI_1
  681. COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
  682. COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
  683. COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0
  684. COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0
  685. COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
  686. COND_TOOLKIT_GTK_TOOLKIT_VERSION_3
  687. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1
  688. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
  689. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1
  690. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
  691. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
  692. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
  693. COND_TOOLKIT_GTK_TOOLKIT_VERSION_
  694. COND_TOOLKIT_GTK
  695. COND_TOOLKIT_DFB_USE_GUI_1
  696. COND_TOOLKIT_DFB
  697. COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
  698. COND_TOOLKIT_COCOA_USE_GUI_1
  699. COND_TOOLKIT_COCOA
  700. COND_TOOLKIT_
  701. COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
  702. COND_SHARED_1
  703. COND_SHARED_0_wxUSE_ZLIB_builtin
  704. COND_SHARED_0_wxUSE_REGEX_builtin
  705. COND_SHARED_0_wxUSE_EXPAT_builtin
  706. COND_SHARED_0_USE_STC_1
  707. COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin
  708. COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin
  709. COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin
  710. COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
  711. COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
  712. COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
  713. COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
  714. COND_SHARED_0
  715. COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
  716. COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
  717. COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
  718. COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
  719. COND_PLATFORM_WIN32_1_SHARED_0
  720. COND_PLATFORM_WIN32_1
  721. COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3
  722. COND_PLATFORM_WIN32_0
  723. COND_PLATFORM_UNIX_1_USE_PLUGINS_0
  724. COND_PLATFORM_UNIX_1_USE_GUI_1
  725. COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
  726. COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
  727. COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
  728. COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
  729. COND_PLATFORM_UNIX_1
  730. COND_PLATFORM_UNIX_0
  731. COND_PLATFORM_OS2_1
  732. COND_PLATFORM_MSDOS_1
  733. COND_PLATFORM_MSDOS_0
  734. COND_PLATFORM_MAC_1
  735. COND_PLATFORM_MAC_0
  736. COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
  737. COND_PLATFORM_MACOSX_1_USE_OPENGL_1
  738. COND_PLATFORM_MACOSX_1_USE_GUI_1
  739. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0
  740. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1
  741. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0
  742. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1
  743. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0
  744. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1
  745. COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1
  746. COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3
  747. COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
  748. COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2
  749. COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0
  750. COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
  751. COND_PLATFORM_MACOSX_1
  752. COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
  753. COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
  754. COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
  755. COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
  756. COND_MONOLITHIC_1_USE_STC_1
  757. COND_MONOLITHIC_1_SHARED_1
  758. COND_MONOLITHIC_1_SHARED_0
  759. COND_MONOLITHIC_1
  760. COND_MONOLITHIC_0_USE_XRC_1
  761. COND_MONOLITHIC_0_USE_WEBVIEW_1
  762. COND_MONOLITHIC_0_USE_STC_1
  763. COND_MONOLITHIC_0_USE_RICHTEXT_1
  764. COND_MONOLITHIC_0_USE_RIBBON_1
  765. COND_MONOLITHIC_0_USE_QA_1
  766. COND_MONOLITHIC_0_USE_PROPGRID_1
  767. COND_MONOLITHIC_0_USE_MEDIA_1
  768. COND_MONOLITHIC_0_USE_HTML_1
  769. COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
  770. COND_MONOLITHIC_0_USE_GUI_1
  771. COND_MONOLITHIC_0_USE_AUI_1
  772. COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
  773. COND_MONOLITHIC_0_SHARED_1_USE_STC_1
  774. COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
  775. COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1
  776. COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1
  777. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1
  778. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
  779. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
  780. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
  781. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
  782. COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
  783. COND_MONOLITHIC_0_SHARED_1
  784. COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
  785. COND_MONOLITHIC_0_SHARED_0_USE_STC_1
  786. COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
  787. COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1
  788. COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1
  789. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1
  790. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
  791. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
  792. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
  793. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
  794. COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
  795. COND_MONOLITHIC_0_SHARED_0
  796. COND_MONOLITHIC_0
  797. COND_ICC_PCH_1
  798. COND_GCC_PCH_1
  799. COND_DEPS_TRACKING_1
  800. COND_DEPS_TRACKING_0
  801. COND_DEBUG_INFO_1
  802. COND_DEBUG_INFO_0
  803. COND_DEBUG_FLAG_0
  804. COND_BUILD_release_DEBUG_INFO_default
  805. COND_BUILD_release
  806. COND_BUILD_debug_DEBUG_INFO_default
  807. COND_BUILD_debug
  808. BK_MAKE_PCH
  809. ICC_PCH_USE_SWITCH
  810. ICC_PCH_CREATE_SWITCH
  811. ICC_PCH
  812. GCC_PCH
  813. OBJCXXFLAGS
  814. SETFILE
  815. REZ
  816. WINDRES
  817. BK_DEPS
  818. DEPS_TRACKING
  819. SONAME_FLAG
  820. USE_SOTWOSYMLINKS
  821. USE_MACVERSION
  822. USE_SOVERCYGWIN
  823. USE_SOVERSOLARIS
  824. USE_SOVERLINUX
  825. USE_SOVERSION
  826. WINDOWS_IMPLIB
  827. PIC_FLAG
  828. SHARED_LD_MODULE_CXX
  829. SHARED_LD_MODULE_CC
  830. SHARED_LD_CXX
  831. SHARED_LD_CC
  832. AIX_CXX_LD
  833. dlldir
  834. DLLPREFIX_MODULE
  835. DLLPREFIX
  836. LIBEXT
  837. LIBPREFIX
  838. DLLIMP_SUFFIX
  839. SO_SUFFIX_MODULE
  840. SO_SUFFIX
  841. PLATFORM_BEOS
  842. PLATFORM_OS2
  843. PLATFORM_MACOSX
  844. PLATFORM_MACOS
  845. PLATFORM_MAC
  846. PLATFORM_MSDOS
  847. PLATFORM_WIN32
  848. PLATFORM_UNIX
  849. IF_GNU_MAKE
  850. LDFLAGS_GUI
  851. INSTALL_DIR
  852. NM
  853. STRIP
  854. AROPTIONS
  855. MAKE_SET
  856. SET_MAKE
  857. LN_S
  858. INSTALL_DATA
  859. INSTALL_SCRIPT
  860. INSTALL_PROGRAM
  861. RANLIB
  862. CPPUNIT_LIBS
  863. CPPUNIT_CFLAGS
  864. HOST_SUFFIX
  865. HEADER_PAD_OPTION
  866. SAMPLES_RPATH_FLAG
  867. DYLIB_RPATH_POSTLINK
  868. DYLIB_RPATH_INSTALL
  869. TOOLKIT_VERSION
  870. TOOLKIT_LOWERCASE
  871. DEBUG_FLAG
  872. DEBUG_INFO
  873. UNICODE
  874. WITH_PLUGIN_SDL
  875. EXTRALIBS_STC
  876. EXTRALIBS_SDL
  877. EXTRALIBS_OPENGL
  878. EXTRALIBS_GUI
  879. EXTRALIBS_MEDIA
  880. EXTRALIBS_HTML
  881. EXTRALIBS_XML
  882. EXTRALIBS
  883. CXXWARNINGS
  884. USE_PLUGINS
  885. MONOLITHIC
  886. WXUNIV
  887. WX_LIB_FLAVOUR
  888. WX_FLAVOUR
  889. OFFICIAL_BUILD
  890. VENDOR
  891. wxUSE_LIBTIFF
  892. wxUSE_LIBPNG
  893. wxUSE_LIBJPEG
  894. wxUSE_EXPAT
  895. wxUSE_REGEX
  896. wxUSE_ZLIB
  897. STD_GUI_LIBS
  898. STD_BASE_LIBS
  899. BUILT_WX_LIBS
  900. ALL_WX_LIBS
  901. GST_LIBS
  902. GST_CFLAGS
  903. CAIRO_LIBS
  904. CAIRO_CFLAGS
  905. WEBKIT_LIBS
  906. WEBKIT_CFLAGS
  907. COND_PYTHON
  908. PYTHON
  909. HILDON2_LIBS
  910. HILDON2_CFLAGS
  911. HILDON_LIBS
  912. HILDON_CFLAGS
  913. LIBNOTIFY_LIBS
  914. LIBNOTIFY_CFLAGS
  915. GNOMEVFS_LIBS
  916. GNOMEVFS_CFLAGS
  917. GTKPRINT_LIBS
  918. GTKPRINT_CFLAGS
  919. SDL_LIBS
  920. SDL_CFLAGS
  921. SDL_CONFIG
  922. GXX_VERSION
  923. LIBICONV
  924. CXXFLAGS_VISIBILITY
  925. CFLAGS_VISIBILITY
  926. MesaGL_LIBS
  927. MesaGL_CFLAGS
  928. GLU_LIBS
  929. GLU_CFLAGS
  930. GL_LIBS
  931. GL_CFLAGS
  932. SM_LIBS
  933. SM_CFLAGS
  934. Xxf86vm_LIBS
  935. Xxf86vm_CFLAGS
  936. Xinerama_LIBS
  937. Xinerama_CFLAGS
  938. PANGOFT2_LIBS
  939. PANGOFT2_CFLAGS
  940. PANGOXFT_LIBS
  941. PANGOXFT_CFLAGS
  942. X_EXTRA_LIBS
  943. X_LIBS
  944. X_PRE_LIBS
  945. X_CFLAGS
  946. XMKMF
  947. DIRECTFB_LIBS
  948. DIRECTFB_CFLAGS
  949. GTK_CONFIG
  950. GTK_LIBS
  951. GTK_CFLAGS
  952. PKG_CONFIG
  953. subdirs
  954. CXXCPP
  955. AR
  956. ac_ct_CXX
  957. CXXFLAGS
  958. CXX
  959. EGREP
  960. GREP
  961. CPP
  962. OBJEXT
  963. EXEEXT
  964. ac_ct_CC
  965. CPPFLAGS
  966. LDFLAGS
  967. CFLAGS
  968. CC
  969. wx_top_builddir
  970. host_os
  971. host_vendor
  972. host_cpu
  973. host
  974. build_os
  975. build_vendor
  976. build_cpu
  977. build
  978. target_alias
  979. host_alias
  980. build_alias
  981. LIBS
  982. ECHO_T
  983. ECHO_N
  984. ECHO_C
  985. DEFS
  986. mandir
  987. localedir
  988. libdir
  989. psdir
  990. pdfdir
  991. dvidir
  992. htmldir
  993. infodir
  994. docdir
  995. oldincludedir
  996. includedir
  997. localstatedir
  998. sharedstatedir
  999. sysconfdir
  1000. datadir
  1001. datarootdir
  1002. libexecdir
  1003. sbindir
  1004. bindir
  1005. program_transform_name
  1006. prefix
  1007. exec_prefix
  1008. PACKAGE_URL
  1009. PACKAGE_BUGREPORT
  1010. PACKAGE_STRING
  1011. PACKAGE_VERSION
  1012. PACKAGE_TARNAME
  1013. PACKAGE_NAME
  1014. PATH_SEPARATOR
  1015. SHELL'
  1016. ac_subst_files=''
  1017. ac_user_opts='
  1018. enable_option_checking
  1019. enable_gui
  1020. enable_monolithic
  1021. enable_plugins
  1022. with_subdirs
  1023. with_flavour
  1024. enable_official_build
  1025. enable_vendor
  1026. enable_all_features
  1027. enable_universal
  1028. with_themes
  1029. with_gtk
  1030. with_motif
  1031. with_osx_carbon
  1032. with_osx_cocoa
  1033. with_osx_iphone
  1034. with_osx
  1035. with_carbon
  1036. with_cocoa
  1037. with_iphone
  1038. with_mac
  1039. with_old_cocoa
  1040. with_wine
  1041. with_msw
  1042. with_pm
  1043. with_directfb
  1044. with_microwin
  1045. with_x11
  1046. enable_nanox
  1047. enable_gpe
  1048. with_libpng
  1049. with_libjpeg
  1050. with_libtiff
  1051. with_libjbig
  1052. with_liblzma
  1053. with_libxpm
  1054. with_libiconv
  1055. with_libmspack
  1056. with_gtkprint
  1057. with_gnomevfs
  1058. with_libnotify
  1059. with_hildon
  1060. with_opengl
  1061. with_dmalloc
  1062. with_sdl
  1063. with_regex
  1064. with_zlib
  1065. with_expat
  1066. with_macosx_sdk
  1067. with_macosx_version_min
  1068. enable_debug
  1069. enable_debug_flag
  1070. enable_debug_info
  1071. enable_debug_gdb
  1072. enable_debug_cntxt
  1073. enable_mem_tracing
  1074. enable_shared
  1075. enable_stl
  1076. enable_std_containers
  1077. enable_std_iostreams
  1078. enable_std_string
  1079. enable_std_string_conv_in_wxstring
  1080. enable_unicode
  1081. enable_mslu
  1082. enable_utf8
  1083. enable_utf8only
  1084. enable_extended_rtti
  1085. enable_omf
  1086. enable_optimise
  1087. enable_profile
  1088. enable_no_rtti
  1089. enable_no_exceptions
  1090. enable_permissive
  1091. enable_no_deps
  1092. enable_vararg_macros
  1093. enable_universal_binary
  1094. enable_macosx_arch
  1095. enable_compat26
  1096. enable_compat28
  1097. enable_rpath
  1098. enable_objc_uniquifying
  1099. enable_visibility
  1100. enable_tls
  1101. enable_intl
  1102. enable_xlocale
  1103. enable_config
  1104. enable_protocols
  1105. enable_ftp
  1106. enable_http
  1107. enable_fileproto
  1108. enable_sockets
  1109. enable_ipv6
  1110. enable_ole
  1111. enable_dataobj
  1112. enable_ipc
  1113. enable_baseevtloop
  1114. enable_epollloop
  1115. enable_selectloop
  1116. enable_any
  1117. enable_apple_ieee
  1118. enable_arcstream
  1119. enable_base64
  1120. enable_backtrace
  1121. enable_catch_segvs
  1122. enable_cmdline
  1123. enable_datetime
  1124. enable_debugreport
  1125. enable_dialupman
  1126. enable_dynlib
  1127. enable_dynamicloader
  1128. enable_exceptions
  1129. enable_ffile
  1130. enable_file
  1131. enable_filehistory
  1132. enable_filesystem
  1133. enable_fontenum
  1134. enable_fontmap
  1135. enable_fs_archive
  1136. enable_fs_inet
  1137. enable_fs_zip
  1138. enable_fsvolume
  1139. enable_fswatcher
  1140. enable_geometry
  1141. enable_log
  1142. enable_longlong
  1143. enable_mimetype
  1144. enable_printfposparam
  1145. enable_snglinst
  1146. enable_sound
  1147. enable_stdpaths
  1148. enable_stopwatch
  1149. enable_streams
  1150. enable_sysoptions
  1151. enable_tarstream
  1152. enable_textbuf
  1153. enable_textfile
  1154. enable_timer
  1155. enable_variant
  1156. enable_zipstream
  1157. enable_url
  1158. enable_protocol
  1159. enable_protocol_http
  1160. enable_protocol_ftp
  1161. enable_protocol_file
  1162. enable_threads
  1163. enable_iniconf
  1164. enable_regkey
  1165. enable_docview
  1166. enable_help
  1167. enable_mshtmlhelp
  1168. enable_html
  1169. enable_htmlhelp
  1170. enable_xrc
  1171. enable_aui
  1172. enable_propgrid
  1173. enable_ribbon
  1174. enable_stc
  1175. enable_constraints
  1176. enable_loggui
  1177. enable_logwin
  1178. enable_logdialog
  1179. enable_mdi
  1180. enable_mdidoc
  1181. enable_mediactrl
  1182. enable_gstreamer8
  1183. enable_richtext
  1184. enable_postscript
  1185. enable_printarch
  1186. enable_svg
  1187. enable_webkit
  1188. enable_webview
  1189. enable_graphics_ctx
  1190. enable_clipboard
  1191. enable_dnd
  1192. enable_controls
  1193. enable_markup
  1194. enable_accel
  1195. enable_animatectrl
  1196. enable_bannerwindow
  1197. enable_artstd
  1198. enable_arttango
  1199. enable_bmpbutton
  1200. enable_bmpcombobox
  1201. enable_button
  1202. enable_calendar
  1203. enable_caret
  1204. enable_checkbox
  1205. enable_checklst
  1206. enable_choice
  1207. enable_choicebook
  1208. enable_collpane
  1209. enable_colourpicker
  1210. enable_combobox
  1211. enable_comboctrl
  1212. enable_commandlinkbutton
  1213. enable_dataviewctrl
  1214. enable_datepick
  1215. enable_detect_sm
  1216. enable_dirpicker
  1217. enable_display
  1218. enable_editablebox
  1219. enable_filectrl
  1220. enable_filepicker
  1221. enable_fontpicker
  1222. enable_gauge
  1223. enable_grid
  1224. enable_headerctrl
  1225. enable_hyperlink
  1226. enable_imaglist
  1227. enable_infobar
  1228. enable_listbook
  1229. enable_listbox
  1230. enable_listctrl
  1231. enable_notebook
  1232. enable_notifmsg
  1233. enable_odcombobox
  1234. enable_popupwin
  1235. enable_prefseditor
  1236. enable_radiobox
  1237. enable_radiobtn
  1238. enable_richmsgdlg
  1239. enable_richtooltip
  1240. enable_rearrangectrl
  1241. enable_sash
  1242. enable_scrollbar
  1243. enable_searchctrl
  1244. enable_slider
  1245. enable_spinbtn
  1246. enable_spinctrl
  1247. enable_splitter
  1248. enable_statbmp
  1249. enable_statbox
  1250. enable_statline
  1251. enable_stattext
  1252. enable_statusbar
  1253. enable_taskbaricon
  1254. enable_tbarnative
  1255. enable_textctrl
  1256. enable_tipwindow
  1257. enable_togglebtn
  1258. enable_toolbar
  1259. enable_toolbook
  1260. enable_treebook
  1261. enable_treectrl
  1262. enable_treelist
  1263. enable_commondlg
  1264. enable_aboutdlg
  1265. enable_choicedlg
  1266. enable_coldlg
  1267. enable_filedlg
  1268. enable_finddlg
  1269. enable_fontdlg
  1270. enable_dirdlg
  1271. enable_msgdlg
  1272. enable_numberdlg
  1273. enable_splash
  1274. enable_textdlg
  1275. enable_tipdlg
  1276. enable_progressdlg
  1277. enable_wizarddlg
  1278. enable_menus
  1279. enable_miniframe
  1280. enable_tooltips
  1281. enable_splines
  1282. enable_mousewheel
  1283. enable_validators
  1284. enable_busyinfo
  1285. enable_hotkey
  1286. enable_joystick
  1287. enable_metafile
  1288. enable_dragimage
  1289. enable_accessibility
  1290. enable_uiactionsim
  1291. enable_dctransform
  1292. enable_webviewwebkit
  1293. enable_palette
  1294. enable_image
  1295. enable_gif
  1296. enable_pcx
  1297. enable_tga
  1298. enable_iff
  1299. enable_pnm
  1300. enable_xpm
  1301. enable_ico_cur
  1302. enable_dccache
  1303. enable_ps_in_msw
  1304. enable_ownerdrawn
  1305. enable_uxtheme
  1306. enable_wxdib
  1307. enable_webviewie
  1308. enable_autoidman
  1309. enable_largefile
  1310. enable_gtktest
  1311. with_gtk_prefix
  1312. with_gtk_exec_prefix
  1313. with_x
  1314. with_libiconv_prefix
  1315. with_sdl_prefix
  1316. with_sdl_exec_prefix
  1317. enable_sdltest
  1318. enable_dependency_tracking
  1319. enable_precomp_headers
  1320. with_cppunit_prefix
  1321. with_cppunit_exec_prefix
  1322. '
  1323. ac_precious_vars='build_alias
  1324. host_alias
  1325. target_alias
  1326. CC
  1327. CFLAGS
  1328. LDFLAGS
  1329. LIBS
  1330. CPPFLAGS
  1331. CPP
  1332. CXX
  1333. CXXFLAGS
  1334. CCC
  1335. CXXCPP
  1336. PKG_CONFIG
  1337. DIRECTFB_CFLAGS
  1338. DIRECTFB_LIBS
  1339. XMKMF
  1340. PANGOXFT_CFLAGS
  1341. PANGOXFT_LIBS
  1342. PANGOFT2_CFLAGS
  1343. PANGOFT2_LIBS
  1344. Xinerama_CFLAGS
  1345. Xinerama_LIBS
  1346. Xxf86vm_CFLAGS
  1347. Xxf86vm_LIBS
  1348. SM_CFLAGS
  1349. SM_LIBS
  1350. GL_CFLAGS
  1351. GL_LIBS
  1352. GLU_CFLAGS
  1353. GLU_LIBS
  1354. MesaGL_CFLAGS
  1355. MesaGL_LIBS
  1356. GTKPRINT_CFLAGS
  1357. GTKPRINT_LIBS
  1358. GNOMEVFS_CFLAGS
  1359. GNOMEVFS_LIBS
  1360. LIBNOTIFY_CFLAGS
  1361. LIBNOTIFY_LIBS
  1362. HILDON_CFLAGS
  1363. HILDON_LIBS
  1364. HILDON2_CFLAGS
  1365. HILDON2_LIBS
  1366. WEBKIT_CFLAGS
  1367. WEBKIT_LIBS
  1368. CAIRO_CFLAGS
  1369. CAIRO_LIBS
  1370. GST_CFLAGS
  1371. GST_LIBS'
  1372. ac_subdirs_all='src/tiff
  1373. src/expat'
  1374. # Initialize some variables set by options.
  1375. ac_init_help=
  1376. ac_init_version=false
  1377. ac_unrecognized_opts=
  1378. ac_unrecognized_sep=
  1379. # The variables have the same names as the options, with
  1380. # dashes changed to underlines.
  1381. cache_file=/dev/null
  1382. exec_prefix=NONE
  1383. no_create=
  1384. no_recursion=
  1385. prefix=NONE
  1386. program_prefix=NONE
  1387. program_suffix=NONE
  1388. program_transform_name=s,x,x,
  1389. silent=
  1390. site=
  1391. srcdir=
  1392. verbose=
  1393. x_includes=NONE
  1394. x_libraries=NONE
  1395. # Installation directory options.
  1396. # These are left unexpanded so users can "make install exec_prefix=/foo"
  1397. # and all the variables that are supposed to be based on exec_prefix
  1398. # by default will actually change.
  1399. # Use braces instead of parens because sh, perl, etc. also accept them.
  1400. # (The list follows the same order as the GNU Coding Standards.)
  1401. bindir='${exec_prefix}/bin'
  1402. sbindir='${exec_prefix}/sbin'
  1403. libexecdir='${exec_prefix}/libexec'
  1404. datarootdir='${prefix}/share'
  1405. datadir='${datarootdir}'
  1406. sysconfdir='${prefix}/etc'
  1407. sharedstatedir='${prefix}/com'
  1408. localstatedir='${prefix}/var'
  1409. includedir='${prefix}/include'
  1410. oldincludedir='/usr/include'
  1411. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  1412. infodir='${datarootdir}/info'
  1413. htmldir='${docdir}'
  1414. dvidir='${docdir}'
  1415. pdfdir='${docdir}'
  1416. psdir='${docdir}'
  1417. libdir='${exec_prefix}/lib'
  1418. localedir='${datarootdir}/locale'
  1419. mandir='${datarootdir}/man'
  1420. ac_prev=
  1421. ac_dashdash=
  1422. for ac_option
  1423. do
  1424. # If the previous option needs an argument, assign it.
  1425. if test -n "$ac_prev"; then
  1426. eval $ac_prev=\$ac_option
  1427. ac_prev=
  1428. continue
  1429. fi
  1430. case $ac_option in
  1431. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1432. *=) ac_optarg= ;;
  1433. *) ac_optarg=yes ;;
  1434. esac
  1435. # Accept the important Cygnus configure options, so we can diagnose typos.
  1436. case $ac_dashdash$ac_option in
  1437. --)
  1438. ac_dashdash=yes ;;
  1439. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1440. ac_prev=bindir ;;
  1441. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1442. bindir=$ac_optarg ;;
  1443. -build | --build | --buil | --bui | --bu)
  1444. ac_prev=build_alias ;;
  1445. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1446. build_alias=$ac_optarg ;;
  1447. -cache-file | --cache-file | --cache-fil | --cache-fi \
  1448. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1449. ac_prev=cache_file ;;
  1450. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1451. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1452. cache_file=$ac_optarg ;;
  1453. --config-cache | -C)
  1454. cache_file=config.cache ;;
  1455. -datadir | --datadir | --datadi | --datad)
  1456. ac_prev=datadir ;;
  1457. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1458. datadir=$ac_optarg ;;
  1459. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1460. | --dataroo | --dataro | --datar)
  1461. ac_prev=datarootdir ;;
  1462. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1463. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1464. datarootdir=$ac_optarg ;;
  1465. -disable-* | --disable-*)
  1466. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1467. # Reject names that are not valid shell variable names.
  1468. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1469. as_fn_error $? "invalid feature name: $ac_useropt"
  1470. ac_useropt_orig=$ac_useropt
  1471. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1472. case $ac_user_opts in
  1473. *"
  1474. "enable_$ac_useropt"
  1475. "*) ;;
  1476. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1477. ac_unrecognized_sep=', ';;
  1478. esac
  1479. eval enable_$ac_useropt=no ;;
  1480. -docdir | --docdir | --docdi | --doc | --do)
  1481. ac_prev=docdir ;;
  1482. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1483. docdir=$ac_optarg ;;
  1484. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  1485. ac_prev=dvidir ;;
  1486. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  1487. dvidir=$ac_optarg ;;
  1488. -enable-* | --enable-*)
  1489. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  1490. # Reject names that are not valid shell variable names.
  1491. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1492. as_fn_error $? "invalid feature name: $ac_useropt"
  1493. ac_useropt_orig=$ac_useropt
  1494. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1495. case $ac_user_opts in
  1496. *"
  1497. "enable_$ac_useropt"
  1498. "*) ;;
  1499. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  1500. ac_unrecognized_sep=', ';;
  1501. esac
  1502. eval enable_$ac_useropt=\$ac_optarg ;;
  1503. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  1504. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  1505. | --exec | --exe | --ex)
  1506. ac_prev=exec_prefix ;;
  1507. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  1508. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  1509. | --exec=* | --exe=* | --ex=*)
  1510. exec_prefix=$ac_optarg ;;
  1511. -gas | --gas | --ga | --g)
  1512. # Obsolete; use --with-gas.
  1513. with_gas=yes ;;
  1514. -help | --help | --hel | --he | -h)
  1515. ac_init_help=long ;;
  1516. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  1517. ac_init_help=recursive ;;
  1518. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  1519. ac_init_help=short ;;
  1520. -host | --host | --hos | --ho)
  1521. ac_prev=host_alias ;;
  1522. -host=* | --host=* | --hos=* | --ho=*)
  1523. host_alias=$ac_optarg ;;
  1524. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  1525. ac_prev=htmldir ;;
  1526. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  1527. | --ht=*)
  1528. htmldir=$ac_optarg ;;
  1529. -includedir | --includedir | --includedi | --included | --include \
  1530. | --includ | --inclu | --incl | --inc)
  1531. ac_prev=includedir ;;
  1532. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  1533. | --includ=* | --inclu=* | --incl=* | --inc=*)
  1534. includedir=$ac_optarg ;;
  1535. -infodir | --infodir | --infodi | --infod | --info | --inf)
  1536. ac_prev=infodir ;;
  1537. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  1538. infodir=$ac_optarg ;;
  1539. -libdir | --libdir | --libdi | --libd)
  1540. ac_prev=libdir ;;
  1541. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  1542. libdir=$ac_optarg ;;
  1543. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  1544. | --libexe | --libex | --libe)
  1545. ac_prev=libexecdir ;;
  1546. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  1547. | --libexe=* | --libex=* | --libe=*)
  1548. libexecdir=$ac_optarg ;;
  1549. -localedir | --localedir | --localedi | --localed | --locale)
  1550. ac_prev=localedir ;;
  1551. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  1552. localedir=$ac_optarg ;;
  1553. -localstatedir | --localstatedir | --localstatedi | --localstated \
  1554. | --localstate | --localstat | --localsta | --localst | --locals)
  1555. ac_prev=localstatedir ;;
  1556. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  1557. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  1558. localstatedir=$ac_optarg ;;
  1559. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  1560. ac_prev=mandir ;;
  1561. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  1562. mandir=$ac_optarg ;;
  1563. -nfp | --nfp | --nf)
  1564. # Obsolete; use --without-fp.
  1565. with_fp=no ;;
  1566. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  1567. | --no-cr | --no-c | -n)
  1568. no_create=yes ;;
  1569. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  1570. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  1571. no_recursion=yes ;;
  1572. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  1573. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  1574. | --oldin | --oldi | --old | --ol | --o)
  1575. ac_prev=oldincludedir ;;
  1576. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  1577. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  1578. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  1579. oldincludedir=$ac_optarg ;;
  1580. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  1581. ac_prev=prefix ;;
  1582. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  1583. prefix=$ac_optarg ;;
  1584. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  1585. | --program-pre | --program-pr | --program-p)
  1586. ac_prev=program_prefix ;;
  1587. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  1588. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  1589. program_prefix=$ac_optarg ;;
  1590. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  1591. | --program-suf | --program-su | --program-s)
  1592. ac_prev=program_suffix ;;
  1593. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  1594. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  1595. program_suffix=$ac_optarg ;;
  1596. -program-transform-name | --program-transform-name \
  1597. | --program-transform-nam | --program-transform-na \
  1598. | --program-transform-n | --program-transform- \
  1599. | --program-transform | --program-transfor \
  1600. | --program-transfo | --program-transf \
  1601. | --program-trans | --program-tran \
  1602. | --progr-tra | --program-tr | --program-t)
  1603. ac_prev=program_transform_name ;;
  1604. -program-transform-name=* | --program-transform-name=* \
  1605. | --program-transform-nam=* | --program-transform-na=* \
  1606. | --program-transform-n=* | --program-transform-=* \
  1607. | --program-transform=* | --program-transfor=* \
  1608. | --program-transfo=* | --program-transf=* \
  1609. | --program-trans=* | --program-tran=* \
  1610. | --progr-tra=* | --program-tr=* | --program-t=*)
  1611. program_transform_name=$ac_optarg ;;
  1612. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  1613. ac_prev=pdfdir ;;
  1614. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  1615. pdfdir=$ac_optarg ;;
  1616. -psdir | --psdir | --psdi | --psd | --ps)
  1617. ac_prev=psdir ;;
  1618. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  1619. psdir=$ac_optarg ;;
  1620. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  1621. | -silent | --silent | --silen | --sile | --sil)
  1622. silent=yes ;;
  1623. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  1624. ac_prev=sbindir ;;
  1625. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  1626. | --sbi=* | --sb=*)
  1627. sbindir=$ac_optarg ;;
  1628. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  1629. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  1630. | --sharedst | --shareds | --shared | --share | --shar \
  1631. | --sha | --sh)
  1632. ac_prev=sharedstatedir ;;
  1633. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  1634. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  1635. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  1636. | --sha=* | --sh=*)
  1637. sharedstatedir=$ac_optarg ;;
  1638. -site | --site | --sit)
  1639. ac_prev=site ;;
  1640. -site=* | --site=* | --sit=*)
  1641. site=$ac_optarg ;;
  1642. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  1643. ac_prev=srcdir ;;
  1644. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  1645. srcdir=$ac_optarg ;;
  1646. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  1647. | --syscon | --sysco | --sysc | --sys | --sy)
  1648. ac_prev=sysconfdir ;;
  1649. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  1650. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  1651. sysconfdir=$ac_optarg ;;
  1652. -target | --target | --targe | --targ | --tar | --ta | --t)
  1653. ac_prev=target_alias ;;
  1654. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  1655. target_alias=$ac_optarg ;;
  1656. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  1657. verbose=yes ;;
  1658. -version | --version | --versio | --versi | --vers | -V)
  1659. ac_init_version=: ;;
  1660. -with-* | --with-*)
  1661. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  1662. # Reject names that are not valid shell variable names.
  1663. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1664. as_fn_error $? "invalid package name: $ac_useropt"
  1665. ac_useropt_orig=$ac_useropt
  1666. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1667. case $ac_user_opts in
  1668. *"
  1669. "with_$ac_useropt"
  1670. "*) ;;
  1671. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  1672. ac_unrecognized_sep=', ';;
  1673. esac
  1674. eval with_$ac_useropt=\$ac_optarg ;;
  1675. -without-* | --without-*)
  1676. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  1677. # Reject names that are not valid shell variable names.
  1678. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1679. as_fn_error $? "invalid package name: $ac_useropt"
  1680. ac_useropt_orig=$ac_useropt
  1681. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1682. case $ac_user_opts in
  1683. *"
  1684. "with_$ac_useropt"
  1685. "*) ;;
  1686. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  1687. ac_unrecognized_sep=', ';;
  1688. esac
  1689. eval with_$ac_useropt=no ;;
  1690. --x)
  1691. # Obsolete; use --with-x.
  1692. with_x=yes ;;
  1693. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  1694. | --x-incl | --x-inc | --x-in | --x-i)
  1695. ac_prev=x_includes ;;
  1696. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  1697. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  1698. x_includes=$ac_optarg ;;
  1699. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  1700. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  1701. ac_prev=x_libraries ;;
  1702. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  1703. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  1704. x_libraries=$ac_optarg ;;
  1705. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  1706. Try \`$0 --help' for more information"
  1707. ;;
  1708. *=*)
  1709. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  1710. # Reject names that are not valid shell variable names.
  1711. case $ac_envvar in #(
  1712. '' | [0-9]* | *[!_$as_cr_alnum]* )
  1713. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  1714. esac
  1715. eval $ac_envvar=\$ac_optarg
  1716. export $ac_envvar ;;
  1717. *)
  1718. # FIXME: should be removed in autoconf 3.0.
  1719. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  1720. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  1721. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  1722. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  1723. ;;
  1724. esac
  1725. done
  1726. if test -n "$ac_prev"; then
  1727. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  1728. as_fn_error $? "missing argument to $ac_option"
  1729. fi
  1730. if test -n "$ac_unrecognized_opts"; then
  1731. case $enable_option_checking in
  1732. no) ;;
  1733. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  1734. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  1735. esac
  1736. fi
  1737. # Check all directory arguments for consistency.
  1738. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  1739. datadir sysconfdir sharedstatedir localstatedir includedir \
  1740. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  1741. libdir localedir mandir
  1742. do
  1743. eval ac_val=\$$ac_var
  1744. # Remove trailing slashes.
  1745. case $ac_val in
  1746. */ )
  1747. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  1748. eval $ac_var=\$ac_val;;
  1749. esac
  1750. # Be sure to have absolute directory names.
  1751. case $ac_val in
  1752. [\\/$]* | ?:[\\/]* ) continue;;
  1753. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  1754. esac
  1755. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  1756. done
  1757. # There might be people who depend on the old broken behavior: `$host'
  1758. # used to hold the argument of --host etc.
  1759. # FIXME: To remove some day.
  1760. build=$build_alias
  1761. host=$host_alias
  1762. target=$target_alias
  1763. # FIXME: To remove some day.
  1764. if test "x$host_alias" != x; then
  1765. if test "x$build_alias" = x; then
  1766. cross_compiling=maybe
  1767. elif test "x$build_alias" != "x$host_alias"; then
  1768. cross_compiling=yes
  1769. fi
  1770. fi
  1771. ac_tool_prefix=
  1772. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  1773. test "$silent" = yes && exec 6>/dev/null
  1774. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  1775. ac_ls_di=`ls -di .` &&
  1776. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  1777. as_fn_error $? "working directory cannot be determined"
  1778. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  1779. as_fn_error $? "pwd does not report name of working directory"
  1780. # Find the source files, if location was not specified.
  1781. if test -z "$srcdir"; then
  1782. ac_srcdir_defaulted=yes
  1783. # Try the directory containing this script, then the parent directory.
  1784. ac_confdir=`$as_dirname -- "$as_myself" ||
  1785. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  1786. X"$as_myself" : 'X\(//\)[^/]' \| \
  1787. X"$as_myself" : 'X\(//\)$' \| \
  1788. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  1789. $as_echo X"$as_myself" |
  1790. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  1791. s//\1/
  1792. q
  1793. }
  1794. /^X\(\/\/\)[^/].*/{
  1795. s//\1/
  1796. q
  1797. }
  1798. /^X\(\/\/\)$/{
  1799. s//\1/
  1800. q
  1801. }
  1802. /^X\(\/\).*/{
  1803. s//\1/
  1804. q
  1805. }
  1806. s/.*/./; q'`
  1807. srcdir=$ac_confdir
  1808. if test ! -r "$srcdir/$ac_unique_file"; then
  1809. srcdir=..
  1810. fi
  1811. else
  1812. ac_srcdir_defaulted=no
  1813. fi
  1814. if test ! -r "$srcdir/$ac_unique_file"; then
  1815. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  1816. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  1817. fi
  1818. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  1819. ac_abs_confdir=`(
  1820. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  1821. pwd)`
  1822. # When building in place, set srcdir=.
  1823. if test "$ac_abs_confdir" = "$ac_pwd"; then
  1824. srcdir=.
  1825. fi
  1826. # Remove unnecessary trailing slashes from srcdir.
  1827. # Double slashes in file names in object file debugging info
  1828. # mess up M-x gdb in Emacs.
  1829. case $srcdir in
  1830. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  1831. esac
  1832. for ac_var in $ac_precious_vars; do
  1833. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  1834. eval ac_env_${ac_var}_value=\$${ac_var}
  1835. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  1836. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  1837. done
  1838. #
  1839. # Report the --help message.
  1840. #
  1841. if test "$ac_init_help" = "long"; then
  1842. # Omit some internal or obsolete options to make the list less imposing.
  1843. # This message is too long to be a string in the A/UX 3.1 sh.
  1844. cat <<_ACEOF
  1845. \`configure' configures wxWidgets 3.0.2 to adapt to many kinds of systems.
  1846. Usage: $0 [OPTION]... [VAR=VALUE]...
  1847. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  1848. VAR=VALUE. See below for descriptions of some of the useful variables.
  1849. Defaults for the options are specified in brackets.
  1850. Configuration:
  1851. -h, --help display this help and exit
  1852. --help=short display options specific to this package
  1853. --help=recursive display the short help of all the included packages
  1854. -V, --version display version information and exit
  1855. -q, --quiet, --silent do not print \`checking ...' messages
  1856. --cache-file=FILE cache test results in FILE [disabled]
  1857. -C, --config-cache alias for \`--cache-file=config.cache'
  1858. -n, --no-create do not create output files
  1859. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  1860. Installation directories:
  1861. --prefix=PREFIX install architecture-independent files in PREFIX
  1862. [$ac_default_prefix]
  1863. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  1864. [PREFIX]
  1865. By default, \`make install' will install all the files in
  1866. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  1867. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  1868. for instance \`--prefix=\$HOME'.
  1869. For better control, use the options below.
  1870. Fine tuning of the installation directories:
  1871. --bindir=DIR user executables [EPREFIX/bin]
  1872. --sbindir=DIR system admin executables [EPREFIX/sbin]
  1873. --libexecdir=DIR program executables [EPREFIX/libexec]
  1874. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  1875. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  1876. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  1877. --libdir=DIR object code libraries [EPREFIX/lib]
  1878. --includedir=DIR C header files [PREFIX/include]
  1879. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  1880. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  1881. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  1882. --infodir=DIR info documentation [DATAROOTDIR/info]
  1883. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  1884. --mandir=DIR man documentation [DATAROOTDIR/man]
  1885. --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
  1886. --htmldir=DIR html documentation [DOCDIR]
  1887. --dvidir=DIR dvi documentation [DOCDIR]
  1888. --pdfdir=DIR pdf documentation [DOCDIR]
  1889. --psdir=DIR ps documentation [DOCDIR]
  1890. _ACEOF
  1891. cat <<\_ACEOF
  1892. X features:
  1893. --x-includes=DIR X include files are in DIR
  1894. --x-libraries=DIR X library files are in DIR
  1895. System types:
  1896. --build=BUILD configure for building on BUILD [guessed]
  1897. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  1898. _ACEOF
  1899. fi
  1900. if test -n "$ac_init_help"; then
  1901. case $ac_init_help in
  1902. short | recursive ) echo "Configuration of wxWidgets 3.0.2:";;
  1903. esac
  1904. cat <<\_ACEOF
  1905. Optional Features:
  1906. --disable-option-checking ignore unrecognized --enable/--with options
  1907. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  1908. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  1909. --disable-gui don't build GUI parts of the library
  1910. --enable-monolithic build wxWidgets as single library
  1911. --enable-plugins build parts of wxWidgets as loadable components
  1912. --enable-official_build official build of wxWidgets (win32 DLL only)
  1913. --enable-vendor=VENDOR vendor name (win32 DLL only)
  1914. --disable-all-features disable all optional features to build minimal library
  1915. --enable-universal use wxWidgets GUI controls instead of native ones
  1916. --enable-nanox use NanoX
  1917. --enable-gpe use GNOME PDA Environment features if possible
  1918. --enable-debug build library for debugging
  1919. --disable-debug_flag disable all debugging support
  1920. --enable-debug_info generate debug information
  1921. --enable-debug_gdb create code with extra GDB debugging information
  1922. --enable-debug_cntxt obsolete, don't use: use wxDebugContext
  1923. --enable-mem_tracing obsolete, don't use: create code with memory tracing
  1924. --disable-shared create static library instead of shared
  1925. --enable-stl use standard C++ classes for everything
  1926. --enable-std_containers use standard C++ container classes
  1927. --enable-std_iostreams use standard C++ stream classes
  1928. --enable-std_string use standard C++ string classes
  1929. --enable-std_string_conv_in_wxstring provide implicit conversion to std::string in wxString
  1930. --disable-unicode compile without Unicode support
  1931. --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
  1932. --enable-utf8 use UTF-8 representation for strings (Unix only)
  1933. --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
  1934. --enable-extended_rtti use extended RTTI (XTI)
  1935. --enable-omf use OMF object format
  1936. --disable-optimise compile without optimisations
  1937. --enable-profile create code with profiling information
  1938. --enable-no_rtti create code without RTTI information
  1939. --enable-no_exceptions create code without C++ exceptions handling
  1940. --enable-permissive compile code disregarding strict ANSI
  1941. --enable-no_deps create code without dependency information
  1942. --disable-vararg_macros don't use vararg macros, even if they are supported
  1943. --enable-universal_binary=archs create universal binary for the specified (or all supported) architectures
  1944. --enable-macosx_arch=ARCH build for just the specified architecture
  1945. --enable-compat26 enable wxWidgets 2.6 compatibility
  1946. --disable-compat28 disable wxWidgets 2.8 compatibility
  1947. --disable-rpath disable use of rpath for uninstalled builds
  1948. --enable-objc_uniquifying enable Objective-C class name uniquifying
  1949. --disable-visibility disable use of ELF symbols visibility even if supported
  1950. --disable-tls disable use of compiler TLS support
  1951. --enable-intl use internationalization system
  1952. --enable-xlocale use x-locale support (requires wxLocale)
  1953. --enable-config use wxConfig (and derived) classes
  1954. --enable-protocols use wxProtocol and derived classes
  1955. --enable-ftp use wxFTP (requires wxProtocol
  1956. --enable-http use wxHTTP (requires wxProtocol
  1957. --enable-fileproto use wxFileProto class (requires wxProtocol
  1958. --enable-sockets use socket/network classes
  1959. --enable-ipv6 enable IPv6 support in wxSocket
  1960. --enable-ole use OLE classes (Win32 only)
  1961. --enable-dataobj use data object classes
  1962. --enable-ipc use interprocess communication (wxSocket etc.)
  1963. --enable-baseevtloop use event loop in console programs too
  1964. --enable-epollloop use wxEpollDispatcher class (Linux only)
  1965. --enable-selectloop use wxSelectDispatcher class
  1966. --enable-any use wxAny class
  1967. --enable-apple_ieee use the Apple IEEE codec
  1968. --enable-arcstream use wxArchive streams
  1969. --enable-base64 use base64 encoding/decoding functions
  1970. --enable-backtrace use wxStackWalker class for getting backtraces
  1971. --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
  1972. --enable-cmdline use wxCmdLineParser class
  1973. --enable-datetime use wxDateTime class
  1974. --enable-debugreport use wxDebugReport class
  1975. --enable-dialupman use dialup network classes
  1976. --enable-dynlib use wxLibrary class for DLL loading
  1977. --enable-dynamicloader use (new) wxDynamicLibrary class
  1978. --enable-exceptions build exception-safe library
  1979. --enable-ffile use wxFFile class
  1980. --enable-file use wxFile class
  1981. --enable-filehistory use wxFileHistory class
  1982. --enable-filesystem use virtual file systems classes
  1983. --enable-fontenum use wxFontEnumerator class
  1984. --enable-fontmap use font encodings conversion classes
  1985. --enable-fs_archive use virtual archive filesystems
  1986. --enable-fs_inet use virtual HTTP/FTP filesystems
  1987. --enable-fs_zip now replaced by fs_archive
  1988. --enable-fsvolume use wxFSVolume class
  1989. --enable-fswatcher use wxFileSystemWatcher class
  1990. --enable-geometry use geometry class
  1991. --enable-log use logging system
  1992. --enable-longlong use wxLongLong class
  1993. --enable-mimetype use wxMimeTypesManager
  1994. --enable-printfposparam use wxVsnprintf() which supports positional parameters
  1995. --enable-snglinst use wxSingleInstanceChecker class
  1996. --enable-sound use wxSound class
  1997. --enable-stdpaths use wxStandardPaths class
  1998. --enable-stopwatch use wxStopWatch class
  1999. --enable-streams use wxStream etc classes
  2000. --enable-sysoptions use wxSystemOptions
  2001. --enable-tarstream use wxTar streams
  2002. --enable-textbuf use wxTextBuffer class
  2003. --enable-textfile use wxTextFile class
  2004. --enable-timer use wxTimer class
  2005. --enable-variant use wxVariant class
  2006. --enable-zipstream use wxZip streams
  2007. --enable-url use wxURL class
  2008. --enable-protocol use wxProtocol class
  2009. --enable-protocol-http HTTP support in wxProtocol
  2010. --enable-protocol-ftp FTP support in wxProtocol
  2011. --enable-protocol-file FILE support in wxProtocol
  2012. --enable-threads use threads
  2013. --enable-iniconf use wxIniConfig (Win32 only)
  2014. --enable-regkey use wxRegKey class (Win32 only)
  2015. --enable-docview use document view architecture
  2016. --enable-help use help subsystem
  2017. --enable-mshtmlhelp use MS HTML Help (win32)
  2018. --enable-html use wxHTML sub-library
  2019. --enable-htmlhelp use wxHTML-based help
  2020. --enable-xrc use XRC resources sub-library
  2021. --enable-aui use AUI docking library
  2022. --enable-propgrid use wxPropertyGrid library
  2023. --enable-ribbon use wxRibbon library
  2024. --enable-stc use wxStyledTextCtrl library
  2025. --enable-constraints use layout-constraints system
  2026. --enable-loggui use standard GUI logger
  2027. --enable-logwin use wxLogWindow
  2028. --enable-logdialog use wxLogDialog
  2029. --enable-mdi use multiple document interface architecture
  2030. --enable-mdidoc use docview architecture with MDI
  2031. --enable-mediactrl use wxMediaCtrl class
  2032. --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
  2033. --enable-richtext use wxRichTextCtrl
  2034. --enable-postscript use wxPostscriptDC device context (default for gtk+)
  2035. --enable-printarch use printing architecture
  2036. --enable-svg use wxSVGFileDC device context
  2037. --enable-webkit use wxWebKitCtrl (Mac-only, use wxWebView instead)
  2038. --enable-webview use wxWebView library
  2039. --enable-graphics_ctx use graphics context 2D drawing API
  2040. --enable-clipboard use wxClipboard class
  2041. --enable-dnd use Drag'n'Drop classes
  2042. --disable-controls disable compilation of all standard controls
  2043. --enable-markup support wxControl::SetLabelMarkup
  2044. --enable-accel use accelerators
  2045. --enable-animatectrl use wxAnimationCtrl class
  2046. --enable-bannerwindow use wxBannerWindow class
  2047. --enable-artstd use standard XPM icons in wxArtProvider
  2048. --enable-arttango use Tango icons in wxArtProvider
  2049. --enable-bmpbutton use wxBitmapButton class
  2050. --enable-bmpcombobox use wxBitmapComboBox class
  2051. --enable-button use wxButton class
  2052. --enable-calendar use wxCalendarCtrl class
  2053. --enable-caret use wxCaret class
  2054. --enable-checkbox use wxCheckBox class
  2055. --enable-checklst use wxCheckListBox (listbox with checkboxes) class
  2056. --enable-choice use wxChoice class
  2057. --enable-choicebook use wxChoicebook class
  2058. --enable-collpane use wxCollapsiblePane class
  2059. --enable-colourpicker use wxColourPickerCtrl class
  2060. --enable-combobox use wxComboBox class
  2061. --enable-comboctrl use wxComboCtrl class
  2062. --enable-commandlinkbutton use wxCommmandLinkButton class
  2063. --enable-dataviewctrl use wxDataViewCtrl class
  2064. --enable-datepick use wxDatePickerCtrl class
  2065. --enable-detect_sm use code to detect X11 session manager
  2066. --enable-dirpicker use wxDirPickerCtrl class
  2067. --enable-display use wxDisplay class
  2068. --enable-editablebox use wxEditableListBox class
  2069. --enable-filectrl use wxFileCtrl class
  2070. --enable-filepicker use wxFilePickerCtrl class
  2071. --enable-fontpicker use wxFontPickerCtrl class
  2072. --enable-gauge use wxGauge class
  2073. --enable-grid use wxGrid class
  2074. --enable-headerctrl use wxHeaderCtrl class
  2075. --enable-hyperlink use wxHyperlinkCtrl class
  2076. --enable-imaglist use wxImageList class
  2077. --enable-infobar use wxInfoBar class
  2078. --enable-listbook use wxListbook class
  2079. --enable-listbox use wxListBox class
  2080. --enable-listctrl use wxListCtrl class
  2081. --enable-notebook use wxNotebook class
  2082. --enable-notifmsg use wxNotificationMessage class
  2083. --enable-odcombobox use wxOwnerDrawnComboBox class
  2084. --enable-popupwin use wxPopUpWindow class
  2085. --enable-prefseditor use wxPreferencesEditor class
  2086. --enable-radiobox use wxRadioBox class
  2087. --enable-radiobtn use wxRadioButton class
  2088. --enable-richmsgdlg use wxRichMessageDialog class
  2089. --enable-richtooltip use wxRichToolTip class
  2090. --enable-rearrangectrl use wxRearrangeList/Ctrl/Dialog
  2091. --enable-sash use wxSashWindow class
  2092. --enable-scrollbar use wxScrollBar class and scrollable windows
  2093. --enable-searchctrl use wxSearchCtrl class
  2094. --enable-slider use wxSlider class
  2095. --enable-spinbtn use wxSpinButton class
  2096. --enable-spinctrl use wxSpinCtrl class
  2097. --enable-splitter use wxSplitterWindow class
  2098. --enable-statbmp use wxStaticBitmap class
  2099. --enable-statbox use wxStaticBox class
  2100. --enable-statline use wxStaticLine class
  2101. --enable-stattext use wxStaticText class
  2102. --enable-statusbar use wxStatusBar class
  2103. --enable-taskbaricon use wxTaskBarIcon class
  2104. --enable-tbarnative use native wxToolBar class
  2105. --enable-textctrl use wxTextCtrl class
  2106. --enable-timepick use wxTimePickerCtrl class
  2107. --enable-tipwindow use wxTipWindow class
  2108. --enable-togglebtn use wxToggleButton class
  2109. --enable-toolbar use wxToolBar class
  2110. --enable-toolbook use wxToolbook class
  2111. --enable-treebook use wxTreebook class
  2112. --enable-treectrl use wxTreeCtrl class
  2113. --enable-treelist use wxTreeListCtrl class
  2114. --enable-commondlg use all common dialogs
  2115. --enable-aboutdlg use wxAboutBox
  2116. --enable-choicedlg use wxChoiceDialog
  2117. --enable-coldlg use wxColourDialog
  2118. --enable-filedlg use wxFileDialog
  2119. --enable-finddlg use wxFindReplaceDialog
  2120. --enable-fontdlg use wxFontDialog
  2121. --enable-dirdlg use wxDirDialog
  2122. --enable-msgdlg use wxMessageDialog
  2123. --enable-numberdlg use wxNumberEntryDialog
  2124. --enable-splash use wxSplashScreen
  2125. --enable-textdlg use wxTextDialog
  2126. --enable-tipdlg use startup tips
  2127. --enable-progressdlg use wxProgressDialog
  2128. --enable-wizarddlg use wxWizard
  2129. --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
  2130. --enable-miniframe use wxMiniFrame class
  2131. --enable-tooltips use wxToolTip class
  2132. --enable-splines use spline drawing code
  2133. --enable-mousewheel use mousewheel
  2134. --enable-validators use wxValidator and derived classes
  2135. --enable-busyinfo use wxBusyInfo
  2136. --enable-hotkey use wxWindow::RegisterHotKey()
  2137. --enable-joystick use wxJoystick
  2138. --enable-metafiles use wxMetaFile
  2139. --enable-dragimage use wxDragImage
  2140. --enable-accessibility enable accessibility support
  2141. --enable-uiactionsim use wxUIActionSimulator (experimental)
  2142. --enable-dctransform use wxDC::SetTransformMatrix and related
  2143. --enable-webviewwebkit use wxWebView WebKit backend
  2144. --enable-palette use wxPalette class
  2145. --enable-image use wxImage class
  2146. --enable-gif use gif images (GIF file format)
  2147. --enable-pcx use pcx images (PCX file format)
  2148. --enable-tga use tga images (TGA file format)
  2149. --enable-iff use iff images (IFF file format)
  2150. --enable-pnm use pnm images (PNM file format)
  2151. --enable-xpm use xpm images (XPM file format)
  2152. --enable-ico_cur use Windows ICO and CUR formats
  2153. --enable-dccache cache temporary wxDC objects (Win32 only)
  2154. --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
  2155. --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
  2156. --enable-uxtheme enable support for Windows XP themed look (Win32 only)
  2157. --enable-wxdib use wxDIB class (Win32 only)
  2158. --enable-webviewie use wxWebView IE backend (Win32 only)
  2159. --enable-autoidman use automatic ids management
  2160. --disable-largefile omit support for large files
  2161. --disable-gtktest do not try to compile and run a test GTK+ program
  2162. --disable-gtktest Do not try to compile and run a test GTK program
  2163. --disable-sdltest Do not try to compile and run a test SDL program
  2164. --enable-omf use OMF object format (OS/2)
  2165. --disable-dependency-tracking
  2166. don't use dependency tracking even if the compiler
  2167. can
  2168. --disable-precomp-headers
  2169. don't use precompiled headers even if compiler can
  2170. Optional Packages:
  2171. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  2172. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  2173. --without-subdirs don't generate makefiles for samples/demos/...
  2174. --with-flavour=NAME specify a name to identify this build
  2175. --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
  2176. --with-gtk[=VERSION] use GTK+, VERSION can be 3, 2 (default), 1 or "any"
  2177. --with-motif use Motif/Lesstif
  2178. --with-osx_carbon use Mac OS X (Carbon)
  2179. --with-osx_cocoa use Mac OS X (Cocoa)
  2180. --with-osx_iphone use iPhone OS X port
  2181. --with-osx use Mac OS X (default port, Cocoa)
  2182. --with-carbon same as --with-osx_carbon
  2183. --with-cocoa same as --with-osx_cocoa
  2184. --with-iphone same as --with-osx_iphone
  2185. --with-mac same as --with-osx
  2186. --with-old_cocoa use old, deprecated, Cocoa port
  2187. --with-wine use Wine
  2188. --with-msw use MS-Windows
  2189. --with-pm use OS/2 Presentation Manager
  2190. --with-directfb use DirectFB
  2191. --with-microwin use MicroWindows
  2192. --with-x11 use X11
  2193. --with-libpng use libpng (PNG image format)
  2194. --with-libjpeg use libjpeg (JPEG file format)
  2195. --with-libtiff use libtiff (TIFF file format)
  2196. --without-libjbig don't use libjbig in libtiff even if available)
  2197. --without-liblzma don't use liblzma in libtiff even if available)
  2198. --with-libxpm use libxpm (XPM file format)
  2199. --with-libiconv use libiconv (character conversion)
  2200. --with-libmspack use libmspack (CHM help files loading)
  2201. --without-gtkprint don't use GTK printing support
  2202. --with-gnomevfs use GNOME VFS for associating MIME types
  2203. --with-libnotify use libnotify for notifications
  2204. --with-hildon use Hildon framework for Nokia 770/800/810
  2205. --with-opengl use OpenGL (or Mesa)
  2206. --with-dmalloc use dmalloc library (http://dmalloc.com/)
  2207. --with-sdl use SDL for audio on Unix
  2208. --with-regex enable support for wxRegEx class
  2209. --with-zlib use zlib for LZW compression
  2210. --with-expat enable XML support using expat parser
  2211. --with-macosx-sdk=PATH use an OS X SDK at PATH
  2212. --with-macosx-version-min=VER build binaries which require at least this OS X version
  2213. --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
  2214. --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
  2215. --with-x use the X Window System
  2216. --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
  2217. --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
  2218. --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
  2219. --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
  2220. --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
  2221. Some influential environment variables:
  2222. CC C compiler command
  2223. CFLAGS C compiler flags
  2224. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  2225. nonstandard directory <lib dir>
  2226. LIBS libraries to pass to the linker, e.g. -l<library>
  2227. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  2228. you have headers in a nonstandard directory <include dir>
  2229. CPP C preprocessor
  2230. CXX C++ compiler command
  2231. CXXFLAGS C++ compiler flags
  2232. CXXCPP C++ preprocessor
  2233. PKG_CONFIG path to pkg-config utility
  2234. DIRECTFB_CFLAGS
  2235. C compiler flags for DIRECTFB, overriding pkg-config
  2236. DIRECTFB_LIBS
  2237. linker flags for DIRECTFB, overriding pkg-config
  2238. XMKMF Path to xmkmf, Makefile generator for X Window System
  2239. PANGOXFT_CFLAGS
  2240. C compiler flags for PANGOXFT, overriding pkg-config
  2241. PANGOXFT_LIBS
  2242. linker flags for PANGOXFT, overriding pkg-config
  2243. PANGOFT2_CFLAGS
  2244. C compiler flags for PANGOFT2, overriding pkg-config
  2245. PANGOFT2_LIBS
  2246. linker flags for PANGOFT2, overriding pkg-config
  2247. Xinerama_CFLAGS
  2248. C compiler flags for Xinerama, overriding pkg-config
  2249. Xinerama_LIBS
  2250. linker flags for Xinerama, overriding pkg-config
  2251. Xxf86vm_CFLAGS
  2252. C compiler flags for Xxf86vm, overriding pkg-config
  2253. Xxf86vm_LIBS
  2254. linker flags for Xxf86vm, overriding pkg-config
  2255. SM_CFLAGS C compiler flags for SM, overriding pkg-config
  2256. SM_LIBS linker flags for SM, overriding pkg-config
  2257. GL_CFLAGS C compiler flags for GL, overriding pkg-config
  2258. GL_LIBS linker flags for GL, overriding pkg-config
  2259. GLU_CFLAGS C compiler flags for GLU, overriding pkg-config
  2260. GLU_LIBS linker flags for GLU, overriding pkg-config
  2261. MesaGL_CFLAGS
  2262. C compiler flags for MesaGL, overriding pkg-config
  2263. MesaGL_LIBS linker flags for MesaGL, overriding pkg-config
  2264. GTKPRINT_CFLAGS
  2265. C compiler flags for GTKPRINT, overriding pkg-config
  2266. GTKPRINT_LIBS
  2267. linker flags for GTKPRINT, overriding pkg-config
  2268. GNOMEVFS_CFLAGS
  2269. C compiler flags for GNOMEVFS, overriding pkg-config
  2270. GNOMEVFS_LIBS
  2271. linker flags for GNOMEVFS, overriding pkg-config
  2272. LIBNOTIFY_CFLAGS
  2273. C compiler flags for LIBNOTIFY, overriding pkg-config
  2274. LIBNOTIFY_LIBS
  2275. linker flags for LIBNOTIFY, overriding pkg-config
  2276. HILDON_CFLAGS
  2277. C compiler flags for HILDON, overriding pkg-config
  2278. HILDON_LIBS linker flags for HILDON, overriding pkg-config
  2279. HILDON2_CFLAGS
  2280. C compiler flags for HILDON2, overriding pkg-config
  2281. HILDON2_LIBS
  2282. linker flags for HILDON2, overriding pkg-config
  2283. WEBKIT_CFLAGS
  2284. C compiler flags for WEBKIT, overriding pkg-config
  2285. WEBKIT_LIBS linker flags for WEBKIT, overriding pkg-config
  2286. CAIRO_CFLAGS
  2287. C compiler flags for CAIRO, overriding pkg-config
  2288. CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
  2289. GST_CFLAGS C compiler flags for GST, overriding pkg-config
  2290. GST_LIBS linker flags for GST, overriding pkg-config
  2291. Use these variables to override the choices made by `configure' or to help
  2292. it to find libraries and programs with nonstandard names/locations.
  2293. Report bugs to <wx-dev@lists.wxwidgets.org>.
  2294. _ACEOF
  2295. ac_status=$?
  2296. fi
  2297. if test "$ac_init_help" = "recursive"; then
  2298. # If there are subdirs, report their specific --help.
  2299. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  2300. test -d "$ac_dir" ||
  2301. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  2302. continue
  2303. ac_builddir=.
  2304. case "$ac_dir" in
  2305. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2306. *)
  2307. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  2308. # A ".." for each directory in $ac_dir_suffix.
  2309. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  2310. case $ac_top_builddir_sub in
  2311. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2312. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  2313. esac ;;
  2314. esac
  2315. ac_abs_top_builddir=$ac_pwd
  2316. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  2317. # for backward compatibility:
  2318. ac_top_builddir=$ac_top_build_prefix
  2319. case $srcdir in
  2320. .) # We are building in place.
  2321. ac_srcdir=.
  2322. ac_top_srcdir=$ac_top_builddir_sub
  2323. ac_abs_top_srcdir=$ac_pwd ;;
  2324. [\\/]* | ?:[\\/]* ) # Absolute name.
  2325. ac_srcdir=$srcdir$ac_dir_suffix;
  2326. ac_top_srcdir=$srcdir
  2327. ac_abs_top_srcdir=$srcdir ;;
  2328. *) # Relative name.
  2329. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  2330. ac_top_srcdir=$ac_top_build_prefix$srcdir
  2331. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  2332. esac
  2333. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  2334. cd "$ac_dir" || { ac_status=$?; continue; }
  2335. # Check for guested configure.
  2336. if test -f "$ac_srcdir/configure.gnu"; then
  2337. echo &&
  2338. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  2339. elif test -f "$ac_srcdir/configure"; then
  2340. echo &&
  2341. $SHELL "$ac_srcdir/configure" --help=recursive
  2342. else
  2343. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  2344. fi || ac_status=$?
  2345. cd "$ac_pwd" || { ac_status=$?; break; }
  2346. done
  2347. fi
  2348. test -n "$ac_init_help" && exit $ac_status
  2349. if $ac_init_version; then
  2350. cat <<\_ACEOF
  2351. wxWidgets configure 3.0.2
  2352. generated by GNU Autoconf 2.69
  2353. Copyright (C) 2012 Free Software Foundation, Inc.
  2354. This configure script is free software; the Free Software Foundation
  2355. gives unlimited permission to copy, distribute and modify it.
  2356. _ACEOF
  2357. exit
  2358. fi
  2359. ## ------------------------ ##
  2360. ## Autoconf initialization. ##
  2361. ## ------------------------ ##
  2362. # ac_fn_c_try_compile LINENO
  2363. # --------------------------
  2364. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2365. ac_fn_c_try_compile ()
  2366. {
  2367. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2368. rm -f conftest.$ac_objext
  2369. if { { ac_try="$ac_compile"
  2370. case "(($ac_try" in
  2371. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2372. *) ac_try_echo=$ac_try;;
  2373. esac
  2374. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2375. $as_echo "$ac_try_echo"; } >&5
  2376. (eval "$ac_compile") 2>conftest.err
  2377. ac_status=$?
  2378. if test -s conftest.err; then
  2379. grep -v '^ *+' conftest.err >conftest.er1
  2380. cat conftest.er1 >&5
  2381. mv -f conftest.er1 conftest.err
  2382. fi
  2383. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2384. test $ac_status = 0; } && {
  2385. test -z "$ac_c_werror_flag" ||
  2386. test ! -s conftest.err
  2387. } && test -s conftest.$ac_objext; then :
  2388. ac_retval=0
  2389. else
  2390. $as_echo "$as_me: failed program was:" >&5
  2391. sed 's/^/| /' conftest.$ac_ext >&5
  2392. ac_retval=1
  2393. fi
  2394. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2395. as_fn_set_status $ac_retval
  2396. } # ac_fn_c_try_compile
  2397. # ac_fn_c_try_cpp LINENO
  2398. # ----------------------
  2399. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  2400. ac_fn_c_try_cpp ()
  2401. {
  2402. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2403. if { { ac_try="$ac_cpp conftest.$ac_ext"
  2404. case "(($ac_try" in
  2405. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2406. *) ac_try_echo=$ac_try;;
  2407. esac
  2408. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2409. $as_echo "$ac_try_echo"; } >&5
  2410. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  2411. ac_status=$?
  2412. if test -s conftest.err; then
  2413. grep -v '^ *+' conftest.err >conftest.er1
  2414. cat conftest.er1 >&5
  2415. mv -f conftest.er1 conftest.err
  2416. fi
  2417. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2418. test $ac_status = 0; } > conftest.i && {
  2419. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2420. test ! -s conftest.err
  2421. }; then :
  2422. ac_retval=0
  2423. else
  2424. $as_echo "$as_me: failed program was:" >&5
  2425. sed 's/^/| /' conftest.$ac_ext >&5
  2426. ac_retval=1
  2427. fi
  2428. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2429. as_fn_set_status $ac_retval
  2430. } # ac_fn_c_try_cpp
  2431. # ac_fn_cxx_try_compile LINENO
  2432. # ----------------------------
  2433. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2434. ac_fn_cxx_try_compile ()
  2435. {
  2436. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2437. rm -f conftest.$ac_objext
  2438. if { { ac_try="$ac_compile"
  2439. case "(($ac_try" in
  2440. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2441. *) ac_try_echo=$ac_try;;
  2442. esac
  2443. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2444. $as_echo "$ac_try_echo"; } >&5
  2445. (eval "$ac_compile") 2>conftest.err
  2446. ac_status=$?
  2447. if test -s conftest.err; then
  2448. grep -v '^ *+' conftest.err >conftest.er1
  2449. cat conftest.er1 >&5
  2450. mv -f conftest.er1 conftest.err
  2451. fi
  2452. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2453. test $ac_status = 0; } && {
  2454. test -z "$ac_cxx_werror_flag" ||
  2455. test ! -s conftest.err
  2456. } && test -s conftest.$ac_objext; then :
  2457. ac_retval=0
  2458. else
  2459. $as_echo "$as_me: failed program was:" >&5
  2460. sed 's/^/| /' conftest.$ac_ext >&5
  2461. ac_retval=1
  2462. fi
  2463. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2464. as_fn_set_status $ac_retval
  2465. } # ac_fn_cxx_try_compile
  2466. # ac_fn_c_try_link LINENO
  2467. # -----------------------
  2468. # Try to link conftest.$ac_ext, and return whether this succeeded.
  2469. ac_fn_c_try_link ()
  2470. {
  2471. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2472. rm -f conftest.$ac_objext conftest$ac_exeext
  2473. if { { ac_try="$ac_link"
  2474. case "(($ac_try" in
  2475. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2476. *) ac_try_echo=$ac_try;;
  2477. esac
  2478. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2479. $as_echo "$ac_try_echo"; } >&5
  2480. (eval "$ac_link") 2>conftest.err
  2481. ac_status=$?
  2482. if test -s conftest.err; then
  2483. grep -v '^ *+' conftest.err >conftest.er1
  2484. cat conftest.er1 >&5
  2485. mv -f conftest.er1 conftest.err
  2486. fi
  2487. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2488. test $ac_status = 0; } && {
  2489. test -z "$ac_c_werror_flag" ||
  2490. test ! -s conftest.err
  2491. } && test -s conftest$ac_exeext && {
  2492. test "$cross_compiling" = yes ||
  2493. test -x conftest$ac_exeext
  2494. }; then :
  2495. ac_retval=0
  2496. else
  2497. $as_echo "$as_me: failed program was:" >&5
  2498. sed 's/^/| /' conftest.$ac_ext >&5
  2499. ac_retval=1
  2500. fi
  2501. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2502. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2503. # interfere with the next link command; also delete a directory that is
  2504. # left behind by Apple's compiler. We do this before executing the actions.
  2505. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2506. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2507. as_fn_set_status $ac_retval
  2508. } # ac_fn_c_try_link
  2509. # ac_fn_cxx_try_link LINENO
  2510. # -------------------------
  2511. # Try to link conftest.$ac_ext, and return whether this succeeded.
  2512. ac_fn_cxx_try_link ()
  2513. {
  2514. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2515. rm -f conftest.$ac_objext conftest$ac_exeext
  2516. if { { ac_try="$ac_link"
  2517. case "(($ac_try" in
  2518. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2519. *) ac_try_echo=$ac_try;;
  2520. esac
  2521. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2522. $as_echo "$ac_try_echo"; } >&5
  2523. (eval "$ac_link") 2>conftest.err
  2524. ac_status=$?
  2525. if test -s conftest.err; then
  2526. grep -v '^ *+' conftest.err >conftest.er1
  2527. cat conftest.er1 >&5
  2528. mv -f conftest.er1 conftest.err
  2529. fi
  2530. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2531. test $ac_status = 0; } && {
  2532. test -z "$ac_cxx_werror_flag" ||
  2533. test ! -s conftest.err
  2534. } && test -s conftest$ac_exeext && {
  2535. test "$cross_compiling" = yes ||
  2536. test -x conftest$ac_exeext
  2537. }; then :
  2538. ac_retval=0
  2539. else
  2540. $as_echo "$as_me: failed program was:" >&5
  2541. sed 's/^/| /' conftest.$ac_ext >&5
  2542. ac_retval=1
  2543. fi
  2544. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2545. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2546. # interfere with the next link command; also delete a directory that is
  2547. # left behind by Apple's compiler. We do this before executing the actions.
  2548. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2549. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2550. as_fn_set_status $ac_retval
  2551. } # ac_fn_cxx_try_link
  2552. # ac_fn_c_try_run LINENO
  2553. # ----------------------
  2554. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  2555. # that executables *can* be run.
  2556. ac_fn_c_try_run ()
  2557. {
  2558. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2559. if { { ac_try="$ac_link"
  2560. case "(($ac_try" in
  2561. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2562. *) ac_try_echo=$ac_try;;
  2563. esac
  2564. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2565. $as_echo "$ac_try_echo"; } >&5
  2566. (eval "$ac_link") 2>&5
  2567. ac_status=$?
  2568. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2569. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  2570. { { case "(($ac_try" in
  2571. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2572. *) ac_try_echo=$ac_try;;
  2573. esac
  2574. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2575. $as_echo "$ac_try_echo"; } >&5
  2576. (eval "$ac_try") 2>&5
  2577. ac_status=$?
  2578. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2579. test $ac_status = 0; }; }; then :
  2580. ac_retval=0
  2581. else
  2582. $as_echo "$as_me: program exited with status $ac_status" >&5
  2583. $as_echo "$as_me: failed program was:" >&5
  2584. sed 's/^/| /' conftest.$ac_ext >&5
  2585. ac_retval=$ac_status
  2586. fi
  2587. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2588. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2589. as_fn_set_status $ac_retval
  2590. } # ac_fn_c_try_run
  2591. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  2592. # -------------------------------------------------------
  2593. # Tests whether HEADER exists and can be compiled using the include files in
  2594. # INCLUDES, setting the cache variable VAR accordingly.
  2595. ac_fn_c_check_header_compile ()
  2596. {
  2597. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2598. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2599. $as_echo_n "checking for $2... " >&6; }
  2600. if eval \${$3+:} false; then :
  2601. $as_echo_n "(cached) " >&6
  2602. else
  2603. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2604. /* end confdefs.h. */
  2605. $4
  2606. #include <$2>
  2607. _ACEOF
  2608. if ac_fn_c_try_compile "$LINENO"; then :
  2609. eval "$3=yes"
  2610. else
  2611. eval "$3=no"
  2612. fi
  2613. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2614. fi
  2615. eval ac_res=\$$3
  2616. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2617. $as_echo "$ac_res" >&6; }
  2618. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2619. } # ac_fn_c_check_header_compile
  2620. # ac_fn_cxx_check_header_compile LINENO HEADER VAR INCLUDES
  2621. # ---------------------------------------------------------
  2622. # Tests whether HEADER exists and can be compiled using the include files in
  2623. # INCLUDES, setting the cache variable VAR accordingly.
  2624. ac_fn_cxx_check_header_compile ()
  2625. {
  2626. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2627. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2628. $as_echo_n "checking for $2... " >&6; }
  2629. if eval \${$3+:} false; then :
  2630. $as_echo_n "(cached) " >&6
  2631. else
  2632. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2633. /* end confdefs.h. */
  2634. $4
  2635. #include <$2>
  2636. _ACEOF
  2637. if ac_fn_cxx_try_compile "$LINENO"; then :
  2638. eval "$3=yes"
  2639. else
  2640. eval "$3=no"
  2641. fi
  2642. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2643. fi
  2644. eval ac_res=\$$3
  2645. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2646. $as_echo "$ac_res" >&6; }
  2647. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2648. } # ac_fn_cxx_check_header_compile
  2649. # ac_fn_c_compute_int LINENO EXPR VAR INCLUDES
  2650. # --------------------------------------------
  2651. # Tries to find the compile-time value of EXPR in a program that includes
  2652. # INCLUDES, setting VAR accordingly. Returns whether the value could be
  2653. # computed
  2654. ac_fn_c_compute_int ()
  2655. {
  2656. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2657. if test "$cross_compiling" = yes; then
  2658. # Depending upon the size, compute the lo and hi bounds.
  2659. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2660. /* end confdefs.h. */
  2661. $4
  2662. int
  2663. main ()
  2664. {
  2665. static int test_array [1 - 2 * !(($2) >= 0)];
  2666. test_array [0] = 0;
  2667. return test_array [0];
  2668. ;
  2669. return 0;
  2670. }
  2671. _ACEOF
  2672. if ac_fn_c_try_compile "$LINENO"; then :
  2673. ac_lo=0 ac_mid=0
  2674. while :; do
  2675. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2676. /* end confdefs.h. */
  2677. $4
  2678. int
  2679. main ()
  2680. {
  2681. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  2682. test_array [0] = 0;
  2683. return test_array [0];
  2684. ;
  2685. return 0;
  2686. }
  2687. _ACEOF
  2688. if ac_fn_c_try_compile "$LINENO"; then :
  2689. ac_hi=$ac_mid; break
  2690. else
  2691. as_fn_arith $ac_mid + 1 && ac_lo=$as_val
  2692. if test $ac_lo -le $ac_mid; then
  2693. ac_lo= ac_hi=
  2694. break
  2695. fi
  2696. as_fn_arith 2 '*' $ac_mid + 1 && ac_mid=$as_val
  2697. fi
  2698. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2699. done
  2700. else
  2701. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2702. /* end confdefs.h. */
  2703. $4
  2704. int
  2705. main ()
  2706. {
  2707. static int test_array [1 - 2 * !(($2) < 0)];
  2708. test_array [0] = 0;
  2709. return test_array [0];
  2710. ;
  2711. return 0;
  2712. }
  2713. _ACEOF
  2714. if ac_fn_c_try_compile "$LINENO"; then :
  2715. ac_hi=-1 ac_mid=-1
  2716. while :; do
  2717. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2718. /* end confdefs.h. */
  2719. $4
  2720. int
  2721. main ()
  2722. {
  2723. static int test_array [1 - 2 * !(($2) >= $ac_mid)];
  2724. test_array [0] = 0;
  2725. return test_array [0];
  2726. ;
  2727. return 0;
  2728. }
  2729. _ACEOF
  2730. if ac_fn_c_try_compile "$LINENO"; then :
  2731. ac_lo=$ac_mid; break
  2732. else
  2733. as_fn_arith '(' $ac_mid ')' - 1 && ac_hi=$as_val
  2734. if test $ac_mid -le $ac_hi; then
  2735. ac_lo= ac_hi=
  2736. break
  2737. fi
  2738. as_fn_arith 2 '*' $ac_mid && ac_mid=$as_val
  2739. fi
  2740. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2741. done
  2742. else
  2743. ac_lo= ac_hi=
  2744. fi
  2745. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2746. fi
  2747. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2748. # Binary search between lo and hi bounds.
  2749. while test "x$ac_lo" != "x$ac_hi"; do
  2750. as_fn_arith '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo && ac_mid=$as_val
  2751. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2752. /* end confdefs.h. */
  2753. $4
  2754. int
  2755. main ()
  2756. {
  2757. static int test_array [1 - 2 * !(($2) <= $ac_mid)];
  2758. test_array [0] = 0;
  2759. return test_array [0];
  2760. ;
  2761. return 0;
  2762. }
  2763. _ACEOF
  2764. if ac_fn_c_try_compile "$LINENO"; then :
  2765. ac_hi=$ac_mid
  2766. else
  2767. as_fn_arith '(' $ac_mid ')' + 1 && ac_lo=$as_val
  2768. fi
  2769. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2770. done
  2771. case $ac_lo in #((
  2772. ?*) eval "$3=\$ac_lo"; ac_retval=0 ;;
  2773. '') ac_retval=1 ;;
  2774. esac
  2775. else
  2776. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2777. /* end confdefs.h. */
  2778. $4
  2779. static long int longval () { return $2; }
  2780. static unsigned long int ulongval () { return $2; }
  2781. #include <stdio.h>
  2782. #include <stdlib.h>
  2783. int
  2784. main ()
  2785. {
  2786. FILE *f = fopen ("conftest.val", "w");
  2787. if (! f)
  2788. return 1;
  2789. if (($2) < 0)
  2790. {
  2791. long int i = longval ();
  2792. if (i != ($2))
  2793. return 1;
  2794. fprintf (f, "%ld", i);
  2795. }
  2796. else
  2797. {
  2798. unsigned long int i = ulongval ();
  2799. if (i != ($2))
  2800. return 1;
  2801. fprintf (f, "%lu", i);
  2802. }
  2803. /* Do not output a trailing newline, as this causes \r\n confusion
  2804. on some platforms. */
  2805. return ferror (f) || fclose (f) != 0;
  2806. ;
  2807. return 0;
  2808. }
  2809. _ACEOF
  2810. if ac_fn_c_try_run "$LINENO"; then :
  2811. echo >>conftest.val; read $3 <conftest.val; ac_retval=0
  2812. else
  2813. ac_retval=1
  2814. fi
  2815. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  2816. conftest.$ac_objext conftest.beam conftest.$ac_ext
  2817. rm -f conftest.val
  2818. fi
  2819. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2820. as_fn_set_status $ac_retval
  2821. } # ac_fn_c_compute_int
  2822. # ac_fn_cxx_check_type LINENO TYPE VAR INCLUDES
  2823. # ---------------------------------------------
  2824. # Tests whether TYPE exists after having included INCLUDES, setting cache
  2825. # variable VAR accordingly.
  2826. ac_fn_cxx_check_type ()
  2827. {
  2828. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2829. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2830. $as_echo_n "checking for $2... " >&6; }
  2831. if eval \${$3+:} false; then :
  2832. $as_echo_n "(cached) " >&6
  2833. else
  2834. eval "$3=no"
  2835. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2836. /* end confdefs.h. */
  2837. $4
  2838. int
  2839. main ()
  2840. {
  2841. if (sizeof ($2))
  2842. return 0;
  2843. ;
  2844. return 0;
  2845. }
  2846. _ACEOF
  2847. if ac_fn_cxx_try_compile "$LINENO"; then :
  2848. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2849. /* end confdefs.h. */
  2850. $4
  2851. int
  2852. main ()
  2853. {
  2854. if (sizeof (($2)))
  2855. return 0;
  2856. ;
  2857. return 0;
  2858. }
  2859. _ACEOF
  2860. if ac_fn_cxx_try_compile "$LINENO"; then :
  2861. else
  2862. eval "$3=yes"
  2863. fi
  2864. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2865. fi
  2866. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2867. fi
  2868. eval ac_res=\$$3
  2869. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2870. $as_echo "$ac_res" >&6; }
  2871. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2872. } # ac_fn_cxx_check_type
  2873. # ac_fn_cxx_try_cpp LINENO
  2874. # ------------------------
  2875. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  2876. ac_fn_cxx_try_cpp ()
  2877. {
  2878. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2879. if { { ac_try="$ac_cpp conftest.$ac_ext"
  2880. case "(($ac_try" in
  2881. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2882. *) ac_try_echo=$ac_try;;
  2883. esac
  2884. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2885. $as_echo "$ac_try_echo"; } >&5
  2886. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  2887. ac_status=$?
  2888. if test -s conftest.err; then
  2889. grep -v '^ *+' conftest.err >conftest.er1
  2890. cat conftest.er1 >&5
  2891. mv -f conftest.er1 conftest.err
  2892. fi
  2893. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2894. test $ac_status = 0; } > conftest.i && {
  2895. test -z "$ac_cxx_preproc_warn_flag$ac_cxx_werror_flag" ||
  2896. test ! -s conftest.err
  2897. }; then :
  2898. ac_retval=0
  2899. else
  2900. $as_echo "$as_me: failed program was:" >&5
  2901. sed 's/^/| /' conftest.$ac_ext >&5
  2902. ac_retval=1
  2903. fi
  2904. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2905. as_fn_set_status $ac_retval
  2906. } # ac_fn_cxx_try_cpp
  2907. # ac_fn_cxx_check_header_mongrel LINENO HEADER VAR INCLUDES
  2908. # ---------------------------------------------------------
  2909. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  2910. # the include files in INCLUDES and setting the cache variable VAR
  2911. # accordingly.
  2912. ac_fn_cxx_check_header_mongrel ()
  2913. {
  2914. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2915. if eval \${$3+:} false; then :
  2916. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2917. $as_echo_n "checking for $2... " >&6; }
  2918. if eval \${$3+:} false; then :
  2919. $as_echo_n "(cached) " >&6
  2920. fi
  2921. eval ac_res=\$$3
  2922. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2923. $as_echo "$ac_res" >&6; }
  2924. else
  2925. # Is the header compilable?
  2926. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  2927. $as_echo_n "checking $2 usability... " >&6; }
  2928. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2929. /* end confdefs.h. */
  2930. $4
  2931. #include <$2>
  2932. _ACEOF
  2933. if ac_fn_cxx_try_compile "$LINENO"; then :
  2934. ac_header_compiler=yes
  2935. else
  2936. ac_header_compiler=no
  2937. fi
  2938. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2939. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  2940. $as_echo "$ac_header_compiler" >&6; }
  2941. # Is the header present?
  2942. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  2943. $as_echo_n "checking $2 presence... " >&6; }
  2944. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2945. /* end confdefs.h. */
  2946. #include <$2>
  2947. _ACEOF
  2948. if ac_fn_cxx_try_cpp "$LINENO"; then :
  2949. ac_header_preproc=yes
  2950. else
  2951. ac_header_preproc=no
  2952. fi
  2953. rm -f conftest.err conftest.i conftest.$ac_ext
  2954. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  2955. $as_echo "$ac_header_preproc" >&6; }
  2956. # So? What about this header?
  2957. case $ac_header_compiler:$ac_header_preproc:$ac_cxx_preproc_warn_flag in #((
  2958. yes:no: )
  2959. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  2960. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2961. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2962. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2963. ;;
  2964. no:yes:* )
  2965. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  2966. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  2967. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  2968. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  2969. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2970. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2971. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  2972. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  2973. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2974. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2975. ( $as_echo "## ----------------------------------------- ##
  2976. ## Report this to wx-dev@lists.wxwidgets.org ##
  2977. ## ----------------------------------------- ##"
  2978. ) | sed "s/^/$as_me: WARNING: /" >&2
  2979. ;;
  2980. esac
  2981. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2982. $as_echo_n "checking for $2... " >&6; }
  2983. if eval \${$3+:} false; then :
  2984. $as_echo_n "(cached) " >&6
  2985. else
  2986. eval "$3=\$ac_header_compiler"
  2987. fi
  2988. eval ac_res=\$$3
  2989. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2990. $as_echo "$ac_res" >&6; }
  2991. fi
  2992. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2993. } # ac_fn_cxx_check_header_mongrel
  2994. # ac_fn_c_check_func LINENO FUNC VAR
  2995. # ----------------------------------
  2996. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  2997. ac_fn_c_check_func ()
  2998. {
  2999. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3000. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3001. $as_echo_n "checking for $2... " >&6; }
  3002. if eval \${$3+:} false; then :
  3003. $as_echo_n "(cached) " >&6
  3004. else
  3005. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3006. /* end confdefs.h. */
  3007. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  3008. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3009. #define $2 innocuous_$2
  3010. /* System header to define __stub macros and hopefully few prototypes,
  3011. which can conflict with char $2 (); below.
  3012. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3013. <limits.h> exists even on freestanding compilers. */
  3014. #ifdef __STDC__
  3015. # include <limits.h>
  3016. #else
  3017. # include <assert.h>
  3018. #endif
  3019. #undef $2
  3020. /* Override any GCC internal prototype to avoid an error.
  3021. Use char because int might match the return type of a GCC
  3022. builtin and then its argument prototype would still apply. */
  3023. #ifdef __cplusplus
  3024. extern "C"
  3025. #endif
  3026. char $2 ();
  3027. /* The GNU C library defines this for functions which it implements
  3028. to always fail with ENOSYS. Some functions are actually named
  3029. something starting with __ and the normal name is an alias. */
  3030. #if defined __stub_$2 || defined __stub___$2
  3031. choke me
  3032. #endif
  3033. int
  3034. main ()
  3035. {
  3036. return $2 ();
  3037. ;
  3038. return 0;
  3039. }
  3040. _ACEOF
  3041. if ac_fn_c_try_link "$LINENO"; then :
  3042. eval "$3=yes"
  3043. else
  3044. eval "$3=no"
  3045. fi
  3046. rm -f core conftest.err conftest.$ac_objext \
  3047. conftest$ac_exeext conftest.$ac_ext
  3048. fi
  3049. eval ac_res=\$$3
  3050. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3051. $as_echo "$ac_res" >&6; }
  3052. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3053. } # ac_fn_c_check_func
  3054. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  3055. # -------------------------------------------
  3056. # Tests whether TYPE exists after having included INCLUDES, setting cache
  3057. # variable VAR accordingly.
  3058. ac_fn_c_check_type ()
  3059. {
  3060. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3061. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3062. $as_echo_n "checking for $2... " >&6; }
  3063. if eval \${$3+:} false; then :
  3064. $as_echo_n "(cached) " >&6
  3065. else
  3066. eval "$3=no"
  3067. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3068. /* end confdefs.h. */
  3069. $4
  3070. int
  3071. main ()
  3072. {
  3073. if (sizeof ($2))
  3074. return 0;
  3075. ;
  3076. return 0;
  3077. }
  3078. _ACEOF
  3079. if ac_fn_c_try_compile "$LINENO"; then :
  3080. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3081. /* end confdefs.h. */
  3082. $4
  3083. int
  3084. main ()
  3085. {
  3086. if (sizeof (($2)))
  3087. return 0;
  3088. ;
  3089. return 0;
  3090. }
  3091. _ACEOF
  3092. if ac_fn_c_try_compile "$LINENO"; then :
  3093. else
  3094. eval "$3=yes"
  3095. fi
  3096. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3097. fi
  3098. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3099. fi
  3100. eval ac_res=\$$3
  3101. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3102. $as_echo "$ac_res" >&6; }
  3103. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3104. } # ac_fn_c_check_type
  3105. # ac_fn_cxx_try_run LINENO
  3106. # ------------------------
  3107. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  3108. # that executables *can* be run.
  3109. ac_fn_cxx_try_run ()
  3110. {
  3111. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3112. if { { ac_try="$ac_link"
  3113. case "(($ac_try" in
  3114. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3115. *) ac_try_echo=$ac_try;;
  3116. esac
  3117. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3118. $as_echo "$ac_try_echo"; } >&5
  3119. (eval "$ac_link") 2>&5
  3120. ac_status=$?
  3121. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3122. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  3123. { { case "(($ac_try" in
  3124. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3125. *) ac_try_echo=$ac_try;;
  3126. esac
  3127. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3128. $as_echo "$ac_try_echo"; } >&5
  3129. (eval "$ac_try") 2>&5
  3130. ac_status=$?
  3131. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3132. test $ac_status = 0; }; }; then :
  3133. ac_retval=0
  3134. else
  3135. $as_echo "$as_me: program exited with status $ac_status" >&5
  3136. $as_echo "$as_me: failed program was:" >&5
  3137. sed 's/^/| /' conftest.$ac_ext >&5
  3138. ac_retval=$ac_status
  3139. fi
  3140. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  3141. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3142. as_fn_set_status $ac_retval
  3143. } # ac_fn_cxx_try_run
  3144. cat >config.log <<_ACEOF
  3145. This file contains any messages produced by compilers while
  3146. running configure, to aid debugging if configure makes a mistake.
  3147. It was created by wxWidgets $as_me 3.0.2, which was
  3148. generated by GNU Autoconf 2.69. Invocation command line was
  3149. $ $0 $@
  3150. _ACEOF
  3151. exec 5>>config.log
  3152. {
  3153. cat <<_ASUNAME
  3154. ## --------- ##
  3155. ## Platform. ##
  3156. ## --------- ##
  3157. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  3158. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  3159. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  3160. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  3161. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  3162. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  3163. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  3164. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  3165. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  3166. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  3167. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  3168. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  3169. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  3170. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  3171. _ASUNAME
  3172. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3173. for as_dir in $PATH
  3174. do
  3175. IFS=$as_save_IFS
  3176. test -z "$as_dir" && as_dir=.
  3177. $as_echo "PATH: $as_dir"
  3178. done
  3179. IFS=$as_save_IFS
  3180. } >&5
  3181. cat >&5 <<_ACEOF
  3182. ## ----------- ##
  3183. ## Core tests. ##
  3184. ## ----------- ##
  3185. _ACEOF
  3186. # Keep a trace of the command line.
  3187. # Strip out --no-create and --no-recursion so they do not pile up.
  3188. # Strip out --silent because we don't want to record it for future runs.
  3189. # Also quote any args containing shell meta-characters.
  3190. # Make two passes to allow for proper duplicate-argument suppression.
  3191. ac_configure_args=
  3192. ac_configure_args0=
  3193. ac_configure_args1=
  3194. ac_must_keep_next=false
  3195. for ac_pass in 1 2
  3196. do
  3197. for ac_arg
  3198. do
  3199. case $ac_arg in
  3200. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  3201. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3202. | -silent | --silent | --silen | --sile | --sil)
  3203. continue ;;
  3204. *\'*)
  3205. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  3206. esac
  3207. case $ac_pass in
  3208. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  3209. 2)
  3210. as_fn_append ac_configure_args1 " '$ac_arg'"
  3211. if test $ac_must_keep_next = true; then
  3212. ac_must_keep_next=false # Got value, back to normal.
  3213. else
  3214. case $ac_arg in
  3215. *=* | --config-cache | -C | -disable-* | --disable-* \
  3216. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  3217. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  3218. | -with-* | --with-* | -without-* | --without-* | --x)
  3219. case "$ac_configure_args0 " in
  3220. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  3221. esac
  3222. ;;
  3223. -* ) ac_must_keep_next=true ;;
  3224. esac
  3225. fi
  3226. as_fn_append ac_configure_args " '$ac_arg'"
  3227. ;;
  3228. esac
  3229. done
  3230. done
  3231. { ac_configure_args0=; unset ac_configure_args0;}
  3232. { ac_configure_args1=; unset ac_configure_args1;}
  3233. # When interrupted or exit'd, cleanup temporary files, and complete
  3234. # config.log. We remove comments because anyway the quotes in there
  3235. # would cause problems or look ugly.
  3236. # WARNING: Use '\'' to represent an apostrophe within the trap.
  3237. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  3238. trap 'exit_status=$?
  3239. # Save into config.log some information that might help in debugging.
  3240. {
  3241. echo
  3242. $as_echo "## ---------------- ##
  3243. ## Cache variables. ##
  3244. ## ---------------- ##"
  3245. echo
  3246. # The following way of writing the cache mishandles newlines in values,
  3247. (
  3248. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  3249. eval ac_val=\$$ac_var
  3250. case $ac_val in #(
  3251. *${as_nl}*)
  3252. case $ac_var in #(
  3253. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3254. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3255. esac
  3256. case $ac_var in #(
  3257. _ | IFS | as_nl) ;; #(
  3258. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3259. *) { eval $ac_var=; unset $ac_var;} ;;
  3260. esac ;;
  3261. esac
  3262. done
  3263. (set) 2>&1 |
  3264. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  3265. *${as_nl}ac_space=\ *)
  3266. sed -n \
  3267. "s/'\''/'\''\\\\'\'''\''/g;
  3268. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  3269. ;; #(
  3270. *)
  3271. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3272. ;;
  3273. esac |
  3274. sort
  3275. )
  3276. echo
  3277. $as_echo "## ----------------- ##
  3278. ## Output variables. ##
  3279. ## ----------------- ##"
  3280. echo
  3281. for ac_var in $ac_subst_vars
  3282. do
  3283. eval ac_val=\$$ac_var
  3284. case $ac_val in
  3285. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3286. esac
  3287. $as_echo "$ac_var='\''$ac_val'\''"
  3288. done | sort
  3289. echo
  3290. if test -n "$ac_subst_files"; then
  3291. $as_echo "## ------------------- ##
  3292. ## File substitutions. ##
  3293. ## ------------------- ##"
  3294. echo
  3295. for ac_var in $ac_subst_files
  3296. do
  3297. eval ac_val=\$$ac_var
  3298. case $ac_val in
  3299. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3300. esac
  3301. $as_echo "$ac_var='\''$ac_val'\''"
  3302. done | sort
  3303. echo
  3304. fi
  3305. if test -s confdefs.h; then
  3306. $as_echo "## ----------- ##
  3307. ## confdefs.h. ##
  3308. ## ----------- ##"
  3309. echo
  3310. cat confdefs.h
  3311. echo
  3312. fi
  3313. test "$ac_signal" != 0 &&
  3314. $as_echo "$as_me: caught signal $ac_signal"
  3315. $as_echo "$as_me: exit $exit_status"
  3316. } >&5
  3317. rm -f core *.core core.conftest.* &&
  3318. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  3319. exit $exit_status
  3320. ' 0
  3321. for ac_signal in 1 2 13 15; do
  3322. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  3323. done
  3324. ac_signal=0
  3325. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  3326. rm -f -r conftest* confdefs.h
  3327. $as_echo "/* confdefs.h */" > confdefs.h
  3328. # Predefined preprocessor variables.
  3329. cat >>confdefs.h <<_ACEOF
  3330. #define PACKAGE_NAME "$PACKAGE_NAME"
  3331. _ACEOF
  3332. cat >>confdefs.h <<_ACEOF
  3333. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  3334. _ACEOF
  3335. cat >>confdefs.h <<_ACEOF
  3336. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  3337. _ACEOF
  3338. cat >>confdefs.h <<_ACEOF
  3339. #define PACKAGE_STRING "$PACKAGE_STRING"
  3340. _ACEOF
  3341. cat >>confdefs.h <<_ACEOF
  3342. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  3343. _ACEOF
  3344. cat >>confdefs.h <<_ACEOF
  3345. #define PACKAGE_URL "$PACKAGE_URL"
  3346. _ACEOF
  3347. # Let the site file select an alternate cache file if it wants to.
  3348. # Prefer an explicitly selected file to automatically selected ones.
  3349. ac_site_file1=NONE
  3350. ac_site_file2=NONE
  3351. if test -n "$CONFIG_SITE"; then
  3352. # We do not want a PATH search for config.site.
  3353. case $CONFIG_SITE in #((
  3354. -*) ac_site_file1=./$CONFIG_SITE;;
  3355. */*) ac_site_file1=$CONFIG_SITE;;
  3356. *) ac_site_file1=./$CONFIG_SITE;;
  3357. esac
  3358. elif test "x$prefix" != xNONE; then
  3359. ac_site_file1=$prefix/share/config.site
  3360. ac_site_file2=$prefix/etc/config.site
  3361. else
  3362. ac_site_file1=$ac_default_prefix/share/config.site
  3363. ac_site_file2=$ac_default_prefix/etc/config.site
  3364. fi
  3365. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  3366. do
  3367. test "x$ac_site_file" = xNONE && continue
  3368. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  3369. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  3370. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  3371. sed 's/^/| /' "$ac_site_file" >&5
  3372. . "$ac_site_file" \
  3373. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3374. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3375. as_fn_error $? "failed to load site script $ac_site_file
  3376. See \`config.log' for more details" "$LINENO" 5; }
  3377. fi
  3378. done
  3379. if test -r "$cache_file"; then
  3380. # Some versions of bash will fail to source /dev/null (special files
  3381. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  3382. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  3383. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  3384. $as_echo "$as_me: loading cache $cache_file" >&6;}
  3385. case $cache_file in
  3386. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  3387. *) . "./$cache_file";;
  3388. esac
  3389. fi
  3390. else
  3391. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  3392. $as_echo "$as_me: creating cache $cache_file" >&6;}
  3393. >$cache_file
  3394. fi
  3395. # Check that the precious variables saved in the cache have kept the same
  3396. # value.
  3397. ac_cache_corrupted=false
  3398. for ac_var in $ac_precious_vars; do
  3399. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  3400. eval ac_new_set=\$ac_env_${ac_var}_set
  3401. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  3402. eval ac_new_val=\$ac_env_${ac_var}_value
  3403. case $ac_old_set,$ac_new_set in
  3404. set,)
  3405. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  3406. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  3407. ac_cache_corrupted=: ;;
  3408. ,set)
  3409. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  3410. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  3411. ac_cache_corrupted=: ;;
  3412. ,);;
  3413. *)
  3414. if test "x$ac_old_val" != "x$ac_new_val"; then
  3415. # differences in whitespace do not lead to failure.
  3416. ac_old_val_w=`echo x $ac_old_val`
  3417. ac_new_val_w=`echo x $ac_new_val`
  3418. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  3419. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  3420. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  3421. ac_cache_corrupted=:
  3422. else
  3423. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  3424. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  3425. eval $ac_var=\$ac_old_val
  3426. fi
  3427. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  3428. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  3429. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  3430. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  3431. fi;;
  3432. esac
  3433. # Pass precious variables to config.status.
  3434. if test "$ac_new_set" = set; then
  3435. case $ac_new_val in
  3436. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  3437. *) ac_arg=$ac_var=$ac_new_val ;;
  3438. esac
  3439. case " $ac_configure_args " in
  3440. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  3441. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  3442. esac
  3443. fi
  3444. done
  3445. if $ac_cache_corrupted; then
  3446. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3447. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3448. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  3449. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  3450. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  3451. fi
  3452. ## -------------------- ##
  3453. ## Main body of script. ##
  3454. ## -------------------- ##
  3455. ac_ext=c
  3456. ac_cpp='$CPP $CPPFLAGS'
  3457. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3458. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3459. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3460. ac_aux_dir=
  3461. for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
  3462. if test -f "$ac_dir/install-sh"; then
  3463. ac_aux_dir=$ac_dir
  3464. ac_install_sh="$ac_aux_dir/install-sh -c"
  3465. break
  3466. elif test -f "$ac_dir/install.sh"; then
  3467. ac_aux_dir=$ac_dir
  3468. ac_install_sh="$ac_aux_dir/install.sh -c"
  3469. break
  3470. elif test -f "$ac_dir/shtool"; then
  3471. ac_aux_dir=$ac_dir
  3472. ac_install_sh="$ac_aux_dir/shtool install -c"
  3473. break
  3474. fi
  3475. done
  3476. if test -z "$ac_aux_dir"; then
  3477. as_fn_error $? "cannot find install-sh, install.sh, or shtool in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" "$LINENO" 5
  3478. fi
  3479. # These three variables are undocumented and unsupported,
  3480. # and are intended to be withdrawn in a future Autoconf release.
  3481. # They can cause serious problems if a builder's source tree is in a directory
  3482. # whose full name contains unusual characters.
  3483. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  3484. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  3485. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  3486. # Make sure we can run config.sub.
  3487. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  3488. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  3489. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  3490. $as_echo_n "checking build system type... " >&6; }
  3491. if ${ac_cv_build+:} false; then :
  3492. $as_echo_n "(cached) " >&6
  3493. else
  3494. ac_build_alias=$build_alias
  3495. test "x$ac_build_alias" = x &&
  3496. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  3497. test "x$ac_build_alias" = x &&
  3498. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  3499. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  3500. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  3501. fi
  3502. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  3503. $as_echo "$ac_cv_build" >&6; }
  3504. case $ac_cv_build in
  3505. *-*-*) ;;
  3506. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  3507. esac
  3508. build=$ac_cv_build
  3509. ac_save_IFS=$IFS; IFS='-'
  3510. set x $ac_cv_build
  3511. shift
  3512. build_cpu=$1
  3513. build_vendor=$2
  3514. shift; shift
  3515. # Remember, the first character of IFS is used to create $*,
  3516. # except with old shells:
  3517. build_os=$*
  3518. IFS=$ac_save_IFS
  3519. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  3520. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  3521. $as_echo_n "checking host system type... " >&6; }
  3522. if ${ac_cv_host+:} false; then :
  3523. $as_echo_n "(cached) " >&6
  3524. else
  3525. if test "x$host_alias" = x; then
  3526. ac_cv_host=$ac_cv_build
  3527. else
  3528. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3529. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  3530. fi
  3531. fi
  3532. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  3533. $as_echo "$ac_cv_host" >&6; }
  3534. case $ac_cv_host in
  3535. *-*-*) ;;
  3536. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  3537. esac
  3538. host=$ac_cv_host
  3539. ac_save_IFS=$IFS; IFS='-'
  3540. set x $ac_cv_host
  3541. shift
  3542. host_cpu=$1
  3543. host_vendor=$2
  3544. shift; shift
  3545. # Remember, the first character of IFS is used to create $*,
  3546. # except with old shells:
  3547. host_os=$*
  3548. IFS=$ac_save_IFS
  3549. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  3550. if test "$cross_compiling" != "no"; then
  3551. HOST_PREFIX="${host_alias}-"
  3552. HOST_SUFFIX="-$host_alias"
  3553. else
  3554. HOST_PREFIX=
  3555. HOST_SUFFIX=
  3556. fi
  3557. wx_major_version_number=3
  3558. wx_minor_version_number=0
  3559. wx_release_number=2
  3560. wx_subrelease_number=0
  3561. WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
  3562. WX_VERSION=$WX_RELEASE.$wx_release_number
  3563. WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
  3564. WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
  3565. wx_top_builddir="`pwd`"
  3566. USE_UNIX=1
  3567. USE_OS2=0
  3568. USE_WIN32=0
  3569. USE_DOS=0
  3570. USE_BEOS=0
  3571. USE_MAC=0
  3572. USE_AIX=
  3573. USE_BSD= USE_DARWIN= USE_FREEBSD=
  3574. USE_GNU= USE_HPUX=
  3575. USE_LINUX=
  3576. USE_NETBSD=
  3577. USE_OPENBSD=
  3578. USE_OSF= USE_SGI=
  3579. USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
  3580. USE_ULTRIX=
  3581. USE_UNIXWARE=
  3582. USE_ALPHA=
  3583. NEEDS_D_REENTRANT_FOR_R_FUNCS=0
  3584. ALL_TOOLKITS="COCOA GTK OSX_CARBON OSX_COCOA OSX_IPHONE MICROWIN MOTIF MSW PM X11 DFB"
  3585. DEFAULT_wxUSE_OLD_COCOA=0
  3586. DEFAULT_wxUSE_GTK=0
  3587. DEFAULT_wxUSE_OSX_CARBON=0
  3588. DEFAULT_wxUSE_OSX_COCOA=0
  3589. DEFAULT_wxUSE_OSX_IPHONE=0
  3590. DEFAULT_wxUSE_MICROWIN=0
  3591. DEFAULT_wxUSE_MOTIF=0
  3592. DEFAULT_wxUSE_MSW=0
  3593. DEFAULT_wxUSE_PM=0
  3594. DEFAULT_wxUSE_X11=0
  3595. DEFAULT_wxUSE_DFB=0
  3596. DEFAULT_DEFAULT_wxUSE_OLD_COCOA=0
  3597. DEFAULT_DEFAULT_wxUSE_GTK=0
  3598. DEFAULT_DEFAULT_wxUSE_OSX_CARBON=0
  3599. DEFAULT_DEFAULT_wxUSE_OSX_COCOA=0
  3600. DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=0
  3601. DEFAULT_DEFAULT_wxUSE_MICROWIN=0
  3602. DEFAULT_DEFAULT_wxUSE_MOTIF=0
  3603. DEFAULT_DEFAULT_wxUSE_MSW=0
  3604. DEFAULT_DEFAULT_wxUSE_PM=0
  3605. DEFAULT_DEFAULT_wxUSE_X11=0
  3606. DEFAULT_DEFAULT_wxUSE_DFB=0
  3607. PROGRAM_EXT=
  3608. SAMPLES_RPATH_FLAG=
  3609. DYLIB_RPATH_INSTALL=
  3610. DYLIB_RPATH_POSTLINK=
  3611. DEFAULT_STD_FLAG=yes
  3612. case "${host}" in
  3613. *-hp-hpux* )
  3614. USE_HPUX=1
  3615. DEFAULT_DEFAULT_wxUSE_MOTIF=1
  3616. NEEDS_D_REENTRANT_FOR_R_FUNCS=1
  3617. $as_echo "#define __HPUX__ 1" >>confdefs.h
  3618. CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
  3619. ;;
  3620. *-*-linux* )
  3621. USE_LINUX=1
  3622. $as_echo "#define __LINUX__ 1" >>confdefs.h
  3623. TMP=`uname -m`
  3624. if test "x$TMP" = "xalpha"; then
  3625. USE_ALPHA=1
  3626. $as_echo "#define __ALPHA__ 1" >>confdefs.h
  3627. fi
  3628. DEFAULT_DEFAULT_wxUSE_GTK=1
  3629. ;;
  3630. *-*-gnu* | *-*-k*bsd*-gnu )
  3631. USE_GNU=1
  3632. TMP=`uname -m`
  3633. if test "x$TMP" = "xalpha"; then
  3634. USE_ALPHA=1
  3635. $as_echo "#define __ALPHA__ 1" >>confdefs.h
  3636. fi
  3637. DEFAULT_DEFAULT_wxUSE_GTK=1
  3638. ;;
  3639. *-*-irix5* | *-*-irix6* )
  3640. USE_SGI=1
  3641. USE_SVR4=1
  3642. $as_echo "#define __SGI__ 1" >>confdefs.h
  3643. $as_echo "#define __SVR4__ 1" >>confdefs.h
  3644. DEFAULT_DEFAULT_wxUSE_MOTIF=1
  3645. ;;
  3646. *-*-qnx*)
  3647. USE_QNX=1
  3648. $as_echo "#define __QNX__ 1" >>confdefs.h
  3649. DEFAULT_DEFAULT_wxUSE_X11=1
  3650. ;;
  3651. *-*-solaris2* )
  3652. USE_SUN=1
  3653. USE_SOLARIS=1
  3654. USE_SVR4=1
  3655. $as_echo "#define __SUN__ 1" >>confdefs.h
  3656. $as_echo "#define __SOLARIS__ 1" >>confdefs.h
  3657. $as_echo "#define __SVR4__ 1" >>confdefs.h
  3658. DEFAULT_DEFAULT_wxUSE_MOTIF=1
  3659. NEEDS_D_REENTRANT_FOR_R_FUNCS=1
  3660. ;;
  3661. *-*-sunos4* )
  3662. USE_SUN=1
  3663. USE_SUNOS=1
  3664. USE_BSD=1
  3665. $as_echo "#define __SUN__ 1" >>confdefs.h
  3666. $as_echo "#define __SUNOS__ 1" >>confdefs.h
  3667. $as_echo "#define __BSD__ 1" >>confdefs.h
  3668. DEFAULT_DEFAULT_wxUSE_MOTIF=1
  3669. ;;
  3670. *-*-freebsd*)
  3671. USE_BSD=1
  3672. USE_FREEBSD=1
  3673. $as_echo "#define __FREEBSD__ 1" >>confdefs.h
  3674. $as_echo "#define __BSD__ 1" >>confdefs.h
  3675. DEFAULT_DEFAULT_wxUSE_GTK=1
  3676. ;;
  3677. *-*-openbsd*|*-*-mirbsd*)
  3678. USE_BSD=1
  3679. USE_OPENBSD=1
  3680. $as_echo "#define __OPENBSD__ 1" >>confdefs.h
  3681. $as_echo "#define __BSD__ 1" >>confdefs.h
  3682. DEFAULT_DEFAULT_wxUSE_GTK=1
  3683. ;;
  3684. *-*-netbsd*)
  3685. USE_BSD=1
  3686. USE_NETBSD=1
  3687. $as_echo "#define __NETBSD__ 1" >>confdefs.h
  3688. $as_echo "#define __BSD__ 1" >>confdefs.h
  3689. DEFAULT_DEFAULT_wxUSE_GTK=1
  3690. NEEDS_D_REENTRANT_FOR_R_FUNCS=1
  3691. CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
  3692. ;;
  3693. *-*-osf* )
  3694. USE_ALPHA=1
  3695. USE_OSF=1
  3696. $as_echo "#define __ALPHA__ 1" >>confdefs.h
  3697. $as_echo "#define __OSF__ 1" >>confdefs.h
  3698. DEFAULT_DEFAULT_wxUSE_MOTIF=1
  3699. NEEDS_D_REENTRANT_FOR_R_FUNCS=1
  3700. ;;
  3701. *-*-dgux5* )
  3702. USE_ALPHA=1
  3703. USE_SVR4=1
  3704. $as_echo "#define __ALPHA__ 1" >>confdefs.h
  3705. $as_echo "#define __SVR4__ 1" >>confdefs.h
  3706. DEFAULT_DEFAULT_wxUSE_MOTIF=1
  3707. ;;
  3708. *-*-sysv5* )
  3709. USE_SYSV=1
  3710. USE_SVR4=1
  3711. $as_echo "#define __SYSV__ 1" >>confdefs.h
  3712. $as_echo "#define __SVR4__ 1" >>confdefs.h
  3713. DEFAULT_DEFAULT_wxUSE_MOTIF=1
  3714. ;;
  3715. *-*-aix* )
  3716. USE_AIX=1
  3717. USE_SYSV=1
  3718. USE_SVR4=1
  3719. $as_echo "#define __AIX__ 1" >>confdefs.h
  3720. $as_echo "#define __SYSV__ 1" >>confdefs.h
  3721. $as_echo "#define __SVR4__ 1" >>confdefs.h
  3722. DEFAULT_DEFAULT_wxUSE_MOTIF=1
  3723. ;;
  3724. *-*-*UnixWare*)
  3725. USE_SYSV=1
  3726. USE_SVR4=1
  3727. USE_UNIXWARE=1
  3728. $as_echo "#define __UNIXWARE__ 1" >>confdefs.h
  3729. ;;
  3730. *-*-cygwin* | *-*-mingw32* )
  3731. PROGRAM_EXT=".exe"
  3732. DEFAULT_DEFAULT_wxUSE_MSW=1
  3733. ;;
  3734. *-pc-msdosdjgpp )
  3735. USE_UNIX=0
  3736. USE_DOS=1
  3737. $as_echo "#define __DOS__ 1" >>confdefs.h
  3738. PROGRAM_EXT=".exe"
  3739. ;;
  3740. *-pc-os2_emx | *-pc-os2-emx )
  3741. $as_echo "#define __EMX__ 1" >>confdefs.h
  3742. USE_OS2=1
  3743. $as_echo "#define __OS2__ 1" >>confdefs.h
  3744. PROGRAM_EXT=".exe"
  3745. DEFAULT_DEFAULT_wxUSE_PM=1
  3746. CXX=gcc
  3747. LDFLAGS="$LDFLAGS -Zcrtdll"
  3748. ac_executable_extensions=".exe"
  3749. export ac_executable_extensions
  3750. ac_save_IFS="$IFS"
  3751. IFS='\\'
  3752. ac_TEMP_PATH=
  3753. for ac_dir in $PATH; do
  3754. IFS=$ac_save_IFS
  3755. if test -z "$ac_TEMP_PATH"; then
  3756. ac_TEMP_PATH="$ac_dir"
  3757. else
  3758. ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
  3759. fi
  3760. done
  3761. export PATH="$ac_TEMP_PATH"
  3762. unset ac_TEMP_PATH
  3763. DEFAULT_STD_FLAG=no
  3764. ;;
  3765. arm-apple-darwin*)
  3766. USE_BSD=1
  3767. USE_DARWIN=1
  3768. $as_echo "#define __BSD__ 1" >>confdefs.h
  3769. $as_echo "#define __DARWIN__ 1" >>confdefs.h
  3770. DEFAULT_DEFAULT_wxUSE_OSX_IPHONE=1
  3771. ;;
  3772. *-*-darwin* )
  3773. USE_BSD=1
  3774. USE_DARWIN=1
  3775. $as_echo "#define __BSD__ 1" >>confdefs.h
  3776. $as_echo "#define __DARWIN__ 1" >>confdefs.h
  3777. $as_echo "#define TARGET_CARBON 1" >>confdefs.h
  3778. DEFAULT_DEFAULT_wxUSE_OSX_COCOA=1
  3779. ;;
  3780. *-*-beos* )
  3781. USE_BEOS=1
  3782. $as_echo "#define __BEOS__ 1" >>confdefs.h
  3783. ;;
  3784. *)
  3785. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
  3786. $as_echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
  3787. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
  3788. $as_echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
  3789. DEFAULT_DEFAULT_wxUSE_X11=1
  3790. DEFAULT_wxUSE_SHARED=no
  3791. esac
  3792. DEFAULT_wxUSE_ALL_FEATURES=yes
  3793. DEFAULT_wxUSE_STD_CONTAINERS=no
  3794. DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
  3795. DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
  3796. DEFAULT_wxUSE_DMALLOC=no
  3797. DEFAULT_wxUSE_LIBGNOMEVFS=no
  3798. DEFAULT_wxUSE_LIBHILDON=no
  3799. DEFAULT_wxUSE_LIBHILDON2=no
  3800. DEFAULT_wxUSE_LIBMSPACK=no
  3801. DEFAULT_wxUSE_LIBSDL=no
  3802. DEFAULT_wxUSE_ACCESSIBILITY=no
  3803. DEFAULT_wxUSE_IPV6=no
  3804. DEFAULT_wxUSE_GSTREAMER8=no
  3805. DEFAULT_wxUSE_UNICODE_UTF8=no
  3806. DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
  3807. DEFAULT_wxUSE_ARTPROVIDER_TANGO=auto
  3808. DEFAULT_wxUSE_OPENGL=auto
  3809. DEFAULT_wxUSE_MEDIACTRL=auto
  3810. DEFAULT_wxUSE_COMPILER_TLS=auto
  3811. DEFAULT_wxUSE_HOTKEY=auto
  3812. DEFAULT_wxUSE_METAFILE=auto
  3813. DEFAULT_wxUSE_UNIVERSAL_BINARY=no
  3814. DEFAULT_wxUSE_MAC_ARCH=no
  3815. DEFAULT_wxUSE_OFFICIAL_BUILD=no
  3816. DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
  3817. enablestring=disable
  3818. defaultval=
  3819. if test -z "$defaultval"; then
  3820. if test x"$enablestring" = xdisable; then
  3821. defaultval=yes
  3822. else
  3823. defaultval=no
  3824. fi
  3825. fi
  3826. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gui" >&5
  3827. $as_echo_n "checking for --${enablestring:-enable}-gui... " >&6; }
  3828. # Check whether --enable-gui was given.
  3829. if test "${enable_gui+set}" = set; then :
  3830. enableval=$enable_gui;
  3831. if test "$enableval" = yes; then
  3832. wx_cv_use_gui='wxUSE_GUI=yes'
  3833. else
  3834. wx_cv_use_gui='wxUSE_GUI=no'
  3835. fi
  3836. else
  3837. wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
  3838. fi
  3839. eval "$wx_cv_use_gui"
  3840. if test x"$enablestring" = xdisable; then
  3841. if test $wxUSE_GUI = no; then
  3842. result=yes
  3843. else
  3844. result=no
  3845. fi
  3846. else
  3847. result=$wxUSE_GUI
  3848. fi
  3849. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  3850. $as_echo "$result" >&6; }
  3851. enablestring=
  3852. defaultval=
  3853. if test -z "$defaultval"; then
  3854. if test x"$enablestring" = xdisable; then
  3855. defaultval=yes
  3856. else
  3857. defaultval=no
  3858. fi
  3859. fi
  3860. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-monolithic" >&5
  3861. $as_echo_n "checking for --${enablestring:-enable}-monolithic... " >&6; }
  3862. # Check whether --enable-monolithic was given.
  3863. if test "${enable_monolithic+set}" = set; then :
  3864. enableval=$enable_monolithic;
  3865. if test "$enableval" = yes; then
  3866. wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
  3867. else
  3868. wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
  3869. fi
  3870. else
  3871. wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
  3872. fi
  3873. eval "$wx_cv_use_monolithic"
  3874. if test x"$enablestring" = xdisable; then
  3875. if test $wxUSE_MONOLITHIC = no; then
  3876. result=yes
  3877. else
  3878. result=no
  3879. fi
  3880. else
  3881. result=$wxUSE_MONOLITHIC
  3882. fi
  3883. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  3884. $as_echo "$result" >&6; }
  3885. enablestring=
  3886. defaultval=
  3887. if test -z "$defaultval"; then
  3888. if test x"$enablestring" = xdisable; then
  3889. defaultval=yes
  3890. else
  3891. defaultval=no
  3892. fi
  3893. fi
  3894. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-plugins" >&5
  3895. $as_echo_n "checking for --${enablestring:-enable}-plugins... " >&6; }
  3896. # Check whether --enable-plugins was given.
  3897. if test "${enable_plugins+set}" = set; then :
  3898. enableval=$enable_plugins;
  3899. if test "$enableval" = yes; then
  3900. wx_cv_use_plugins='wxUSE_PLUGINS=yes'
  3901. else
  3902. wx_cv_use_plugins='wxUSE_PLUGINS=no'
  3903. fi
  3904. else
  3905. wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
  3906. fi
  3907. eval "$wx_cv_use_plugins"
  3908. if test x"$enablestring" = xdisable; then
  3909. if test $wxUSE_PLUGINS = no; then
  3910. result=yes
  3911. else
  3912. result=no
  3913. fi
  3914. else
  3915. result=$wxUSE_PLUGINS
  3916. fi
  3917. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  3918. $as_echo "$result" >&6; }
  3919. withstring=without
  3920. defaultval=$wxUSE_ALL_FEATURES
  3921. if test -z "$defaultval"; then
  3922. if test x"$withstring" = xwithout; then
  3923. defaultval=yes
  3924. else
  3925. defaultval=no
  3926. fi
  3927. fi
  3928. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-subdirs" >&5
  3929. $as_echo_n "checking for --${withstring:-with}-subdirs... " >&6; }
  3930. # Check whether --with-subdirs was given.
  3931. if test "${with_subdirs+set}" = set; then :
  3932. withval=$with_subdirs;
  3933. if test "$withval" = yes; then
  3934. wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
  3935. else
  3936. wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
  3937. fi
  3938. else
  3939. wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
  3940. fi
  3941. eval "$wx_cv_use_subdirs"
  3942. if test x"$withstring" = xwithout; then
  3943. if test $wxWITH_SUBDIRS = yes; then
  3944. result=no
  3945. else
  3946. result=yes
  3947. fi
  3948. else
  3949. result=$wxWITH_SUBDIRS
  3950. fi
  3951. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  3952. $as_echo "$result" >&6; }
  3953. # Check whether --with-flavour was given.
  3954. if test "${with_flavour+set}" = set; then :
  3955. withval=$with_flavour; WX_FLAVOUR="$withval"
  3956. fi
  3957. enablestring=
  3958. defaultval=
  3959. if test -z "$defaultval"; then
  3960. if test x"$enablestring" = xdisable; then
  3961. defaultval=yes
  3962. else
  3963. defaultval=no
  3964. fi
  3965. fi
  3966. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-official_build" >&5
  3967. $as_echo_n "checking for --${enablestring:-enable}-official_build... " >&6; }
  3968. # Check whether --enable-official_build was given.
  3969. if test "${enable_official_build+set}" = set; then :
  3970. enableval=$enable_official_build;
  3971. if test "$enableval" = yes; then
  3972. wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
  3973. else
  3974. wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
  3975. fi
  3976. else
  3977. wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
  3978. fi
  3979. eval "$wx_cv_use_official_build"
  3980. if test x"$enablestring" = xdisable; then
  3981. if test $wxUSE_OFFICIAL_BUILD = no; then
  3982. result=yes
  3983. else
  3984. result=no
  3985. fi
  3986. else
  3987. result=$wxUSE_OFFICIAL_BUILD
  3988. fi
  3989. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  3990. $as_echo "$result" >&6; }
  3991. # Check whether --enable-vendor was given.
  3992. if test "${enable_vendor+set}" = set; then :
  3993. enableval=$enable_vendor; VENDOR="$enableval"
  3994. fi
  3995. if test "x$VENDOR" = "x"; then
  3996. VENDOR="custom"
  3997. fi
  3998. enablestring=disable
  3999. defaultval=
  4000. if test -z "$defaultval"; then
  4001. if test x"$enablestring" = xdisable; then
  4002. defaultval=yes
  4003. else
  4004. defaultval=no
  4005. fi
  4006. fi
  4007. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-all-features" >&5
  4008. $as_echo_n "checking for --${enablestring:-enable}-all-features... " >&6; }
  4009. # Check whether --enable-all-features was given.
  4010. if test "${enable_all_features+set}" = set; then :
  4011. enableval=$enable_all_features;
  4012. if test "$enableval" = yes; then
  4013. wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
  4014. else
  4015. wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
  4016. fi
  4017. else
  4018. wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
  4019. fi
  4020. eval "$wx_cv_use_all_features"
  4021. if test x"$enablestring" = xdisable; then
  4022. if test $wxUSE_ALL_FEATURES = no; then
  4023. result=yes
  4024. else
  4025. result=no
  4026. fi
  4027. else
  4028. result=$wxUSE_ALL_FEATURES
  4029. fi
  4030. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4031. $as_echo "$result" >&6; }
  4032. if test "$wxUSE_ALL_FEATURES" = "no"; then
  4033. DEFAULT_wxUSE_ARTPROVIDER_TANGO=no
  4034. DEFAULT_wxUSE_MEDIACTRL=no
  4035. fi
  4036. if test "$wxUSE_GUI" = "yes"; then
  4037. enablestring=
  4038. defaultval=
  4039. if test -z "$defaultval"; then
  4040. if test x"$enablestring" = xdisable; then
  4041. defaultval=yes
  4042. else
  4043. defaultval=no
  4044. fi
  4045. fi
  4046. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal" >&5
  4047. $as_echo_n "checking for --${enablestring:-enable}-universal... " >&6; }
  4048. # Check whether --enable-universal was given.
  4049. if test "${enable_universal+set}" = set; then :
  4050. enableval=$enable_universal;
  4051. if test "$enableval" = yes; then
  4052. wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
  4053. else
  4054. wx_cv_use_universal='wxUSE_UNIVERSAL=no'
  4055. fi
  4056. else
  4057. wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
  4058. fi
  4059. eval "$wx_cv_use_universal"
  4060. if test x"$enablestring" = xdisable; then
  4061. if test $wxUSE_UNIVERSAL = no; then
  4062. result=yes
  4063. else
  4064. result=no
  4065. fi
  4066. else
  4067. result=$wxUSE_UNIVERSAL
  4068. fi
  4069. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4070. $as_echo "$result" >&6; }
  4071. if test "$wxUSE_UNIVERSAL" = "yes"; then
  4072. # Check whether --with-themes was given.
  4073. if test "${with_themes+set}" = set; then :
  4074. withval=$with_themes; wxUNIV_THEMES="$withval"
  4075. fi
  4076. fi
  4077. # Check whether --with-gtk was given.
  4078. if test "${with_gtk+set}" = set; then :
  4079. withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
  4080. fi
  4081. # Check whether --with-motif was given.
  4082. if test "${with_motif+set}" = set; then :
  4083. withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
  4084. fi
  4085. # Check whether --with-osx_carbon was given.
  4086. if test "${with_osx_carbon+set}" = set; then :
  4087. withval=$with_osx_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
  4088. fi
  4089. # Check whether --with-osx_cocoa was given.
  4090. if test "${with_osx_cocoa+set}" = set; then :
  4091. withval=$with_osx_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
  4092. fi
  4093. # Check whether --with-osx_iphone was given.
  4094. if test "${with_osx_iphone+set}" = set; then :
  4095. withval=$with_osx_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
  4096. fi
  4097. # Check whether --with-osx was given.
  4098. if test "${with_osx+set}" = set; then :
  4099. withval=$with_osx; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
  4100. fi
  4101. # Check whether --with-carbon was given.
  4102. if test "${with_carbon+set}" = set; then :
  4103. withval=$with_carbon; wxUSE_OSX_CARBON="$withval" CACHE_OSX_CARBON=1 TOOLKIT_GIVEN=1
  4104. fi
  4105. # Check whether --with-cocoa was given.
  4106. if test "${with_cocoa+set}" = set; then :
  4107. withval=$with_cocoa; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
  4108. fi
  4109. # Check whether --with-iphone was given.
  4110. if test "${with_iphone+set}" = set; then :
  4111. withval=$with_iphone; wxUSE_OSX_IPHONE="$withval" CACHE_OSX_IPHONE=1 TOOLKIT_GIVEN=1
  4112. fi
  4113. # Check whether --with-mac was given.
  4114. if test "${with_mac+set}" = set; then :
  4115. withval=$with_mac; wxUSE_OSX_COCOA="$withval" CACHE_OSX_COCOA=1 TOOLKIT_GIVEN=1
  4116. fi
  4117. # Check whether --with-old_cocoa was given.
  4118. if test "${with_old_cocoa+set}" = set; then :
  4119. withval=$with_old_cocoa; wxUSE_OLD_COCOA="$withval" CACHE_OLD_COCOA=1 TOOLKIT_GIVEN=1
  4120. fi
  4121. # Check whether --with-wine was given.
  4122. if test "${with_wine+set}" = set; then :
  4123. withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
  4124. fi
  4125. # Check whether --with-msw was given.
  4126. if test "${with_msw+set}" = set; then :
  4127. withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
  4128. fi
  4129. # Check whether --with-pm was given.
  4130. if test "${with_pm+set}" = set; then :
  4131. withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
  4132. fi
  4133. # Check whether --with-directfb was given.
  4134. if test "${with_directfb+set}" = set; then :
  4135. withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
  4136. fi
  4137. # Check whether --with-microwin was given.
  4138. if test "${with_microwin+set}" = set; then :
  4139. withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
  4140. fi
  4141. # Check whether --with-x11 was given.
  4142. if test "${with_x11+set}" = set; then :
  4143. withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
  4144. fi
  4145. enablestring=
  4146. defaultval=
  4147. if test -z "$defaultval"; then
  4148. if test x"$enablestring" = xdisable; then
  4149. defaultval=yes
  4150. else
  4151. defaultval=no
  4152. fi
  4153. fi
  4154. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-nanox" >&5
  4155. $as_echo_n "checking for --${enablestring:-enable}-nanox... " >&6; }
  4156. # Check whether --enable-nanox was given.
  4157. if test "${enable_nanox+set}" = set; then :
  4158. enableval=$enable_nanox;
  4159. if test "$enableval" = yes; then
  4160. wx_cv_use_nanox='wxUSE_NANOX=yes'
  4161. else
  4162. wx_cv_use_nanox='wxUSE_NANOX=no'
  4163. fi
  4164. else
  4165. wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
  4166. fi
  4167. eval "$wx_cv_use_nanox"
  4168. if test x"$enablestring" = xdisable; then
  4169. if test $wxUSE_NANOX = no; then
  4170. result=yes
  4171. else
  4172. result=no
  4173. fi
  4174. else
  4175. result=$wxUSE_NANOX
  4176. fi
  4177. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4178. $as_echo "$result" >&6; }
  4179. enablestring=
  4180. defaultval=
  4181. if test -z "$defaultval"; then
  4182. if test x"$enablestring" = xdisable; then
  4183. defaultval=yes
  4184. else
  4185. defaultval=no
  4186. fi
  4187. fi
  4188. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gpe" >&5
  4189. $as_echo_n "checking for --${enablestring:-enable}-gpe... " >&6; }
  4190. # Check whether --enable-gpe was given.
  4191. if test "${enable_gpe+set}" = set; then :
  4192. enableval=$enable_gpe;
  4193. if test "$enableval" = yes; then
  4194. wx_cv_use_gpe='wxUSE_GPE=yes'
  4195. else
  4196. wx_cv_use_gpe='wxUSE_GPE=no'
  4197. fi
  4198. else
  4199. wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
  4200. fi
  4201. eval "$wx_cv_use_gpe"
  4202. if test x"$enablestring" = xdisable; then
  4203. if test $wxUSE_GPE = no; then
  4204. result=yes
  4205. else
  4206. result=no
  4207. fi
  4208. else
  4209. result=$wxUSE_GPE
  4210. fi
  4211. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4212. $as_echo "$result" >&6; }
  4213. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for toolkit" >&5
  4214. $as_echo_n "checking for toolkit... " >&6; }
  4215. # In Wine, we need to default to MSW, not GTK or MOTIF
  4216. if test "$wxUSE_WINE" = "yes"; then
  4217. DEFAULT_DEFAULT_wxUSE_GTK=0
  4218. DEFAULT_DEFAULT_wxUSE_MOTIF=0
  4219. DEFAULT_DEFAULT_wxUSE_MSW=1
  4220. wxUSE_SHARED=no
  4221. CC=${CC:-winegcc}
  4222. CXX=${CXX:-wineg++}
  4223. fi
  4224. if test "$wxUSE_GUI" = "yes"; then
  4225. if test "$USE_BEOS" = 1; then
  4226. as_fn_error $? "BeOS GUI is not supported yet, use --disable-gui" "$LINENO" 5
  4227. fi
  4228. if test "$TOOLKIT_GIVEN" = 1; then
  4229. for toolkit in $ALL_TOOLKITS; do
  4230. var=wxUSE_$toolkit
  4231. eval "value=\$${var}"
  4232. if test "x$value" = "xno"; then
  4233. eval "$var=0"
  4234. elif test "x$value" != "x"; then
  4235. eval "$var=1"
  4236. fi
  4237. if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
  4238. eval "wx${toolkit}_VERSION=$value"
  4239. fi
  4240. done
  4241. else
  4242. for toolkit in $ALL_TOOLKITS; do
  4243. var=DEFAULT_DEFAULT_wxUSE_$toolkit
  4244. eval "wxUSE_$toolkit=\$${var}"
  4245. done
  4246. fi
  4247. NUM_TOOLKITS=`expr ${wxUSE_OLD_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_OSX_CARBON:-0} \
  4248. + ${wxUSE_OSX_COCOA:-0} + ${wxUSE_OSX_IPHONE:-0} + ${wxUSE_DFB:-0} \
  4249. + ${wxUSE_MICROWIN:-0} + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
  4250. case "${host}" in
  4251. *-pc-os2_emx | *-pc-os2-emx )
  4252. NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
  4253. esac
  4254. case "$NUM_TOOLKITS" in
  4255. 1)
  4256. ;;
  4257. 0)
  4258. as_fn_error $? "Please specify a toolkit -- cannot determine the default for ${host}" "$LINENO" 5
  4259. ;;
  4260. *)
  4261. as_fn_error $? "Please specify at most one toolkit" "$LINENO" 5
  4262. esac
  4263. for toolkit in $ALL_TOOLKITS; do
  4264. var=wxUSE_$toolkit
  4265. eval "value=\$${var}"
  4266. if test "$value" = 1; then
  4267. toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
  4268. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $toolkit_echo" >&5
  4269. $as_echo "$toolkit_echo" >&6; }
  4270. fi
  4271. done
  4272. else
  4273. if test "x$host_alias" != "x"; then
  4274. { $as_echo "$as_me:${as_lineno-$LINENO}: result: base ($host_alias hosted) only" >&5
  4275. $as_echo "base ($host_alias hosted) only" >&6; }
  4276. else
  4277. { $as_echo "$as_me:${as_lineno-$LINENO}: result: base only" >&5
  4278. $as_echo "base only" >&6; }
  4279. fi
  4280. fi
  4281. wxUSE_MAC=0
  4282. if test "$wxUSE_OSX_CARBON" = 1 \
  4283. -o "$wxUSE_OSX_COCOA" = 1 \
  4284. -o "$wxUSE_OSX_IPHONE" = 1; then
  4285. wxUSE_MAC=1
  4286. fi
  4287. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libpng" >&5
  4288. $as_echo_n "checking for --with-libpng... " >&6; }
  4289. # Check whether --with-libpng was given.
  4290. if test "${with_libpng+set}" = set; then :
  4291. withval=$with_libpng;
  4292. if test "$withval" = yes; then
  4293. wx_cv_use_libpng='wxUSE_LIBPNG=yes'
  4294. elif test "$withval" = no; then
  4295. wx_cv_use_libpng='wxUSE_LIBPNG=no'
  4296. elif test "$withval" = sys; then
  4297. wx_cv_use_libpng='wxUSE_LIBPNG=sys'
  4298. elif test "$withval" = builtin; then
  4299. wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
  4300. else
  4301. as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
  4302. fi
  4303. else
  4304. wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
  4305. fi
  4306. eval "$wx_cv_use_libpng"
  4307. if test "$wxUSE_LIBPNG" = yes; then
  4308. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4309. $as_echo "yes" >&6; }
  4310. elif test "$wxUSE_LIBPNG" = no; then
  4311. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4312. $as_echo "no" >&6; }
  4313. elif test "$wxUSE_LIBPNG" = sys; then
  4314. { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
  4315. $as_echo "system version" >&6; }
  4316. elif test "$wxUSE_LIBPNG" = builtin; then
  4317. { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
  4318. $as_echo "builtin version" >&6; }
  4319. else
  4320. as_fn_error $? "Invalid value for --with-libpng: should be yes, no, sys, or builtin" "$LINENO" 5
  4321. fi
  4322. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libjpeg" >&5
  4323. $as_echo_n "checking for --with-libjpeg... " >&6; }
  4324. # Check whether --with-libjpeg was given.
  4325. if test "${with_libjpeg+set}" = set; then :
  4326. withval=$with_libjpeg;
  4327. if test "$withval" = yes; then
  4328. wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
  4329. elif test "$withval" = no; then
  4330. wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
  4331. elif test "$withval" = sys; then
  4332. wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
  4333. elif test "$withval" = builtin; then
  4334. wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
  4335. else
  4336. as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
  4337. fi
  4338. else
  4339. wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
  4340. fi
  4341. eval "$wx_cv_use_libjpeg"
  4342. if test "$wxUSE_LIBJPEG" = yes; then
  4343. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4344. $as_echo "yes" >&6; }
  4345. elif test "$wxUSE_LIBJPEG" = no; then
  4346. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4347. $as_echo "no" >&6; }
  4348. elif test "$wxUSE_LIBJPEG" = sys; then
  4349. { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
  4350. $as_echo "system version" >&6; }
  4351. elif test "$wxUSE_LIBJPEG" = builtin; then
  4352. { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
  4353. $as_echo "builtin version" >&6; }
  4354. else
  4355. as_fn_error $? "Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" "$LINENO" 5
  4356. fi
  4357. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libtiff" >&5
  4358. $as_echo_n "checking for --with-libtiff... " >&6; }
  4359. # Check whether --with-libtiff was given.
  4360. if test "${with_libtiff+set}" = set; then :
  4361. withval=$with_libtiff;
  4362. if test "$withval" = yes; then
  4363. wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
  4364. elif test "$withval" = no; then
  4365. wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
  4366. elif test "$withval" = sys; then
  4367. wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
  4368. elif test "$withval" = builtin; then
  4369. wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
  4370. else
  4371. as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
  4372. fi
  4373. else
  4374. wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
  4375. fi
  4376. eval "$wx_cv_use_libtiff"
  4377. if test "$wxUSE_LIBTIFF" = yes; then
  4378. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4379. $as_echo "yes" >&6; }
  4380. elif test "$wxUSE_LIBTIFF" = no; then
  4381. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4382. $as_echo "no" >&6; }
  4383. elif test "$wxUSE_LIBTIFF" = sys; then
  4384. { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
  4385. $as_echo "system version" >&6; }
  4386. elif test "$wxUSE_LIBTIFF" = builtin; then
  4387. { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
  4388. $as_echo "builtin version" >&6; }
  4389. else
  4390. as_fn_error $? "Invalid value for --with-libtiff: should be yes, no, sys, or builtin" "$LINENO" 5
  4391. fi
  4392. withstring=without
  4393. defaultval=$wxUSE_ALL_FEATURES
  4394. if test -z "$defaultval"; then
  4395. if test x"$withstring" = xwithout; then
  4396. defaultval=yes
  4397. else
  4398. defaultval=no
  4399. fi
  4400. fi
  4401. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libjbig" >&5
  4402. $as_echo_n "checking for --${withstring:-with}-libjbig... " >&6; }
  4403. # Check whether --with-libjbig was given.
  4404. if test "${with_libjbig+set}" = set; then :
  4405. withval=$with_libjbig;
  4406. if test "$withval" = yes; then
  4407. wx_cv_use_libjbig='wxUSE_LIBJBIG=yes'
  4408. else
  4409. wx_cv_use_libjbig='wxUSE_LIBJBIG=no'
  4410. fi
  4411. else
  4412. wx_cv_use_libjbig='wxUSE_LIBJBIG=${'DEFAULT_wxUSE_LIBJBIG":-$defaultval}"
  4413. fi
  4414. eval "$wx_cv_use_libjbig"
  4415. if test x"$withstring" = xwithout; then
  4416. if test $wxUSE_LIBJBIG = yes; then
  4417. result=no
  4418. else
  4419. result=yes
  4420. fi
  4421. else
  4422. result=$wxUSE_LIBJBIG
  4423. fi
  4424. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4425. $as_echo "$result" >&6; }
  4426. withstring=without
  4427. defaultval=$wxUSE_ALL_FEATURES
  4428. if test -z "$defaultval"; then
  4429. if test x"$withstring" = xwithout; then
  4430. defaultval=yes
  4431. else
  4432. defaultval=no
  4433. fi
  4434. fi
  4435. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-liblzma" >&5
  4436. $as_echo_n "checking for --${withstring:-with}-liblzma... " >&6; }
  4437. # Check whether --with-liblzma was given.
  4438. if test "${with_liblzma+set}" = set; then :
  4439. withval=$with_liblzma;
  4440. if test "$withval" = yes; then
  4441. wx_cv_use_liblzma='wxUSE_LIBLZMA=yes'
  4442. else
  4443. wx_cv_use_liblzma='wxUSE_LIBLZMA=no'
  4444. fi
  4445. else
  4446. wx_cv_use_liblzma='wxUSE_LIBLZMA=${'DEFAULT_wxUSE_LIBLZMA":-$defaultval}"
  4447. fi
  4448. eval "$wx_cv_use_liblzma"
  4449. if test x"$withstring" = xwithout; then
  4450. if test $wxUSE_LIBLZMA = yes; then
  4451. result=no
  4452. else
  4453. result=yes
  4454. fi
  4455. else
  4456. result=$wxUSE_LIBLZMA
  4457. fi
  4458. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4459. $as_echo "$result" >&6; }
  4460. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-libxpm" >&5
  4461. $as_echo_n "checking for --with-libxpm... " >&6; }
  4462. # Check whether --with-libxpm was given.
  4463. if test "${with_libxpm+set}" = set; then :
  4464. withval=$with_libxpm;
  4465. if test "$withval" = yes; then
  4466. wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
  4467. elif test "$withval" = no; then
  4468. wx_cv_use_libxpm='wxUSE_LIBXPM=no'
  4469. elif test "$withval" = sys; then
  4470. wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
  4471. elif test "$withval" = builtin; then
  4472. wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
  4473. else
  4474. as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
  4475. fi
  4476. else
  4477. wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
  4478. fi
  4479. eval "$wx_cv_use_libxpm"
  4480. if test "$wxUSE_LIBXPM" = yes; then
  4481. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4482. $as_echo "yes" >&6; }
  4483. elif test "$wxUSE_LIBXPM" = no; then
  4484. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4485. $as_echo "no" >&6; }
  4486. elif test "$wxUSE_LIBXPM" = sys; then
  4487. { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
  4488. $as_echo "system version" >&6; }
  4489. elif test "$wxUSE_LIBXPM" = builtin; then
  4490. { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
  4491. $as_echo "builtin version" >&6; }
  4492. else
  4493. as_fn_error $? "Invalid value for --with-libxpm: should be yes, no, sys, or builtin" "$LINENO" 5
  4494. fi
  4495. withstring=
  4496. defaultval=$wxUSE_ALL_FEATURES
  4497. if test -z "$defaultval"; then
  4498. if test x"$withstring" = xwithout; then
  4499. defaultval=yes
  4500. else
  4501. defaultval=no
  4502. fi
  4503. fi
  4504. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libiconv" >&5
  4505. $as_echo_n "checking for --${withstring:-with}-libiconv... " >&6; }
  4506. # Check whether --with-libiconv was given.
  4507. if test "${with_libiconv+set}" = set; then :
  4508. withval=$with_libiconv;
  4509. if test "$withval" = yes; then
  4510. wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
  4511. else
  4512. wx_cv_use_libiconv='wxUSE_LIBICONV=no'
  4513. fi
  4514. else
  4515. wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
  4516. fi
  4517. eval "$wx_cv_use_libiconv"
  4518. if test x"$withstring" = xwithout; then
  4519. if test $wxUSE_LIBICONV = yes; then
  4520. result=no
  4521. else
  4522. result=yes
  4523. fi
  4524. else
  4525. result=$wxUSE_LIBICONV
  4526. fi
  4527. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4528. $as_echo "$result" >&6; }
  4529. withstring=
  4530. defaultval=$wxUSE_ALL_FEATURES
  4531. if test -z "$defaultval"; then
  4532. if test x"$withstring" = xwithout; then
  4533. defaultval=yes
  4534. else
  4535. defaultval=no
  4536. fi
  4537. fi
  4538. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libmspack" >&5
  4539. $as_echo_n "checking for --${withstring:-with}-libmspack... " >&6; }
  4540. # Check whether --with-libmspack was given.
  4541. if test "${with_libmspack+set}" = set; then :
  4542. withval=$with_libmspack;
  4543. if test "$withval" = yes; then
  4544. wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
  4545. else
  4546. wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
  4547. fi
  4548. else
  4549. wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
  4550. fi
  4551. eval "$wx_cv_use_libmspack"
  4552. if test x"$withstring" = xwithout; then
  4553. if test $wxUSE_LIBMSPACK = yes; then
  4554. result=no
  4555. else
  4556. result=yes
  4557. fi
  4558. else
  4559. result=$wxUSE_LIBMSPACK
  4560. fi
  4561. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4562. $as_echo "$result" >&6; }
  4563. withstring=without
  4564. defaultval=$wxUSE_ALL_FEATURES
  4565. if test -z "$defaultval"; then
  4566. if test x"$withstring" = xwithout; then
  4567. defaultval=yes
  4568. else
  4569. defaultval=no
  4570. fi
  4571. fi
  4572. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gtkprint" >&5
  4573. $as_echo_n "checking for --${withstring:-with}-gtkprint... " >&6; }
  4574. # Check whether --with-gtkprint was given.
  4575. if test "${with_gtkprint+set}" = set; then :
  4576. withval=$with_gtkprint;
  4577. if test "$withval" = yes; then
  4578. wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
  4579. else
  4580. wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
  4581. fi
  4582. else
  4583. wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
  4584. fi
  4585. eval "$wx_cv_use_gtkprint"
  4586. if test x"$withstring" = xwithout; then
  4587. if test $wxUSE_GTKPRINT = yes; then
  4588. result=no
  4589. else
  4590. result=yes
  4591. fi
  4592. else
  4593. result=$wxUSE_GTKPRINT
  4594. fi
  4595. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4596. $as_echo "$result" >&6; }
  4597. withstring=
  4598. defaultval=$wxUSE_ALL_FEATURES
  4599. if test -z "$defaultval"; then
  4600. if test x"$withstring" = xwithout; then
  4601. defaultval=yes
  4602. else
  4603. defaultval=no
  4604. fi
  4605. fi
  4606. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-gnomevfs" >&5
  4607. $as_echo_n "checking for --${withstring:-with}-gnomevfs... " >&6; }
  4608. # Check whether --with-gnomevfs was given.
  4609. if test "${with_gnomevfs+set}" = set; then :
  4610. withval=$with_gnomevfs;
  4611. if test "$withval" = yes; then
  4612. wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
  4613. else
  4614. wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
  4615. fi
  4616. else
  4617. wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
  4618. fi
  4619. eval "$wx_cv_use_gnomevfs"
  4620. if test x"$withstring" = xwithout; then
  4621. if test $wxUSE_LIBGNOMEVFS = yes; then
  4622. result=no
  4623. else
  4624. result=yes
  4625. fi
  4626. else
  4627. result=$wxUSE_LIBGNOMEVFS
  4628. fi
  4629. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4630. $as_echo "$result" >&6; }
  4631. withstring=
  4632. defaultval=$wxUSE_ALL_FEATURES
  4633. if test -z "$defaultval"; then
  4634. if test x"$withstring" = xwithout; then
  4635. defaultval=yes
  4636. else
  4637. defaultval=no
  4638. fi
  4639. fi
  4640. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-libnotify" >&5
  4641. $as_echo_n "checking for --${withstring:-with}-libnotify... " >&6; }
  4642. # Check whether --with-libnotify was given.
  4643. if test "${with_libnotify+set}" = set; then :
  4644. withval=$with_libnotify;
  4645. if test "$withval" = yes; then
  4646. wx_cv_use_libnotify='wxUSE_LIBNOTIFY=yes'
  4647. else
  4648. wx_cv_use_libnotify='wxUSE_LIBNOTIFY=no'
  4649. fi
  4650. else
  4651. wx_cv_use_libnotify='wxUSE_LIBNOTIFY=${'DEFAULT_wxUSE_LIBNOTIFY":-$defaultval}"
  4652. fi
  4653. eval "$wx_cv_use_libnotify"
  4654. if test x"$withstring" = xwithout; then
  4655. if test $wxUSE_LIBNOTIFY = yes; then
  4656. result=no
  4657. else
  4658. result=yes
  4659. fi
  4660. else
  4661. result=$wxUSE_LIBNOTIFY
  4662. fi
  4663. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4664. $as_echo "$result" >&6; }
  4665. withstring=
  4666. defaultval=$wxUSE_ALL_FEATURES
  4667. if test -z "$defaultval"; then
  4668. if test x"$withstring" = xwithout; then
  4669. defaultval=yes
  4670. else
  4671. defaultval=no
  4672. fi
  4673. fi
  4674. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-hildon" >&5
  4675. $as_echo_n "checking for --${withstring:-with}-hildon... " >&6; }
  4676. # Check whether --with-hildon was given.
  4677. if test "${with_hildon+set}" = set; then :
  4678. withval=$with_hildon;
  4679. if test "$withval" = yes; then
  4680. wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
  4681. else
  4682. wx_cv_use_hildon='wxUSE_LIBHILDON=no'
  4683. fi
  4684. else
  4685. wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
  4686. fi
  4687. eval "$wx_cv_use_hildon"
  4688. if test x"$withstring" = xwithout; then
  4689. if test $wxUSE_LIBHILDON = yes; then
  4690. result=no
  4691. else
  4692. result=yes
  4693. fi
  4694. else
  4695. result=$wxUSE_LIBHILDON
  4696. fi
  4697. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4698. $as_echo "$result" >&6; }
  4699. withstring=
  4700. defaultval=$wxUSE_ALL_FEATURES
  4701. if test -z "$defaultval"; then
  4702. if test x"$withstring" = xwithout; then
  4703. defaultval=yes
  4704. else
  4705. defaultval=no
  4706. fi
  4707. fi
  4708. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-opengl" >&5
  4709. $as_echo_n "checking for --${withstring:-with}-opengl... " >&6; }
  4710. # Check whether --with-opengl was given.
  4711. if test "${with_opengl+set}" = set; then :
  4712. withval=$with_opengl;
  4713. if test "$withval" = yes; then
  4714. wx_cv_use_opengl='wxUSE_OPENGL=yes'
  4715. else
  4716. wx_cv_use_opengl='wxUSE_OPENGL=no'
  4717. fi
  4718. else
  4719. wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
  4720. fi
  4721. eval "$wx_cv_use_opengl"
  4722. if test x"$withstring" = xwithout; then
  4723. if test $wxUSE_OPENGL = yes; then
  4724. result=no
  4725. else
  4726. result=yes
  4727. fi
  4728. else
  4729. result=$wxUSE_OPENGL
  4730. fi
  4731. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4732. $as_echo "$result" >&6; }
  4733. fi
  4734. withstring=
  4735. defaultval=$wxUSE_ALL_FEATURES
  4736. if test -z "$defaultval"; then
  4737. if test x"$withstring" = xwithout; then
  4738. defaultval=yes
  4739. else
  4740. defaultval=no
  4741. fi
  4742. fi
  4743. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-dmalloc" >&5
  4744. $as_echo_n "checking for --${withstring:-with}-dmalloc... " >&6; }
  4745. # Check whether --with-dmalloc was given.
  4746. if test "${with_dmalloc+set}" = set; then :
  4747. withval=$with_dmalloc;
  4748. if test "$withval" = yes; then
  4749. wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
  4750. else
  4751. wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
  4752. fi
  4753. else
  4754. wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
  4755. fi
  4756. eval "$wx_cv_use_dmalloc"
  4757. if test x"$withstring" = xwithout; then
  4758. if test $wxUSE_DMALLOC = yes; then
  4759. result=no
  4760. else
  4761. result=yes
  4762. fi
  4763. else
  4764. result=$wxUSE_DMALLOC
  4765. fi
  4766. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4767. $as_echo "$result" >&6; }
  4768. withstring=
  4769. defaultval=$wxUSE_ALL_FEATURES
  4770. if test -z "$defaultval"; then
  4771. if test x"$withstring" = xwithout; then
  4772. defaultval=yes
  4773. else
  4774. defaultval=no
  4775. fi
  4776. fi
  4777. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${withstring:-with}-sdl" >&5
  4778. $as_echo_n "checking for --${withstring:-with}-sdl... " >&6; }
  4779. # Check whether --with-sdl was given.
  4780. if test "${with_sdl+set}" = set; then :
  4781. withval=$with_sdl;
  4782. if test "$withval" = yes; then
  4783. wx_cv_use_sdl='wxUSE_LIBSDL=yes'
  4784. else
  4785. wx_cv_use_sdl='wxUSE_LIBSDL=no'
  4786. fi
  4787. else
  4788. wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
  4789. fi
  4790. eval "$wx_cv_use_sdl"
  4791. if test x"$withstring" = xwithout; then
  4792. if test $wxUSE_LIBSDL = yes; then
  4793. result=no
  4794. else
  4795. result=yes
  4796. fi
  4797. else
  4798. result=$wxUSE_LIBSDL
  4799. fi
  4800. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4801. $as_echo "$result" >&6; }
  4802. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-regex" >&5
  4803. $as_echo_n "checking for --with-regex... " >&6; }
  4804. # Check whether --with-regex was given.
  4805. if test "${with_regex+set}" = set; then :
  4806. withval=$with_regex;
  4807. if test "$withval" = yes; then
  4808. wx_cv_use_regex='wxUSE_REGEX=yes'
  4809. elif test "$withval" = no; then
  4810. wx_cv_use_regex='wxUSE_REGEX=no'
  4811. elif test "$withval" = sys; then
  4812. wx_cv_use_regex='wxUSE_REGEX=sys'
  4813. elif test "$withval" = builtin; then
  4814. wx_cv_use_regex='wxUSE_REGEX=builtin'
  4815. else
  4816. as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
  4817. fi
  4818. else
  4819. wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
  4820. fi
  4821. eval "$wx_cv_use_regex"
  4822. if test "$wxUSE_REGEX" = yes; then
  4823. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4824. $as_echo "yes" >&6; }
  4825. elif test "$wxUSE_REGEX" = no; then
  4826. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4827. $as_echo "no" >&6; }
  4828. elif test "$wxUSE_REGEX" = sys; then
  4829. { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
  4830. $as_echo "system version" >&6; }
  4831. elif test "$wxUSE_REGEX" = builtin; then
  4832. { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
  4833. $as_echo "builtin version" >&6; }
  4834. else
  4835. as_fn_error $? "Invalid value for --with-regex: should be yes, no, sys, or builtin" "$LINENO" 5
  4836. fi
  4837. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-zlib" >&5
  4838. $as_echo_n "checking for --with-zlib... " >&6; }
  4839. # Check whether --with-zlib was given.
  4840. if test "${with_zlib+set}" = set; then :
  4841. withval=$with_zlib;
  4842. if test "$withval" = yes; then
  4843. wx_cv_use_zlib='wxUSE_ZLIB=yes'
  4844. elif test "$withval" = no; then
  4845. wx_cv_use_zlib='wxUSE_ZLIB=no'
  4846. elif test "$withval" = sys; then
  4847. wx_cv_use_zlib='wxUSE_ZLIB=sys'
  4848. elif test "$withval" = builtin; then
  4849. wx_cv_use_zlib='wxUSE_ZLIB=builtin'
  4850. else
  4851. as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
  4852. fi
  4853. else
  4854. wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
  4855. fi
  4856. eval "$wx_cv_use_zlib"
  4857. if test "$wxUSE_ZLIB" = yes; then
  4858. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4859. $as_echo "yes" >&6; }
  4860. elif test "$wxUSE_ZLIB" = no; then
  4861. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4862. $as_echo "no" >&6; }
  4863. elif test "$wxUSE_ZLIB" = sys; then
  4864. { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
  4865. $as_echo "system version" >&6; }
  4866. elif test "$wxUSE_ZLIB" = builtin; then
  4867. { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
  4868. $as_echo "builtin version" >&6; }
  4869. else
  4870. as_fn_error $? "Invalid value for --with-zlib: should be yes, no, sys, or builtin" "$LINENO" 5
  4871. fi
  4872. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-expat" >&5
  4873. $as_echo_n "checking for --with-expat... " >&6; }
  4874. # Check whether --with-expat was given.
  4875. if test "${with_expat+set}" = set; then :
  4876. withval=$with_expat;
  4877. if test "$withval" = yes; then
  4878. wx_cv_use_expat='wxUSE_EXPAT=yes'
  4879. elif test "$withval" = no; then
  4880. wx_cv_use_expat='wxUSE_EXPAT=no'
  4881. elif test "$withval" = sys; then
  4882. wx_cv_use_expat='wxUSE_EXPAT=sys'
  4883. elif test "$withval" = builtin; then
  4884. wx_cv_use_expat='wxUSE_EXPAT=builtin'
  4885. else
  4886. as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
  4887. fi
  4888. else
  4889. wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
  4890. fi
  4891. eval "$wx_cv_use_expat"
  4892. if test "$wxUSE_EXPAT" = yes; then
  4893. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4894. $as_echo "yes" >&6; }
  4895. elif test "$wxUSE_EXPAT" = no; then
  4896. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4897. $as_echo "no" >&6; }
  4898. elif test "$wxUSE_EXPAT" = sys; then
  4899. { $as_echo "$as_me:${as_lineno-$LINENO}: result: system version" >&5
  4900. $as_echo "system version" >&6; }
  4901. elif test "$wxUSE_EXPAT" = builtin; then
  4902. { $as_echo "$as_me:${as_lineno-$LINENO}: result: builtin version" >&5
  4903. $as_echo "builtin version" >&6; }
  4904. else
  4905. as_fn_error $? "Invalid value for --with-expat: should be yes, no, sys, or builtin" "$LINENO" 5
  4906. fi
  4907. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-sdk" >&5
  4908. $as_echo_n "checking for --with-macosx-sdk... " >&6; }
  4909. # Check whether --with-macosx-sdk was given.
  4910. if test "${with_macosx_sdk+set}" = set; then :
  4911. withval=$with_macosx_sdk;
  4912. wxUSE_MACOSX_SDK=$withval
  4913. wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
  4914. fi
  4915. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_SDK" >&5
  4916. $as_echo "$wxUSE_MACOSX_SDK" >&6; }
  4917. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --with-macosx-version-min" >&5
  4918. $as_echo_n "checking for --with-macosx-version-min... " >&6; }
  4919. # Check whether --with-macosx-version-min was given.
  4920. if test "${with_macosx_version_min+set}" = set; then :
  4921. withval=$with_macosx_version_min;
  4922. wxUSE_MACOSX_VERSION_MIN=$withval
  4923. wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
  4924. fi
  4925. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
  4926. $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
  4927. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --enable-debug" >&5
  4928. $as_echo_n "checking for --enable-debug... " >&6; }
  4929. # Check whether --enable-debug was given.
  4930. if test "${enable_debug+set}" = set; then :
  4931. enableval=$enable_debug;
  4932. if test "$enableval" = yes; then
  4933. wxUSE_DEBUG=yes
  4934. elif test "$enableval" = no; then
  4935. wxUSE_DEBUG=no
  4936. elif test "$enableval" = max; then
  4937. wxUSE_DEBUG=yes
  4938. WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=2"
  4939. else
  4940. as_fn_error $? "Invalid --enable-debug value, must be yes, no or max" "$LINENO" 5
  4941. fi
  4942. else
  4943. wxUSE_DEBUG=default
  4944. fi
  4945. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${enable_debug-default}" >&5
  4946. $as_echo "${enable_debug-default}" >&6; }
  4947. case "$wxUSE_DEBUG" in
  4948. yes)
  4949. DEFAULT_wxUSE_DEBUG_FLAG=yes
  4950. DEFAULT_wxUSE_DEBUG_INFO=yes
  4951. DEFAULT_wxUSE_OPTIMISE=no
  4952. ;;
  4953. no)
  4954. DEFAULT_wxUSE_DEBUG_FLAG=no
  4955. DEFAULT_wxUSE_DEBUG_INFO=no
  4956. ;;
  4957. default)
  4958. DEFAULT_wxUSE_DEBUG_FLAG=yes
  4959. DEFAULT_wxUSE_DEBUG_INFO=no
  4960. ;;
  4961. esac
  4962. enablestring=disable
  4963. defaultval=
  4964. if test -z "$defaultval"; then
  4965. if test x"$enablestring" = xdisable; then
  4966. defaultval=yes
  4967. else
  4968. defaultval=no
  4969. fi
  4970. fi
  4971. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_flag" >&5
  4972. $as_echo_n "checking for --${enablestring:-enable}-debug_flag... " >&6; }
  4973. # Check whether --enable-debug_flag was given.
  4974. if test "${enable_debug_flag+set}" = set; then :
  4975. enableval=$enable_debug_flag;
  4976. if test "$enableval" = yes; then
  4977. wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
  4978. else
  4979. wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
  4980. fi
  4981. else
  4982. wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
  4983. fi
  4984. eval "$wx_cv_use_debug_flag"
  4985. if test x"$enablestring" = xdisable; then
  4986. if test $wxUSE_DEBUG_FLAG = no; then
  4987. result=yes
  4988. else
  4989. result=no
  4990. fi
  4991. else
  4992. result=$wxUSE_DEBUG_FLAG
  4993. fi
  4994. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  4995. $as_echo "$result" >&6; }
  4996. enablestring=
  4997. defaultval=
  4998. if test -z "$defaultval"; then
  4999. if test x"$enablestring" = xdisable; then
  5000. defaultval=yes
  5001. else
  5002. defaultval=no
  5003. fi
  5004. fi
  5005. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_info" >&5
  5006. $as_echo_n "checking for --${enablestring:-enable}-debug_info... " >&6; }
  5007. # Check whether --enable-debug_info was given.
  5008. if test "${enable_debug_info+set}" = set; then :
  5009. enableval=$enable_debug_info;
  5010. if test "$enableval" = yes; then
  5011. wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
  5012. else
  5013. wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
  5014. fi
  5015. else
  5016. wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
  5017. fi
  5018. eval "$wx_cv_use_debug_info"
  5019. if test x"$enablestring" = xdisable; then
  5020. if test $wxUSE_DEBUG_INFO = no; then
  5021. result=yes
  5022. else
  5023. result=no
  5024. fi
  5025. else
  5026. result=$wxUSE_DEBUG_INFO
  5027. fi
  5028. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5029. $as_echo "$result" >&6; }
  5030. enablestring=
  5031. defaultval=
  5032. if test -z "$defaultval"; then
  5033. if test x"$enablestring" = xdisable; then
  5034. defaultval=yes
  5035. else
  5036. defaultval=no
  5037. fi
  5038. fi
  5039. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_gdb" >&5
  5040. $as_echo_n "checking for --${enablestring:-enable}-debug_gdb... " >&6; }
  5041. # Check whether --enable-debug_gdb was given.
  5042. if test "${enable_debug_gdb+set}" = set; then :
  5043. enableval=$enable_debug_gdb;
  5044. if test "$enableval" = yes; then
  5045. wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
  5046. else
  5047. wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
  5048. fi
  5049. else
  5050. wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
  5051. fi
  5052. eval "$wx_cv_use_debug_gdb"
  5053. if test x"$enablestring" = xdisable; then
  5054. if test $wxUSE_DEBUG_GDB = no; then
  5055. result=yes
  5056. else
  5057. result=no
  5058. fi
  5059. else
  5060. result=$wxUSE_DEBUG_GDB
  5061. fi
  5062. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5063. $as_echo "$result" >&6; }
  5064. enablestring=
  5065. defaultval=
  5066. if test -z "$defaultval"; then
  5067. if test x"$enablestring" = xdisable; then
  5068. defaultval=yes
  5069. else
  5070. defaultval=no
  5071. fi
  5072. fi
  5073. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debug_cntxt" >&5
  5074. $as_echo_n "checking for --${enablestring:-enable}-debug_cntxt... " >&6; }
  5075. # Check whether --enable-debug_cntxt was given.
  5076. if test "${enable_debug_cntxt+set}" = set; then :
  5077. enableval=$enable_debug_cntxt;
  5078. if test "$enableval" = yes; then
  5079. wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
  5080. else
  5081. wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
  5082. fi
  5083. else
  5084. wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
  5085. fi
  5086. eval "$wx_cv_use_debug_cntxt"
  5087. if test x"$enablestring" = xdisable; then
  5088. if test $wxUSE_DEBUG_CONTEXT = no; then
  5089. result=yes
  5090. else
  5091. result=no
  5092. fi
  5093. else
  5094. result=$wxUSE_DEBUG_CONTEXT
  5095. fi
  5096. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5097. $as_echo "$result" >&6; }
  5098. enablestring=
  5099. defaultval=
  5100. if test -z "$defaultval"; then
  5101. if test x"$enablestring" = xdisable; then
  5102. defaultval=yes
  5103. else
  5104. defaultval=no
  5105. fi
  5106. fi
  5107. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mem_tracing" >&5
  5108. $as_echo_n "checking for --${enablestring:-enable}-mem_tracing... " >&6; }
  5109. # Check whether --enable-mem_tracing was given.
  5110. if test "${enable_mem_tracing+set}" = set; then :
  5111. enableval=$enable_mem_tracing;
  5112. if test "$enableval" = yes; then
  5113. wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
  5114. else
  5115. wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
  5116. fi
  5117. else
  5118. wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
  5119. fi
  5120. eval "$wx_cv_use_mem_tracing"
  5121. if test x"$enablestring" = xdisable; then
  5122. if test $wxUSE_MEM_TRACING = no; then
  5123. result=yes
  5124. else
  5125. result=no
  5126. fi
  5127. else
  5128. result=$wxUSE_MEM_TRACING
  5129. fi
  5130. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5131. $as_echo "$result" >&6; }
  5132. enablestring=disable
  5133. defaultval=
  5134. if test -z "$defaultval"; then
  5135. if test x"$enablestring" = xdisable; then
  5136. defaultval=yes
  5137. else
  5138. defaultval=no
  5139. fi
  5140. fi
  5141. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-shared" >&5
  5142. $as_echo_n "checking for --${enablestring:-enable}-shared... " >&6; }
  5143. # Check whether --enable-shared was given.
  5144. if test "${enable_shared+set}" = set; then :
  5145. enableval=$enable_shared;
  5146. if test "$enableval" = yes; then
  5147. wx_cv_use_shared='wxUSE_SHARED=yes'
  5148. else
  5149. wx_cv_use_shared='wxUSE_SHARED=no'
  5150. fi
  5151. else
  5152. wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
  5153. fi
  5154. eval "$wx_cv_use_shared"
  5155. if test x"$enablestring" = xdisable; then
  5156. if test $wxUSE_SHARED = no; then
  5157. result=yes
  5158. else
  5159. result=no
  5160. fi
  5161. else
  5162. result=$wxUSE_SHARED
  5163. fi
  5164. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5165. $as_echo "$result" >&6; }
  5166. enablestring=
  5167. defaultval=
  5168. if test -z "$defaultval"; then
  5169. if test x"$enablestring" = xdisable; then
  5170. defaultval=yes
  5171. else
  5172. defaultval=no
  5173. fi
  5174. fi
  5175. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stl" >&5
  5176. $as_echo_n "checking for --${enablestring:-enable}-stl... " >&6; }
  5177. # Check whether --enable-stl was given.
  5178. if test "${enable_stl+set}" = set; then :
  5179. enableval=$enable_stl;
  5180. if test "$enableval" = yes; then
  5181. wx_cv_use_stl='wxUSE_STL=yes'
  5182. else
  5183. wx_cv_use_stl='wxUSE_STL=no'
  5184. fi
  5185. else
  5186. wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
  5187. fi
  5188. eval "$wx_cv_use_stl"
  5189. if test x"$enablestring" = xdisable; then
  5190. if test $wxUSE_STL = no; then
  5191. result=yes
  5192. else
  5193. result=no
  5194. fi
  5195. else
  5196. result=$wxUSE_STL
  5197. fi
  5198. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5199. $as_echo "$result" >&6; }
  5200. if test "$wxUSE_STL" = "yes"; then
  5201. DEFAULT_wxUSE_STD_CONTAINERS=yes
  5202. DEFAULT_wxUSE_STD_IOSTREAM=yes
  5203. DEFAULT_wxUSE_STD_STRING=yes
  5204. fi
  5205. enablestring=
  5206. defaultval=
  5207. if test -z "$defaultval"; then
  5208. if test x"$enablestring" = xdisable; then
  5209. defaultval=yes
  5210. else
  5211. defaultval=no
  5212. fi
  5213. fi
  5214. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_containers" >&5
  5215. $as_echo_n "checking for --${enablestring:-enable}-std_containers... " >&6; }
  5216. # Check whether --enable-std_containers was given.
  5217. if test "${enable_std_containers+set}" = set; then :
  5218. enableval=$enable_std_containers;
  5219. if test "$enableval" = yes; then
  5220. wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=yes'
  5221. else
  5222. wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=no'
  5223. fi
  5224. else
  5225. wx_cv_use_std_containers='wxUSE_STD_CONTAINERS=${'DEFAULT_wxUSE_STD_CONTAINERS":-$defaultval}"
  5226. fi
  5227. eval "$wx_cv_use_std_containers"
  5228. if test x"$enablestring" = xdisable; then
  5229. if test $wxUSE_STD_CONTAINERS = no; then
  5230. result=yes
  5231. else
  5232. result=no
  5233. fi
  5234. else
  5235. result=$wxUSE_STD_CONTAINERS
  5236. fi
  5237. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5238. $as_echo "$result" >&6; }
  5239. enablestring=
  5240. defaultval=
  5241. if test -z "$defaultval"; then
  5242. if test x"$enablestring" = xdisable; then
  5243. defaultval=yes
  5244. else
  5245. defaultval=no
  5246. fi
  5247. fi
  5248. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_iostreams" >&5
  5249. $as_echo_n "checking for --${enablestring:-enable}-std_iostreams... " >&6; }
  5250. # Check whether --enable-std_iostreams was given.
  5251. if test "${enable_std_iostreams+set}" = set; then :
  5252. enableval=$enable_std_iostreams;
  5253. if test "$enableval" = yes; then
  5254. wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
  5255. else
  5256. wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
  5257. fi
  5258. else
  5259. wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
  5260. fi
  5261. eval "$wx_cv_use_std_iostreams"
  5262. if test x"$enablestring" = xdisable; then
  5263. if test $wxUSE_STD_IOSTREAM = no; then
  5264. result=yes
  5265. else
  5266. result=no
  5267. fi
  5268. else
  5269. result=$wxUSE_STD_IOSTREAM
  5270. fi
  5271. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5272. $as_echo "$result" >&6; }
  5273. enablestring=
  5274. defaultval=
  5275. if test -z "$defaultval"; then
  5276. if test x"$enablestring" = xdisable; then
  5277. defaultval=yes
  5278. else
  5279. defaultval=no
  5280. fi
  5281. fi
  5282. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string" >&5
  5283. $as_echo_n "checking for --${enablestring:-enable}-std_string... " >&6; }
  5284. # Check whether --enable-std_string was given.
  5285. if test "${enable_std_string+set}" = set; then :
  5286. enableval=$enable_std_string;
  5287. if test "$enableval" = yes; then
  5288. wx_cv_use_std_string='wxUSE_STD_STRING=yes'
  5289. else
  5290. wx_cv_use_std_string='wxUSE_STD_STRING=no'
  5291. fi
  5292. else
  5293. wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
  5294. fi
  5295. eval "$wx_cv_use_std_string"
  5296. if test x"$enablestring" = xdisable; then
  5297. if test $wxUSE_STD_STRING = no; then
  5298. result=yes
  5299. else
  5300. result=no
  5301. fi
  5302. else
  5303. result=$wxUSE_STD_STRING
  5304. fi
  5305. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5306. $as_echo "$result" >&6; }
  5307. enablestring=
  5308. defaultval=
  5309. if test -z "$defaultval"; then
  5310. if test x"$enablestring" = xdisable; then
  5311. defaultval=yes
  5312. else
  5313. defaultval=no
  5314. fi
  5315. fi
  5316. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-std_string_conv_in_wxstring" >&5
  5317. $as_echo_n "checking for --${enablestring:-enable}-std_string_conv_in_wxstring... " >&6; }
  5318. # Check whether --enable-std_string_conv_in_wxstring was given.
  5319. if test "${enable_std_string_conv_in_wxstring+set}" = set; then :
  5320. enableval=$enable_std_string_conv_in_wxstring;
  5321. if test "$enableval" = yes; then
  5322. wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=yes'
  5323. else
  5324. wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=no'
  5325. fi
  5326. else
  5327. wx_cv_use_std_string_conv_in_wxstring='wxUSE_STD_STRING_CONV_IN_WXSTRING=${'DEFAULT_wxUSE_STD_STRING_CONV_IN_WXSTRING":-$defaultval}"
  5328. fi
  5329. eval "$wx_cv_use_std_string_conv_in_wxstring"
  5330. if test x"$enablestring" = xdisable; then
  5331. if test $wxUSE_STD_STRING_CONV_IN_WXSTRING = no; then
  5332. result=yes
  5333. else
  5334. result=no
  5335. fi
  5336. else
  5337. result=$wxUSE_STD_STRING_CONV_IN_WXSTRING
  5338. fi
  5339. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5340. $as_echo "$result" >&6; }
  5341. enablestring=disable
  5342. defaultval=
  5343. if test -z "$defaultval"; then
  5344. if test x"$enablestring" = xdisable; then
  5345. defaultval=yes
  5346. else
  5347. defaultval=no
  5348. fi
  5349. fi
  5350. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-unicode" >&5
  5351. $as_echo_n "checking for --${enablestring:-enable}-unicode... " >&6; }
  5352. # Check whether --enable-unicode was given.
  5353. if test "${enable_unicode+set}" = set; then :
  5354. enableval=$enable_unicode;
  5355. if test "$enableval" = yes; then
  5356. wx_cv_use_unicode='wxUSE_UNICODE=yes'
  5357. else
  5358. wx_cv_use_unicode='wxUSE_UNICODE=no'
  5359. fi
  5360. else
  5361. wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
  5362. fi
  5363. eval "$wx_cv_use_unicode"
  5364. if test x"$enablestring" = xdisable; then
  5365. if test $wxUSE_UNICODE = no; then
  5366. result=yes
  5367. else
  5368. result=no
  5369. fi
  5370. else
  5371. result=$wxUSE_UNICODE
  5372. fi
  5373. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5374. $as_echo "$result" >&6; }
  5375. enablestring=
  5376. defaultval=
  5377. if test -z "$defaultval"; then
  5378. if test x"$enablestring" = xdisable; then
  5379. defaultval=yes
  5380. else
  5381. defaultval=no
  5382. fi
  5383. fi
  5384. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mslu" >&5
  5385. $as_echo_n "checking for --${enablestring:-enable}-mslu... " >&6; }
  5386. # Check whether --enable-mslu was given.
  5387. if test "${enable_mslu+set}" = set; then :
  5388. enableval=$enable_mslu;
  5389. if test "$enableval" = yes; then
  5390. wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
  5391. else
  5392. wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
  5393. fi
  5394. else
  5395. wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
  5396. fi
  5397. eval "$wx_cv_use_mslu"
  5398. if test x"$enablestring" = xdisable; then
  5399. if test $wxUSE_UNICODE_MSLU = no; then
  5400. result=yes
  5401. else
  5402. result=no
  5403. fi
  5404. else
  5405. result=$wxUSE_UNICODE_MSLU
  5406. fi
  5407. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5408. $as_echo "$result" >&6; }
  5409. enablestring=
  5410. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8" >&5
  5411. $as_echo_n "checking for --${enablestring:-enable}-utf8... " >&6; }
  5412. # Check whether --enable-utf8 was given.
  5413. if test "${enable_utf8+set}" = set; then :
  5414. enableval=$enable_utf8;
  5415. wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
  5416. else
  5417. wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
  5418. fi
  5419. eval "$wx_cv_use_utf8"
  5420. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNICODE_UTF8" >&5
  5421. $as_echo "$wxUSE_UNICODE_UTF8" >&6; }
  5422. enablestring=
  5423. defaultval=
  5424. if test -z "$defaultval"; then
  5425. if test x"$enablestring" = xdisable; then
  5426. defaultval=yes
  5427. else
  5428. defaultval=no
  5429. fi
  5430. fi
  5431. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-utf8only" >&5
  5432. $as_echo_n "checking for --${enablestring:-enable}-utf8only... " >&6; }
  5433. # Check whether --enable-utf8only was given.
  5434. if test "${enable_utf8only+set}" = set; then :
  5435. enableval=$enable_utf8only;
  5436. if test "$enableval" = yes; then
  5437. wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
  5438. else
  5439. wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
  5440. fi
  5441. else
  5442. wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
  5443. fi
  5444. eval "$wx_cv_use_utf8only"
  5445. if test x"$enablestring" = xdisable; then
  5446. if test $wxUSE_UNICODE_UTF8_LOCALE = no; then
  5447. result=yes
  5448. else
  5449. result=no
  5450. fi
  5451. else
  5452. result=$wxUSE_UNICODE_UTF8_LOCALE
  5453. fi
  5454. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5455. $as_echo "$result" >&6; }
  5456. enablestring=
  5457. defaultval=
  5458. if test -z "$defaultval"; then
  5459. if test x"$enablestring" = xdisable; then
  5460. defaultval=yes
  5461. else
  5462. defaultval=no
  5463. fi
  5464. fi
  5465. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-extended_rtti" >&5
  5466. $as_echo_n "checking for --${enablestring:-enable}-extended_rtti... " >&6; }
  5467. # Check whether --enable-extended_rtti was given.
  5468. if test "${enable_extended_rtti+set}" = set; then :
  5469. enableval=$enable_extended_rtti;
  5470. if test "$enableval" = yes; then
  5471. wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
  5472. else
  5473. wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
  5474. fi
  5475. else
  5476. wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
  5477. fi
  5478. eval "$wx_cv_use_extended_rtti"
  5479. if test x"$enablestring" = xdisable; then
  5480. if test $wxUSE_EXTENDED_RTTI = no; then
  5481. result=yes
  5482. else
  5483. result=no
  5484. fi
  5485. else
  5486. result=$wxUSE_EXTENDED_RTTI
  5487. fi
  5488. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5489. $as_echo "$result" >&6; }
  5490. if test "$USE_OS2" = 1; then
  5491. DEFAULT_wxUSE_OMF=no
  5492. enablestring=
  5493. defaultval=
  5494. if test -z "$defaultval"; then
  5495. if test x"$enablestring" = xdisable; then
  5496. defaultval=yes
  5497. else
  5498. defaultval=no
  5499. fi
  5500. fi
  5501. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-omf" >&5
  5502. $as_echo_n "checking for --${enablestring:-enable}-omf... " >&6; }
  5503. # Check whether --enable-omf was given.
  5504. if test "${enable_omf+set}" = set; then :
  5505. enableval=$enable_omf;
  5506. if test "$enableval" = yes; then
  5507. wx_cv_use_omf='wxUSE_OMF=yes'
  5508. else
  5509. wx_cv_use_omf='wxUSE_OMF=no'
  5510. fi
  5511. else
  5512. wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
  5513. fi
  5514. eval "$wx_cv_use_omf"
  5515. if test x"$enablestring" = xdisable; then
  5516. if test $wxUSE_OMF = no; then
  5517. result=yes
  5518. else
  5519. result=no
  5520. fi
  5521. else
  5522. result=$wxUSE_OMF
  5523. fi
  5524. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5525. $as_echo "$result" >&6; }
  5526. fi
  5527. enablestring=disable
  5528. defaultval=
  5529. if test -z "$defaultval"; then
  5530. if test x"$enablestring" = xdisable; then
  5531. defaultval=yes
  5532. else
  5533. defaultval=no
  5534. fi
  5535. fi
  5536. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-optimise" >&5
  5537. $as_echo_n "checking for --${enablestring:-enable}-optimise... " >&6; }
  5538. # Check whether --enable-optimise was given.
  5539. if test "${enable_optimise+set}" = set; then :
  5540. enableval=$enable_optimise;
  5541. if test "$enableval" = yes; then
  5542. wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
  5543. else
  5544. wx_cv_use_optimise='wxUSE_OPTIMISE=no'
  5545. fi
  5546. else
  5547. wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
  5548. fi
  5549. eval "$wx_cv_use_optimise"
  5550. if test x"$enablestring" = xdisable; then
  5551. if test $wxUSE_OPTIMISE = no; then
  5552. result=yes
  5553. else
  5554. result=no
  5555. fi
  5556. else
  5557. result=$wxUSE_OPTIMISE
  5558. fi
  5559. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5560. $as_echo "$result" >&6; }
  5561. enablestring=
  5562. defaultval=
  5563. if test -z "$defaultval"; then
  5564. if test x"$enablestring" = xdisable; then
  5565. defaultval=yes
  5566. else
  5567. defaultval=no
  5568. fi
  5569. fi
  5570. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-profile" >&5
  5571. $as_echo_n "checking for --${enablestring:-enable}-profile... " >&6; }
  5572. # Check whether --enable-profile was given.
  5573. if test "${enable_profile+set}" = set; then :
  5574. enableval=$enable_profile;
  5575. if test "$enableval" = yes; then
  5576. wx_cv_use_profile='wxUSE_PROFILE=yes'
  5577. else
  5578. wx_cv_use_profile='wxUSE_PROFILE=no'
  5579. fi
  5580. else
  5581. wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
  5582. fi
  5583. eval "$wx_cv_use_profile"
  5584. if test x"$enablestring" = xdisable; then
  5585. if test $wxUSE_PROFILE = no; then
  5586. result=yes
  5587. else
  5588. result=no
  5589. fi
  5590. else
  5591. result=$wxUSE_PROFILE
  5592. fi
  5593. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5594. $as_echo "$result" >&6; }
  5595. enablestring=
  5596. defaultval=
  5597. if test -z "$defaultval"; then
  5598. if test x"$enablestring" = xdisable; then
  5599. defaultval=yes
  5600. else
  5601. defaultval=no
  5602. fi
  5603. fi
  5604. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_rtti" >&5
  5605. $as_echo_n "checking for --${enablestring:-enable}-no_rtti... " >&6; }
  5606. # Check whether --enable-no_rtti was given.
  5607. if test "${enable_no_rtti+set}" = set; then :
  5608. enableval=$enable_no_rtti;
  5609. if test "$enableval" = yes; then
  5610. wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
  5611. else
  5612. wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
  5613. fi
  5614. else
  5615. wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
  5616. fi
  5617. eval "$wx_cv_use_no_rtti"
  5618. if test x"$enablestring" = xdisable; then
  5619. if test $wxUSE_NO_RTTI = no; then
  5620. result=yes
  5621. else
  5622. result=no
  5623. fi
  5624. else
  5625. result=$wxUSE_NO_RTTI
  5626. fi
  5627. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5628. $as_echo "$result" >&6; }
  5629. enablestring=
  5630. defaultval=
  5631. if test -z "$defaultval"; then
  5632. if test x"$enablestring" = xdisable; then
  5633. defaultval=yes
  5634. else
  5635. defaultval=no
  5636. fi
  5637. fi
  5638. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_exceptions" >&5
  5639. $as_echo_n "checking for --${enablestring:-enable}-no_exceptions... " >&6; }
  5640. # Check whether --enable-no_exceptions was given.
  5641. if test "${enable_no_exceptions+set}" = set; then :
  5642. enableval=$enable_no_exceptions;
  5643. if test "$enableval" = yes; then
  5644. wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
  5645. else
  5646. wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
  5647. fi
  5648. else
  5649. wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
  5650. fi
  5651. eval "$wx_cv_use_no_exceptions"
  5652. if test x"$enablestring" = xdisable; then
  5653. if test $wxUSE_NO_EXCEPTIONS = no; then
  5654. result=yes
  5655. else
  5656. result=no
  5657. fi
  5658. else
  5659. result=$wxUSE_NO_EXCEPTIONS
  5660. fi
  5661. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5662. $as_echo "$result" >&6; }
  5663. enablestring=
  5664. defaultval=
  5665. if test -z "$defaultval"; then
  5666. if test x"$enablestring" = xdisable; then
  5667. defaultval=yes
  5668. else
  5669. defaultval=no
  5670. fi
  5671. fi
  5672. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-permissive" >&5
  5673. $as_echo_n "checking for --${enablestring:-enable}-permissive... " >&6; }
  5674. # Check whether --enable-permissive was given.
  5675. if test "${enable_permissive+set}" = set; then :
  5676. enableval=$enable_permissive;
  5677. if test "$enableval" = yes; then
  5678. wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
  5679. else
  5680. wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
  5681. fi
  5682. else
  5683. wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
  5684. fi
  5685. eval "$wx_cv_use_permissive"
  5686. if test x"$enablestring" = xdisable; then
  5687. if test $wxUSE_PERMISSIVE = no; then
  5688. result=yes
  5689. else
  5690. result=no
  5691. fi
  5692. else
  5693. result=$wxUSE_PERMISSIVE
  5694. fi
  5695. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5696. $as_echo "$result" >&6; }
  5697. enablestring=
  5698. defaultval=
  5699. if test -z "$defaultval"; then
  5700. if test x"$enablestring" = xdisable; then
  5701. defaultval=yes
  5702. else
  5703. defaultval=no
  5704. fi
  5705. fi
  5706. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-no_deps" >&5
  5707. $as_echo_n "checking for --${enablestring:-enable}-no_deps... " >&6; }
  5708. # Check whether --enable-no_deps was given.
  5709. if test "${enable_no_deps+set}" = set; then :
  5710. enableval=$enable_no_deps;
  5711. if test "$enableval" = yes; then
  5712. wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
  5713. else
  5714. wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
  5715. fi
  5716. else
  5717. wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
  5718. fi
  5719. eval "$wx_cv_use_no_deps"
  5720. if test x"$enablestring" = xdisable; then
  5721. if test $wxUSE_NO_DEPS = no; then
  5722. result=yes
  5723. else
  5724. result=no
  5725. fi
  5726. else
  5727. result=$wxUSE_NO_DEPS
  5728. fi
  5729. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5730. $as_echo "$result" >&6; }
  5731. enablestring=disable
  5732. defaultval=
  5733. if test -z "$defaultval"; then
  5734. if test x"$enablestring" = xdisable; then
  5735. defaultval=yes
  5736. else
  5737. defaultval=no
  5738. fi
  5739. fi
  5740. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-vararg_macros" >&5
  5741. $as_echo_n "checking for --${enablestring:-enable}-vararg_macros... " >&6; }
  5742. # Check whether --enable-vararg_macros was given.
  5743. if test "${enable_vararg_macros+set}" = set; then :
  5744. enableval=$enable_vararg_macros;
  5745. if test "$enableval" = yes; then
  5746. wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
  5747. else
  5748. wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
  5749. fi
  5750. else
  5751. wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
  5752. fi
  5753. eval "$wx_cv_use_vararg_macros"
  5754. if test x"$enablestring" = xdisable; then
  5755. if test $wxUSE_VARARG_MACROS = no; then
  5756. result=yes
  5757. else
  5758. result=no
  5759. fi
  5760. else
  5761. result=$wxUSE_VARARG_MACROS
  5762. fi
  5763. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5764. $as_echo "$result" >&6; }
  5765. enablestring=
  5766. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-universal_binary" >&5
  5767. $as_echo_n "checking for --${enablestring:-enable}-universal_binary... " >&6; }
  5768. # Check whether --enable-universal_binary was given.
  5769. if test "${enable_universal_binary+set}" = set; then :
  5770. enableval=$enable_universal_binary;
  5771. wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
  5772. else
  5773. wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
  5774. fi
  5775. eval "$wx_cv_use_universal_binary"
  5776. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_UNIVERSAL_BINARY" >&5
  5777. $as_echo "$wxUSE_UNIVERSAL_BINARY" >&6; }
  5778. enablestring=
  5779. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-macosx_arch" >&5
  5780. $as_echo_n "checking for --${enablestring:-enable}-macosx_arch... " >&6; }
  5781. # Check whether --enable-macosx_arch was given.
  5782. if test "${enable_macosx_arch+set}" = set; then :
  5783. enableval=$enable_macosx_arch;
  5784. wx_cv_use_macosx_arch="wxUSE_MAC_ARCH='$enableval'"
  5785. else
  5786. wx_cv_use_macosx_arch='wxUSE_MAC_ARCH='$DEFAULT_wxUSE_MAC_ARCH
  5787. fi
  5788. eval "$wx_cv_use_macosx_arch"
  5789. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MAC_ARCH" >&5
  5790. $as_echo "$wxUSE_MAC_ARCH" >&6; }
  5791. enablestring=
  5792. defaultval=
  5793. if test -z "$defaultval"; then
  5794. if test x"$enablestring" = xdisable; then
  5795. defaultval=yes
  5796. else
  5797. defaultval=no
  5798. fi
  5799. fi
  5800. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat26" >&5
  5801. $as_echo_n "checking for --${enablestring:-enable}-compat26... " >&6; }
  5802. # Check whether --enable-compat26 was given.
  5803. if test "${enable_compat26+set}" = set; then :
  5804. enableval=$enable_compat26;
  5805. if test "$enableval" = yes; then
  5806. wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
  5807. else
  5808. wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
  5809. fi
  5810. else
  5811. wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
  5812. fi
  5813. eval "$wx_cv_use_compat26"
  5814. if test x"$enablestring" = xdisable; then
  5815. if test $WXWIN_COMPATIBILITY_2_6 = no; then
  5816. result=yes
  5817. else
  5818. result=no
  5819. fi
  5820. else
  5821. result=$WXWIN_COMPATIBILITY_2_6
  5822. fi
  5823. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5824. $as_echo "$result" >&6; }
  5825. enablestring=disable
  5826. defaultval=
  5827. if test -z "$defaultval"; then
  5828. if test x"$enablestring" = xdisable; then
  5829. defaultval=yes
  5830. else
  5831. defaultval=no
  5832. fi
  5833. fi
  5834. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-compat28" >&5
  5835. $as_echo_n "checking for --${enablestring:-enable}-compat28... " >&6; }
  5836. # Check whether --enable-compat28 was given.
  5837. if test "${enable_compat28+set}" = set; then :
  5838. enableval=$enable_compat28;
  5839. if test "$enableval" = yes; then
  5840. wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
  5841. else
  5842. wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
  5843. fi
  5844. else
  5845. wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
  5846. fi
  5847. eval "$wx_cv_use_compat28"
  5848. if test x"$enablestring" = xdisable; then
  5849. if test $WXWIN_COMPATIBILITY_2_8 = no; then
  5850. result=yes
  5851. else
  5852. result=no
  5853. fi
  5854. else
  5855. result=$WXWIN_COMPATIBILITY_2_8
  5856. fi
  5857. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5858. $as_echo "$result" >&6; }
  5859. enablestring=disable
  5860. defaultval=
  5861. if test -z "$defaultval"; then
  5862. if test x"$enablestring" = xdisable; then
  5863. defaultval=yes
  5864. else
  5865. defaultval=no
  5866. fi
  5867. fi
  5868. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rpath" >&5
  5869. $as_echo_n "checking for --${enablestring:-enable}-rpath... " >&6; }
  5870. # Check whether --enable-rpath was given.
  5871. if test "${enable_rpath+set}" = set; then :
  5872. enableval=$enable_rpath;
  5873. if test "$enableval" = yes; then
  5874. wx_cv_use_rpath='wxUSE_RPATH=yes'
  5875. else
  5876. wx_cv_use_rpath='wxUSE_RPATH=no'
  5877. fi
  5878. else
  5879. wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
  5880. fi
  5881. eval "$wx_cv_use_rpath"
  5882. if test x"$enablestring" = xdisable; then
  5883. if test $wxUSE_RPATH = no; then
  5884. result=yes
  5885. else
  5886. result=no
  5887. fi
  5888. else
  5889. result=$wxUSE_RPATH
  5890. fi
  5891. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5892. $as_echo "$result" >&6; }
  5893. enablestring=
  5894. defaultval=
  5895. if test -z "$defaultval"; then
  5896. if test x"$enablestring" = xdisable; then
  5897. defaultval=yes
  5898. else
  5899. defaultval=no
  5900. fi
  5901. fi
  5902. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-objc_uniquifying" >&5
  5903. $as_echo_n "checking for --${enablestring:-enable}-objc_uniquifying... " >&6; }
  5904. # Check whether --enable-objc_uniquifying was given.
  5905. if test "${enable_objc_uniquifying+set}" = set; then :
  5906. enableval=$enable_objc_uniquifying;
  5907. if test "$enableval" = yes; then
  5908. wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
  5909. else
  5910. wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
  5911. fi
  5912. else
  5913. wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
  5914. fi
  5915. eval "$wx_cv_use_objc_uniquifying"
  5916. if test x"$enablestring" = xdisable; then
  5917. if test $wxUSE_OBJC_UNIQUIFYING = no; then
  5918. result=yes
  5919. else
  5920. result=no
  5921. fi
  5922. else
  5923. result=$wxUSE_OBJC_UNIQUIFYING
  5924. fi
  5925. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5926. $as_echo "$result" >&6; }
  5927. enablestring=disable
  5928. defaultval=
  5929. if test -z "$defaultval"; then
  5930. if test x"$enablestring" = xdisable; then
  5931. defaultval=yes
  5932. else
  5933. defaultval=no
  5934. fi
  5935. fi
  5936. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-visibility" >&5
  5937. $as_echo_n "checking for --${enablestring:-enable}-visibility... " >&6; }
  5938. # Check whether --enable-visibility was given.
  5939. if test "${enable_visibility+set}" = set; then :
  5940. enableval=$enable_visibility;
  5941. if test "$enableval" = yes; then
  5942. wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
  5943. else
  5944. wx_cv_use_visibility='wxUSE_VISIBILITY=no'
  5945. fi
  5946. else
  5947. wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
  5948. fi
  5949. eval "$wx_cv_use_visibility"
  5950. if test x"$enablestring" = xdisable; then
  5951. if test $wxUSE_VISIBILITY = no; then
  5952. result=yes
  5953. else
  5954. result=no
  5955. fi
  5956. else
  5957. result=$wxUSE_VISIBILITY
  5958. fi
  5959. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5960. $as_echo "$result" >&6; }
  5961. enablestring=disable
  5962. defaultval=
  5963. if test -z "$defaultval"; then
  5964. if test x"$enablestring" = xdisable; then
  5965. defaultval=yes
  5966. else
  5967. defaultval=no
  5968. fi
  5969. fi
  5970. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tls" >&5
  5971. $as_echo_n "checking for --${enablestring:-enable}-tls... " >&6; }
  5972. # Check whether --enable-tls was given.
  5973. if test "${enable_tls+set}" = set; then :
  5974. enableval=$enable_tls;
  5975. if test "$enableval" = yes; then
  5976. wx_cv_use_tls='wxUSE_COMPILER_TLS=yes'
  5977. else
  5978. wx_cv_use_tls='wxUSE_COMPILER_TLS=no'
  5979. fi
  5980. else
  5981. wx_cv_use_tls='wxUSE_COMPILER_TLS=${'DEFAULT_wxUSE_COMPILER_TLS":-$defaultval}"
  5982. fi
  5983. eval "$wx_cv_use_tls"
  5984. if test x"$enablestring" = xdisable; then
  5985. if test $wxUSE_COMPILER_TLS = no; then
  5986. result=yes
  5987. else
  5988. result=no
  5989. fi
  5990. else
  5991. result=$wxUSE_COMPILER_TLS
  5992. fi
  5993. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  5994. $as_echo "$result" >&6; }
  5995. enablestring=
  5996. defaultval=$wxUSE_ALL_FEATURES
  5997. if test -z "$defaultval"; then
  5998. if test x"$enablestring" = xdisable; then
  5999. defaultval=yes
  6000. else
  6001. defaultval=no
  6002. fi
  6003. fi
  6004. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-intl" >&5
  6005. $as_echo_n "checking for --${enablestring:-enable}-intl... " >&6; }
  6006. # Check whether --enable-intl was given.
  6007. if test "${enable_intl+set}" = set; then :
  6008. enableval=$enable_intl;
  6009. if test "$enableval" = yes; then
  6010. wx_cv_use_intl='wxUSE_INTL=yes'
  6011. else
  6012. wx_cv_use_intl='wxUSE_INTL=no'
  6013. fi
  6014. else
  6015. wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
  6016. fi
  6017. eval "$wx_cv_use_intl"
  6018. if test x"$enablestring" = xdisable; then
  6019. if test $wxUSE_INTL = no; then
  6020. result=yes
  6021. else
  6022. result=no
  6023. fi
  6024. else
  6025. result=$wxUSE_INTL
  6026. fi
  6027. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6028. $as_echo "$result" >&6; }
  6029. enablestring=
  6030. defaultval=$wxUSE_ALL_FEATURES
  6031. if test -z "$defaultval"; then
  6032. if test x"$enablestring" = xdisable; then
  6033. defaultval=yes
  6034. else
  6035. defaultval=no
  6036. fi
  6037. fi
  6038. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xlocale" >&5
  6039. $as_echo_n "checking for --${enablestring:-enable}-xlocale... " >&6; }
  6040. # Check whether --enable-xlocale was given.
  6041. if test "${enable_xlocale+set}" = set; then :
  6042. enableval=$enable_xlocale;
  6043. if test "$enableval" = yes; then
  6044. wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
  6045. else
  6046. wx_cv_use_xlocale='wxUSE_XLOCALE=no'
  6047. fi
  6048. else
  6049. wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
  6050. fi
  6051. eval "$wx_cv_use_xlocale"
  6052. if test x"$enablestring" = xdisable; then
  6053. if test $wxUSE_XLOCALE = no; then
  6054. result=yes
  6055. else
  6056. result=no
  6057. fi
  6058. else
  6059. result=$wxUSE_XLOCALE
  6060. fi
  6061. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6062. $as_echo "$result" >&6; }
  6063. enablestring=
  6064. defaultval=$wxUSE_ALL_FEATURES
  6065. if test -z "$defaultval"; then
  6066. if test x"$enablestring" = xdisable; then
  6067. defaultval=yes
  6068. else
  6069. defaultval=no
  6070. fi
  6071. fi
  6072. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-config" >&5
  6073. $as_echo_n "checking for --${enablestring:-enable}-config... " >&6; }
  6074. # Check whether --enable-config was given.
  6075. if test "${enable_config+set}" = set; then :
  6076. enableval=$enable_config;
  6077. if test "$enableval" = yes; then
  6078. wx_cv_use_config='wxUSE_CONFIG=yes'
  6079. else
  6080. wx_cv_use_config='wxUSE_CONFIG=no'
  6081. fi
  6082. else
  6083. wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
  6084. fi
  6085. eval "$wx_cv_use_config"
  6086. if test x"$enablestring" = xdisable; then
  6087. if test $wxUSE_CONFIG = no; then
  6088. result=yes
  6089. else
  6090. result=no
  6091. fi
  6092. else
  6093. result=$wxUSE_CONFIG
  6094. fi
  6095. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6096. $as_echo "$result" >&6; }
  6097. enablestring=
  6098. defaultval=$wxUSE_ALL_FEATURES
  6099. if test -z "$defaultval"; then
  6100. if test x"$enablestring" = xdisable; then
  6101. defaultval=yes
  6102. else
  6103. defaultval=no
  6104. fi
  6105. fi
  6106. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocols" >&5
  6107. $as_echo_n "checking for --${enablestring:-enable}-protocols... " >&6; }
  6108. # Check whether --enable-protocols was given.
  6109. if test "${enable_protocols+set}" = set; then :
  6110. enableval=$enable_protocols;
  6111. if test "$enableval" = yes; then
  6112. wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
  6113. else
  6114. wx_cv_use_protocols='wxUSE_PROTOCOL=no'
  6115. fi
  6116. else
  6117. wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
  6118. fi
  6119. eval "$wx_cv_use_protocols"
  6120. if test x"$enablestring" = xdisable; then
  6121. if test $wxUSE_PROTOCOL = no; then
  6122. result=yes
  6123. else
  6124. result=no
  6125. fi
  6126. else
  6127. result=$wxUSE_PROTOCOL
  6128. fi
  6129. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6130. $as_echo "$result" >&6; }
  6131. enablestring=
  6132. defaultval=$wxUSE_ALL_FEATURES
  6133. if test -z "$defaultval"; then
  6134. if test x"$enablestring" = xdisable; then
  6135. defaultval=yes
  6136. else
  6137. defaultval=no
  6138. fi
  6139. fi
  6140. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ftp" >&5
  6141. $as_echo_n "checking for --${enablestring:-enable}-ftp... " >&6; }
  6142. # Check whether --enable-ftp was given.
  6143. if test "${enable_ftp+set}" = set; then :
  6144. enableval=$enable_ftp;
  6145. if test "$enableval" = yes; then
  6146. wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
  6147. else
  6148. wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
  6149. fi
  6150. else
  6151. wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
  6152. fi
  6153. eval "$wx_cv_use_ftp"
  6154. if test x"$enablestring" = xdisable; then
  6155. if test $wxUSE_PROTOCOL_FTP = no; then
  6156. result=yes
  6157. else
  6158. result=no
  6159. fi
  6160. else
  6161. result=$wxUSE_PROTOCOL_FTP
  6162. fi
  6163. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6164. $as_echo "$result" >&6; }
  6165. enablestring=
  6166. defaultval=$wxUSE_ALL_FEATURES
  6167. if test -z "$defaultval"; then
  6168. if test x"$enablestring" = xdisable; then
  6169. defaultval=yes
  6170. else
  6171. defaultval=no
  6172. fi
  6173. fi
  6174. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-http" >&5
  6175. $as_echo_n "checking for --${enablestring:-enable}-http... " >&6; }
  6176. # Check whether --enable-http was given.
  6177. if test "${enable_http+set}" = set; then :
  6178. enableval=$enable_http;
  6179. if test "$enableval" = yes; then
  6180. wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
  6181. else
  6182. wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
  6183. fi
  6184. else
  6185. wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
  6186. fi
  6187. eval "$wx_cv_use_http"
  6188. if test x"$enablestring" = xdisable; then
  6189. if test $wxUSE_PROTOCOL_HTTP = no; then
  6190. result=yes
  6191. else
  6192. result=no
  6193. fi
  6194. else
  6195. result=$wxUSE_PROTOCOL_HTTP
  6196. fi
  6197. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6198. $as_echo "$result" >&6; }
  6199. enablestring=
  6200. defaultval=$wxUSE_ALL_FEATURES
  6201. if test -z "$defaultval"; then
  6202. if test x"$enablestring" = xdisable; then
  6203. defaultval=yes
  6204. else
  6205. defaultval=no
  6206. fi
  6207. fi
  6208. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fileproto" >&5
  6209. $as_echo_n "checking for --${enablestring:-enable}-fileproto... " >&6; }
  6210. # Check whether --enable-fileproto was given.
  6211. if test "${enable_fileproto+set}" = set; then :
  6212. enableval=$enable_fileproto;
  6213. if test "$enableval" = yes; then
  6214. wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
  6215. else
  6216. wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
  6217. fi
  6218. else
  6219. wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
  6220. fi
  6221. eval "$wx_cv_use_fileproto"
  6222. if test x"$enablestring" = xdisable; then
  6223. if test $wxUSE_PROTOCOL_FILE = no; then
  6224. result=yes
  6225. else
  6226. result=no
  6227. fi
  6228. else
  6229. result=$wxUSE_PROTOCOL_FILE
  6230. fi
  6231. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6232. $as_echo "$result" >&6; }
  6233. enablestring=
  6234. defaultval=$wxUSE_ALL_FEATURES
  6235. if test -z "$defaultval"; then
  6236. if test x"$enablestring" = xdisable; then
  6237. defaultval=yes
  6238. else
  6239. defaultval=no
  6240. fi
  6241. fi
  6242. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sockets" >&5
  6243. $as_echo_n "checking for --${enablestring:-enable}-sockets... " >&6; }
  6244. # Check whether --enable-sockets was given.
  6245. if test "${enable_sockets+set}" = set; then :
  6246. enableval=$enable_sockets;
  6247. if test "$enableval" = yes; then
  6248. wx_cv_use_sockets='wxUSE_SOCKETS=yes'
  6249. else
  6250. wx_cv_use_sockets='wxUSE_SOCKETS=no'
  6251. fi
  6252. else
  6253. wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
  6254. fi
  6255. eval "$wx_cv_use_sockets"
  6256. if test x"$enablestring" = xdisable; then
  6257. if test $wxUSE_SOCKETS = no; then
  6258. result=yes
  6259. else
  6260. result=no
  6261. fi
  6262. else
  6263. result=$wxUSE_SOCKETS
  6264. fi
  6265. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6266. $as_echo "$result" >&6; }
  6267. enablestring=
  6268. defaultval=$wxUSE_ALL_FEATURES
  6269. if test -z "$defaultval"; then
  6270. if test x"$enablestring" = xdisable; then
  6271. defaultval=yes
  6272. else
  6273. defaultval=no
  6274. fi
  6275. fi
  6276. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipv6" >&5
  6277. $as_echo_n "checking for --${enablestring:-enable}-ipv6... " >&6; }
  6278. # Check whether --enable-ipv6 was given.
  6279. if test "${enable_ipv6+set}" = set; then :
  6280. enableval=$enable_ipv6;
  6281. if test "$enableval" = yes; then
  6282. wx_cv_use_ipv6='wxUSE_IPV6=yes'
  6283. else
  6284. wx_cv_use_ipv6='wxUSE_IPV6=no'
  6285. fi
  6286. else
  6287. wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
  6288. fi
  6289. eval "$wx_cv_use_ipv6"
  6290. if test x"$enablestring" = xdisable; then
  6291. if test $wxUSE_IPV6 = no; then
  6292. result=yes
  6293. else
  6294. result=no
  6295. fi
  6296. else
  6297. result=$wxUSE_IPV6
  6298. fi
  6299. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6300. $as_echo "$result" >&6; }
  6301. enablestring=
  6302. defaultval=$wxUSE_ALL_FEATURES
  6303. if test -z "$defaultval"; then
  6304. if test x"$enablestring" = xdisable; then
  6305. defaultval=yes
  6306. else
  6307. defaultval=no
  6308. fi
  6309. fi
  6310. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ole" >&5
  6311. $as_echo_n "checking for --${enablestring:-enable}-ole... " >&6; }
  6312. # Check whether --enable-ole was given.
  6313. if test "${enable_ole+set}" = set; then :
  6314. enableval=$enable_ole;
  6315. if test "$enableval" = yes; then
  6316. wx_cv_use_ole='wxUSE_OLE=yes'
  6317. else
  6318. wx_cv_use_ole='wxUSE_OLE=no'
  6319. fi
  6320. else
  6321. wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
  6322. fi
  6323. eval "$wx_cv_use_ole"
  6324. if test x"$enablestring" = xdisable; then
  6325. if test $wxUSE_OLE = no; then
  6326. result=yes
  6327. else
  6328. result=no
  6329. fi
  6330. else
  6331. result=$wxUSE_OLE
  6332. fi
  6333. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6334. $as_echo "$result" >&6; }
  6335. enablestring=
  6336. defaultval=$wxUSE_ALL_FEATURES
  6337. if test -z "$defaultval"; then
  6338. if test x"$enablestring" = xdisable; then
  6339. defaultval=yes
  6340. else
  6341. defaultval=no
  6342. fi
  6343. fi
  6344. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataobj" >&5
  6345. $as_echo_n "checking for --${enablestring:-enable}-dataobj... " >&6; }
  6346. # Check whether --enable-dataobj was given.
  6347. if test "${enable_dataobj+set}" = set; then :
  6348. enableval=$enable_dataobj;
  6349. if test "$enableval" = yes; then
  6350. wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
  6351. else
  6352. wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
  6353. fi
  6354. else
  6355. wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
  6356. fi
  6357. eval "$wx_cv_use_dataobj"
  6358. if test x"$enablestring" = xdisable; then
  6359. if test $wxUSE_DATAOBJ = no; then
  6360. result=yes
  6361. else
  6362. result=no
  6363. fi
  6364. else
  6365. result=$wxUSE_DATAOBJ
  6366. fi
  6367. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6368. $as_echo "$result" >&6; }
  6369. enablestring=
  6370. defaultval=$wxUSE_ALL_FEATURES
  6371. if test -z "$defaultval"; then
  6372. if test x"$enablestring" = xdisable; then
  6373. defaultval=yes
  6374. else
  6375. defaultval=no
  6376. fi
  6377. fi
  6378. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ipc" >&5
  6379. $as_echo_n "checking for --${enablestring:-enable}-ipc... " >&6; }
  6380. # Check whether --enable-ipc was given.
  6381. if test "${enable_ipc+set}" = set; then :
  6382. enableval=$enable_ipc;
  6383. if test "$enableval" = yes; then
  6384. wx_cv_use_ipc='wxUSE_IPC=yes'
  6385. else
  6386. wx_cv_use_ipc='wxUSE_IPC=no'
  6387. fi
  6388. else
  6389. wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
  6390. fi
  6391. eval "$wx_cv_use_ipc"
  6392. if test x"$enablestring" = xdisable; then
  6393. if test $wxUSE_IPC = no; then
  6394. result=yes
  6395. else
  6396. result=no
  6397. fi
  6398. else
  6399. result=$wxUSE_IPC
  6400. fi
  6401. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6402. $as_echo "$result" >&6; }
  6403. enablestring=
  6404. defaultval=$wxUSE_ALL_FEATURES
  6405. if test -z "$defaultval"; then
  6406. if test x"$enablestring" = xdisable; then
  6407. defaultval=yes
  6408. else
  6409. defaultval=no
  6410. fi
  6411. fi
  6412. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-baseevtloop" >&5
  6413. $as_echo_n "checking for --${enablestring:-enable}-baseevtloop... " >&6; }
  6414. # Check whether --enable-baseevtloop was given.
  6415. if test "${enable_baseevtloop+set}" = set; then :
  6416. enableval=$enable_baseevtloop;
  6417. if test "$enableval" = yes; then
  6418. wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
  6419. else
  6420. wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
  6421. fi
  6422. else
  6423. wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
  6424. fi
  6425. eval "$wx_cv_use_baseevtloop"
  6426. if test x"$enablestring" = xdisable; then
  6427. if test $wxUSE_CONSOLE_EVENTLOOP = no; then
  6428. result=yes
  6429. else
  6430. result=no
  6431. fi
  6432. else
  6433. result=$wxUSE_CONSOLE_EVENTLOOP
  6434. fi
  6435. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6436. $as_echo "$result" >&6; }
  6437. enablestring=
  6438. defaultval=$wxUSE_ALL_FEATURES
  6439. if test -z "$defaultval"; then
  6440. if test x"$enablestring" = xdisable; then
  6441. defaultval=yes
  6442. else
  6443. defaultval=no
  6444. fi
  6445. fi
  6446. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-epollloop" >&5
  6447. $as_echo_n "checking for --${enablestring:-enable}-epollloop... " >&6; }
  6448. # Check whether --enable-epollloop was given.
  6449. if test "${enable_epollloop+set}" = set; then :
  6450. enableval=$enable_epollloop;
  6451. if test "$enableval" = yes; then
  6452. wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
  6453. else
  6454. wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
  6455. fi
  6456. else
  6457. wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
  6458. fi
  6459. eval "$wx_cv_use_epollloop"
  6460. if test x"$enablestring" = xdisable; then
  6461. if test $wxUSE_EPOLL_DISPATCHER = no; then
  6462. result=yes
  6463. else
  6464. result=no
  6465. fi
  6466. else
  6467. result=$wxUSE_EPOLL_DISPATCHER
  6468. fi
  6469. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6470. $as_echo "$result" >&6; }
  6471. enablestring=
  6472. defaultval=$wxUSE_ALL_FEATURES
  6473. if test -z "$defaultval"; then
  6474. if test x"$enablestring" = xdisable; then
  6475. defaultval=yes
  6476. else
  6477. defaultval=no
  6478. fi
  6479. fi
  6480. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-selectloop" >&5
  6481. $as_echo_n "checking for --${enablestring:-enable}-selectloop... " >&6; }
  6482. # Check whether --enable-selectloop was given.
  6483. if test "${enable_selectloop+set}" = set; then :
  6484. enableval=$enable_selectloop;
  6485. if test "$enableval" = yes; then
  6486. wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
  6487. else
  6488. wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
  6489. fi
  6490. else
  6491. wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
  6492. fi
  6493. eval "$wx_cv_use_selectloop"
  6494. if test x"$enablestring" = xdisable; then
  6495. if test $wxUSE_SELECT_DISPATCHER = no; then
  6496. result=yes
  6497. else
  6498. result=no
  6499. fi
  6500. else
  6501. result=$wxUSE_SELECT_DISPATCHER
  6502. fi
  6503. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6504. $as_echo "$result" >&6; }
  6505. enablestring=
  6506. defaultval=$wxUSE_ALL_FEATURES
  6507. if test -z "$defaultval"; then
  6508. if test x"$enablestring" = xdisable; then
  6509. defaultval=yes
  6510. else
  6511. defaultval=no
  6512. fi
  6513. fi
  6514. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-any" >&5
  6515. $as_echo_n "checking for --${enablestring:-enable}-any... " >&6; }
  6516. # Check whether --enable-any was given.
  6517. if test "${enable_any+set}" = set; then :
  6518. enableval=$enable_any;
  6519. if test "$enableval" = yes; then
  6520. wx_cv_use_any='wxUSE_ANY=yes'
  6521. else
  6522. wx_cv_use_any='wxUSE_ANY=no'
  6523. fi
  6524. else
  6525. wx_cv_use_any='wxUSE_ANY=${'DEFAULT_wxUSE_ANY":-$defaultval}"
  6526. fi
  6527. eval "$wx_cv_use_any"
  6528. if test x"$enablestring" = xdisable; then
  6529. if test $wxUSE_ANY = no; then
  6530. result=yes
  6531. else
  6532. result=no
  6533. fi
  6534. else
  6535. result=$wxUSE_ANY
  6536. fi
  6537. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6538. $as_echo "$result" >&6; }
  6539. enablestring=
  6540. defaultval=$wxUSE_ALL_FEATURES
  6541. if test -z "$defaultval"; then
  6542. if test x"$enablestring" = xdisable; then
  6543. defaultval=yes
  6544. else
  6545. defaultval=no
  6546. fi
  6547. fi
  6548. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-apple_ieee" >&5
  6549. $as_echo_n "checking for --${enablestring:-enable}-apple_ieee... " >&6; }
  6550. # Check whether --enable-apple_ieee was given.
  6551. if test "${enable_apple_ieee+set}" = set; then :
  6552. enableval=$enable_apple_ieee;
  6553. if test "$enableval" = yes; then
  6554. wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
  6555. else
  6556. wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
  6557. fi
  6558. else
  6559. wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
  6560. fi
  6561. eval "$wx_cv_use_apple_ieee"
  6562. if test x"$enablestring" = xdisable; then
  6563. if test $wxUSE_APPLE_IEEE = no; then
  6564. result=yes
  6565. else
  6566. result=no
  6567. fi
  6568. else
  6569. result=$wxUSE_APPLE_IEEE
  6570. fi
  6571. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6572. $as_echo "$result" >&6; }
  6573. enablestring=
  6574. defaultval=$wxUSE_ALL_FEATURES
  6575. if test -z "$defaultval"; then
  6576. if test x"$enablestring" = xdisable; then
  6577. defaultval=yes
  6578. else
  6579. defaultval=no
  6580. fi
  6581. fi
  6582. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arcstream" >&5
  6583. $as_echo_n "checking for --${enablestring:-enable}-arcstream... " >&6; }
  6584. # Check whether --enable-arcstream was given.
  6585. if test "${enable_arcstream+set}" = set; then :
  6586. enableval=$enable_arcstream;
  6587. if test "$enableval" = yes; then
  6588. wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
  6589. else
  6590. wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
  6591. fi
  6592. else
  6593. wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
  6594. fi
  6595. eval "$wx_cv_use_arcstream"
  6596. if test x"$enablestring" = xdisable; then
  6597. if test $wxUSE_ARCHIVE_STREAMS = no; then
  6598. result=yes
  6599. else
  6600. result=no
  6601. fi
  6602. else
  6603. result=$wxUSE_ARCHIVE_STREAMS
  6604. fi
  6605. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6606. $as_echo "$result" >&6; }
  6607. enablestring=
  6608. defaultval=$wxUSE_ALL_FEATURES
  6609. if test -z "$defaultval"; then
  6610. if test x"$enablestring" = xdisable; then
  6611. defaultval=yes
  6612. else
  6613. defaultval=no
  6614. fi
  6615. fi
  6616. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-base64" >&5
  6617. $as_echo_n "checking for --${enablestring:-enable}-base64... " >&6; }
  6618. # Check whether --enable-base64 was given.
  6619. if test "${enable_base64+set}" = set; then :
  6620. enableval=$enable_base64;
  6621. if test "$enableval" = yes; then
  6622. wx_cv_use_base64='wxUSE_BASE64=yes'
  6623. else
  6624. wx_cv_use_base64='wxUSE_BASE64=no'
  6625. fi
  6626. else
  6627. wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
  6628. fi
  6629. eval "$wx_cv_use_base64"
  6630. if test x"$enablestring" = xdisable; then
  6631. if test $wxUSE_BASE64 = no; then
  6632. result=yes
  6633. else
  6634. result=no
  6635. fi
  6636. else
  6637. result=$wxUSE_BASE64
  6638. fi
  6639. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6640. $as_echo "$result" >&6; }
  6641. enablestring=
  6642. defaultval=$wxUSE_ALL_FEATURES
  6643. if test -z "$defaultval"; then
  6644. if test x"$enablestring" = xdisable; then
  6645. defaultval=yes
  6646. else
  6647. defaultval=no
  6648. fi
  6649. fi
  6650. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-backtrace" >&5
  6651. $as_echo_n "checking for --${enablestring:-enable}-backtrace... " >&6; }
  6652. # Check whether --enable-backtrace was given.
  6653. if test "${enable_backtrace+set}" = set; then :
  6654. enableval=$enable_backtrace;
  6655. if test "$enableval" = yes; then
  6656. wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
  6657. else
  6658. wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
  6659. fi
  6660. else
  6661. wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
  6662. fi
  6663. eval "$wx_cv_use_backtrace"
  6664. if test x"$enablestring" = xdisable; then
  6665. if test $wxUSE_STACKWALKER = no; then
  6666. result=yes
  6667. else
  6668. result=no
  6669. fi
  6670. else
  6671. result=$wxUSE_STACKWALKER
  6672. fi
  6673. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6674. $as_echo "$result" >&6; }
  6675. enablestring=
  6676. defaultval=$wxUSE_ALL_FEATURES
  6677. if test -z "$defaultval"; then
  6678. if test x"$enablestring" = xdisable; then
  6679. defaultval=yes
  6680. else
  6681. defaultval=no
  6682. fi
  6683. fi
  6684. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-catch_segvs" >&5
  6685. $as_echo_n "checking for --${enablestring:-enable}-catch_segvs... " >&6; }
  6686. # Check whether --enable-catch_segvs was given.
  6687. if test "${enable_catch_segvs+set}" = set; then :
  6688. enableval=$enable_catch_segvs;
  6689. if test "$enableval" = yes; then
  6690. wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
  6691. else
  6692. wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
  6693. fi
  6694. else
  6695. wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
  6696. fi
  6697. eval "$wx_cv_use_catch_segvs"
  6698. if test x"$enablestring" = xdisable; then
  6699. if test $wxUSE_ON_FATAL_EXCEPTION = no; then
  6700. result=yes
  6701. else
  6702. result=no
  6703. fi
  6704. else
  6705. result=$wxUSE_ON_FATAL_EXCEPTION
  6706. fi
  6707. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6708. $as_echo "$result" >&6; }
  6709. enablestring=
  6710. defaultval=$wxUSE_ALL_FEATURES
  6711. if test -z "$defaultval"; then
  6712. if test x"$enablestring" = xdisable; then
  6713. defaultval=yes
  6714. else
  6715. defaultval=no
  6716. fi
  6717. fi
  6718. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-cmdline" >&5
  6719. $as_echo_n "checking for --${enablestring:-enable}-cmdline... " >&6; }
  6720. # Check whether --enable-cmdline was given.
  6721. if test "${enable_cmdline+set}" = set; then :
  6722. enableval=$enable_cmdline;
  6723. if test "$enableval" = yes; then
  6724. wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
  6725. else
  6726. wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
  6727. fi
  6728. else
  6729. wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
  6730. fi
  6731. eval "$wx_cv_use_cmdline"
  6732. if test x"$enablestring" = xdisable; then
  6733. if test $wxUSE_CMDLINE_PARSER = no; then
  6734. result=yes
  6735. else
  6736. result=no
  6737. fi
  6738. else
  6739. result=$wxUSE_CMDLINE_PARSER
  6740. fi
  6741. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6742. $as_echo "$result" >&6; }
  6743. enablestring=
  6744. defaultval=$wxUSE_ALL_FEATURES
  6745. if test -z "$defaultval"; then
  6746. if test x"$enablestring" = xdisable; then
  6747. defaultval=yes
  6748. else
  6749. defaultval=no
  6750. fi
  6751. fi
  6752. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datetime" >&5
  6753. $as_echo_n "checking for --${enablestring:-enable}-datetime... " >&6; }
  6754. # Check whether --enable-datetime was given.
  6755. if test "${enable_datetime+set}" = set; then :
  6756. enableval=$enable_datetime;
  6757. if test "$enableval" = yes; then
  6758. wx_cv_use_datetime='wxUSE_DATETIME=yes'
  6759. else
  6760. wx_cv_use_datetime='wxUSE_DATETIME=no'
  6761. fi
  6762. else
  6763. wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
  6764. fi
  6765. eval "$wx_cv_use_datetime"
  6766. if test x"$enablestring" = xdisable; then
  6767. if test $wxUSE_DATETIME = no; then
  6768. result=yes
  6769. else
  6770. result=no
  6771. fi
  6772. else
  6773. result=$wxUSE_DATETIME
  6774. fi
  6775. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6776. $as_echo "$result" >&6; }
  6777. enablestring=
  6778. defaultval=$wxUSE_ALL_FEATURES
  6779. if test -z "$defaultval"; then
  6780. if test x"$enablestring" = xdisable; then
  6781. defaultval=yes
  6782. else
  6783. defaultval=no
  6784. fi
  6785. fi
  6786. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-debugreport" >&5
  6787. $as_echo_n "checking for --${enablestring:-enable}-debugreport... " >&6; }
  6788. # Check whether --enable-debugreport was given.
  6789. if test "${enable_debugreport+set}" = set; then :
  6790. enableval=$enable_debugreport;
  6791. if test "$enableval" = yes; then
  6792. wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
  6793. else
  6794. wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
  6795. fi
  6796. else
  6797. wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
  6798. fi
  6799. eval "$wx_cv_use_debugreport"
  6800. if test x"$enablestring" = xdisable; then
  6801. if test $wxUSE_DEBUGREPORT = no; then
  6802. result=yes
  6803. else
  6804. result=no
  6805. fi
  6806. else
  6807. result=$wxUSE_DEBUGREPORT
  6808. fi
  6809. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6810. $as_echo "$result" >&6; }
  6811. enablestring=
  6812. defaultval=$wxUSE_ALL_FEATURES
  6813. if test -z "$defaultval"; then
  6814. if test x"$enablestring" = xdisable; then
  6815. defaultval=yes
  6816. else
  6817. defaultval=no
  6818. fi
  6819. fi
  6820. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dialupman" >&5
  6821. $as_echo_n "checking for --${enablestring:-enable}-dialupman... " >&6; }
  6822. # Check whether --enable-dialupman was given.
  6823. if test "${enable_dialupman+set}" = set; then :
  6824. enableval=$enable_dialupman;
  6825. if test "$enableval" = yes; then
  6826. wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
  6827. else
  6828. wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
  6829. fi
  6830. else
  6831. wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
  6832. fi
  6833. eval "$wx_cv_use_dialupman"
  6834. if test x"$enablestring" = xdisable; then
  6835. if test $wxUSE_DIALUP_MANAGER = no; then
  6836. result=yes
  6837. else
  6838. result=no
  6839. fi
  6840. else
  6841. result=$wxUSE_DIALUP_MANAGER
  6842. fi
  6843. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6844. $as_echo "$result" >&6; }
  6845. enablestring=
  6846. defaultval=$wxUSE_ALL_FEATURES
  6847. if test -z "$defaultval"; then
  6848. if test x"$enablestring" = xdisable; then
  6849. defaultval=yes
  6850. else
  6851. defaultval=no
  6852. fi
  6853. fi
  6854. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynlib" >&5
  6855. $as_echo_n "checking for --${enablestring:-enable}-dynlib... " >&6; }
  6856. # Check whether --enable-dynlib was given.
  6857. if test "${enable_dynlib+set}" = set; then :
  6858. enableval=$enable_dynlib;
  6859. if test "$enableval" = yes; then
  6860. wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
  6861. else
  6862. wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
  6863. fi
  6864. else
  6865. wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
  6866. fi
  6867. eval "$wx_cv_use_dynlib"
  6868. if test x"$enablestring" = xdisable; then
  6869. if test $wxUSE_DYNLIB_CLASS = no; then
  6870. result=yes
  6871. else
  6872. result=no
  6873. fi
  6874. else
  6875. result=$wxUSE_DYNLIB_CLASS
  6876. fi
  6877. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6878. $as_echo "$result" >&6; }
  6879. enablestring=
  6880. defaultval=$wxUSE_ALL_FEATURES
  6881. if test -z "$defaultval"; then
  6882. if test x"$enablestring" = xdisable; then
  6883. defaultval=yes
  6884. else
  6885. defaultval=no
  6886. fi
  6887. fi
  6888. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dynamicloader" >&5
  6889. $as_echo_n "checking for --${enablestring:-enable}-dynamicloader... " >&6; }
  6890. # Check whether --enable-dynamicloader was given.
  6891. if test "${enable_dynamicloader+set}" = set; then :
  6892. enableval=$enable_dynamicloader;
  6893. if test "$enableval" = yes; then
  6894. wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
  6895. else
  6896. wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
  6897. fi
  6898. else
  6899. wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
  6900. fi
  6901. eval "$wx_cv_use_dynamicloader"
  6902. if test x"$enablestring" = xdisable; then
  6903. if test $wxUSE_DYNAMIC_LOADER = no; then
  6904. result=yes
  6905. else
  6906. result=no
  6907. fi
  6908. else
  6909. result=$wxUSE_DYNAMIC_LOADER
  6910. fi
  6911. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6912. $as_echo "$result" >&6; }
  6913. enablestring=
  6914. defaultval=$wxUSE_ALL_FEATURES
  6915. if test -z "$defaultval"; then
  6916. if test x"$enablestring" = xdisable; then
  6917. defaultval=yes
  6918. else
  6919. defaultval=no
  6920. fi
  6921. fi
  6922. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-exceptions" >&5
  6923. $as_echo_n "checking for --${enablestring:-enable}-exceptions... " >&6; }
  6924. # Check whether --enable-exceptions was given.
  6925. if test "${enable_exceptions+set}" = set; then :
  6926. enableval=$enable_exceptions;
  6927. if test "$enableval" = yes; then
  6928. wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
  6929. else
  6930. wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
  6931. fi
  6932. else
  6933. wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
  6934. fi
  6935. eval "$wx_cv_use_exceptions"
  6936. if test x"$enablestring" = xdisable; then
  6937. if test $wxUSE_EXCEPTIONS = no; then
  6938. result=yes
  6939. else
  6940. result=no
  6941. fi
  6942. else
  6943. result=$wxUSE_EXCEPTIONS
  6944. fi
  6945. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6946. $as_echo "$result" >&6; }
  6947. enablestring=
  6948. defaultval=$wxUSE_ALL_FEATURES
  6949. if test -z "$defaultval"; then
  6950. if test x"$enablestring" = xdisable; then
  6951. defaultval=yes
  6952. else
  6953. defaultval=no
  6954. fi
  6955. fi
  6956. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ffile" >&5
  6957. $as_echo_n "checking for --${enablestring:-enable}-ffile... " >&6; }
  6958. # Check whether --enable-ffile was given.
  6959. if test "${enable_ffile+set}" = set; then :
  6960. enableval=$enable_ffile;
  6961. if test "$enableval" = yes; then
  6962. wx_cv_use_ffile='wxUSE_FFILE=yes'
  6963. else
  6964. wx_cv_use_ffile='wxUSE_FFILE=no'
  6965. fi
  6966. else
  6967. wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
  6968. fi
  6969. eval "$wx_cv_use_ffile"
  6970. if test x"$enablestring" = xdisable; then
  6971. if test $wxUSE_FFILE = no; then
  6972. result=yes
  6973. else
  6974. result=no
  6975. fi
  6976. else
  6977. result=$wxUSE_FFILE
  6978. fi
  6979. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  6980. $as_echo "$result" >&6; }
  6981. enablestring=
  6982. defaultval=$wxUSE_ALL_FEATURES
  6983. if test -z "$defaultval"; then
  6984. if test x"$enablestring" = xdisable; then
  6985. defaultval=yes
  6986. else
  6987. defaultval=no
  6988. fi
  6989. fi
  6990. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-file" >&5
  6991. $as_echo_n "checking for --${enablestring:-enable}-file... " >&6; }
  6992. # Check whether --enable-file was given.
  6993. if test "${enable_file+set}" = set; then :
  6994. enableval=$enable_file;
  6995. if test "$enableval" = yes; then
  6996. wx_cv_use_file='wxUSE_FILE=yes'
  6997. else
  6998. wx_cv_use_file='wxUSE_FILE=no'
  6999. fi
  7000. else
  7001. wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
  7002. fi
  7003. eval "$wx_cv_use_file"
  7004. if test x"$enablestring" = xdisable; then
  7005. if test $wxUSE_FILE = no; then
  7006. result=yes
  7007. else
  7008. result=no
  7009. fi
  7010. else
  7011. result=$wxUSE_FILE
  7012. fi
  7013. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7014. $as_echo "$result" >&6; }
  7015. enablestring=
  7016. defaultval=$wxUSE_ALL_FEATURES
  7017. if test -z "$defaultval"; then
  7018. if test x"$enablestring" = xdisable; then
  7019. defaultval=yes
  7020. else
  7021. defaultval=no
  7022. fi
  7023. fi
  7024. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filehistory" >&5
  7025. $as_echo_n "checking for --${enablestring:-enable}-filehistory... " >&6; }
  7026. # Check whether --enable-filehistory was given.
  7027. if test "${enable_filehistory+set}" = set; then :
  7028. enableval=$enable_filehistory;
  7029. if test "$enableval" = yes; then
  7030. wx_cv_use_filehistory='wxUSE_FILE_HISTORY=yes'
  7031. else
  7032. wx_cv_use_filehistory='wxUSE_FILE_HISTORY=no'
  7033. fi
  7034. else
  7035. wx_cv_use_filehistory='wxUSE_FILE_HISTORY=${'DEFAULT_wxUSE_FILE_HISTORY":-$defaultval}"
  7036. fi
  7037. eval "$wx_cv_use_filehistory"
  7038. if test x"$enablestring" = xdisable; then
  7039. if test $wxUSE_FILE_HISTORY = no; then
  7040. result=yes
  7041. else
  7042. result=no
  7043. fi
  7044. else
  7045. result=$wxUSE_FILE_HISTORY
  7046. fi
  7047. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7048. $as_echo "$result" >&6; }
  7049. enablestring=
  7050. defaultval=$wxUSE_ALL_FEATURES
  7051. if test -z "$defaultval"; then
  7052. if test x"$enablestring" = xdisable; then
  7053. defaultval=yes
  7054. else
  7055. defaultval=no
  7056. fi
  7057. fi
  7058. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filesystem" >&5
  7059. $as_echo_n "checking for --${enablestring:-enable}-filesystem... " >&6; }
  7060. # Check whether --enable-filesystem was given.
  7061. if test "${enable_filesystem+set}" = set; then :
  7062. enableval=$enable_filesystem;
  7063. if test "$enableval" = yes; then
  7064. wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
  7065. else
  7066. wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
  7067. fi
  7068. else
  7069. wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
  7070. fi
  7071. eval "$wx_cv_use_filesystem"
  7072. if test x"$enablestring" = xdisable; then
  7073. if test $wxUSE_FILESYSTEM = no; then
  7074. result=yes
  7075. else
  7076. result=no
  7077. fi
  7078. else
  7079. result=$wxUSE_FILESYSTEM
  7080. fi
  7081. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7082. $as_echo "$result" >&6; }
  7083. enablestring=
  7084. defaultval=$wxUSE_ALL_FEATURES
  7085. if test -z "$defaultval"; then
  7086. if test x"$enablestring" = xdisable; then
  7087. defaultval=yes
  7088. else
  7089. defaultval=no
  7090. fi
  7091. fi
  7092. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontenum" >&5
  7093. $as_echo_n "checking for --${enablestring:-enable}-fontenum... " >&6; }
  7094. # Check whether --enable-fontenum was given.
  7095. if test "${enable_fontenum+set}" = set; then :
  7096. enableval=$enable_fontenum;
  7097. if test "$enableval" = yes; then
  7098. wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
  7099. else
  7100. wx_cv_use_fontenum='wxUSE_FONTENUM=no'
  7101. fi
  7102. else
  7103. wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
  7104. fi
  7105. eval "$wx_cv_use_fontenum"
  7106. if test x"$enablestring" = xdisable; then
  7107. if test $wxUSE_FONTENUM = no; then
  7108. result=yes
  7109. else
  7110. result=no
  7111. fi
  7112. else
  7113. result=$wxUSE_FONTENUM
  7114. fi
  7115. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7116. $as_echo "$result" >&6; }
  7117. enablestring=
  7118. defaultval=$wxUSE_ALL_FEATURES
  7119. if test -z "$defaultval"; then
  7120. if test x"$enablestring" = xdisable; then
  7121. defaultval=yes
  7122. else
  7123. defaultval=no
  7124. fi
  7125. fi
  7126. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontmap" >&5
  7127. $as_echo_n "checking for --${enablestring:-enable}-fontmap... " >&6; }
  7128. # Check whether --enable-fontmap was given.
  7129. if test "${enable_fontmap+set}" = set; then :
  7130. enableval=$enable_fontmap;
  7131. if test "$enableval" = yes; then
  7132. wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
  7133. else
  7134. wx_cv_use_fontmap='wxUSE_FONTMAP=no'
  7135. fi
  7136. else
  7137. wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
  7138. fi
  7139. eval "$wx_cv_use_fontmap"
  7140. if test x"$enablestring" = xdisable; then
  7141. if test $wxUSE_FONTMAP = no; then
  7142. result=yes
  7143. else
  7144. result=no
  7145. fi
  7146. else
  7147. result=$wxUSE_FONTMAP
  7148. fi
  7149. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7150. $as_echo "$result" >&6; }
  7151. enablestring=
  7152. defaultval=$wxUSE_ALL_FEATURES
  7153. if test -z "$defaultval"; then
  7154. if test x"$enablestring" = xdisable; then
  7155. defaultval=yes
  7156. else
  7157. defaultval=no
  7158. fi
  7159. fi
  7160. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_archive" >&5
  7161. $as_echo_n "checking for --${enablestring:-enable}-fs_archive... " >&6; }
  7162. # Check whether --enable-fs_archive was given.
  7163. if test "${enable_fs_archive+set}" = set; then :
  7164. enableval=$enable_fs_archive;
  7165. if test "$enableval" = yes; then
  7166. wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
  7167. else
  7168. wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
  7169. fi
  7170. else
  7171. wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
  7172. fi
  7173. eval "$wx_cv_use_fs_archive"
  7174. if test x"$enablestring" = xdisable; then
  7175. if test $wxUSE_FS_ARCHIVE = no; then
  7176. result=yes
  7177. else
  7178. result=no
  7179. fi
  7180. else
  7181. result=$wxUSE_FS_ARCHIVE
  7182. fi
  7183. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7184. $as_echo "$result" >&6; }
  7185. enablestring=
  7186. defaultval=$wxUSE_ALL_FEATURES
  7187. if test -z "$defaultval"; then
  7188. if test x"$enablestring" = xdisable; then
  7189. defaultval=yes
  7190. else
  7191. defaultval=no
  7192. fi
  7193. fi
  7194. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_inet" >&5
  7195. $as_echo_n "checking for --${enablestring:-enable}-fs_inet... " >&6; }
  7196. # Check whether --enable-fs_inet was given.
  7197. if test "${enable_fs_inet+set}" = set; then :
  7198. enableval=$enable_fs_inet;
  7199. if test "$enableval" = yes; then
  7200. wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
  7201. else
  7202. wx_cv_use_fs_inet='wxUSE_FS_INET=no'
  7203. fi
  7204. else
  7205. wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
  7206. fi
  7207. eval "$wx_cv_use_fs_inet"
  7208. if test x"$enablestring" = xdisable; then
  7209. if test $wxUSE_FS_INET = no; then
  7210. result=yes
  7211. else
  7212. result=no
  7213. fi
  7214. else
  7215. result=$wxUSE_FS_INET
  7216. fi
  7217. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7218. $as_echo "$result" >&6; }
  7219. enablestring=
  7220. defaultval=$wxUSE_ALL_FEATURES
  7221. if test -z "$defaultval"; then
  7222. if test x"$enablestring" = xdisable; then
  7223. defaultval=yes
  7224. else
  7225. defaultval=no
  7226. fi
  7227. fi
  7228. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fs_zip" >&5
  7229. $as_echo_n "checking for --${enablestring:-enable}-fs_zip... " >&6; }
  7230. # Check whether --enable-fs_zip was given.
  7231. if test "${enable_fs_zip+set}" = set; then :
  7232. enableval=$enable_fs_zip;
  7233. if test "$enableval" = yes; then
  7234. wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
  7235. else
  7236. wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
  7237. fi
  7238. else
  7239. wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
  7240. fi
  7241. eval "$wx_cv_use_fs_zip"
  7242. if test x"$enablestring" = xdisable; then
  7243. if test $wxUSE_FS_ZIP = no; then
  7244. result=yes
  7245. else
  7246. result=no
  7247. fi
  7248. else
  7249. result=$wxUSE_FS_ZIP
  7250. fi
  7251. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7252. $as_echo "$result" >&6; }
  7253. enablestring=
  7254. defaultval=$wxUSE_ALL_FEATURES
  7255. if test -z "$defaultval"; then
  7256. if test x"$enablestring" = xdisable; then
  7257. defaultval=yes
  7258. else
  7259. defaultval=no
  7260. fi
  7261. fi
  7262. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fsvolume" >&5
  7263. $as_echo_n "checking for --${enablestring:-enable}-fsvolume... " >&6; }
  7264. # Check whether --enable-fsvolume was given.
  7265. if test "${enable_fsvolume+set}" = set; then :
  7266. enableval=$enable_fsvolume;
  7267. if test "$enableval" = yes; then
  7268. wx_cv_use_fsvolume='wxUSE_FSVOLUME=yes'
  7269. else
  7270. wx_cv_use_fsvolume='wxUSE_FSVOLUME=no'
  7271. fi
  7272. else
  7273. wx_cv_use_fsvolume='wxUSE_FSVOLUME=${'DEFAULT_wxUSE_FSVOLUME":-$defaultval}"
  7274. fi
  7275. eval "$wx_cv_use_fsvolume"
  7276. if test x"$enablestring" = xdisable; then
  7277. if test $wxUSE_FSVOLUME = no; then
  7278. result=yes
  7279. else
  7280. result=no
  7281. fi
  7282. else
  7283. result=$wxUSE_FSVOLUME
  7284. fi
  7285. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7286. $as_echo "$result" >&6; }
  7287. enablestring=
  7288. defaultval=$wxUSE_ALL_FEATURES
  7289. if test -z "$defaultval"; then
  7290. if test x"$enablestring" = xdisable; then
  7291. defaultval=yes
  7292. else
  7293. defaultval=no
  7294. fi
  7295. fi
  7296. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fswatcher" >&5
  7297. $as_echo_n "checking for --${enablestring:-enable}-fswatcher... " >&6; }
  7298. # Check whether --enable-fswatcher was given.
  7299. if test "${enable_fswatcher+set}" = set; then :
  7300. enableval=$enable_fswatcher;
  7301. if test "$enableval" = yes; then
  7302. wx_cv_use_fswatcher='wxUSE_FSWATCHER=yes'
  7303. else
  7304. wx_cv_use_fswatcher='wxUSE_FSWATCHER=no'
  7305. fi
  7306. else
  7307. wx_cv_use_fswatcher='wxUSE_FSWATCHER=${'DEFAULT_wxUSE_FSWATCHER":-$defaultval}"
  7308. fi
  7309. eval "$wx_cv_use_fswatcher"
  7310. if test x"$enablestring" = xdisable; then
  7311. if test $wxUSE_FSWATCHER = no; then
  7312. result=yes
  7313. else
  7314. result=no
  7315. fi
  7316. else
  7317. result=$wxUSE_FSWATCHER
  7318. fi
  7319. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7320. $as_echo "$result" >&6; }
  7321. enablestring=
  7322. defaultval=$wxUSE_ALL_FEATURES
  7323. if test -z "$defaultval"; then
  7324. if test x"$enablestring" = xdisable; then
  7325. defaultval=yes
  7326. else
  7327. defaultval=no
  7328. fi
  7329. fi
  7330. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-geometry" >&5
  7331. $as_echo_n "checking for --${enablestring:-enable}-geometry... " >&6; }
  7332. # Check whether --enable-geometry was given.
  7333. if test "${enable_geometry+set}" = set; then :
  7334. enableval=$enable_geometry;
  7335. if test "$enableval" = yes; then
  7336. wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
  7337. else
  7338. wx_cv_use_geometry='wxUSE_GEOMETRY=no'
  7339. fi
  7340. else
  7341. wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
  7342. fi
  7343. eval "$wx_cv_use_geometry"
  7344. if test x"$enablestring" = xdisable; then
  7345. if test $wxUSE_GEOMETRY = no; then
  7346. result=yes
  7347. else
  7348. result=no
  7349. fi
  7350. else
  7351. result=$wxUSE_GEOMETRY
  7352. fi
  7353. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7354. $as_echo "$result" >&6; }
  7355. enablestring=
  7356. defaultval=$wxUSE_ALL_FEATURES
  7357. if test -z "$defaultval"; then
  7358. if test x"$enablestring" = xdisable; then
  7359. defaultval=yes
  7360. else
  7361. defaultval=no
  7362. fi
  7363. fi
  7364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-log" >&5
  7365. $as_echo_n "checking for --${enablestring:-enable}-log... " >&6; }
  7366. # Check whether --enable-log was given.
  7367. if test "${enable_log+set}" = set; then :
  7368. enableval=$enable_log;
  7369. if test "$enableval" = yes; then
  7370. wx_cv_use_log='wxUSE_LOG=yes'
  7371. else
  7372. wx_cv_use_log='wxUSE_LOG=no'
  7373. fi
  7374. else
  7375. wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
  7376. fi
  7377. eval "$wx_cv_use_log"
  7378. if test x"$enablestring" = xdisable; then
  7379. if test $wxUSE_LOG = no; then
  7380. result=yes
  7381. else
  7382. result=no
  7383. fi
  7384. else
  7385. result=$wxUSE_LOG
  7386. fi
  7387. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7388. $as_echo "$result" >&6; }
  7389. enablestring=
  7390. defaultval=$wxUSE_ALL_FEATURES
  7391. if test -z "$defaultval"; then
  7392. if test x"$enablestring" = xdisable; then
  7393. defaultval=yes
  7394. else
  7395. defaultval=no
  7396. fi
  7397. fi
  7398. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-longlong" >&5
  7399. $as_echo_n "checking for --${enablestring:-enable}-longlong... " >&6; }
  7400. # Check whether --enable-longlong was given.
  7401. if test "${enable_longlong+set}" = set; then :
  7402. enableval=$enable_longlong;
  7403. if test "$enableval" = yes; then
  7404. wx_cv_use_longlong='wxUSE_LONGLONG=yes'
  7405. else
  7406. wx_cv_use_longlong='wxUSE_LONGLONG=no'
  7407. fi
  7408. else
  7409. wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
  7410. fi
  7411. eval "$wx_cv_use_longlong"
  7412. if test x"$enablestring" = xdisable; then
  7413. if test $wxUSE_LONGLONG = no; then
  7414. result=yes
  7415. else
  7416. result=no
  7417. fi
  7418. else
  7419. result=$wxUSE_LONGLONG
  7420. fi
  7421. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7422. $as_echo "$result" >&6; }
  7423. enablestring=
  7424. defaultval=$wxUSE_ALL_FEATURES
  7425. if test -z "$defaultval"; then
  7426. if test x"$enablestring" = xdisable; then
  7427. defaultval=yes
  7428. else
  7429. defaultval=no
  7430. fi
  7431. fi
  7432. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mimetype" >&5
  7433. $as_echo_n "checking for --${enablestring:-enable}-mimetype... " >&6; }
  7434. # Check whether --enable-mimetype was given.
  7435. if test "${enable_mimetype+set}" = set; then :
  7436. enableval=$enable_mimetype;
  7437. if test "$enableval" = yes; then
  7438. wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
  7439. else
  7440. wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
  7441. fi
  7442. else
  7443. wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
  7444. fi
  7445. eval "$wx_cv_use_mimetype"
  7446. if test x"$enablestring" = xdisable; then
  7447. if test $wxUSE_MIMETYPE = no; then
  7448. result=yes
  7449. else
  7450. result=no
  7451. fi
  7452. else
  7453. result=$wxUSE_MIMETYPE
  7454. fi
  7455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7456. $as_echo "$result" >&6; }
  7457. enablestring=
  7458. defaultval=$wxUSE_ALL_FEATURES
  7459. if test -z "$defaultval"; then
  7460. if test x"$enablestring" = xdisable; then
  7461. defaultval=yes
  7462. else
  7463. defaultval=no
  7464. fi
  7465. fi
  7466. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printfposparam" >&5
  7467. $as_echo_n "checking for --${enablestring:-enable}-printfposparam... " >&6; }
  7468. # Check whether --enable-printfposparam was given.
  7469. if test "${enable_printfposparam+set}" = set; then :
  7470. enableval=$enable_printfposparam;
  7471. if test "$enableval" = yes; then
  7472. wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
  7473. else
  7474. wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
  7475. fi
  7476. else
  7477. wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
  7478. fi
  7479. eval "$wx_cv_use_printfposparam"
  7480. if test x"$enablestring" = xdisable; then
  7481. if test $wxUSE_PRINTF_POS_PARAMS = no; then
  7482. result=yes
  7483. else
  7484. result=no
  7485. fi
  7486. else
  7487. result=$wxUSE_PRINTF_POS_PARAMS
  7488. fi
  7489. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7490. $as_echo "$result" >&6; }
  7491. enablestring=
  7492. defaultval=$wxUSE_ALL_FEATURES
  7493. if test -z "$defaultval"; then
  7494. if test x"$enablestring" = xdisable; then
  7495. defaultval=yes
  7496. else
  7497. defaultval=no
  7498. fi
  7499. fi
  7500. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-snglinst" >&5
  7501. $as_echo_n "checking for --${enablestring:-enable}-snglinst... " >&6; }
  7502. # Check whether --enable-snglinst was given.
  7503. if test "${enable_snglinst+set}" = set; then :
  7504. enableval=$enable_snglinst;
  7505. if test "$enableval" = yes; then
  7506. wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
  7507. else
  7508. wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
  7509. fi
  7510. else
  7511. wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
  7512. fi
  7513. eval "$wx_cv_use_snglinst"
  7514. if test x"$enablestring" = xdisable; then
  7515. if test $wxUSE_SNGLINST_CHECKER = no; then
  7516. result=yes
  7517. else
  7518. result=no
  7519. fi
  7520. else
  7521. result=$wxUSE_SNGLINST_CHECKER
  7522. fi
  7523. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7524. $as_echo "$result" >&6; }
  7525. enablestring=
  7526. defaultval=$wxUSE_ALL_FEATURES
  7527. if test -z "$defaultval"; then
  7528. if test x"$enablestring" = xdisable; then
  7529. defaultval=yes
  7530. else
  7531. defaultval=no
  7532. fi
  7533. fi
  7534. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sound" >&5
  7535. $as_echo_n "checking for --${enablestring:-enable}-sound... " >&6; }
  7536. # Check whether --enable-sound was given.
  7537. if test "${enable_sound+set}" = set; then :
  7538. enableval=$enable_sound;
  7539. if test "$enableval" = yes; then
  7540. wx_cv_use_sound='wxUSE_SOUND=yes'
  7541. else
  7542. wx_cv_use_sound='wxUSE_SOUND=no'
  7543. fi
  7544. else
  7545. wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
  7546. fi
  7547. eval "$wx_cv_use_sound"
  7548. if test x"$enablestring" = xdisable; then
  7549. if test $wxUSE_SOUND = no; then
  7550. result=yes
  7551. else
  7552. result=no
  7553. fi
  7554. else
  7555. result=$wxUSE_SOUND
  7556. fi
  7557. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7558. $as_echo "$result" >&6; }
  7559. enablestring=
  7560. defaultval=$wxUSE_ALL_FEATURES
  7561. if test -z "$defaultval"; then
  7562. if test x"$enablestring" = xdisable; then
  7563. defaultval=yes
  7564. else
  7565. defaultval=no
  7566. fi
  7567. fi
  7568. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stdpaths" >&5
  7569. $as_echo_n "checking for --${enablestring:-enable}-stdpaths... " >&6; }
  7570. # Check whether --enable-stdpaths was given.
  7571. if test "${enable_stdpaths+set}" = set; then :
  7572. enableval=$enable_stdpaths;
  7573. if test "$enableval" = yes; then
  7574. wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
  7575. else
  7576. wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
  7577. fi
  7578. else
  7579. wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
  7580. fi
  7581. eval "$wx_cv_use_stdpaths"
  7582. if test x"$enablestring" = xdisable; then
  7583. if test $wxUSE_STDPATHS = no; then
  7584. result=yes
  7585. else
  7586. result=no
  7587. fi
  7588. else
  7589. result=$wxUSE_STDPATHS
  7590. fi
  7591. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7592. $as_echo "$result" >&6; }
  7593. enablestring=
  7594. defaultval=$wxUSE_ALL_FEATURES
  7595. if test -z "$defaultval"; then
  7596. if test x"$enablestring" = xdisable; then
  7597. defaultval=yes
  7598. else
  7599. defaultval=no
  7600. fi
  7601. fi
  7602. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stopwatch" >&5
  7603. $as_echo_n "checking for --${enablestring:-enable}-stopwatch... " >&6; }
  7604. # Check whether --enable-stopwatch was given.
  7605. if test "${enable_stopwatch+set}" = set; then :
  7606. enableval=$enable_stopwatch;
  7607. if test "$enableval" = yes; then
  7608. wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
  7609. else
  7610. wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
  7611. fi
  7612. else
  7613. wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
  7614. fi
  7615. eval "$wx_cv_use_stopwatch"
  7616. if test x"$enablestring" = xdisable; then
  7617. if test $wxUSE_STOPWATCH = no; then
  7618. result=yes
  7619. else
  7620. result=no
  7621. fi
  7622. else
  7623. result=$wxUSE_STOPWATCH
  7624. fi
  7625. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7626. $as_echo "$result" >&6; }
  7627. enablestring=
  7628. defaultval=$wxUSE_ALL_FEATURES
  7629. if test -z "$defaultval"; then
  7630. if test x"$enablestring" = xdisable; then
  7631. defaultval=yes
  7632. else
  7633. defaultval=no
  7634. fi
  7635. fi
  7636. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-streams" >&5
  7637. $as_echo_n "checking for --${enablestring:-enable}-streams... " >&6; }
  7638. # Check whether --enable-streams was given.
  7639. if test "${enable_streams+set}" = set; then :
  7640. enableval=$enable_streams;
  7641. if test "$enableval" = yes; then
  7642. wx_cv_use_streams='wxUSE_STREAMS=yes'
  7643. else
  7644. wx_cv_use_streams='wxUSE_STREAMS=no'
  7645. fi
  7646. else
  7647. wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
  7648. fi
  7649. eval "$wx_cv_use_streams"
  7650. if test x"$enablestring" = xdisable; then
  7651. if test $wxUSE_STREAMS = no; then
  7652. result=yes
  7653. else
  7654. result=no
  7655. fi
  7656. else
  7657. result=$wxUSE_STREAMS
  7658. fi
  7659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7660. $as_echo "$result" >&6; }
  7661. enablestring=
  7662. defaultval=$wxUSE_ALL_FEATURES
  7663. if test -z "$defaultval"; then
  7664. if test x"$enablestring" = xdisable; then
  7665. defaultval=yes
  7666. else
  7667. defaultval=no
  7668. fi
  7669. fi
  7670. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sysoptions" >&5
  7671. $as_echo_n "checking for --${enablestring:-enable}-sysoptions... " >&6; }
  7672. # Check whether --enable-sysoptions was given.
  7673. if test "${enable_sysoptions+set}" = set; then :
  7674. enableval=$enable_sysoptions;
  7675. if test "$enableval" = yes; then
  7676. wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=yes'
  7677. else
  7678. wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=no'
  7679. fi
  7680. else
  7681. wx_cv_use_sysoptions='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
  7682. fi
  7683. eval "$wx_cv_use_sysoptions"
  7684. if test x"$enablestring" = xdisable; then
  7685. if test $wxUSE_SYSTEM_OPTIONS = no; then
  7686. result=yes
  7687. else
  7688. result=no
  7689. fi
  7690. else
  7691. result=$wxUSE_SYSTEM_OPTIONS
  7692. fi
  7693. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7694. $as_echo "$result" >&6; }
  7695. enablestring=
  7696. defaultval=$wxUSE_ALL_FEATURES
  7697. if test -z "$defaultval"; then
  7698. if test x"$enablestring" = xdisable; then
  7699. defaultval=yes
  7700. else
  7701. defaultval=no
  7702. fi
  7703. fi
  7704. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tarstream" >&5
  7705. $as_echo_n "checking for --${enablestring:-enable}-tarstream... " >&6; }
  7706. # Check whether --enable-tarstream was given.
  7707. if test "${enable_tarstream+set}" = set; then :
  7708. enableval=$enable_tarstream;
  7709. if test "$enableval" = yes; then
  7710. wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
  7711. else
  7712. wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
  7713. fi
  7714. else
  7715. wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
  7716. fi
  7717. eval "$wx_cv_use_tarstream"
  7718. if test x"$enablestring" = xdisable; then
  7719. if test $wxUSE_TARSTREAM = no; then
  7720. result=yes
  7721. else
  7722. result=no
  7723. fi
  7724. else
  7725. result=$wxUSE_TARSTREAM
  7726. fi
  7727. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7728. $as_echo "$result" >&6; }
  7729. enablestring=
  7730. defaultval=$wxUSE_ALL_FEATURES
  7731. if test -z "$defaultval"; then
  7732. if test x"$enablestring" = xdisable; then
  7733. defaultval=yes
  7734. else
  7735. defaultval=no
  7736. fi
  7737. fi
  7738. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textbuf" >&5
  7739. $as_echo_n "checking for --${enablestring:-enable}-textbuf... " >&6; }
  7740. # Check whether --enable-textbuf was given.
  7741. if test "${enable_textbuf+set}" = set; then :
  7742. enableval=$enable_textbuf;
  7743. if test "$enableval" = yes; then
  7744. wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
  7745. else
  7746. wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
  7747. fi
  7748. else
  7749. wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
  7750. fi
  7751. eval "$wx_cv_use_textbuf"
  7752. if test x"$enablestring" = xdisable; then
  7753. if test $wxUSE_TEXTBUFFER = no; then
  7754. result=yes
  7755. else
  7756. result=no
  7757. fi
  7758. else
  7759. result=$wxUSE_TEXTBUFFER
  7760. fi
  7761. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7762. $as_echo "$result" >&6; }
  7763. enablestring=
  7764. defaultval=$wxUSE_ALL_FEATURES
  7765. if test -z "$defaultval"; then
  7766. if test x"$enablestring" = xdisable; then
  7767. defaultval=yes
  7768. else
  7769. defaultval=no
  7770. fi
  7771. fi
  7772. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textfile" >&5
  7773. $as_echo_n "checking for --${enablestring:-enable}-textfile... " >&6; }
  7774. # Check whether --enable-textfile was given.
  7775. if test "${enable_textfile+set}" = set; then :
  7776. enableval=$enable_textfile;
  7777. if test "$enableval" = yes; then
  7778. wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
  7779. else
  7780. wx_cv_use_textfile='wxUSE_TEXTFILE=no'
  7781. fi
  7782. else
  7783. wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
  7784. fi
  7785. eval "$wx_cv_use_textfile"
  7786. if test x"$enablestring" = xdisable; then
  7787. if test $wxUSE_TEXTFILE = no; then
  7788. result=yes
  7789. else
  7790. result=no
  7791. fi
  7792. else
  7793. result=$wxUSE_TEXTFILE
  7794. fi
  7795. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7796. $as_echo "$result" >&6; }
  7797. enablestring=
  7798. defaultval=$wxUSE_ALL_FEATURES
  7799. if test -z "$defaultval"; then
  7800. if test x"$enablestring" = xdisable; then
  7801. defaultval=yes
  7802. else
  7803. defaultval=no
  7804. fi
  7805. fi
  7806. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-timer" >&5
  7807. $as_echo_n "checking for --${enablestring:-enable}-timer... " >&6; }
  7808. # Check whether --enable-timer was given.
  7809. if test "${enable_timer+set}" = set; then :
  7810. enableval=$enable_timer;
  7811. if test "$enableval" = yes; then
  7812. wx_cv_use_timer='wxUSE_TIMER=yes'
  7813. else
  7814. wx_cv_use_timer='wxUSE_TIMER=no'
  7815. fi
  7816. else
  7817. wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
  7818. fi
  7819. eval "$wx_cv_use_timer"
  7820. if test x"$enablestring" = xdisable; then
  7821. if test $wxUSE_TIMER = no; then
  7822. result=yes
  7823. else
  7824. result=no
  7825. fi
  7826. else
  7827. result=$wxUSE_TIMER
  7828. fi
  7829. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7830. $as_echo "$result" >&6; }
  7831. enablestring=
  7832. defaultval=$wxUSE_ALL_FEATURES
  7833. if test -z "$defaultval"; then
  7834. if test x"$enablestring" = xdisable; then
  7835. defaultval=yes
  7836. else
  7837. defaultval=no
  7838. fi
  7839. fi
  7840. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-variant" >&5
  7841. $as_echo_n "checking for --${enablestring:-enable}-variant... " >&6; }
  7842. # Check whether --enable-variant was given.
  7843. if test "${enable_variant+set}" = set; then :
  7844. enableval=$enable_variant;
  7845. if test "$enableval" = yes; then
  7846. wx_cv_use_variant='wxUSE_VARIANT=yes'
  7847. else
  7848. wx_cv_use_variant='wxUSE_VARIANT=no'
  7849. fi
  7850. else
  7851. wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
  7852. fi
  7853. eval "$wx_cv_use_variant"
  7854. if test x"$enablestring" = xdisable; then
  7855. if test $wxUSE_VARIANT = no; then
  7856. result=yes
  7857. else
  7858. result=no
  7859. fi
  7860. else
  7861. result=$wxUSE_VARIANT
  7862. fi
  7863. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7864. $as_echo "$result" >&6; }
  7865. enablestring=
  7866. defaultval=$wxUSE_ALL_FEATURES
  7867. if test -z "$defaultval"; then
  7868. if test x"$enablestring" = xdisable; then
  7869. defaultval=yes
  7870. else
  7871. defaultval=no
  7872. fi
  7873. fi
  7874. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-zipstream" >&5
  7875. $as_echo_n "checking for --${enablestring:-enable}-zipstream... " >&6; }
  7876. # Check whether --enable-zipstream was given.
  7877. if test "${enable_zipstream+set}" = set; then :
  7878. enableval=$enable_zipstream;
  7879. if test "$enableval" = yes; then
  7880. wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
  7881. else
  7882. wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
  7883. fi
  7884. else
  7885. wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
  7886. fi
  7887. eval "$wx_cv_use_zipstream"
  7888. if test x"$enablestring" = xdisable; then
  7889. if test $wxUSE_ZIPSTREAM = no; then
  7890. result=yes
  7891. else
  7892. result=no
  7893. fi
  7894. else
  7895. result=$wxUSE_ZIPSTREAM
  7896. fi
  7897. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7898. $as_echo "$result" >&6; }
  7899. enablestring=
  7900. defaultval=$wxUSE_ALL_FEATURES
  7901. if test -z "$defaultval"; then
  7902. if test x"$enablestring" = xdisable; then
  7903. defaultval=yes
  7904. else
  7905. defaultval=no
  7906. fi
  7907. fi
  7908. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-url" >&5
  7909. $as_echo_n "checking for --${enablestring:-enable}-url... " >&6; }
  7910. # Check whether --enable-url was given.
  7911. if test "${enable_url+set}" = set; then :
  7912. enableval=$enable_url;
  7913. if test "$enableval" = yes; then
  7914. wx_cv_use_url='wxUSE_URL=yes'
  7915. else
  7916. wx_cv_use_url='wxUSE_URL=no'
  7917. fi
  7918. else
  7919. wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
  7920. fi
  7921. eval "$wx_cv_use_url"
  7922. if test x"$enablestring" = xdisable; then
  7923. if test $wxUSE_URL = no; then
  7924. result=yes
  7925. else
  7926. result=no
  7927. fi
  7928. else
  7929. result=$wxUSE_URL
  7930. fi
  7931. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7932. $as_echo "$result" >&6; }
  7933. enablestring=
  7934. defaultval=$wxUSE_ALL_FEATURES
  7935. if test -z "$defaultval"; then
  7936. if test x"$enablestring" = xdisable; then
  7937. defaultval=yes
  7938. else
  7939. defaultval=no
  7940. fi
  7941. fi
  7942. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol" >&5
  7943. $as_echo_n "checking for --${enablestring:-enable}-protocol... " >&6; }
  7944. # Check whether --enable-protocol was given.
  7945. if test "${enable_protocol+set}" = set; then :
  7946. enableval=$enable_protocol;
  7947. if test "$enableval" = yes; then
  7948. wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
  7949. else
  7950. wx_cv_use_protocol='wxUSE_PROTOCOL=no'
  7951. fi
  7952. else
  7953. wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
  7954. fi
  7955. eval "$wx_cv_use_protocol"
  7956. if test x"$enablestring" = xdisable; then
  7957. if test $wxUSE_PROTOCOL = no; then
  7958. result=yes
  7959. else
  7960. result=no
  7961. fi
  7962. else
  7963. result=$wxUSE_PROTOCOL
  7964. fi
  7965. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  7966. $as_echo "$result" >&6; }
  7967. enablestring=
  7968. defaultval=$wxUSE_ALL_FEATURES
  7969. if test -z "$defaultval"; then
  7970. if test x"$enablestring" = xdisable; then
  7971. defaultval=yes
  7972. else
  7973. defaultval=no
  7974. fi
  7975. fi
  7976. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_http" >&5
  7977. $as_echo_n "checking for --${enablestring:-enable}-protocol_http... " >&6; }
  7978. # Check whether --enable-protocol_http was given.
  7979. if test "${enable_protocol_http+set}" = set; then :
  7980. enableval=$enable_protocol_http;
  7981. if test "$enableval" = yes; then
  7982. wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
  7983. else
  7984. wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
  7985. fi
  7986. else
  7987. wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
  7988. fi
  7989. eval "$wx_cv_use_protocol_http"
  7990. if test x"$enablestring" = xdisable; then
  7991. if test $wxUSE_PROTOCOL_HTTP = no; then
  7992. result=yes
  7993. else
  7994. result=no
  7995. fi
  7996. else
  7997. result=$wxUSE_PROTOCOL_HTTP
  7998. fi
  7999. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8000. $as_echo "$result" >&6; }
  8001. enablestring=
  8002. defaultval=$wxUSE_ALL_FEATURES
  8003. if test -z "$defaultval"; then
  8004. if test x"$enablestring" = xdisable; then
  8005. defaultval=yes
  8006. else
  8007. defaultval=no
  8008. fi
  8009. fi
  8010. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_ftp" >&5
  8011. $as_echo_n "checking for --${enablestring:-enable}-protocol_ftp... " >&6; }
  8012. # Check whether --enable-protocol_ftp was given.
  8013. if test "${enable_protocol_ftp+set}" = set; then :
  8014. enableval=$enable_protocol_ftp;
  8015. if test "$enableval" = yes; then
  8016. wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
  8017. else
  8018. wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
  8019. fi
  8020. else
  8021. wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
  8022. fi
  8023. eval "$wx_cv_use_protocol_ftp"
  8024. if test x"$enablestring" = xdisable; then
  8025. if test $wxUSE_PROTOCOL_FTP = no; then
  8026. result=yes
  8027. else
  8028. result=no
  8029. fi
  8030. else
  8031. result=$wxUSE_PROTOCOL_FTP
  8032. fi
  8033. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8034. $as_echo "$result" >&6; }
  8035. enablestring=
  8036. defaultval=$wxUSE_ALL_FEATURES
  8037. if test -z "$defaultval"; then
  8038. if test x"$enablestring" = xdisable; then
  8039. defaultval=yes
  8040. else
  8041. defaultval=no
  8042. fi
  8043. fi
  8044. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-protocol_file" >&5
  8045. $as_echo_n "checking for --${enablestring:-enable}-protocol_file... " >&6; }
  8046. # Check whether --enable-protocol_file was given.
  8047. if test "${enable_protocol_file+set}" = set; then :
  8048. enableval=$enable_protocol_file;
  8049. if test "$enableval" = yes; then
  8050. wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
  8051. else
  8052. wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
  8053. fi
  8054. else
  8055. wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
  8056. fi
  8057. eval "$wx_cv_use_protocol_file"
  8058. if test x"$enablestring" = xdisable; then
  8059. if test $wxUSE_PROTOCOL_FILE = no; then
  8060. result=yes
  8061. else
  8062. result=no
  8063. fi
  8064. else
  8065. result=$wxUSE_PROTOCOL_FILE
  8066. fi
  8067. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8068. $as_echo "$result" >&6; }
  8069. enablestring=
  8070. defaultval=$wxUSE_ALL_FEATURES
  8071. if test -z "$defaultval"; then
  8072. if test x"$enablestring" = xdisable; then
  8073. defaultval=yes
  8074. else
  8075. defaultval=no
  8076. fi
  8077. fi
  8078. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-threads" >&5
  8079. $as_echo_n "checking for --${enablestring:-enable}-threads... " >&6; }
  8080. # Check whether --enable-threads was given.
  8081. if test "${enable_threads+set}" = set; then :
  8082. enableval=$enable_threads;
  8083. if test "$enableval" = yes; then
  8084. wx_cv_use_threads='wxUSE_THREADS=yes'
  8085. else
  8086. wx_cv_use_threads='wxUSE_THREADS=no'
  8087. fi
  8088. else
  8089. wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
  8090. fi
  8091. eval "$wx_cv_use_threads"
  8092. if test x"$enablestring" = xdisable; then
  8093. if test $wxUSE_THREADS = no; then
  8094. result=yes
  8095. else
  8096. result=no
  8097. fi
  8098. else
  8099. result=$wxUSE_THREADS
  8100. fi
  8101. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8102. $as_echo "$result" >&6; }
  8103. enablestring=
  8104. defaultval=
  8105. if test -z "$defaultval"; then
  8106. if test x"$enablestring" = xdisable; then
  8107. defaultval=yes
  8108. else
  8109. defaultval=no
  8110. fi
  8111. fi
  8112. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iniconf" >&5
  8113. $as_echo_n "checking for --${enablestring:-enable}-iniconf... " >&6; }
  8114. # Check whether --enable-iniconf was given.
  8115. if test "${enable_iniconf+set}" = set; then :
  8116. enableval=$enable_iniconf;
  8117. if test "$enableval" = yes; then
  8118. wx_cv_use_iniconf='wxUSE_INICONF=yes'
  8119. else
  8120. wx_cv_use_iniconf='wxUSE_INICONF=no'
  8121. fi
  8122. else
  8123. wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
  8124. fi
  8125. eval "$wx_cv_use_iniconf"
  8126. if test x"$enablestring" = xdisable; then
  8127. if test $wxUSE_INICONF = no; then
  8128. result=yes
  8129. else
  8130. result=no
  8131. fi
  8132. else
  8133. result=$wxUSE_INICONF
  8134. fi
  8135. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8136. $as_echo "$result" >&6; }
  8137. enablestring=
  8138. defaultval=$wxUSE_ALL_FEATURES
  8139. if test -z "$defaultval"; then
  8140. if test x"$enablestring" = xdisable; then
  8141. defaultval=yes
  8142. else
  8143. defaultval=no
  8144. fi
  8145. fi
  8146. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-regkey" >&5
  8147. $as_echo_n "checking for --${enablestring:-enable}-regkey... " >&6; }
  8148. # Check whether --enable-regkey was given.
  8149. if test "${enable_regkey+set}" = set; then :
  8150. enableval=$enable_regkey;
  8151. if test "$enableval" = yes; then
  8152. wx_cv_use_regkey='wxUSE_REGKEY=yes'
  8153. else
  8154. wx_cv_use_regkey='wxUSE_REGKEY=no'
  8155. fi
  8156. else
  8157. wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
  8158. fi
  8159. eval "$wx_cv_use_regkey"
  8160. if test x"$enablestring" = xdisable; then
  8161. if test $wxUSE_REGKEY = no; then
  8162. result=yes
  8163. else
  8164. result=no
  8165. fi
  8166. else
  8167. result=$wxUSE_REGKEY
  8168. fi
  8169. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8170. $as_echo "$result" >&6; }
  8171. if test "$wxUSE_GUI" = "yes"; then
  8172. enablestring=
  8173. defaultval=$wxUSE_ALL_FEATURES
  8174. if test -z "$defaultval"; then
  8175. if test x"$enablestring" = xdisable; then
  8176. defaultval=yes
  8177. else
  8178. defaultval=no
  8179. fi
  8180. fi
  8181. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-docview" >&5
  8182. $as_echo_n "checking for --${enablestring:-enable}-docview... " >&6; }
  8183. # Check whether --enable-docview was given.
  8184. if test "${enable_docview+set}" = set; then :
  8185. enableval=$enable_docview;
  8186. if test "$enableval" = yes; then
  8187. wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
  8188. else
  8189. wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
  8190. fi
  8191. else
  8192. wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
  8193. fi
  8194. eval "$wx_cv_use_docview"
  8195. if test x"$enablestring" = xdisable; then
  8196. if test $wxUSE_DOC_VIEW_ARCHITECTURE = no; then
  8197. result=yes
  8198. else
  8199. result=no
  8200. fi
  8201. else
  8202. result=$wxUSE_DOC_VIEW_ARCHITECTURE
  8203. fi
  8204. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8205. $as_echo "$result" >&6; }
  8206. enablestring=
  8207. defaultval=$wxUSE_ALL_FEATURES
  8208. if test -z "$defaultval"; then
  8209. if test x"$enablestring" = xdisable; then
  8210. defaultval=yes
  8211. else
  8212. defaultval=no
  8213. fi
  8214. fi
  8215. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-help" >&5
  8216. $as_echo_n "checking for --${enablestring:-enable}-help... " >&6; }
  8217. # Check whether --enable-help was given.
  8218. if test "${enable_help+set}" = set; then :
  8219. enableval=$enable_help;
  8220. if test "$enableval" = yes; then
  8221. wx_cv_use_help='wxUSE_HELP=yes'
  8222. else
  8223. wx_cv_use_help='wxUSE_HELP=no'
  8224. fi
  8225. else
  8226. wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
  8227. fi
  8228. eval "$wx_cv_use_help"
  8229. if test x"$enablestring" = xdisable; then
  8230. if test $wxUSE_HELP = no; then
  8231. result=yes
  8232. else
  8233. result=no
  8234. fi
  8235. else
  8236. result=$wxUSE_HELP
  8237. fi
  8238. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8239. $as_echo "$result" >&6; }
  8240. enablestring=
  8241. defaultval=$wxUSE_ALL_FEATURES
  8242. if test -z "$defaultval"; then
  8243. if test x"$enablestring" = xdisable; then
  8244. defaultval=yes
  8245. else
  8246. defaultval=no
  8247. fi
  8248. fi
  8249. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mshtmlhelp" >&5
  8250. $as_echo_n "checking for --${enablestring:-enable}-mshtmlhelp... " >&6; }
  8251. # Check whether --enable-mshtmlhelp was given.
  8252. if test "${enable_mshtmlhelp+set}" = set; then :
  8253. enableval=$enable_mshtmlhelp;
  8254. if test "$enableval" = yes; then
  8255. wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
  8256. else
  8257. wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
  8258. fi
  8259. else
  8260. wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
  8261. fi
  8262. eval "$wx_cv_use_mshtmlhelp"
  8263. if test x"$enablestring" = xdisable; then
  8264. if test $wxUSE_MS_HTML_HELP = no; then
  8265. result=yes
  8266. else
  8267. result=no
  8268. fi
  8269. else
  8270. result=$wxUSE_MS_HTML_HELP
  8271. fi
  8272. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8273. $as_echo "$result" >&6; }
  8274. enablestring=
  8275. defaultval=$wxUSE_ALL_FEATURES
  8276. if test -z "$defaultval"; then
  8277. if test x"$enablestring" = xdisable; then
  8278. defaultval=yes
  8279. else
  8280. defaultval=no
  8281. fi
  8282. fi
  8283. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-html" >&5
  8284. $as_echo_n "checking for --${enablestring:-enable}-html... " >&6; }
  8285. # Check whether --enable-html was given.
  8286. if test "${enable_html+set}" = set; then :
  8287. enableval=$enable_html;
  8288. if test "$enableval" = yes; then
  8289. wx_cv_use_html='wxUSE_HTML=yes'
  8290. else
  8291. wx_cv_use_html='wxUSE_HTML=no'
  8292. fi
  8293. else
  8294. wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
  8295. fi
  8296. eval "$wx_cv_use_html"
  8297. if test x"$enablestring" = xdisable; then
  8298. if test $wxUSE_HTML = no; then
  8299. result=yes
  8300. else
  8301. result=no
  8302. fi
  8303. else
  8304. result=$wxUSE_HTML
  8305. fi
  8306. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8307. $as_echo "$result" >&6; }
  8308. enablestring=
  8309. defaultval=$wxUSE_ALL_FEATURES
  8310. if test -z "$defaultval"; then
  8311. if test x"$enablestring" = xdisable; then
  8312. defaultval=yes
  8313. else
  8314. defaultval=no
  8315. fi
  8316. fi
  8317. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-htmlhelp" >&5
  8318. $as_echo_n "checking for --${enablestring:-enable}-htmlhelp... " >&6; }
  8319. # Check whether --enable-htmlhelp was given.
  8320. if test "${enable_htmlhelp+set}" = set; then :
  8321. enableval=$enable_htmlhelp;
  8322. if test "$enableval" = yes; then
  8323. wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
  8324. else
  8325. wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
  8326. fi
  8327. else
  8328. wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
  8329. fi
  8330. eval "$wx_cv_use_htmlhelp"
  8331. if test x"$enablestring" = xdisable; then
  8332. if test $wxUSE_WXHTML_HELP = no; then
  8333. result=yes
  8334. else
  8335. result=no
  8336. fi
  8337. else
  8338. result=$wxUSE_WXHTML_HELP
  8339. fi
  8340. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8341. $as_echo "$result" >&6; }
  8342. enablestring=
  8343. defaultval=$wxUSE_ALL_FEATURES
  8344. if test -z "$defaultval"; then
  8345. if test x"$enablestring" = xdisable; then
  8346. defaultval=yes
  8347. else
  8348. defaultval=no
  8349. fi
  8350. fi
  8351. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xrc" >&5
  8352. $as_echo_n "checking for --${enablestring:-enable}-xrc... " >&6; }
  8353. # Check whether --enable-xrc was given.
  8354. if test "${enable_xrc+set}" = set; then :
  8355. enableval=$enable_xrc;
  8356. if test "$enableval" = yes; then
  8357. wx_cv_use_xrc='wxUSE_XRC=yes'
  8358. else
  8359. wx_cv_use_xrc='wxUSE_XRC=no'
  8360. fi
  8361. else
  8362. wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
  8363. fi
  8364. eval "$wx_cv_use_xrc"
  8365. if test x"$enablestring" = xdisable; then
  8366. if test $wxUSE_XRC = no; then
  8367. result=yes
  8368. else
  8369. result=no
  8370. fi
  8371. else
  8372. result=$wxUSE_XRC
  8373. fi
  8374. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8375. $as_echo "$result" >&6; }
  8376. enablestring=
  8377. defaultval=$wxUSE_ALL_FEATURES
  8378. if test -z "$defaultval"; then
  8379. if test x"$enablestring" = xdisable; then
  8380. defaultval=yes
  8381. else
  8382. defaultval=no
  8383. fi
  8384. fi
  8385. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aui" >&5
  8386. $as_echo_n "checking for --${enablestring:-enable}-aui... " >&6; }
  8387. # Check whether --enable-aui was given.
  8388. if test "${enable_aui+set}" = set; then :
  8389. enableval=$enable_aui;
  8390. if test "$enableval" = yes; then
  8391. wx_cv_use_aui='wxUSE_AUI=yes'
  8392. else
  8393. wx_cv_use_aui='wxUSE_AUI=no'
  8394. fi
  8395. else
  8396. wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
  8397. fi
  8398. eval "$wx_cv_use_aui"
  8399. if test x"$enablestring" = xdisable; then
  8400. if test $wxUSE_AUI = no; then
  8401. result=yes
  8402. else
  8403. result=no
  8404. fi
  8405. else
  8406. result=$wxUSE_AUI
  8407. fi
  8408. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8409. $as_echo "$result" >&6; }
  8410. enablestring=
  8411. defaultval=$wxUSE_ALL_FEATURES
  8412. if test -z "$defaultval"; then
  8413. if test x"$enablestring" = xdisable; then
  8414. defaultval=yes
  8415. else
  8416. defaultval=no
  8417. fi
  8418. fi
  8419. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-propgrid" >&5
  8420. $as_echo_n "checking for --${enablestring:-enable}-propgrid... " >&6; }
  8421. # Check whether --enable-propgrid was given.
  8422. if test "${enable_propgrid+set}" = set; then :
  8423. enableval=$enable_propgrid;
  8424. if test "$enableval" = yes; then
  8425. wx_cv_use_propgrid='wxUSE_PROPGRID=yes'
  8426. else
  8427. wx_cv_use_propgrid='wxUSE_PROPGRID=no'
  8428. fi
  8429. else
  8430. wx_cv_use_propgrid='wxUSE_PROPGRID=${'DEFAULT_wxUSE_PROPGRID":-$defaultval}"
  8431. fi
  8432. eval "$wx_cv_use_propgrid"
  8433. if test x"$enablestring" = xdisable; then
  8434. if test $wxUSE_PROPGRID = no; then
  8435. result=yes
  8436. else
  8437. result=no
  8438. fi
  8439. else
  8440. result=$wxUSE_PROPGRID
  8441. fi
  8442. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8443. $as_echo "$result" >&6; }
  8444. enablestring=
  8445. defaultval=$wxUSE_ALL_FEATURES
  8446. if test -z "$defaultval"; then
  8447. if test x"$enablestring" = xdisable; then
  8448. defaultval=yes
  8449. else
  8450. defaultval=no
  8451. fi
  8452. fi
  8453. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ribbon" >&5
  8454. $as_echo_n "checking for --${enablestring:-enable}-ribbon... " >&6; }
  8455. # Check whether --enable-ribbon was given.
  8456. if test "${enable_ribbon+set}" = set; then :
  8457. enableval=$enable_ribbon;
  8458. if test "$enableval" = yes; then
  8459. wx_cv_use_ribbon='wxUSE_RIBBON=yes'
  8460. else
  8461. wx_cv_use_ribbon='wxUSE_RIBBON=no'
  8462. fi
  8463. else
  8464. wx_cv_use_ribbon='wxUSE_RIBBON=${'DEFAULT_wxUSE_RIBBON":-$defaultval}"
  8465. fi
  8466. eval "$wx_cv_use_ribbon"
  8467. if test x"$enablestring" = xdisable; then
  8468. if test $wxUSE_RIBBON = no; then
  8469. result=yes
  8470. else
  8471. result=no
  8472. fi
  8473. else
  8474. result=$wxUSE_RIBBON
  8475. fi
  8476. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8477. $as_echo "$result" >&6; }
  8478. enablestring=
  8479. defaultval=$wxUSE_ALL_FEATURES
  8480. if test -z "$defaultval"; then
  8481. if test x"$enablestring" = xdisable; then
  8482. defaultval=yes
  8483. else
  8484. defaultval=no
  8485. fi
  8486. fi
  8487. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stc" >&5
  8488. $as_echo_n "checking for --${enablestring:-enable}-stc... " >&6; }
  8489. # Check whether --enable-stc was given.
  8490. if test "${enable_stc+set}" = set; then :
  8491. enableval=$enable_stc;
  8492. if test "$enableval" = yes; then
  8493. wx_cv_use_stc='wxUSE_STC=yes'
  8494. else
  8495. wx_cv_use_stc='wxUSE_STC=no'
  8496. fi
  8497. else
  8498. wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
  8499. fi
  8500. eval "$wx_cv_use_stc"
  8501. if test x"$enablestring" = xdisable; then
  8502. if test $wxUSE_STC = no; then
  8503. result=yes
  8504. else
  8505. result=no
  8506. fi
  8507. else
  8508. result=$wxUSE_STC
  8509. fi
  8510. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8511. $as_echo "$result" >&6; }
  8512. enablestring=
  8513. defaultval=$wxUSE_ALL_FEATURES
  8514. if test -z "$defaultval"; then
  8515. if test x"$enablestring" = xdisable; then
  8516. defaultval=yes
  8517. else
  8518. defaultval=no
  8519. fi
  8520. fi
  8521. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-constraints" >&5
  8522. $as_echo_n "checking for --${enablestring:-enable}-constraints... " >&6; }
  8523. # Check whether --enable-constraints was given.
  8524. if test "${enable_constraints+set}" = set; then :
  8525. enableval=$enable_constraints;
  8526. if test "$enableval" = yes; then
  8527. wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
  8528. else
  8529. wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
  8530. fi
  8531. else
  8532. wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
  8533. fi
  8534. eval "$wx_cv_use_constraints"
  8535. if test x"$enablestring" = xdisable; then
  8536. if test $wxUSE_CONSTRAINTS = no; then
  8537. result=yes
  8538. else
  8539. result=no
  8540. fi
  8541. else
  8542. result=$wxUSE_CONSTRAINTS
  8543. fi
  8544. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8545. $as_echo "$result" >&6; }
  8546. enablestring=
  8547. defaultval=$wxUSE_ALL_FEATURES
  8548. if test -z "$defaultval"; then
  8549. if test x"$enablestring" = xdisable; then
  8550. defaultval=yes
  8551. else
  8552. defaultval=no
  8553. fi
  8554. fi
  8555. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-loggui" >&5
  8556. $as_echo_n "checking for --${enablestring:-enable}-loggui... " >&6; }
  8557. # Check whether --enable-loggui was given.
  8558. if test "${enable_loggui+set}" = set; then :
  8559. enableval=$enable_loggui;
  8560. if test "$enableval" = yes; then
  8561. wx_cv_use_loggui='wxUSE_LOGGUI=yes'
  8562. else
  8563. wx_cv_use_loggui='wxUSE_LOGGUI=no'
  8564. fi
  8565. else
  8566. wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
  8567. fi
  8568. eval "$wx_cv_use_loggui"
  8569. if test x"$enablestring" = xdisable; then
  8570. if test $wxUSE_LOGGUI = no; then
  8571. result=yes
  8572. else
  8573. result=no
  8574. fi
  8575. else
  8576. result=$wxUSE_LOGGUI
  8577. fi
  8578. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8579. $as_echo "$result" >&6; }
  8580. enablestring=
  8581. defaultval=$wxUSE_ALL_FEATURES
  8582. if test -z "$defaultval"; then
  8583. if test x"$enablestring" = xdisable; then
  8584. defaultval=yes
  8585. else
  8586. defaultval=no
  8587. fi
  8588. fi
  8589. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logwin" >&5
  8590. $as_echo_n "checking for --${enablestring:-enable}-logwin... " >&6; }
  8591. # Check whether --enable-logwin was given.
  8592. if test "${enable_logwin+set}" = set; then :
  8593. enableval=$enable_logwin;
  8594. if test "$enableval" = yes; then
  8595. wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
  8596. else
  8597. wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
  8598. fi
  8599. else
  8600. wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
  8601. fi
  8602. eval "$wx_cv_use_logwin"
  8603. if test x"$enablestring" = xdisable; then
  8604. if test $wxUSE_LOGWINDOW = no; then
  8605. result=yes
  8606. else
  8607. result=no
  8608. fi
  8609. else
  8610. result=$wxUSE_LOGWINDOW
  8611. fi
  8612. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8613. $as_echo "$result" >&6; }
  8614. enablestring=
  8615. defaultval=$wxUSE_ALL_FEATURES
  8616. if test -z "$defaultval"; then
  8617. if test x"$enablestring" = xdisable; then
  8618. defaultval=yes
  8619. else
  8620. defaultval=no
  8621. fi
  8622. fi
  8623. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-logdialog" >&5
  8624. $as_echo_n "checking for --${enablestring:-enable}-logdialog... " >&6; }
  8625. # Check whether --enable-logdialog was given.
  8626. if test "${enable_logdialog+set}" = set; then :
  8627. enableval=$enable_logdialog;
  8628. if test "$enableval" = yes; then
  8629. wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
  8630. else
  8631. wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
  8632. fi
  8633. else
  8634. wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
  8635. fi
  8636. eval "$wx_cv_use_logdialog"
  8637. if test x"$enablestring" = xdisable; then
  8638. if test $wxUSE_LOGDIALOG = no; then
  8639. result=yes
  8640. else
  8641. result=no
  8642. fi
  8643. else
  8644. result=$wxUSE_LOGDIALOG
  8645. fi
  8646. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8647. $as_echo "$result" >&6; }
  8648. enablestring=
  8649. defaultval=$wxUSE_ALL_FEATURES
  8650. if test -z "$defaultval"; then
  8651. if test x"$enablestring" = xdisable; then
  8652. defaultval=yes
  8653. else
  8654. defaultval=no
  8655. fi
  8656. fi
  8657. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdi" >&5
  8658. $as_echo_n "checking for --${enablestring:-enable}-mdi... " >&6; }
  8659. # Check whether --enable-mdi was given.
  8660. if test "${enable_mdi+set}" = set; then :
  8661. enableval=$enable_mdi;
  8662. if test "$enableval" = yes; then
  8663. wx_cv_use_mdi='wxUSE_MDI=yes'
  8664. else
  8665. wx_cv_use_mdi='wxUSE_MDI=no'
  8666. fi
  8667. else
  8668. wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
  8669. fi
  8670. eval "$wx_cv_use_mdi"
  8671. if test x"$enablestring" = xdisable; then
  8672. if test $wxUSE_MDI = no; then
  8673. result=yes
  8674. else
  8675. result=no
  8676. fi
  8677. else
  8678. result=$wxUSE_MDI
  8679. fi
  8680. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8681. $as_echo "$result" >&6; }
  8682. enablestring=
  8683. defaultval=$wxUSE_ALL_FEATURES
  8684. if test -z "$defaultval"; then
  8685. if test x"$enablestring" = xdisable; then
  8686. defaultval=yes
  8687. else
  8688. defaultval=no
  8689. fi
  8690. fi
  8691. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mdidoc" >&5
  8692. $as_echo_n "checking for --${enablestring:-enable}-mdidoc... " >&6; }
  8693. # Check whether --enable-mdidoc was given.
  8694. if test "${enable_mdidoc+set}" = set; then :
  8695. enableval=$enable_mdidoc;
  8696. if test "$enableval" = yes; then
  8697. wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
  8698. else
  8699. wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
  8700. fi
  8701. else
  8702. wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
  8703. fi
  8704. eval "$wx_cv_use_mdidoc"
  8705. if test x"$enablestring" = xdisable; then
  8706. if test $wxUSE_MDI_ARCHITECTURE = no; then
  8707. result=yes
  8708. else
  8709. result=no
  8710. fi
  8711. else
  8712. result=$wxUSE_MDI_ARCHITECTURE
  8713. fi
  8714. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8715. $as_echo "$result" >&6; }
  8716. enablestring=
  8717. defaultval=$wxUSE_ALL_FEATURES
  8718. if test -z "$defaultval"; then
  8719. if test x"$enablestring" = xdisable; then
  8720. defaultval=yes
  8721. else
  8722. defaultval=no
  8723. fi
  8724. fi
  8725. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mediactrl" >&5
  8726. $as_echo_n "checking for --${enablestring:-enable}-mediactrl... " >&6; }
  8727. # Check whether --enable-mediactrl was given.
  8728. if test "${enable_mediactrl+set}" = set; then :
  8729. enableval=$enable_mediactrl;
  8730. if test "$enableval" = yes; then
  8731. wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
  8732. else
  8733. wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
  8734. fi
  8735. else
  8736. wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
  8737. fi
  8738. eval "$wx_cv_use_mediactrl"
  8739. if test x"$enablestring" = xdisable; then
  8740. if test $wxUSE_MEDIACTRL = no; then
  8741. result=yes
  8742. else
  8743. result=no
  8744. fi
  8745. else
  8746. result=$wxUSE_MEDIACTRL
  8747. fi
  8748. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8749. $as_echo "$result" >&6; }
  8750. enablestring=
  8751. defaultval=$wxUSE_ALL_FEATURES
  8752. if test -z "$defaultval"; then
  8753. if test x"$enablestring" = xdisable; then
  8754. defaultval=yes
  8755. else
  8756. defaultval=no
  8757. fi
  8758. fi
  8759. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gstreamer8" >&5
  8760. $as_echo_n "checking for --${enablestring:-enable}-gstreamer8... " >&6; }
  8761. # Check whether --enable-gstreamer8 was given.
  8762. if test "${enable_gstreamer8+set}" = set; then :
  8763. enableval=$enable_gstreamer8;
  8764. if test "$enableval" = yes; then
  8765. wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
  8766. else
  8767. wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
  8768. fi
  8769. else
  8770. wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
  8771. fi
  8772. eval "$wx_cv_use_gstreamer8"
  8773. if test x"$enablestring" = xdisable; then
  8774. if test $wxUSE_GSTREAMER8 = no; then
  8775. result=yes
  8776. else
  8777. result=no
  8778. fi
  8779. else
  8780. result=$wxUSE_GSTREAMER8
  8781. fi
  8782. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8783. $as_echo "$result" >&6; }
  8784. enablestring=
  8785. defaultval=$wxUSE_ALL_FEATURES
  8786. if test -z "$defaultval"; then
  8787. if test x"$enablestring" = xdisable; then
  8788. defaultval=yes
  8789. else
  8790. defaultval=no
  8791. fi
  8792. fi
  8793. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtext" >&5
  8794. $as_echo_n "checking for --${enablestring:-enable}-richtext... " >&6; }
  8795. # Check whether --enable-richtext was given.
  8796. if test "${enable_richtext+set}" = set; then :
  8797. enableval=$enable_richtext;
  8798. if test "$enableval" = yes; then
  8799. wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
  8800. else
  8801. wx_cv_use_richtext='wxUSE_RICHTEXT=no'
  8802. fi
  8803. else
  8804. wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
  8805. fi
  8806. eval "$wx_cv_use_richtext"
  8807. if test x"$enablestring" = xdisable; then
  8808. if test $wxUSE_RICHTEXT = no; then
  8809. result=yes
  8810. else
  8811. result=no
  8812. fi
  8813. else
  8814. result=$wxUSE_RICHTEXT
  8815. fi
  8816. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8817. $as_echo "$result" >&6; }
  8818. enablestring=
  8819. defaultval=$wxUSE_ALL_FEATURES
  8820. if test -z "$defaultval"; then
  8821. if test x"$enablestring" = xdisable; then
  8822. defaultval=yes
  8823. else
  8824. defaultval=no
  8825. fi
  8826. fi
  8827. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-postscript" >&5
  8828. $as_echo_n "checking for --${enablestring:-enable}-postscript... " >&6; }
  8829. # Check whether --enable-postscript was given.
  8830. if test "${enable_postscript+set}" = set; then :
  8831. enableval=$enable_postscript;
  8832. if test "$enableval" = yes; then
  8833. wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
  8834. else
  8835. wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
  8836. fi
  8837. else
  8838. wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
  8839. fi
  8840. eval "$wx_cv_use_postscript"
  8841. if test x"$enablestring" = xdisable; then
  8842. if test $wxUSE_POSTSCRIPT = no; then
  8843. result=yes
  8844. else
  8845. result=no
  8846. fi
  8847. else
  8848. result=$wxUSE_POSTSCRIPT
  8849. fi
  8850. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8851. $as_echo "$result" >&6; }
  8852. enablestring=
  8853. defaultval=$wxUSE_ALL_FEATURES
  8854. if test -z "$defaultval"; then
  8855. if test x"$enablestring" = xdisable; then
  8856. defaultval=yes
  8857. else
  8858. defaultval=no
  8859. fi
  8860. fi
  8861. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-printarch" >&5
  8862. $as_echo_n "checking for --${enablestring:-enable}-printarch... " >&6; }
  8863. # Check whether --enable-printarch was given.
  8864. if test "${enable_printarch+set}" = set; then :
  8865. enableval=$enable_printarch;
  8866. if test "$enableval" = yes; then
  8867. wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
  8868. else
  8869. wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
  8870. fi
  8871. else
  8872. wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
  8873. fi
  8874. eval "$wx_cv_use_printarch"
  8875. if test x"$enablestring" = xdisable; then
  8876. if test $wxUSE_PRINTING_ARCHITECTURE = no; then
  8877. result=yes
  8878. else
  8879. result=no
  8880. fi
  8881. else
  8882. result=$wxUSE_PRINTING_ARCHITECTURE
  8883. fi
  8884. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8885. $as_echo "$result" >&6; }
  8886. enablestring=
  8887. defaultval=$wxUSE_ALL_FEATURES
  8888. if test -z "$defaultval"; then
  8889. if test x"$enablestring" = xdisable; then
  8890. defaultval=yes
  8891. else
  8892. defaultval=no
  8893. fi
  8894. fi
  8895. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-svg" >&5
  8896. $as_echo_n "checking for --${enablestring:-enable}-svg... " >&6; }
  8897. # Check whether --enable-svg was given.
  8898. if test "${enable_svg+set}" = set; then :
  8899. enableval=$enable_svg;
  8900. if test "$enableval" = yes; then
  8901. wx_cv_use_svg='wxUSE_SVG=yes'
  8902. else
  8903. wx_cv_use_svg='wxUSE_SVG=no'
  8904. fi
  8905. else
  8906. wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
  8907. fi
  8908. eval "$wx_cv_use_svg"
  8909. if test x"$enablestring" = xdisable; then
  8910. if test $wxUSE_SVG = no; then
  8911. result=yes
  8912. else
  8913. result=no
  8914. fi
  8915. else
  8916. result=$wxUSE_SVG
  8917. fi
  8918. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8919. $as_echo "$result" >&6; }
  8920. enablestring=
  8921. defaultval=$wxUSE_ALL_FEATURES
  8922. if test -z "$defaultval"; then
  8923. if test x"$enablestring" = xdisable; then
  8924. defaultval=yes
  8925. else
  8926. defaultval=no
  8927. fi
  8928. fi
  8929. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webkit" >&5
  8930. $as_echo_n "checking for --${enablestring:-enable}-webkit... " >&6; }
  8931. # Check whether --enable-webkit was given.
  8932. if test "${enable_webkit+set}" = set; then :
  8933. enableval=$enable_webkit;
  8934. if test "$enableval" = yes; then
  8935. wx_cv_use_webkit='wxUSE_WEBKIT=yes'
  8936. else
  8937. wx_cv_use_webkit='wxUSE_WEBKIT=no'
  8938. fi
  8939. else
  8940. wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
  8941. fi
  8942. eval "$wx_cv_use_webkit"
  8943. if test x"$enablestring" = xdisable; then
  8944. if test $wxUSE_WEBKIT = no; then
  8945. result=yes
  8946. else
  8947. result=no
  8948. fi
  8949. else
  8950. result=$wxUSE_WEBKIT
  8951. fi
  8952. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8953. $as_echo "$result" >&6; }
  8954. enablestring=
  8955. defaultval=$wxUSE_ALL_FEATURES
  8956. if test -z "$defaultval"; then
  8957. if test x"$enablestring" = xdisable; then
  8958. defaultval=yes
  8959. else
  8960. defaultval=no
  8961. fi
  8962. fi
  8963. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webview" >&5
  8964. $as_echo_n "checking for --${enablestring:-enable}-webview... " >&6; }
  8965. # Check whether --enable-webview was given.
  8966. if test "${enable_webview+set}" = set; then :
  8967. enableval=$enable_webview;
  8968. if test "$enableval" = yes; then
  8969. wx_cv_use_webview='wxUSE_WEBVIEW=yes'
  8970. else
  8971. wx_cv_use_webview='wxUSE_WEBVIEW=no'
  8972. fi
  8973. else
  8974. wx_cv_use_webview='wxUSE_WEBVIEW=${'DEFAULT_wxUSE_WEBVIEW":-$defaultval}"
  8975. fi
  8976. eval "$wx_cv_use_webview"
  8977. if test x"$enablestring" = xdisable; then
  8978. if test $wxUSE_WEBVIEW = no; then
  8979. result=yes
  8980. else
  8981. result=no
  8982. fi
  8983. else
  8984. result=$wxUSE_WEBVIEW
  8985. fi
  8986. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  8987. $as_echo "$result" >&6; }
  8988. if test "$wxUSE_MAC" != 1; then
  8989. enablestring=
  8990. defaultval=$wxUSE_ALL_FEATURES
  8991. if test -z "$defaultval"; then
  8992. if test x"$enablestring" = xdisable; then
  8993. defaultval=yes
  8994. else
  8995. defaultval=no
  8996. fi
  8997. fi
  8998. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-graphics_ctx" >&5
  8999. $as_echo_n "checking for --${enablestring:-enable}-graphics_ctx... " >&6; }
  9000. # Check whether --enable-graphics_ctx was given.
  9001. if test "${enable_graphics_ctx+set}" = set; then :
  9002. enableval=$enable_graphics_ctx;
  9003. if test "$enableval" = yes; then
  9004. wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
  9005. else
  9006. wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
  9007. fi
  9008. else
  9009. wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
  9010. fi
  9011. eval "$wx_cv_use_graphics_ctx"
  9012. if test x"$enablestring" = xdisable; then
  9013. if test $wxUSE_GRAPHICS_CONTEXT = no; then
  9014. result=yes
  9015. else
  9016. result=no
  9017. fi
  9018. else
  9019. result=$wxUSE_GRAPHICS_CONTEXT
  9020. fi
  9021. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9022. $as_echo "$result" >&6; }
  9023. fi
  9024. enablestring=
  9025. defaultval=$wxUSE_ALL_FEATURES
  9026. if test -z "$defaultval"; then
  9027. if test x"$enablestring" = xdisable; then
  9028. defaultval=yes
  9029. else
  9030. defaultval=no
  9031. fi
  9032. fi
  9033. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-clipboard" >&5
  9034. $as_echo_n "checking for --${enablestring:-enable}-clipboard... " >&6; }
  9035. # Check whether --enable-clipboard was given.
  9036. if test "${enable_clipboard+set}" = set; then :
  9037. enableval=$enable_clipboard;
  9038. if test "$enableval" = yes; then
  9039. wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
  9040. else
  9041. wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
  9042. fi
  9043. else
  9044. wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
  9045. fi
  9046. eval "$wx_cv_use_clipboard"
  9047. if test x"$enablestring" = xdisable; then
  9048. if test $wxUSE_CLIPBOARD = no; then
  9049. result=yes
  9050. else
  9051. result=no
  9052. fi
  9053. else
  9054. result=$wxUSE_CLIPBOARD
  9055. fi
  9056. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9057. $as_echo "$result" >&6; }
  9058. enablestring=
  9059. defaultval=$wxUSE_ALL_FEATURES
  9060. if test -z "$defaultval"; then
  9061. if test x"$enablestring" = xdisable; then
  9062. defaultval=yes
  9063. else
  9064. defaultval=no
  9065. fi
  9066. fi
  9067. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dnd" >&5
  9068. $as_echo_n "checking for --${enablestring:-enable}-dnd... " >&6; }
  9069. # Check whether --enable-dnd was given.
  9070. if test "${enable_dnd+set}" = set; then :
  9071. enableval=$enable_dnd;
  9072. if test "$enableval" = yes; then
  9073. wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
  9074. else
  9075. wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
  9076. fi
  9077. else
  9078. wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
  9079. fi
  9080. eval "$wx_cv_use_dnd"
  9081. if test x"$enablestring" = xdisable; then
  9082. if test $wxUSE_DRAG_AND_DROP = no; then
  9083. result=yes
  9084. else
  9085. result=no
  9086. fi
  9087. else
  9088. result=$wxUSE_DRAG_AND_DROP
  9089. fi
  9090. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9091. $as_echo "$result" >&6; }
  9092. DEFAULT_wxUSE_CONTROLS=none
  9093. enablestring=disable
  9094. defaultval=
  9095. if test -z "$defaultval"; then
  9096. if test x"$enablestring" = xdisable; then
  9097. defaultval=yes
  9098. else
  9099. defaultval=no
  9100. fi
  9101. fi
  9102. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-controls" >&5
  9103. $as_echo_n "checking for --${enablestring:-enable}-controls... " >&6; }
  9104. # Check whether --enable-controls was given.
  9105. if test "${enable_controls+set}" = set; then :
  9106. enableval=$enable_controls;
  9107. if test "$enableval" = yes; then
  9108. wx_cv_use_controls='wxUSE_CONTROLS=yes'
  9109. else
  9110. wx_cv_use_controls='wxUSE_CONTROLS=no'
  9111. fi
  9112. else
  9113. wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
  9114. fi
  9115. eval "$wx_cv_use_controls"
  9116. if test x"$enablestring" = xdisable; then
  9117. if test $wxUSE_CONTROLS = no; then
  9118. result=yes
  9119. else
  9120. result=no
  9121. fi
  9122. else
  9123. result=$wxUSE_CONTROLS
  9124. fi
  9125. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9126. $as_echo "$result" >&6; }
  9127. if test "$wxUSE_CONTROLS" = "no"; then
  9128. DEFAULT_wxUSE_ACCEL=no
  9129. DEFAULT_wxUSE_ANIMATIONCTRL=no
  9130. DEFAULT_wxUSE_BANNERWINDOW=no
  9131. DEFAULT_wxUSE_BMPBUTTON=no
  9132. DEFAULT_wxUSE_BUTTON=no
  9133. DEFAULT_wxUSE_CALCTRL=no
  9134. DEFAULT_wxUSE_CARET=no
  9135. DEFAULT_wxUSE_CHECKBOX=no
  9136. DEFAULT_wxUSE_CHECKLISTBOX=no
  9137. DEFAULT_wxUSE_CHOICE=no
  9138. DEFAULT_wxUSE_CHOICEBOOK=no
  9139. DEFAULT_wxUSE_COLLPANE=no
  9140. DEFAULT_wxUSE_COLOURPICKERCTRL=no
  9141. DEFAULT_wxUSE_COMBOBOX=no
  9142. DEFAULT_wxUSE_COMBOBOX=no
  9143. DEFAULT_wxUSE_COMMANDLINKBUTTON=no
  9144. DEFAULT_wxUSE_DATAVIEWCTRL=no
  9145. DEFAULT_wxUSE_DATEPICKCTRL=no
  9146. DEFAULT_wxUSE_DETECT_SM=no
  9147. DEFAULT_wxUSE_DIRPICKERCTRL=no
  9148. DEFAULT_wxUSE_DISPLAY=no
  9149. DEFAULT_wxUSE_FILECTRL=no
  9150. DEFAULT_wxUSE_FILEPICKERCTRL=no
  9151. DEFAULT_wxUSE_FONTPICKERCTRL=no
  9152. DEFAULT_wxUSE_GAUGE=no
  9153. DEFAULT_wxUSE_GRID=no
  9154. DEFAULT_wxUSE_HEADERCTRL=no
  9155. DEFAULT_wxUSE_HYPERLINKCTRL=no
  9156. DEFAULT_wxUSE_IMAGLIST=no
  9157. DEFAULT_wxUSE_LISTBOOK=no
  9158. DEFAULT_wxUSE_LISTBOX=no
  9159. DEFAULT_wxUSE_LISTCTRL=no
  9160. DEFAULT_wxUSE_MARKUP=no
  9161. DEFAULT_wxUSE_NOTEBOOK=no
  9162. DEFAULT_wxUSE_POPUPWIN=no
  9163. DEFAULT_wxUSE_RADIOBOX=no
  9164. DEFAULT_wxUSE_RADIOBTN=no
  9165. DEFAULT_wxUSE_RICHMSGDLG=no
  9166. DEFAULT_wxUSE_RICHTOOLTIP=no
  9167. DEFAULT_wxUSE_REARRANGECTRL=no
  9168. DEFAULT_wxUSE_SASH=no
  9169. DEFAULT_wxUSE_SCROLLBAR=no
  9170. DEFAULT_wxUSE_SEARCHCTRL=no
  9171. DEFAULT_wxUSE_SLIDER=no
  9172. DEFAULT_wxUSE_SPINBTN=no
  9173. DEFAULT_wxUSE_SPINCTRL=no
  9174. DEFAULT_wxUSE_SPLITTER=no
  9175. DEFAULT_wxUSE_STATBMP=no
  9176. DEFAULT_wxUSE_STATBOX=no
  9177. DEFAULT_wxUSE_STATLINE=no
  9178. DEFAULT_wxUSE_STATUSBAR=no
  9179. DEFAULT_wxUSE_TIMEPICKCTRL=no
  9180. DEFAULT_wxUSE_TIPWINDOW=no
  9181. DEFAULT_wxUSE_TOGGLEBTN=no
  9182. DEFAULT_wxUSE_TOOLBAR=no
  9183. DEFAULT_wxUSE_TOOLBAR_NATIVE=no
  9184. DEFAULT_wxUSE_TOOLBOOK=no
  9185. DEFAULT_wxUSE_TOOLTIPS=no
  9186. DEFAULT_wxUSE_TREEBOOK=no
  9187. DEFAULT_wxUSE_TREECTRL=no
  9188. DEFAULT_wxUSE_TREELISTCTRL=no
  9189. fi
  9190. enablestring=
  9191. defaultval=$wxUSE_ALL_FEATURES
  9192. if test -z "$defaultval"; then
  9193. if test x"$enablestring" = xdisable; then
  9194. defaultval=yes
  9195. else
  9196. defaultval=no
  9197. fi
  9198. fi
  9199. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-markup" >&5
  9200. $as_echo_n "checking for --${enablestring:-enable}-markup... " >&6; }
  9201. # Check whether --enable-markup was given.
  9202. if test "${enable_markup+set}" = set; then :
  9203. enableval=$enable_markup;
  9204. if test "$enableval" = yes; then
  9205. wx_cv_use_markup='wxUSE_MARKUP=yes'
  9206. else
  9207. wx_cv_use_markup='wxUSE_MARKUP=no'
  9208. fi
  9209. else
  9210. wx_cv_use_markup='wxUSE_MARKUP=${'DEFAULT_wxUSE_MARKUP":-$defaultval}"
  9211. fi
  9212. eval "$wx_cv_use_markup"
  9213. if test x"$enablestring" = xdisable; then
  9214. if test $wxUSE_MARKUP = no; then
  9215. result=yes
  9216. else
  9217. result=no
  9218. fi
  9219. else
  9220. result=$wxUSE_MARKUP
  9221. fi
  9222. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9223. $as_echo "$result" >&6; }
  9224. enablestring=
  9225. defaultval=$wxUSE_ALL_FEATURES
  9226. if test -z "$defaultval"; then
  9227. if test x"$enablestring" = xdisable; then
  9228. defaultval=yes
  9229. else
  9230. defaultval=no
  9231. fi
  9232. fi
  9233. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accel" >&5
  9234. $as_echo_n "checking for --${enablestring:-enable}-accel... " >&6; }
  9235. # Check whether --enable-accel was given.
  9236. if test "${enable_accel+set}" = set; then :
  9237. enableval=$enable_accel;
  9238. if test "$enableval" = yes; then
  9239. wx_cv_use_accel='wxUSE_ACCEL=yes'
  9240. else
  9241. wx_cv_use_accel='wxUSE_ACCEL=no'
  9242. fi
  9243. else
  9244. wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
  9245. fi
  9246. eval "$wx_cv_use_accel"
  9247. if test x"$enablestring" = xdisable; then
  9248. if test $wxUSE_ACCEL = no; then
  9249. result=yes
  9250. else
  9251. result=no
  9252. fi
  9253. else
  9254. result=$wxUSE_ACCEL
  9255. fi
  9256. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9257. $as_echo "$result" >&6; }
  9258. enablestring=
  9259. defaultval=$wxUSE_ALL_FEATURES
  9260. if test -z "$defaultval"; then
  9261. if test x"$enablestring" = xdisable; then
  9262. defaultval=yes
  9263. else
  9264. defaultval=no
  9265. fi
  9266. fi
  9267. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-animatectrl" >&5
  9268. $as_echo_n "checking for --${enablestring:-enable}-animatectrl... " >&6; }
  9269. # Check whether --enable-animatectrl was given.
  9270. if test "${enable_animatectrl+set}" = set; then :
  9271. enableval=$enable_animatectrl;
  9272. if test "$enableval" = yes; then
  9273. wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
  9274. else
  9275. wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
  9276. fi
  9277. else
  9278. wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
  9279. fi
  9280. eval "$wx_cv_use_animatectrl"
  9281. if test x"$enablestring" = xdisable; then
  9282. if test $wxUSE_ANIMATIONCTRL = no; then
  9283. result=yes
  9284. else
  9285. result=no
  9286. fi
  9287. else
  9288. result=$wxUSE_ANIMATIONCTRL
  9289. fi
  9290. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9291. $as_echo "$result" >&6; }
  9292. enablestring=
  9293. defaultval=$wxUSE_ALL_FEATURES
  9294. if test -z "$defaultval"; then
  9295. if test x"$enablestring" = xdisable; then
  9296. defaultval=yes
  9297. else
  9298. defaultval=no
  9299. fi
  9300. fi
  9301. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bannerwindow" >&5
  9302. $as_echo_n "checking for --${enablestring:-enable}-bannerwindow... " >&6; }
  9303. # Check whether --enable-bannerwindow was given.
  9304. if test "${enable_bannerwindow+set}" = set; then :
  9305. enableval=$enable_bannerwindow;
  9306. if test "$enableval" = yes; then
  9307. wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=yes'
  9308. else
  9309. wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=no'
  9310. fi
  9311. else
  9312. wx_cv_use_bannerwindow='wxUSE_BANNERWINDOW=${'DEFAULT_wxUSE_BANNERWINDOW":-$defaultval}"
  9313. fi
  9314. eval "$wx_cv_use_bannerwindow"
  9315. if test x"$enablestring" = xdisable; then
  9316. if test $wxUSE_BANNERWINDOW = no; then
  9317. result=yes
  9318. else
  9319. result=no
  9320. fi
  9321. else
  9322. result=$wxUSE_BANNERWINDOW
  9323. fi
  9324. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9325. $as_echo "$result" >&6; }
  9326. enablestring=
  9327. defaultval=$wxUSE_ALL_FEATURES
  9328. if test -z "$defaultval"; then
  9329. if test x"$enablestring" = xdisable; then
  9330. defaultval=yes
  9331. else
  9332. defaultval=no
  9333. fi
  9334. fi
  9335. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-artstd" >&5
  9336. $as_echo_n "checking for --${enablestring:-enable}-artstd... " >&6; }
  9337. # Check whether --enable-artstd was given.
  9338. if test "${enable_artstd+set}" = set; then :
  9339. enableval=$enable_artstd;
  9340. if test "$enableval" = yes; then
  9341. wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=yes'
  9342. else
  9343. wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=no'
  9344. fi
  9345. else
  9346. wx_cv_use_artstd='wxUSE_ARTPROVIDER_STD=${'DEFAULT_wxUSE_ARTPROVIDER_STD":-$defaultval}"
  9347. fi
  9348. eval "$wx_cv_use_artstd"
  9349. if test x"$enablestring" = xdisable; then
  9350. if test $wxUSE_ARTPROVIDER_STD = no; then
  9351. result=yes
  9352. else
  9353. result=no
  9354. fi
  9355. else
  9356. result=$wxUSE_ARTPROVIDER_STD
  9357. fi
  9358. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9359. $as_echo "$result" >&6; }
  9360. enablestring=
  9361. defaultval=$wxUSE_ALL_FEATURES
  9362. if test -z "$defaultval"; then
  9363. if test x"$enablestring" = xdisable; then
  9364. defaultval=yes
  9365. else
  9366. defaultval=no
  9367. fi
  9368. fi
  9369. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-arttango" >&5
  9370. $as_echo_n "checking for --${enablestring:-enable}-arttango... " >&6; }
  9371. # Check whether --enable-arttango was given.
  9372. if test "${enable_arttango+set}" = set; then :
  9373. enableval=$enable_arttango;
  9374. if test "$enableval" = yes; then
  9375. wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=yes'
  9376. else
  9377. wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=no'
  9378. fi
  9379. else
  9380. wx_cv_use_arttango='wxUSE_ARTPROVIDER_TANGO=${'DEFAULT_wxUSE_ARTPROVIDER_TANGO":-$defaultval}"
  9381. fi
  9382. eval "$wx_cv_use_arttango"
  9383. if test x"$enablestring" = xdisable; then
  9384. if test $wxUSE_ARTPROVIDER_TANGO = no; then
  9385. result=yes
  9386. else
  9387. result=no
  9388. fi
  9389. else
  9390. result=$wxUSE_ARTPROVIDER_TANGO
  9391. fi
  9392. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9393. $as_echo "$result" >&6; }
  9394. enablestring=
  9395. defaultval=$wxUSE_ALL_FEATURES
  9396. if test -z "$defaultval"; then
  9397. if test x"$enablestring" = xdisable; then
  9398. defaultval=yes
  9399. else
  9400. defaultval=no
  9401. fi
  9402. fi
  9403. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpbutton" >&5
  9404. $as_echo_n "checking for --${enablestring:-enable}-bmpbutton... " >&6; }
  9405. # Check whether --enable-bmpbutton was given.
  9406. if test "${enable_bmpbutton+set}" = set; then :
  9407. enableval=$enable_bmpbutton;
  9408. if test "$enableval" = yes; then
  9409. wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
  9410. else
  9411. wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
  9412. fi
  9413. else
  9414. wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
  9415. fi
  9416. eval "$wx_cv_use_bmpbutton"
  9417. if test x"$enablestring" = xdisable; then
  9418. if test $wxUSE_BMPBUTTON = no; then
  9419. result=yes
  9420. else
  9421. result=no
  9422. fi
  9423. else
  9424. result=$wxUSE_BMPBUTTON
  9425. fi
  9426. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9427. $as_echo "$result" >&6; }
  9428. enablestring=
  9429. defaultval=$wxUSE_ALL_FEATURES
  9430. if test -z "$defaultval"; then
  9431. if test x"$enablestring" = xdisable; then
  9432. defaultval=yes
  9433. else
  9434. defaultval=no
  9435. fi
  9436. fi
  9437. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-bmpcombobox" >&5
  9438. $as_echo_n "checking for --${enablestring:-enable}-bmpcombobox... " >&6; }
  9439. # Check whether --enable-bmpcombobox was given.
  9440. if test "${enable_bmpcombobox+set}" = set; then :
  9441. enableval=$enable_bmpcombobox;
  9442. if test "$enableval" = yes; then
  9443. wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
  9444. else
  9445. wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
  9446. fi
  9447. else
  9448. wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
  9449. fi
  9450. eval "$wx_cv_use_bmpcombobox"
  9451. if test x"$enablestring" = xdisable; then
  9452. if test $wxUSE_BITMAPCOMBOBOX = no; then
  9453. result=yes
  9454. else
  9455. result=no
  9456. fi
  9457. else
  9458. result=$wxUSE_BITMAPCOMBOBOX
  9459. fi
  9460. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9461. $as_echo "$result" >&6; }
  9462. enablestring=
  9463. defaultval=$wxUSE_ALL_FEATURES
  9464. if test -z "$defaultval"; then
  9465. if test x"$enablestring" = xdisable; then
  9466. defaultval=yes
  9467. else
  9468. defaultval=no
  9469. fi
  9470. fi
  9471. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-button" >&5
  9472. $as_echo_n "checking for --${enablestring:-enable}-button... " >&6; }
  9473. # Check whether --enable-button was given.
  9474. if test "${enable_button+set}" = set; then :
  9475. enableval=$enable_button;
  9476. if test "$enableval" = yes; then
  9477. wx_cv_use_button='wxUSE_BUTTON=yes'
  9478. else
  9479. wx_cv_use_button='wxUSE_BUTTON=no'
  9480. fi
  9481. else
  9482. wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
  9483. fi
  9484. eval "$wx_cv_use_button"
  9485. if test x"$enablestring" = xdisable; then
  9486. if test $wxUSE_BUTTON = no; then
  9487. result=yes
  9488. else
  9489. result=no
  9490. fi
  9491. else
  9492. result=$wxUSE_BUTTON
  9493. fi
  9494. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9495. $as_echo "$result" >&6; }
  9496. enablestring=
  9497. defaultval=$wxUSE_ALL_FEATURES
  9498. if test -z "$defaultval"; then
  9499. if test x"$enablestring" = xdisable; then
  9500. defaultval=yes
  9501. else
  9502. defaultval=no
  9503. fi
  9504. fi
  9505. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-calendar" >&5
  9506. $as_echo_n "checking for --${enablestring:-enable}-calendar... " >&6; }
  9507. # Check whether --enable-calendar was given.
  9508. if test "${enable_calendar+set}" = set; then :
  9509. enableval=$enable_calendar;
  9510. if test "$enableval" = yes; then
  9511. wx_cv_use_calendar='wxUSE_CALCTRL=yes'
  9512. else
  9513. wx_cv_use_calendar='wxUSE_CALCTRL=no'
  9514. fi
  9515. else
  9516. wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
  9517. fi
  9518. eval "$wx_cv_use_calendar"
  9519. if test x"$enablestring" = xdisable; then
  9520. if test $wxUSE_CALCTRL = no; then
  9521. result=yes
  9522. else
  9523. result=no
  9524. fi
  9525. else
  9526. result=$wxUSE_CALCTRL
  9527. fi
  9528. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9529. $as_echo "$result" >&6; }
  9530. enablestring=
  9531. defaultval=$wxUSE_ALL_FEATURES
  9532. if test -z "$defaultval"; then
  9533. if test x"$enablestring" = xdisable; then
  9534. defaultval=yes
  9535. else
  9536. defaultval=no
  9537. fi
  9538. fi
  9539. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-caret" >&5
  9540. $as_echo_n "checking for --${enablestring:-enable}-caret... " >&6; }
  9541. # Check whether --enable-caret was given.
  9542. if test "${enable_caret+set}" = set; then :
  9543. enableval=$enable_caret;
  9544. if test "$enableval" = yes; then
  9545. wx_cv_use_caret='wxUSE_CARET=yes'
  9546. else
  9547. wx_cv_use_caret='wxUSE_CARET=no'
  9548. fi
  9549. else
  9550. wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
  9551. fi
  9552. eval "$wx_cv_use_caret"
  9553. if test x"$enablestring" = xdisable; then
  9554. if test $wxUSE_CARET = no; then
  9555. result=yes
  9556. else
  9557. result=no
  9558. fi
  9559. else
  9560. result=$wxUSE_CARET
  9561. fi
  9562. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9563. $as_echo "$result" >&6; }
  9564. enablestring=
  9565. defaultval=$wxUSE_ALL_FEATURES
  9566. if test -z "$defaultval"; then
  9567. if test x"$enablestring" = xdisable; then
  9568. defaultval=yes
  9569. else
  9570. defaultval=no
  9571. fi
  9572. fi
  9573. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checkbox" >&5
  9574. $as_echo_n "checking for --${enablestring:-enable}-checkbox... " >&6; }
  9575. # Check whether --enable-checkbox was given.
  9576. if test "${enable_checkbox+set}" = set; then :
  9577. enableval=$enable_checkbox;
  9578. if test "$enableval" = yes; then
  9579. wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
  9580. else
  9581. wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
  9582. fi
  9583. else
  9584. wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
  9585. fi
  9586. eval "$wx_cv_use_checkbox"
  9587. if test x"$enablestring" = xdisable; then
  9588. if test $wxUSE_CHECKBOX = no; then
  9589. result=yes
  9590. else
  9591. result=no
  9592. fi
  9593. else
  9594. result=$wxUSE_CHECKBOX
  9595. fi
  9596. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9597. $as_echo "$result" >&6; }
  9598. enablestring=
  9599. defaultval=$wxUSE_ALL_FEATURES
  9600. if test -z "$defaultval"; then
  9601. if test x"$enablestring" = xdisable; then
  9602. defaultval=yes
  9603. else
  9604. defaultval=no
  9605. fi
  9606. fi
  9607. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-checklst" >&5
  9608. $as_echo_n "checking for --${enablestring:-enable}-checklst... " >&6; }
  9609. # Check whether --enable-checklst was given.
  9610. if test "${enable_checklst+set}" = set; then :
  9611. enableval=$enable_checklst;
  9612. if test "$enableval" = yes; then
  9613. wx_cv_use_checklst='wxUSE_CHECKLST=yes'
  9614. else
  9615. wx_cv_use_checklst='wxUSE_CHECKLST=no'
  9616. fi
  9617. else
  9618. wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
  9619. fi
  9620. eval "$wx_cv_use_checklst"
  9621. if test x"$enablestring" = xdisable; then
  9622. if test $wxUSE_CHECKLST = no; then
  9623. result=yes
  9624. else
  9625. result=no
  9626. fi
  9627. else
  9628. result=$wxUSE_CHECKLST
  9629. fi
  9630. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9631. $as_echo "$result" >&6; }
  9632. enablestring=
  9633. defaultval=$wxUSE_ALL_FEATURES
  9634. if test -z "$defaultval"; then
  9635. if test x"$enablestring" = xdisable; then
  9636. defaultval=yes
  9637. else
  9638. defaultval=no
  9639. fi
  9640. fi
  9641. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choice" >&5
  9642. $as_echo_n "checking for --${enablestring:-enable}-choice... " >&6; }
  9643. # Check whether --enable-choice was given.
  9644. if test "${enable_choice+set}" = set; then :
  9645. enableval=$enable_choice;
  9646. if test "$enableval" = yes; then
  9647. wx_cv_use_choice='wxUSE_CHOICE=yes'
  9648. else
  9649. wx_cv_use_choice='wxUSE_CHOICE=no'
  9650. fi
  9651. else
  9652. wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
  9653. fi
  9654. eval "$wx_cv_use_choice"
  9655. if test x"$enablestring" = xdisable; then
  9656. if test $wxUSE_CHOICE = no; then
  9657. result=yes
  9658. else
  9659. result=no
  9660. fi
  9661. else
  9662. result=$wxUSE_CHOICE
  9663. fi
  9664. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9665. $as_echo "$result" >&6; }
  9666. enablestring=
  9667. defaultval=$wxUSE_ALL_FEATURES
  9668. if test -z "$defaultval"; then
  9669. if test x"$enablestring" = xdisable; then
  9670. defaultval=yes
  9671. else
  9672. defaultval=no
  9673. fi
  9674. fi
  9675. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicebook" >&5
  9676. $as_echo_n "checking for --${enablestring:-enable}-choicebook... " >&6; }
  9677. # Check whether --enable-choicebook was given.
  9678. if test "${enable_choicebook+set}" = set; then :
  9679. enableval=$enable_choicebook;
  9680. if test "$enableval" = yes; then
  9681. wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
  9682. else
  9683. wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
  9684. fi
  9685. else
  9686. wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
  9687. fi
  9688. eval "$wx_cv_use_choicebook"
  9689. if test x"$enablestring" = xdisable; then
  9690. if test $wxUSE_CHOICEBOOK = no; then
  9691. result=yes
  9692. else
  9693. result=no
  9694. fi
  9695. else
  9696. result=$wxUSE_CHOICEBOOK
  9697. fi
  9698. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9699. $as_echo "$result" >&6; }
  9700. enablestring=
  9701. defaultval=$wxUSE_ALL_FEATURES
  9702. if test -z "$defaultval"; then
  9703. if test x"$enablestring" = xdisable; then
  9704. defaultval=yes
  9705. else
  9706. defaultval=no
  9707. fi
  9708. fi
  9709. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-collpane" >&5
  9710. $as_echo_n "checking for --${enablestring:-enable}-collpane... " >&6; }
  9711. # Check whether --enable-collpane was given.
  9712. if test "${enable_collpane+set}" = set; then :
  9713. enableval=$enable_collpane;
  9714. if test "$enableval" = yes; then
  9715. wx_cv_use_collpane='wxUSE_COLLPANE=yes'
  9716. else
  9717. wx_cv_use_collpane='wxUSE_COLLPANE=no'
  9718. fi
  9719. else
  9720. wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
  9721. fi
  9722. eval "$wx_cv_use_collpane"
  9723. if test x"$enablestring" = xdisable; then
  9724. if test $wxUSE_COLLPANE = no; then
  9725. result=yes
  9726. else
  9727. result=no
  9728. fi
  9729. else
  9730. result=$wxUSE_COLLPANE
  9731. fi
  9732. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9733. $as_echo "$result" >&6; }
  9734. enablestring=
  9735. defaultval=$wxUSE_ALL_FEATURES
  9736. if test -z "$defaultval"; then
  9737. if test x"$enablestring" = xdisable; then
  9738. defaultval=yes
  9739. else
  9740. defaultval=no
  9741. fi
  9742. fi
  9743. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-colourpicker" >&5
  9744. $as_echo_n "checking for --${enablestring:-enable}-colourpicker... " >&6; }
  9745. # Check whether --enable-colourpicker was given.
  9746. if test "${enable_colourpicker+set}" = set; then :
  9747. enableval=$enable_colourpicker;
  9748. if test "$enableval" = yes; then
  9749. wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
  9750. else
  9751. wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
  9752. fi
  9753. else
  9754. wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
  9755. fi
  9756. eval "$wx_cv_use_colourpicker"
  9757. if test x"$enablestring" = xdisable; then
  9758. if test $wxUSE_COLOURPICKERCTRL = no; then
  9759. result=yes
  9760. else
  9761. result=no
  9762. fi
  9763. else
  9764. result=$wxUSE_COLOURPICKERCTRL
  9765. fi
  9766. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9767. $as_echo "$result" >&6; }
  9768. enablestring=
  9769. defaultval=$wxUSE_ALL_FEATURES
  9770. if test -z "$defaultval"; then
  9771. if test x"$enablestring" = xdisable; then
  9772. defaultval=yes
  9773. else
  9774. defaultval=no
  9775. fi
  9776. fi
  9777. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-combobox" >&5
  9778. $as_echo_n "checking for --${enablestring:-enable}-combobox... " >&6; }
  9779. # Check whether --enable-combobox was given.
  9780. if test "${enable_combobox+set}" = set; then :
  9781. enableval=$enable_combobox;
  9782. if test "$enableval" = yes; then
  9783. wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
  9784. else
  9785. wx_cv_use_combobox='wxUSE_COMBOBOX=no'
  9786. fi
  9787. else
  9788. wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
  9789. fi
  9790. eval "$wx_cv_use_combobox"
  9791. if test x"$enablestring" = xdisable; then
  9792. if test $wxUSE_COMBOBOX = no; then
  9793. result=yes
  9794. else
  9795. result=no
  9796. fi
  9797. else
  9798. result=$wxUSE_COMBOBOX
  9799. fi
  9800. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9801. $as_echo "$result" >&6; }
  9802. enablestring=
  9803. defaultval=$wxUSE_ALL_FEATURES
  9804. if test -z "$defaultval"; then
  9805. if test x"$enablestring" = xdisable; then
  9806. defaultval=yes
  9807. else
  9808. defaultval=no
  9809. fi
  9810. fi
  9811. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-comboctrl" >&5
  9812. $as_echo_n "checking for --${enablestring:-enable}-comboctrl... " >&6; }
  9813. # Check whether --enable-comboctrl was given.
  9814. if test "${enable_comboctrl+set}" = set; then :
  9815. enableval=$enable_comboctrl;
  9816. if test "$enableval" = yes; then
  9817. wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
  9818. else
  9819. wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
  9820. fi
  9821. else
  9822. wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
  9823. fi
  9824. eval "$wx_cv_use_comboctrl"
  9825. if test x"$enablestring" = xdisable; then
  9826. if test $wxUSE_COMBOCTRL = no; then
  9827. result=yes
  9828. else
  9829. result=no
  9830. fi
  9831. else
  9832. result=$wxUSE_COMBOCTRL
  9833. fi
  9834. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9835. $as_echo "$result" >&6; }
  9836. enablestring=
  9837. defaultval=$wxUSE_ALL_FEATURES
  9838. if test -z "$defaultval"; then
  9839. if test x"$enablestring" = xdisable; then
  9840. defaultval=yes
  9841. else
  9842. defaultval=no
  9843. fi
  9844. fi
  9845. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commandlinkbutton" >&5
  9846. $as_echo_n "checking for --${enablestring:-enable}-commandlinkbutton... " >&6; }
  9847. # Check whether --enable-commandlinkbutton was given.
  9848. if test "${enable_commandlinkbutton+set}" = set; then :
  9849. enableval=$enable_commandlinkbutton;
  9850. if test "$enableval" = yes; then
  9851. wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=yes'
  9852. else
  9853. wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=no'
  9854. fi
  9855. else
  9856. wx_cv_use_commandlinkbutton='wxUSE_COMMANDLINKBUTTON=${'DEFAULT_wxUSE_COMMANDLINKBUTTON":-$defaultval}"
  9857. fi
  9858. eval "$wx_cv_use_commandlinkbutton"
  9859. if test x"$enablestring" = xdisable; then
  9860. if test $wxUSE_COMMANDLINKBUTTON = no; then
  9861. result=yes
  9862. else
  9863. result=no
  9864. fi
  9865. else
  9866. result=$wxUSE_COMMANDLINKBUTTON
  9867. fi
  9868. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9869. $as_echo "$result" >&6; }
  9870. enablestring=
  9871. defaultval=$wxUSE_ALL_FEATURES
  9872. if test -z "$defaultval"; then
  9873. if test x"$enablestring" = xdisable; then
  9874. defaultval=yes
  9875. else
  9876. defaultval=no
  9877. fi
  9878. fi
  9879. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dataviewctrl" >&5
  9880. $as_echo_n "checking for --${enablestring:-enable}-dataviewctrl... " >&6; }
  9881. # Check whether --enable-dataviewctrl was given.
  9882. if test "${enable_dataviewctrl+set}" = set; then :
  9883. enableval=$enable_dataviewctrl;
  9884. if test "$enableval" = yes; then
  9885. wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
  9886. else
  9887. wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
  9888. fi
  9889. else
  9890. wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
  9891. fi
  9892. eval "$wx_cv_use_dataviewctrl"
  9893. if test x"$enablestring" = xdisable; then
  9894. if test $wxUSE_DATAVIEWCTRL = no; then
  9895. result=yes
  9896. else
  9897. result=no
  9898. fi
  9899. else
  9900. result=$wxUSE_DATAVIEWCTRL
  9901. fi
  9902. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9903. $as_echo "$result" >&6; }
  9904. enablestring=
  9905. defaultval=$wxUSE_ALL_FEATURES
  9906. if test -z "$defaultval"; then
  9907. if test x"$enablestring" = xdisable; then
  9908. defaultval=yes
  9909. else
  9910. defaultval=no
  9911. fi
  9912. fi
  9913. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
  9914. $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
  9915. # Check whether --enable-datepick was given.
  9916. if test "${enable_datepick+set}" = set; then :
  9917. enableval=$enable_datepick;
  9918. if test "$enableval" = yes; then
  9919. wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
  9920. else
  9921. wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
  9922. fi
  9923. else
  9924. wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
  9925. fi
  9926. eval "$wx_cv_use_datepick"
  9927. if test x"$enablestring" = xdisable; then
  9928. if test $wxUSE_DATEPICKCTRL = no; then
  9929. result=yes
  9930. else
  9931. result=no
  9932. fi
  9933. else
  9934. result=$wxUSE_DATEPICKCTRL
  9935. fi
  9936. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9937. $as_echo "$result" >&6; }
  9938. enablestring=
  9939. defaultval=$wxUSE_ALL_FEATURES
  9940. if test -z "$defaultval"; then
  9941. if test x"$enablestring" = xdisable; then
  9942. defaultval=yes
  9943. else
  9944. defaultval=no
  9945. fi
  9946. fi
  9947. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-detect_sm" >&5
  9948. $as_echo_n "checking for --${enablestring:-enable}-detect_sm... " >&6; }
  9949. # Check whether --enable-detect_sm was given.
  9950. if test "${enable_detect_sm+set}" = set; then :
  9951. enableval=$enable_detect_sm;
  9952. if test "$enableval" = yes; then
  9953. wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
  9954. else
  9955. wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
  9956. fi
  9957. else
  9958. wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
  9959. fi
  9960. eval "$wx_cv_use_detect_sm"
  9961. if test x"$enablestring" = xdisable; then
  9962. if test $wxUSE_DETECT_SM = no; then
  9963. result=yes
  9964. else
  9965. result=no
  9966. fi
  9967. else
  9968. result=$wxUSE_DETECT_SM
  9969. fi
  9970. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  9971. $as_echo "$result" >&6; }
  9972. enablestring=
  9973. defaultval=$wxUSE_ALL_FEATURES
  9974. if test -z "$defaultval"; then
  9975. if test x"$enablestring" = xdisable; then
  9976. defaultval=yes
  9977. else
  9978. defaultval=no
  9979. fi
  9980. fi
  9981. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirpicker" >&5
  9982. $as_echo_n "checking for --${enablestring:-enable}-dirpicker... " >&6; }
  9983. # Check whether --enable-dirpicker was given.
  9984. if test "${enable_dirpicker+set}" = set; then :
  9985. enableval=$enable_dirpicker;
  9986. if test "$enableval" = yes; then
  9987. wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
  9988. else
  9989. wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
  9990. fi
  9991. else
  9992. wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
  9993. fi
  9994. eval "$wx_cv_use_dirpicker"
  9995. if test x"$enablestring" = xdisable; then
  9996. if test $wxUSE_DIRPICKERCTRL = no; then
  9997. result=yes
  9998. else
  9999. result=no
  10000. fi
  10001. else
  10002. result=$wxUSE_DIRPICKERCTRL
  10003. fi
  10004. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10005. $as_echo "$result" >&6; }
  10006. enablestring=
  10007. defaultval=$wxUSE_ALL_FEATURES
  10008. if test -z "$defaultval"; then
  10009. if test x"$enablestring" = xdisable; then
  10010. defaultval=yes
  10011. else
  10012. defaultval=no
  10013. fi
  10014. fi
  10015. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-display" >&5
  10016. $as_echo_n "checking for --${enablestring:-enable}-display... " >&6; }
  10017. # Check whether --enable-display was given.
  10018. if test "${enable_display+set}" = set; then :
  10019. enableval=$enable_display;
  10020. if test "$enableval" = yes; then
  10021. wx_cv_use_display='wxUSE_DISPLAY=yes'
  10022. else
  10023. wx_cv_use_display='wxUSE_DISPLAY=no'
  10024. fi
  10025. else
  10026. wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
  10027. fi
  10028. eval "$wx_cv_use_display"
  10029. if test x"$enablestring" = xdisable; then
  10030. if test $wxUSE_DISPLAY = no; then
  10031. result=yes
  10032. else
  10033. result=no
  10034. fi
  10035. else
  10036. result=$wxUSE_DISPLAY
  10037. fi
  10038. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10039. $as_echo "$result" >&6; }
  10040. enablestring=
  10041. defaultval=$wxUSE_ALL_FEATURES
  10042. if test -z "$defaultval"; then
  10043. if test x"$enablestring" = xdisable; then
  10044. defaultval=yes
  10045. else
  10046. defaultval=no
  10047. fi
  10048. fi
  10049. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-editablebox" >&5
  10050. $as_echo_n "checking for --${enablestring:-enable}-editablebox... " >&6; }
  10051. # Check whether --enable-editablebox was given.
  10052. if test "${enable_editablebox+set}" = set; then :
  10053. enableval=$enable_editablebox;
  10054. if test "$enableval" = yes; then
  10055. wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
  10056. else
  10057. wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
  10058. fi
  10059. else
  10060. wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
  10061. fi
  10062. eval "$wx_cv_use_editablebox"
  10063. if test x"$enablestring" = xdisable; then
  10064. if test $wxUSE_EDITABLELISTBOX = no; then
  10065. result=yes
  10066. else
  10067. result=no
  10068. fi
  10069. else
  10070. result=$wxUSE_EDITABLELISTBOX
  10071. fi
  10072. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10073. $as_echo "$result" >&6; }
  10074. enablestring=
  10075. defaultval=$wxUSE_ALL_FEATURES
  10076. if test -z "$defaultval"; then
  10077. if test x"$enablestring" = xdisable; then
  10078. defaultval=yes
  10079. else
  10080. defaultval=no
  10081. fi
  10082. fi
  10083. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filectrl" >&5
  10084. $as_echo_n "checking for --${enablestring:-enable}-filectrl... " >&6; }
  10085. # Check whether --enable-filectrl was given.
  10086. if test "${enable_filectrl+set}" = set; then :
  10087. enableval=$enable_filectrl;
  10088. if test "$enableval" = yes; then
  10089. wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
  10090. else
  10091. wx_cv_use_filectrl='wxUSE_FILECTRL=no'
  10092. fi
  10093. else
  10094. wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
  10095. fi
  10096. eval "$wx_cv_use_filectrl"
  10097. if test x"$enablestring" = xdisable; then
  10098. if test $wxUSE_FILECTRL = no; then
  10099. result=yes
  10100. else
  10101. result=no
  10102. fi
  10103. else
  10104. result=$wxUSE_FILECTRL
  10105. fi
  10106. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10107. $as_echo "$result" >&6; }
  10108. enablestring=
  10109. defaultval=$wxUSE_ALL_FEATURES
  10110. if test -z "$defaultval"; then
  10111. if test x"$enablestring" = xdisable; then
  10112. defaultval=yes
  10113. else
  10114. defaultval=no
  10115. fi
  10116. fi
  10117. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filepicker" >&5
  10118. $as_echo_n "checking for --${enablestring:-enable}-filepicker... " >&6; }
  10119. # Check whether --enable-filepicker was given.
  10120. if test "${enable_filepicker+set}" = set; then :
  10121. enableval=$enable_filepicker;
  10122. if test "$enableval" = yes; then
  10123. wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
  10124. else
  10125. wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
  10126. fi
  10127. else
  10128. wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
  10129. fi
  10130. eval "$wx_cv_use_filepicker"
  10131. if test x"$enablestring" = xdisable; then
  10132. if test $wxUSE_FILEPICKERCTRL = no; then
  10133. result=yes
  10134. else
  10135. result=no
  10136. fi
  10137. else
  10138. result=$wxUSE_FILEPICKERCTRL
  10139. fi
  10140. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10141. $as_echo "$result" >&6; }
  10142. enablestring=
  10143. defaultval=$wxUSE_ALL_FEATURES
  10144. if test -z "$defaultval"; then
  10145. if test x"$enablestring" = xdisable; then
  10146. defaultval=yes
  10147. else
  10148. defaultval=no
  10149. fi
  10150. fi
  10151. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontpicker" >&5
  10152. $as_echo_n "checking for --${enablestring:-enable}-fontpicker... " >&6; }
  10153. # Check whether --enable-fontpicker was given.
  10154. if test "${enable_fontpicker+set}" = set; then :
  10155. enableval=$enable_fontpicker;
  10156. if test "$enableval" = yes; then
  10157. wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
  10158. else
  10159. wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
  10160. fi
  10161. else
  10162. wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
  10163. fi
  10164. eval "$wx_cv_use_fontpicker"
  10165. if test x"$enablestring" = xdisable; then
  10166. if test $wxUSE_FONTPICKERCTRL = no; then
  10167. result=yes
  10168. else
  10169. result=no
  10170. fi
  10171. else
  10172. result=$wxUSE_FONTPICKERCTRL
  10173. fi
  10174. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10175. $as_echo "$result" >&6; }
  10176. enablestring=
  10177. defaultval=$wxUSE_ALL_FEATURES
  10178. if test -z "$defaultval"; then
  10179. if test x"$enablestring" = xdisable; then
  10180. defaultval=yes
  10181. else
  10182. defaultval=no
  10183. fi
  10184. fi
  10185. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gauge" >&5
  10186. $as_echo_n "checking for --${enablestring:-enable}-gauge... " >&6; }
  10187. # Check whether --enable-gauge was given.
  10188. if test "${enable_gauge+set}" = set; then :
  10189. enableval=$enable_gauge;
  10190. if test "$enableval" = yes; then
  10191. wx_cv_use_gauge='wxUSE_GAUGE=yes'
  10192. else
  10193. wx_cv_use_gauge='wxUSE_GAUGE=no'
  10194. fi
  10195. else
  10196. wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
  10197. fi
  10198. eval "$wx_cv_use_gauge"
  10199. if test x"$enablestring" = xdisable; then
  10200. if test $wxUSE_GAUGE = no; then
  10201. result=yes
  10202. else
  10203. result=no
  10204. fi
  10205. else
  10206. result=$wxUSE_GAUGE
  10207. fi
  10208. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10209. $as_echo "$result" >&6; }
  10210. enablestring=
  10211. defaultval=$wxUSE_ALL_FEATURES
  10212. if test -z "$defaultval"; then
  10213. if test x"$enablestring" = xdisable; then
  10214. defaultval=yes
  10215. else
  10216. defaultval=no
  10217. fi
  10218. fi
  10219. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-grid" >&5
  10220. $as_echo_n "checking for --${enablestring:-enable}-grid... " >&6; }
  10221. # Check whether --enable-grid was given.
  10222. if test "${enable_grid+set}" = set; then :
  10223. enableval=$enable_grid;
  10224. if test "$enableval" = yes; then
  10225. wx_cv_use_grid='wxUSE_GRID=yes'
  10226. else
  10227. wx_cv_use_grid='wxUSE_GRID=no'
  10228. fi
  10229. else
  10230. wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
  10231. fi
  10232. eval "$wx_cv_use_grid"
  10233. if test x"$enablestring" = xdisable; then
  10234. if test $wxUSE_GRID = no; then
  10235. result=yes
  10236. else
  10237. result=no
  10238. fi
  10239. else
  10240. result=$wxUSE_GRID
  10241. fi
  10242. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10243. $as_echo "$result" >&6; }
  10244. enablestring=
  10245. defaultval=$wxUSE_ALL_FEATURES
  10246. if test -z "$defaultval"; then
  10247. if test x"$enablestring" = xdisable; then
  10248. defaultval=yes
  10249. else
  10250. defaultval=no
  10251. fi
  10252. fi
  10253. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-headerctrl" >&5
  10254. $as_echo_n "checking for --${enablestring:-enable}-headerctrl... " >&6; }
  10255. # Check whether --enable-headerctrl was given.
  10256. if test "${enable_headerctrl+set}" = set; then :
  10257. enableval=$enable_headerctrl;
  10258. if test "$enableval" = yes; then
  10259. wx_cv_use_headerctrl='wxUSE_HEADERCTRL=yes'
  10260. else
  10261. wx_cv_use_headerctrl='wxUSE_HEADERCTRL=no'
  10262. fi
  10263. else
  10264. wx_cv_use_headerctrl='wxUSE_HEADERCTRL=${'DEFAULT_wxUSE_HEADERCTRL":-$defaultval}"
  10265. fi
  10266. eval "$wx_cv_use_headerctrl"
  10267. if test x"$enablestring" = xdisable; then
  10268. if test $wxUSE_HEADERCTRL = no; then
  10269. result=yes
  10270. else
  10271. result=no
  10272. fi
  10273. else
  10274. result=$wxUSE_HEADERCTRL
  10275. fi
  10276. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10277. $as_echo "$result" >&6; }
  10278. enablestring=
  10279. defaultval=$wxUSE_ALL_FEATURES
  10280. if test -z "$defaultval"; then
  10281. if test x"$enablestring" = xdisable; then
  10282. defaultval=yes
  10283. else
  10284. defaultval=no
  10285. fi
  10286. fi
  10287. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hyperlink" >&5
  10288. $as_echo_n "checking for --${enablestring:-enable}-hyperlink... " >&6; }
  10289. # Check whether --enable-hyperlink was given.
  10290. if test "${enable_hyperlink+set}" = set; then :
  10291. enableval=$enable_hyperlink;
  10292. if test "$enableval" = yes; then
  10293. wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
  10294. else
  10295. wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
  10296. fi
  10297. else
  10298. wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
  10299. fi
  10300. eval "$wx_cv_use_hyperlink"
  10301. if test x"$enablestring" = xdisable; then
  10302. if test $wxUSE_HYPERLINKCTRL = no; then
  10303. result=yes
  10304. else
  10305. result=no
  10306. fi
  10307. else
  10308. result=$wxUSE_HYPERLINKCTRL
  10309. fi
  10310. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10311. $as_echo "$result" >&6; }
  10312. enablestring=
  10313. defaultval=$wxUSE_ALL_FEATURES
  10314. if test -z "$defaultval"; then
  10315. if test x"$enablestring" = xdisable; then
  10316. defaultval=yes
  10317. else
  10318. defaultval=no
  10319. fi
  10320. fi
  10321. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-imaglist" >&5
  10322. $as_echo_n "checking for --${enablestring:-enable}-imaglist... " >&6; }
  10323. # Check whether --enable-imaglist was given.
  10324. if test "${enable_imaglist+set}" = set; then :
  10325. enableval=$enable_imaglist;
  10326. if test "$enableval" = yes; then
  10327. wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
  10328. else
  10329. wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
  10330. fi
  10331. else
  10332. wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
  10333. fi
  10334. eval "$wx_cv_use_imaglist"
  10335. if test x"$enablestring" = xdisable; then
  10336. if test $wxUSE_IMAGLIST = no; then
  10337. result=yes
  10338. else
  10339. result=no
  10340. fi
  10341. else
  10342. result=$wxUSE_IMAGLIST
  10343. fi
  10344. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10345. $as_echo "$result" >&6; }
  10346. enablestring=
  10347. defaultval=$wxUSE_ALL_FEATURES
  10348. if test -z "$defaultval"; then
  10349. if test x"$enablestring" = xdisable; then
  10350. defaultval=yes
  10351. else
  10352. defaultval=no
  10353. fi
  10354. fi
  10355. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-infobar" >&5
  10356. $as_echo_n "checking for --${enablestring:-enable}-infobar... " >&6; }
  10357. # Check whether --enable-infobar was given.
  10358. if test "${enable_infobar+set}" = set; then :
  10359. enableval=$enable_infobar;
  10360. if test "$enableval" = yes; then
  10361. wx_cv_use_infobar='wxUSE_INFOBAR=yes'
  10362. else
  10363. wx_cv_use_infobar='wxUSE_INFOBAR=no'
  10364. fi
  10365. else
  10366. wx_cv_use_infobar='wxUSE_INFOBAR=${'DEFAULT_wxUSE_INFOBAR":-$defaultval}"
  10367. fi
  10368. eval "$wx_cv_use_infobar"
  10369. if test x"$enablestring" = xdisable; then
  10370. if test $wxUSE_INFOBAR = no; then
  10371. result=yes
  10372. else
  10373. result=no
  10374. fi
  10375. else
  10376. result=$wxUSE_INFOBAR
  10377. fi
  10378. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10379. $as_echo "$result" >&6; }
  10380. enablestring=
  10381. defaultval=$wxUSE_ALL_FEATURES
  10382. if test -z "$defaultval"; then
  10383. if test x"$enablestring" = xdisable; then
  10384. defaultval=yes
  10385. else
  10386. defaultval=no
  10387. fi
  10388. fi
  10389. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbook" >&5
  10390. $as_echo_n "checking for --${enablestring:-enable}-listbook... " >&6; }
  10391. # Check whether --enable-listbook was given.
  10392. if test "${enable_listbook+set}" = set; then :
  10393. enableval=$enable_listbook;
  10394. if test "$enableval" = yes; then
  10395. wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
  10396. else
  10397. wx_cv_use_listbook='wxUSE_LISTBOOK=no'
  10398. fi
  10399. else
  10400. wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
  10401. fi
  10402. eval "$wx_cv_use_listbook"
  10403. if test x"$enablestring" = xdisable; then
  10404. if test $wxUSE_LISTBOOK = no; then
  10405. result=yes
  10406. else
  10407. result=no
  10408. fi
  10409. else
  10410. result=$wxUSE_LISTBOOK
  10411. fi
  10412. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10413. $as_echo "$result" >&6; }
  10414. enablestring=
  10415. defaultval=$wxUSE_ALL_FEATURES
  10416. if test -z "$defaultval"; then
  10417. if test x"$enablestring" = xdisable; then
  10418. defaultval=yes
  10419. else
  10420. defaultval=no
  10421. fi
  10422. fi
  10423. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listbox" >&5
  10424. $as_echo_n "checking for --${enablestring:-enable}-listbox... " >&6; }
  10425. # Check whether --enable-listbox was given.
  10426. if test "${enable_listbox+set}" = set; then :
  10427. enableval=$enable_listbox;
  10428. if test "$enableval" = yes; then
  10429. wx_cv_use_listbox='wxUSE_LISTBOX=yes'
  10430. else
  10431. wx_cv_use_listbox='wxUSE_LISTBOX=no'
  10432. fi
  10433. else
  10434. wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
  10435. fi
  10436. eval "$wx_cv_use_listbox"
  10437. if test x"$enablestring" = xdisable; then
  10438. if test $wxUSE_LISTBOX = no; then
  10439. result=yes
  10440. else
  10441. result=no
  10442. fi
  10443. else
  10444. result=$wxUSE_LISTBOX
  10445. fi
  10446. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10447. $as_echo "$result" >&6; }
  10448. enablestring=
  10449. defaultval=$wxUSE_ALL_FEATURES
  10450. if test -z "$defaultval"; then
  10451. if test x"$enablestring" = xdisable; then
  10452. defaultval=yes
  10453. else
  10454. defaultval=no
  10455. fi
  10456. fi
  10457. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-listctrl" >&5
  10458. $as_echo_n "checking for --${enablestring:-enable}-listctrl... " >&6; }
  10459. # Check whether --enable-listctrl was given.
  10460. if test "${enable_listctrl+set}" = set; then :
  10461. enableval=$enable_listctrl;
  10462. if test "$enableval" = yes; then
  10463. wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
  10464. else
  10465. wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
  10466. fi
  10467. else
  10468. wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
  10469. fi
  10470. eval "$wx_cv_use_listctrl"
  10471. if test x"$enablestring" = xdisable; then
  10472. if test $wxUSE_LISTCTRL = no; then
  10473. result=yes
  10474. else
  10475. result=no
  10476. fi
  10477. else
  10478. result=$wxUSE_LISTCTRL
  10479. fi
  10480. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10481. $as_echo "$result" >&6; }
  10482. enablestring=
  10483. defaultval=$wxUSE_ALL_FEATURES
  10484. if test -z "$defaultval"; then
  10485. if test x"$enablestring" = xdisable; then
  10486. defaultval=yes
  10487. else
  10488. defaultval=no
  10489. fi
  10490. fi
  10491. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notebook" >&5
  10492. $as_echo_n "checking for --${enablestring:-enable}-notebook... " >&6; }
  10493. # Check whether --enable-notebook was given.
  10494. if test "${enable_notebook+set}" = set; then :
  10495. enableval=$enable_notebook;
  10496. if test "$enableval" = yes; then
  10497. wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
  10498. else
  10499. wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
  10500. fi
  10501. else
  10502. wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
  10503. fi
  10504. eval "$wx_cv_use_notebook"
  10505. if test x"$enablestring" = xdisable; then
  10506. if test $wxUSE_NOTEBOOK = no; then
  10507. result=yes
  10508. else
  10509. result=no
  10510. fi
  10511. else
  10512. result=$wxUSE_NOTEBOOK
  10513. fi
  10514. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10515. $as_echo "$result" >&6; }
  10516. enablestring=
  10517. defaultval=$wxUSE_ALL_FEATURES
  10518. if test -z "$defaultval"; then
  10519. if test x"$enablestring" = xdisable; then
  10520. defaultval=yes
  10521. else
  10522. defaultval=no
  10523. fi
  10524. fi
  10525. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-notifmsg" >&5
  10526. $as_echo_n "checking for --${enablestring:-enable}-notifmsg... " >&6; }
  10527. # Check whether --enable-notifmsg was given.
  10528. if test "${enable_notifmsg+set}" = set; then :
  10529. enableval=$enable_notifmsg;
  10530. if test "$enableval" = yes; then
  10531. wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
  10532. else
  10533. wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
  10534. fi
  10535. else
  10536. wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
  10537. fi
  10538. eval "$wx_cv_use_notifmsg"
  10539. if test x"$enablestring" = xdisable; then
  10540. if test $wxUSE_NOTIFICATION_MESSAGE = no; then
  10541. result=yes
  10542. else
  10543. result=no
  10544. fi
  10545. else
  10546. result=$wxUSE_NOTIFICATION_MESSAGE
  10547. fi
  10548. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10549. $as_echo "$result" >&6; }
  10550. enablestring=
  10551. defaultval=$wxUSE_ALL_FEATURES
  10552. if test -z "$defaultval"; then
  10553. if test x"$enablestring" = xdisable; then
  10554. defaultval=yes
  10555. else
  10556. defaultval=no
  10557. fi
  10558. fi
  10559. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-odcombobox" >&5
  10560. $as_echo_n "checking for --${enablestring:-enable}-odcombobox... " >&6; }
  10561. # Check whether --enable-odcombobox was given.
  10562. if test "${enable_odcombobox+set}" = set; then :
  10563. enableval=$enable_odcombobox;
  10564. if test "$enableval" = yes; then
  10565. wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
  10566. else
  10567. wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
  10568. fi
  10569. else
  10570. wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
  10571. fi
  10572. eval "$wx_cv_use_odcombobox"
  10573. if test x"$enablestring" = xdisable; then
  10574. if test $wxUSE_ODCOMBOBOX = no; then
  10575. result=yes
  10576. else
  10577. result=no
  10578. fi
  10579. else
  10580. result=$wxUSE_ODCOMBOBOX
  10581. fi
  10582. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10583. $as_echo "$result" >&6; }
  10584. enablestring=
  10585. defaultval=$wxUSE_ALL_FEATURES
  10586. if test -z "$defaultval"; then
  10587. if test x"$enablestring" = xdisable; then
  10588. defaultval=yes
  10589. else
  10590. defaultval=no
  10591. fi
  10592. fi
  10593. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-popupwin" >&5
  10594. $as_echo_n "checking for --${enablestring:-enable}-popupwin... " >&6; }
  10595. # Check whether --enable-popupwin was given.
  10596. if test "${enable_popupwin+set}" = set; then :
  10597. enableval=$enable_popupwin;
  10598. if test "$enableval" = yes; then
  10599. wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
  10600. else
  10601. wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
  10602. fi
  10603. else
  10604. wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
  10605. fi
  10606. eval "$wx_cv_use_popupwin"
  10607. if test x"$enablestring" = xdisable; then
  10608. if test $wxUSE_POPUPWIN = no; then
  10609. result=yes
  10610. else
  10611. result=no
  10612. fi
  10613. else
  10614. result=$wxUSE_POPUPWIN
  10615. fi
  10616. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10617. $as_echo "$result" >&6; }
  10618. enablestring=
  10619. defaultval=$wxUSE_ALL_FEATURES
  10620. if test -z "$defaultval"; then
  10621. if test x"$enablestring" = xdisable; then
  10622. defaultval=yes
  10623. else
  10624. defaultval=no
  10625. fi
  10626. fi
  10627. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-prefseditor" >&5
  10628. $as_echo_n "checking for --${enablestring:-enable}-prefseditor... " >&6; }
  10629. # Check whether --enable-prefseditor was given.
  10630. if test "${enable_prefseditor+set}" = set; then :
  10631. enableval=$enable_prefseditor;
  10632. if test "$enableval" = yes; then
  10633. wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=yes'
  10634. else
  10635. wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=no'
  10636. fi
  10637. else
  10638. wx_cv_use_prefseditor='wxUSE_PREFERENCES_EDITOR=${'DEFAULT_wxUSE_PREFERENCES_EDITOR":-$defaultval}"
  10639. fi
  10640. eval "$wx_cv_use_prefseditor"
  10641. if test x"$enablestring" = xdisable; then
  10642. if test $wxUSE_PREFERENCES_EDITOR = no; then
  10643. result=yes
  10644. else
  10645. result=no
  10646. fi
  10647. else
  10648. result=$wxUSE_PREFERENCES_EDITOR
  10649. fi
  10650. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10651. $as_echo "$result" >&6; }
  10652. enablestring=
  10653. defaultval=$wxUSE_ALL_FEATURES
  10654. if test -z "$defaultval"; then
  10655. if test x"$enablestring" = xdisable; then
  10656. defaultval=yes
  10657. else
  10658. defaultval=no
  10659. fi
  10660. fi
  10661. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobox" >&5
  10662. $as_echo_n "checking for --${enablestring:-enable}-radiobox... " >&6; }
  10663. # Check whether --enable-radiobox was given.
  10664. if test "${enable_radiobox+set}" = set; then :
  10665. enableval=$enable_radiobox;
  10666. if test "$enableval" = yes; then
  10667. wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
  10668. else
  10669. wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
  10670. fi
  10671. else
  10672. wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
  10673. fi
  10674. eval "$wx_cv_use_radiobox"
  10675. if test x"$enablestring" = xdisable; then
  10676. if test $wxUSE_RADIOBOX = no; then
  10677. result=yes
  10678. else
  10679. result=no
  10680. fi
  10681. else
  10682. result=$wxUSE_RADIOBOX
  10683. fi
  10684. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10685. $as_echo "$result" >&6; }
  10686. enablestring=
  10687. defaultval=$wxUSE_ALL_FEATURES
  10688. if test -z "$defaultval"; then
  10689. if test x"$enablestring" = xdisable; then
  10690. defaultval=yes
  10691. else
  10692. defaultval=no
  10693. fi
  10694. fi
  10695. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-radiobtn" >&5
  10696. $as_echo_n "checking for --${enablestring:-enable}-radiobtn... " >&6; }
  10697. # Check whether --enable-radiobtn was given.
  10698. if test "${enable_radiobtn+set}" = set; then :
  10699. enableval=$enable_radiobtn;
  10700. if test "$enableval" = yes; then
  10701. wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
  10702. else
  10703. wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
  10704. fi
  10705. else
  10706. wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
  10707. fi
  10708. eval "$wx_cv_use_radiobtn"
  10709. if test x"$enablestring" = xdisable; then
  10710. if test $wxUSE_RADIOBTN = no; then
  10711. result=yes
  10712. else
  10713. result=no
  10714. fi
  10715. else
  10716. result=$wxUSE_RADIOBTN
  10717. fi
  10718. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10719. $as_echo "$result" >&6; }
  10720. enablestring=
  10721. defaultval=$wxUSE_ALL_FEATURES
  10722. if test -z "$defaultval"; then
  10723. if test x"$enablestring" = xdisable; then
  10724. defaultval=yes
  10725. else
  10726. defaultval=no
  10727. fi
  10728. fi
  10729. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richmsgdlg" >&5
  10730. $as_echo_n "checking for --${enablestring:-enable}-richmsgdlg... " >&6; }
  10731. # Check whether --enable-richmsgdlg was given.
  10732. if test "${enable_richmsgdlg+set}" = set; then :
  10733. enableval=$enable_richmsgdlg;
  10734. if test "$enableval" = yes; then
  10735. wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=yes'
  10736. else
  10737. wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=no'
  10738. fi
  10739. else
  10740. wx_cv_use_richmsgdlg='wxUSE_RICHMSGDLG=${'DEFAULT_wxUSE_RICHMSGDLG":-$defaultval}"
  10741. fi
  10742. eval "$wx_cv_use_richmsgdlg"
  10743. if test x"$enablestring" = xdisable; then
  10744. if test $wxUSE_RICHMSGDLG = no; then
  10745. result=yes
  10746. else
  10747. result=no
  10748. fi
  10749. else
  10750. result=$wxUSE_RICHMSGDLG
  10751. fi
  10752. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10753. $as_echo "$result" >&6; }
  10754. enablestring=
  10755. defaultval=$wxUSE_ALL_FEATURES
  10756. if test -z "$defaultval"; then
  10757. if test x"$enablestring" = xdisable; then
  10758. defaultval=yes
  10759. else
  10760. defaultval=no
  10761. fi
  10762. fi
  10763. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-richtooltip" >&5
  10764. $as_echo_n "checking for --${enablestring:-enable}-richtooltip... " >&6; }
  10765. # Check whether --enable-richtooltip was given.
  10766. if test "${enable_richtooltip+set}" = set; then :
  10767. enableval=$enable_richtooltip;
  10768. if test "$enableval" = yes; then
  10769. wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=yes'
  10770. else
  10771. wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=no'
  10772. fi
  10773. else
  10774. wx_cv_use_richtooltip='wxUSE_RICHTOOLTIP=${'DEFAULT_wxUSE_RICHTOOLTIP":-$defaultval}"
  10775. fi
  10776. eval "$wx_cv_use_richtooltip"
  10777. if test x"$enablestring" = xdisable; then
  10778. if test $wxUSE_RICHTOOLTIP = no; then
  10779. result=yes
  10780. else
  10781. result=no
  10782. fi
  10783. else
  10784. result=$wxUSE_RICHTOOLTIP
  10785. fi
  10786. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10787. $as_echo "$result" >&6; }
  10788. enablestring=
  10789. defaultval=$wxUSE_ALL_FEATURES
  10790. if test -z "$defaultval"; then
  10791. if test x"$enablestring" = xdisable; then
  10792. defaultval=yes
  10793. else
  10794. defaultval=no
  10795. fi
  10796. fi
  10797. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-rearrangectrl" >&5
  10798. $as_echo_n "checking for --${enablestring:-enable}-rearrangectrl... " >&6; }
  10799. # Check whether --enable-rearrangectrl was given.
  10800. if test "${enable_rearrangectrl+set}" = set; then :
  10801. enableval=$enable_rearrangectrl;
  10802. if test "$enableval" = yes; then
  10803. wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=yes'
  10804. else
  10805. wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=no'
  10806. fi
  10807. else
  10808. wx_cv_use_rearrangectrl='wxUSE_REARRANGECTRL=${'DEFAULT_wxUSE_REARRANGECTRL":-$defaultval}"
  10809. fi
  10810. eval "$wx_cv_use_rearrangectrl"
  10811. if test x"$enablestring" = xdisable; then
  10812. if test $wxUSE_REARRANGECTRL = no; then
  10813. result=yes
  10814. else
  10815. result=no
  10816. fi
  10817. else
  10818. result=$wxUSE_REARRANGECTRL
  10819. fi
  10820. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10821. $as_echo "$result" >&6; }
  10822. enablestring=
  10823. defaultval=$wxUSE_ALL_FEATURES
  10824. if test -z "$defaultval"; then
  10825. if test x"$enablestring" = xdisable; then
  10826. defaultval=yes
  10827. else
  10828. defaultval=no
  10829. fi
  10830. fi
  10831. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-sash" >&5
  10832. $as_echo_n "checking for --${enablestring:-enable}-sash... " >&6; }
  10833. # Check whether --enable-sash was given.
  10834. if test "${enable_sash+set}" = set; then :
  10835. enableval=$enable_sash;
  10836. if test "$enableval" = yes; then
  10837. wx_cv_use_sash='wxUSE_SASH=yes'
  10838. else
  10839. wx_cv_use_sash='wxUSE_SASH=no'
  10840. fi
  10841. else
  10842. wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
  10843. fi
  10844. eval "$wx_cv_use_sash"
  10845. if test x"$enablestring" = xdisable; then
  10846. if test $wxUSE_SASH = no; then
  10847. result=yes
  10848. else
  10849. result=no
  10850. fi
  10851. else
  10852. result=$wxUSE_SASH
  10853. fi
  10854. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10855. $as_echo "$result" >&6; }
  10856. enablestring=
  10857. defaultval=$wxUSE_ALL_FEATURES
  10858. if test -z "$defaultval"; then
  10859. if test x"$enablestring" = xdisable; then
  10860. defaultval=yes
  10861. else
  10862. defaultval=no
  10863. fi
  10864. fi
  10865. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-scrollbar" >&5
  10866. $as_echo_n "checking for --${enablestring:-enable}-scrollbar... " >&6; }
  10867. # Check whether --enable-scrollbar was given.
  10868. if test "${enable_scrollbar+set}" = set; then :
  10869. enableval=$enable_scrollbar;
  10870. if test "$enableval" = yes; then
  10871. wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
  10872. else
  10873. wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
  10874. fi
  10875. else
  10876. wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
  10877. fi
  10878. eval "$wx_cv_use_scrollbar"
  10879. if test x"$enablestring" = xdisable; then
  10880. if test $wxUSE_SCROLLBAR = no; then
  10881. result=yes
  10882. else
  10883. result=no
  10884. fi
  10885. else
  10886. result=$wxUSE_SCROLLBAR
  10887. fi
  10888. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10889. $as_echo "$result" >&6; }
  10890. enablestring=
  10891. defaultval=$wxUSE_ALL_FEATURES
  10892. if test -z "$defaultval"; then
  10893. if test x"$enablestring" = xdisable; then
  10894. defaultval=yes
  10895. else
  10896. defaultval=no
  10897. fi
  10898. fi
  10899. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-searchctrl" >&5
  10900. $as_echo_n "checking for --${enablestring:-enable}-searchctrl... " >&6; }
  10901. # Check whether --enable-searchctrl was given.
  10902. if test "${enable_searchctrl+set}" = set; then :
  10903. enableval=$enable_searchctrl;
  10904. if test "$enableval" = yes; then
  10905. wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
  10906. else
  10907. wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
  10908. fi
  10909. else
  10910. wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
  10911. fi
  10912. eval "$wx_cv_use_searchctrl"
  10913. if test x"$enablestring" = xdisable; then
  10914. if test $wxUSE_SEARCHCTRL = no; then
  10915. result=yes
  10916. else
  10917. result=no
  10918. fi
  10919. else
  10920. result=$wxUSE_SEARCHCTRL
  10921. fi
  10922. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10923. $as_echo "$result" >&6; }
  10924. enablestring=
  10925. defaultval=$wxUSE_ALL_FEATURES
  10926. if test -z "$defaultval"; then
  10927. if test x"$enablestring" = xdisable; then
  10928. defaultval=yes
  10929. else
  10930. defaultval=no
  10931. fi
  10932. fi
  10933. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-slider" >&5
  10934. $as_echo_n "checking for --${enablestring:-enable}-slider... " >&6; }
  10935. # Check whether --enable-slider was given.
  10936. if test "${enable_slider+set}" = set; then :
  10937. enableval=$enable_slider;
  10938. if test "$enableval" = yes; then
  10939. wx_cv_use_slider='wxUSE_SLIDER=yes'
  10940. else
  10941. wx_cv_use_slider='wxUSE_SLIDER=no'
  10942. fi
  10943. else
  10944. wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
  10945. fi
  10946. eval "$wx_cv_use_slider"
  10947. if test x"$enablestring" = xdisable; then
  10948. if test $wxUSE_SLIDER = no; then
  10949. result=yes
  10950. else
  10951. result=no
  10952. fi
  10953. else
  10954. result=$wxUSE_SLIDER
  10955. fi
  10956. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10957. $as_echo "$result" >&6; }
  10958. enablestring=
  10959. defaultval=$wxUSE_ALL_FEATURES
  10960. if test -z "$defaultval"; then
  10961. if test x"$enablestring" = xdisable; then
  10962. defaultval=yes
  10963. else
  10964. defaultval=no
  10965. fi
  10966. fi
  10967. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinbtn" >&5
  10968. $as_echo_n "checking for --${enablestring:-enable}-spinbtn... " >&6; }
  10969. # Check whether --enable-spinbtn was given.
  10970. if test "${enable_spinbtn+set}" = set; then :
  10971. enableval=$enable_spinbtn;
  10972. if test "$enableval" = yes; then
  10973. wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
  10974. else
  10975. wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
  10976. fi
  10977. else
  10978. wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
  10979. fi
  10980. eval "$wx_cv_use_spinbtn"
  10981. if test x"$enablestring" = xdisable; then
  10982. if test $wxUSE_SPINBTN = no; then
  10983. result=yes
  10984. else
  10985. result=no
  10986. fi
  10987. else
  10988. result=$wxUSE_SPINBTN
  10989. fi
  10990. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  10991. $as_echo "$result" >&6; }
  10992. enablestring=
  10993. defaultval=$wxUSE_ALL_FEATURES
  10994. if test -z "$defaultval"; then
  10995. if test x"$enablestring" = xdisable; then
  10996. defaultval=yes
  10997. else
  10998. defaultval=no
  10999. fi
  11000. fi
  11001. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-spinctrl" >&5
  11002. $as_echo_n "checking for --${enablestring:-enable}-spinctrl... " >&6; }
  11003. # Check whether --enable-spinctrl was given.
  11004. if test "${enable_spinctrl+set}" = set; then :
  11005. enableval=$enable_spinctrl;
  11006. if test "$enableval" = yes; then
  11007. wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
  11008. else
  11009. wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
  11010. fi
  11011. else
  11012. wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
  11013. fi
  11014. eval "$wx_cv_use_spinctrl"
  11015. if test x"$enablestring" = xdisable; then
  11016. if test $wxUSE_SPINCTRL = no; then
  11017. result=yes
  11018. else
  11019. result=no
  11020. fi
  11021. else
  11022. result=$wxUSE_SPINCTRL
  11023. fi
  11024. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11025. $as_echo "$result" >&6; }
  11026. enablestring=
  11027. defaultval=$wxUSE_ALL_FEATURES
  11028. if test -z "$defaultval"; then
  11029. if test x"$enablestring" = xdisable; then
  11030. defaultval=yes
  11031. else
  11032. defaultval=no
  11033. fi
  11034. fi
  11035. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splitter" >&5
  11036. $as_echo_n "checking for --${enablestring:-enable}-splitter... " >&6; }
  11037. # Check whether --enable-splitter was given.
  11038. if test "${enable_splitter+set}" = set; then :
  11039. enableval=$enable_splitter;
  11040. if test "$enableval" = yes; then
  11041. wx_cv_use_splitter='wxUSE_SPLITTER=yes'
  11042. else
  11043. wx_cv_use_splitter='wxUSE_SPLITTER=no'
  11044. fi
  11045. else
  11046. wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
  11047. fi
  11048. eval "$wx_cv_use_splitter"
  11049. if test x"$enablestring" = xdisable; then
  11050. if test $wxUSE_SPLITTER = no; then
  11051. result=yes
  11052. else
  11053. result=no
  11054. fi
  11055. else
  11056. result=$wxUSE_SPLITTER
  11057. fi
  11058. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11059. $as_echo "$result" >&6; }
  11060. enablestring=
  11061. defaultval=$wxUSE_ALL_FEATURES
  11062. if test -z "$defaultval"; then
  11063. if test x"$enablestring" = xdisable; then
  11064. defaultval=yes
  11065. else
  11066. defaultval=no
  11067. fi
  11068. fi
  11069. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbmp" >&5
  11070. $as_echo_n "checking for --${enablestring:-enable}-statbmp... " >&6; }
  11071. # Check whether --enable-statbmp was given.
  11072. if test "${enable_statbmp+set}" = set; then :
  11073. enableval=$enable_statbmp;
  11074. if test "$enableval" = yes; then
  11075. wx_cv_use_statbmp='wxUSE_STATBMP=yes'
  11076. else
  11077. wx_cv_use_statbmp='wxUSE_STATBMP=no'
  11078. fi
  11079. else
  11080. wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
  11081. fi
  11082. eval "$wx_cv_use_statbmp"
  11083. if test x"$enablestring" = xdisable; then
  11084. if test $wxUSE_STATBMP = no; then
  11085. result=yes
  11086. else
  11087. result=no
  11088. fi
  11089. else
  11090. result=$wxUSE_STATBMP
  11091. fi
  11092. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11093. $as_echo "$result" >&6; }
  11094. enablestring=
  11095. defaultval=$wxUSE_ALL_FEATURES
  11096. if test -z "$defaultval"; then
  11097. if test x"$enablestring" = xdisable; then
  11098. defaultval=yes
  11099. else
  11100. defaultval=no
  11101. fi
  11102. fi
  11103. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statbox" >&5
  11104. $as_echo_n "checking for --${enablestring:-enable}-statbox... " >&6; }
  11105. # Check whether --enable-statbox was given.
  11106. if test "${enable_statbox+set}" = set; then :
  11107. enableval=$enable_statbox;
  11108. if test "$enableval" = yes; then
  11109. wx_cv_use_statbox='wxUSE_STATBOX=yes'
  11110. else
  11111. wx_cv_use_statbox='wxUSE_STATBOX=no'
  11112. fi
  11113. else
  11114. wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
  11115. fi
  11116. eval "$wx_cv_use_statbox"
  11117. if test x"$enablestring" = xdisable; then
  11118. if test $wxUSE_STATBOX = no; then
  11119. result=yes
  11120. else
  11121. result=no
  11122. fi
  11123. else
  11124. result=$wxUSE_STATBOX
  11125. fi
  11126. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11127. $as_echo "$result" >&6; }
  11128. enablestring=
  11129. defaultval=$wxUSE_ALL_FEATURES
  11130. if test -z "$defaultval"; then
  11131. if test x"$enablestring" = xdisable; then
  11132. defaultval=yes
  11133. else
  11134. defaultval=no
  11135. fi
  11136. fi
  11137. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statline" >&5
  11138. $as_echo_n "checking for --${enablestring:-enable}-statline... " >&6; }
  11139. # Check whether --enable-statline was given.
  11140. if test "${enable_statline+set}" = set; then :
  11141. enableval=$enable_statline;
  11142. if test "$enableval" = yes; then
  11143. wx_cv_use_statline='wxUSE_STATLINE=yes'
  11144. else
  11145. wx_cv_use_statline='wxUSE_STATLINE=no'
  11146. fi
  11147. else
  11148. wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
  11149. fi
  11150. eval "$wx_cv_use_statline"
  11151. if test x"$enablestring" = xdisable; then
  11152. if test $wxUSE_STATLINE = no; then
  11153. result=yes
  11154. else
  11155. result=no
  11156. fi
  11157. else
  11158. result=$wxUSE_STATLINE
  11159. fi
  11160. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11161. $as_echo "$result" >&6; }
  11162. enablestring=
  11163. defaultval=$wxUSE_ALL_FEATURES
  11164. if test -z "$defaultval"; then
  11165. if test x"$enablestring" = xdisable; then
  11166. defaultval=yes
  11167. else
  11168. defaultval=no
  11169. fi
  11170. fi
  11171. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-stattext" >&5
  11172. $as_echo_n "checking for --${enablestring:-enable}-stattext... " >&6; }
  11173. # Check whether --enable-stattext was given.
  11174. if test "${enable_stattext+set}" = set; then :
  11175. enableval=$enable_stattext;
  11176. if test "$enableval" = yes; then
  11177. wx_cv_use_stattext='wxUSE_STATTEXT=yes'
  11178. else
  11179. wx_cv_use_stattext='wxUSE_STATTEXT=no'
  11180. fi
  11181. else
  11182. wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
  11183. fi
  11184. eval "$wx_cv_use_stattext"
  11185. if test x"$enablestring" = xdisable; then
  11186. if test $wxUSE_STATTEXT = no; then
  11187. result=yes
  11188. else
  11189. result=no
  11190. fi
  11191. else
  11192. result=$wxUSE_STATTEXT
  11193. fi
  11194. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11195. $as_echo "$result" >&6; }
  11196. enablestring=
  11197. defaultval=$wxUSE_ALL_FEATURES
  11198. if test -z "$defaultval"; then
  11199. if test x"$enablestring" = xdisable; then
  11200. defaultval=yes
  11201. else
  11202. defaultval=no
  11203. fi
  11204. fi
  11205. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-statusbar" >&5
  11206. $as_echo_n "checking for --${enablestring:-enable}-statusbar... " >&6; }
  11207. # Check whether --enable-statusbar was given.
  11208. if test "${enable_statusbar+set}" = set; then :
  11209. enableval=$enable_statusbar;
  11210. if test "$enableval" = yes; then
  11211. wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
  11212. else
  11213. wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
  11214. fi
  11215. else
  11216. wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
  11217. fi
  11218. eval "$wx_cv_use_statusbar"
  11219. if test x"$enablestring" = xdisable; then
  11220. if test $wxUSE_STATUSBAR = no; then
  11221. result=yes
  11222. else
  11223. result=no
  11224. fi
  11225. else
  11226. result=$wxUSE_STATUSBAR
  11227. fi
  11228. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11229. $as_echo "$result" >&6; }
  11230. enablestring=
  11231. defaultval=$wxUSE_ALL_FEATURES
  11232. if test -z "$defaultval"; then
  11233. if test x"$enablestring" = xdisable; then
  11234. defaultval=yes
  11235. else
  11236. defaultval=no
  11237. fi
  11238. fi
  11239. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-taskbaricon" >&5
  11240. $as_echo_n "checking for --${enablestring:-enable}-taskbaricon... " >&6; }
  11241. # Check whether --enable-taskbaricon was given.
  11242. if test "${enable_taskbaricon+set}" = set; then :
  11243. enableval=$enable_taskbaricon;
  11244. if test "$enableval" = yes; then
  11245. wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
  11246. else
  11247. wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
  11248. fi
  11249. else
  11250. wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
  11251. fi
  11252. eval "$wx_cv_use_taskbaricon"
  11253. if test x"$enablestring" = xdisable; then
  11254. if test $wxUSE_TASKBARICON = no; then
  11255. result=yes
  11256. else
  11257. result=no
  11258. fi
  11259. else
  11260. result=$wxUSE_TASKBARICON
  11261. fi
  11262. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11263. $as_echo "$result" >&6; }
  11264. enablestring=
  11265. defaultval=$wxUSE_ALL_FEATURES
  11266. if test -z "$defaultval"; then
  11267. if test x"$enablestring" = xdisable; then
  11268. defaultval=yes
  11269. else
  11270. defaultval=no
  11271. fi
  11272. fi
  11273. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tbarnative" >&5
  11274. $as_echo_n "checking for --${enablestring:-enable}-tbarnative... " >&6; }
  11275. # Check whether --enable-tbarnative was given.
  11276. if test "${enable_tbarnative+set}" = set; then :
  11277. enableval=$enable_tbarnative;
  11278. if test "$enableval" = yes; then
  11279. wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
  11280. else
  11281. wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
  11282. fi
  11283. else
  11284. wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
  11285. fi
  11286. eval "$wx_cv_use_tbarnative"
  11287. if test x"$enablestring" = xdisable; then
  11288. if test $wxUSE_TOOLBAR_NATIVE = no; then
  11289. result=yes
  11290. else
  11291. result=no
  11292. fi
  11293. else
  11294. result=$wxUSE_TOOLBAR_NATIVE
  11295. fi
  11296. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11297. $as_echo "$result" >&6; }
  11298. enablestring=
  11299. defaultval=$wxUSE_ALL_FEATURES
  11300. if test -z "$defaultval"; then
  11301. if test x"$enablestring" = xdisable; then
  11302. defaultval=yes
  11303. else
  11304. defaultval=no
  11305. fi
  11306. fi
  11307. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textctrl" >&5
  11308. $as_echo_n "checking for --${enablestring:-enable}-textctrl... " >&6; }
  11309. # Check whether --enable-textctrl was given.
  11310. if test "${enable_textctrl+set}" = set; then :
  11311. enableval=$enable_textctrl;
  11312. if test "$enableval" = yes; then
  11313. wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
  11314. else
  11315. wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
  11316. fi
  11317. else
  11318. wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
  11319. fi
  11320. eval "$wx_cv_use_textctrl"
  11321. if test x"$enablestring" = xdisable; then
  11322. if test $wxUSE_TEXTCTRL = no; then
  11323. result=yes
  11324. else
  11325. result=no
  11326. fi
  11327. else
  11328. result=$wxUSE_TEXTCTRL
  11329. fi
  11330. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11331. $as_echo "$result" >&6; }
  11332. enablestring=
  11333. defaultval=$wxUSE_ALL_FEATURES
  11334. if test -z "$defaultval"; then
  11335. if test x"$enablestring" = xdisable; then
  11336. defaultval=yes
  11337. else
  11338. defaultval=no
  11339. fi
  11340. fi
  11341. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-datepick" >&5
  11342. $as_echo_n "checking for --${enablestring:-enable}-datepick... " >&6; }
  11343. # Check whether --enable-datepick was given.
  11344. if test "${enable_datepick+set}" = set; then :
  11345. enableval=$enable_datepick;
  11346. if test "$enableval" = yes; then
  11347. wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=yes'
  11348. else
  11349. wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=no'
  11350. fi
  11351. else
  11352. wx_cv_use_datepick='wxUSE_TIMEPICKCTRL=${'DEFAULT_wxUSE_TIMEPICKCTRL":-$defaultval}"
  11353. fi
  11354. eval "$wx_cv_use_datepick"
  11355. if test x"$enablestring" = xdisable; then
  11356. if test $wxUSE_TIMEPICKCTRL = no; then
  11357. result=yes
  11358. else
  11359. result=no
  11360. fi
  11361. else
  11362. result=$wxUSE_TIMEPICKCTRL
  11363. fi
  11364. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11365. $as_echo "$result" >&6; }
  11366. enablestring=
  11367. defaultval=$wxUSE_ALL_FEATURES
  11368. if test -z "$defaultval"; then
  11369. if test x"$enablestring" = xdisable; then
  11370. defaultval=yes
  11371. else
  11372. defaultval=no
  11373. fi
  11374. fi
  11375. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipwindow" >&5
  11376. $as_echo_n "checking for --${enablestring:-enable}-tipwindow... " >&6; }
  11377. # Check whether --enable-tipwindow was given.
  11378. if test "${enable_tipwindow+set}" = set; then :
  11379. enableval=$enable_tipwindow;
  11380. if test "$enableval" = yes; then
  11381. wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
  11382. else
  11383. wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
  11384. fi
  11385. else
  11386. wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
  11387. fi
  11388. eval "$wx_cv_use_tipwindow"
  11389. if test x"$enablestring" = xdisable; then
  11390. if test $wxUSE_TIPWINDOW = no; then
  11391. result=yes
  11392. else
  11393. result=no
  11394. fi
  11395. else
  11396. result=$wxUSE_TIPWINDOW
  11397. fi
  11398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11399. $as_echo "$result" >&6; }
  11400. enablestring=
  11401. defaultval=$wxUSE_ALL_FEATURES
  11402. if test -z "$defaultval"; then
  11403. if test x"$enablestring" = xdisable; then
  11404. defaultval=yes
  11405. else
  11406. defaultval=no
  11407. fi
  11408. fi
  11409. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-togglebtn" >&5
  11410. $as_echo_n "checking for --${enablestring:-enable}-togglebtn... " >&6; }
  11411. # Check whether --enable-togglebtn was given.
  11412. if test "${enable_togglebtn+set}" = set; then :
  11413. enableval=$enable_togglebtn;
  11414. if test "$enableval" = yes; then
  11415. wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
  11416. else
  11417. wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
  11418. fi
  11419. else
  11420. wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
  11421. fi
  11422. eval "$wx_cv_use_togglebtn"
  11423. if test x"$enablestring" = xdisable; then
  11424. if test $wxUSE_TOGGLEBTN = no; then
  11425. result=yes
  11426. else
  11427. result=no
  11428. fi
  11429. else
  11430. result=$wxUSE_TOGGLEBTN
  11431. fi
  11432. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11433. $as_echo "$result" >&6; }
  11434. enablestring=
  11435. defaultval=$wxUSE_ALL_FEATURES
  11436. if test -z "$defaultval"; then
  11437. if test x"$enablestring" = xdisable; then
  11438. defaultval=yes
  11439. else
  11440. defaultval=no
  11441. fi
  11442. fi
  11443. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbar" >&5
  11444. $as_echo_n "checking for --${enablestring:-enable}-toolbar... " >&6; }
  11445. # Check whether --enable-toolbar was given.
  11446. if test "${enable_toolbar+set}" = set; then :
  11447. enableval=$enable_toolbar;
  11448. if test "$enableval" = yes; then
  11449. wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
  11450. else
  11451. wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
  11452. fi
  11453. else
  11454. wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
  11455. fi
  11456. eval "$wx_cv_use_toolbar"
  11457. if test x"$enablestring" = xdisable; then
  11458. if test $wxUSE_TOOLBAR = no; then
  11459. result=yes
  11460. else
  11461. result=no
  11462. fi
  11463. else
  11464. result=$wxUSE_TOOLBAR
  11465. fi
  11466. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11467. $as_echo "$result" >&6; }
  11468. enablestring=
  11469. defaultval=$wxUSE_ALL_FEATURES
  11470. if test -z "$defaultval"; then
  11471. if test x"$enablestring" = xdisable; then
  11472. defaultval=yes
  11473. else
  11474. defaultval=no
  11475. fi
  11476. fi
  11477. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-toolbook" >&5
  11478. $as_echo_n "checking for --${enablestring:-enable}-toolbook... " >&6; }
  11479. # Check whether --enable-toolbook was given.
  11480. if test "${enable_toolbook+set}" = set; then :
  11481. enableval=$enable_toolbook;
  11482. if test "$enableval" = yes; then
  11483. wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
  11484. else
  11485. wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
  11486. fi
  11487. else
  11488. wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
  11489. fi
  11490. eval "$wx_cv_use_toolbook"
  11491. if test x"$enablestring" = xdisable; then
  11492. if test $wxUSE_TOOLBOOK = no; then
  11493. result=yes
  11494. else
  11495. result=no
  11496. fi
  11497. else
  11498. result=$wxUSE_TOOLBOOK
  11499. fi
  11500. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11501. $as_echo "$result" >&6; }
  11502. enablestring=
  11503. defaultval=$wxUSE_ALL_FEATURES
  11504. if test -z "$defaultval"; then
  11505. if test x"$enablestring" = xdisable; then
  11506. defaultval=yes
  11507. else
  11508. defaultval=no
  11509. fi
  11510. fi
  11511. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treebook" >&5
  11512. $as_echo_n "checking for --${enablestring:-enable}-treebook... " >&6; }
  11513. # Check whether --enable-treebook was given.
  11514. if test "${enable_treebook+set}" = set; then :
  11515. enableval=$enable_treebook;
  11516. if test "$enableval" = yes; then
  11517. wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
  11518. else
  11519. wx_cv_use_treebook='wxUSE_TREEBOOK=no'
  11520. fi
  11521. else
  11522. wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
  11523. fi
  11524. eval "$wx_cv_use_treebook"
  11525. if test x"$enablestring" = xdisable; then
  11526. if test $wxUSE_TREEBOOK = no; then
  11527. result=yes
  11528. else
  11529. result=no
  11530. fi
  11531. else
  11532. result=$wxUSE_TREEBOOK
  11533. fi
  11534. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11535. $as_echo "$result" >&6; }
  11536. enablestring=
  11537. defaultval=$wxUSE_ALL_FEATURES
  11538. if test -z "$defaultval"; then
  11539. if test x"$enablestring" = xdisable; then
  11540. defaultval=yes
  11541. else
  11542. defaultval=no
  11543. fi
  11544. fi
  11545. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treectrl" >&5
  11546. $as_echo_n "checking for --${enablestring:-enable}-treectrl... " >&6; }
  11547. # Check whether --enable-treectrl was given.
  11548. if test "${enable_treectrl+set}" = set; then :
  11549. enableval=$enable_treectrl;
  11550. if test "$enableval" = yes; then
  11551. wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
  11552. else
  11553. wx_cv_use_treectrl='wxUSE_TREECTRL=no'
  11554. fi
  11555. else
  11556. wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
  11557. fi
  11558. eval "$wx_cv_use_treectrl"
  11559. if test x"$enablestring" = xdisable; then
  11560. if test $wxUSE_TREECTRL = no; then
  11561. result=yes
  11562. else
  11563. result=no
  11564. fi
  11565. else
  11566. result=$wxUSE_TREECTRL
  11567. fi
  11568. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11569. $as_echo "$result" >&6; }
  11570. enablestring=
  11571. defaultval=$wxUSE_ALL_FEATURES
  11572. if test -z "$defaultval"; then
  11573. if test x"$enablestring" = xdisable; then
  11574. defaultval=yes
  11575. else
  11576. defaultval=no
  11577. fi
  11578. fi
  11579. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-treelist" >&5
  11580. $as_echo_n "checking for --${enablestring:-enable}-treelist... " >&6; }
  11581. # Check whether --enable-treelist was given.
  11582. if test "${enable_treelist+set}" = set; then :
  11583. enableval=$enable_treelist;
  11584. if test "$enableval" = yes; then
  11585. wx_cv_use_treelist='wxUSE_TREELISTCTRL=yes'
  11586. else
  11587. wx_cv_use_treelist='wxUSE_TREELISTCTRL=no'
  11588. fi
  11589. else
  11590. wx_cv_use_treelist='wxUSE_TREELISTCTRL=${'DEFAULT_wxUSE_TREELISTCTRL":-$defaultval}"
  11591. fi
  11592. eval "$wx_cv_use_treelist"
  11593. if test x"$enablestring" = xdisable; then
  11594. if test $wxUSE_TREELISTCTRL = no; then
  11595. result=yes
  11596. else
  11597. result=no
  11598. fi
  11599. else
  11600. result=$wxUSE_TREELISTCTRL
  11601. fi
  11602. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11603. $as_echo "$result" >&6; }
  11604. enablestring=
  11605. defaultval=$wxUSE_ALL_FEATURES
  11606. if test -z "$defaultval"; then
  11607. if test x"$enablestring" = xdisable; then
  11608. defaultval=yes
  11609. else
  11610. defaultval=no
  11611. fi
  11612. fi
  11613. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-commondlg" >&5
  11614. $as_echo_n "checking for --${enablestring:-enable}-commondlg... " >&6; }
  11615. # Check whether --enable-commondlg was given.
  11616. if test "${enable_commondlg+set}" = set; then :
  11617. enableval=$enable_commondlg;
  11618. if test "$enableval" = yes; then
  11619. wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
  11620. else
  11621. wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
  11622. fi
  11623. else
  11624. wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
  11625. fi
  11626. eval "$wx_cv_use_commondlg"
  11627. if test x"$enablestring" = xdisable; then
  11628. if test $wxUSE_COMMONDLGS = no; then
  11629. result=yes
  11630. else
  11631. result=no
  11632. fi
  11633. else
  11634. result=$wxUSE_COMMONDLGS
  11635. fi
  11636. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11637. $as_echo "$result" >&6; }
  11638. enablestring=
  11639. defaultval=$wxUSE_ALL_FEATURES
  11640. if test -z "$defaultval"; then
  11641. if test x"$enablestring" = xdisable; then
  11642. defaultval=yes
  11643. else
  11644. defaultval=no
  11645. fi
  11646. fi
  11647. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-aboutdlg" >&5
  11648. $as_echo_n "checking for --${enablestring:-enable}-aboutdlg... " >&6; }
  11649. # Check whether --enable-aboutdlg was given.
  11650. if test "${enable_aboutdlg+set}" = set; then :
  11651. enableval=$enable_aboutdlg;
  11652. if test "$enableval" = yes; then
  11653. wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
  11654. else
  11655. wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
  11656. fi
  11657. else
  11658. wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
  11659. fi
  11660. eval "$wx_cv_use_aboutdlg"
  11661. if test x"$enablestring" = xdisable; then
  11662. if test $wxUSE_ABOUTDLG = no; then
  11663. result=yes
  11664. else
  11665. result=no
  11666. fi
  11667. else
  11668. result=$wxUSE_ABOUTDLG
  11669. fi
  11670. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11671. $as_echo "$result" >&6; }
  11672. enablestring=
  11673. defaultval=$wxUSE_ALL_FEATURES
  11674. if test -z "$defaultval"; then
  11675. if test x"$enablestring" = xdisable; then
  11676. defaultval=yes
  11677. else
  11678. defaultval=no
  11679. fi
  11680. fi
  11681. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-choicedlg" >&5
  11682. $as_echo_n "checking for --${enablestring:-enable}-choicedlg... " >&6; }
  11683. # Check whether --enable-choicedlg was given.
  11684. if test "${enable_choicedlg+set}" = set; then :
  11685. enableval=$enable_choicedlg;
  11686. if test "$enableval" = yes; then
  11687. wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
  11688. else
  11689. wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
  11690. fi
  11691. else
  11692. wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
  11693. fi
  11694. eval "$wx_cv_use_choicedlg"
  11695. if test x"$enablestring" = xdisable; then
  11696. if test $wxUSE_CHOICEDLG = no; then
  11697. result=yes
  11698. else
  11699. result=no
  11700. fi
  11701. else
  11702. result=$wxUSE_CHOICEDLG
  11703. fi
  11704. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11705. $as_echo "$result" >&6; }
  11706. enablestring=
  11707. defaultval=$wxUSE_ALL_FEATURES
  11708. if test -z "$defaultval"; then
  11709. if test x"$enablestring" = xdisable; then
  11710. defaultval=yes
  11711. else
  11712. defaultval=no
  11713. fi
  11714. fi
  11715. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-coldlg" >&5
  11716. $as_echo_n "checking for --${enablestring:-enable}-coldlg... " >&6; }
  11717. # Check whether --enable-coldlg was given.
  11718. if test "${enable_coldlg+set}" = set; then :
  11719. enableval=$enable_coldlg;
  11720. if test "$enableval" = yes; then
  11721. wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
  11722. else
  11723. wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
  11724. fi
  11725. else
  11726. wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
  11727. fi
  11728. eval "$wx_cv_use_coldlg"
  11729. if test x"$enablestring" = xdisable; then
  11730. if test $wxUSE_COLOURDLG = no; then
  11731. result=yes
  11732. else
  11733. result=no
  11734. fi
  11735. else
  11736. result=$wxUSE_COLOURDLG
  11737. fi
  11738. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11739. $as_echo "$result" >&6; }
  11740. enablestring=
  11741. defaultval=$wxUSE_ALL_FEATURES
  11742. if test -z "$defaultval"; then
  11743. if test x"$enablestring" = xdisable; then
  11744. defaultval=yes
  11745. else
  11746. defaultval=no
  11747. fi
  11748. fi
  11749. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-filedlg" >&5
  11750. $as_echo_n "checking for --${enablestring:-enable}-filedlg... " >&6; }
  11751. # Check whether --enable-filedlg was given.
  11752. if test "${enable_filedlg+set}" = set; then :
  11753. enableval=$enable_filedlg;
  11754. if test "$enableval" = yes; then
  11755. wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
  11756. else
  11757. wx_cv_use_filedlg='wxUSE_FILEDLG=no'
  11758. fi
  11759. else
  11760. wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
  11761. fi
  11762. eval "$wx_cv_use_filedlg"
  11763. if test x"$enablestring" = xdisable; then
  11764. if test $wxUSE_FILEDLG = no; then
  11765. result=yes
  11766. else
  11767. result=no
  11768. fi
  11769. else
  11770. result=$wxUSE_FILEDLG
  11771. fi
  11772. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11773. $as_echo "$result" >&6; }
  11774. enablestring=
  11775. defaultval=$wxUSE_ALL_FEATURES
  11776. if test -z "$defaultval"; then
  11777. if test x"$enablestring" = xdisable; then
  11778. defaultval=yes
  11779. else
  11780. defaultval=no
  11781. fi
  11782. fi
  11783. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-finddlg" >&5
  11784. $as_echo_n "checking for --${enablestring:-enable}-finddlg... " >&6; }
  11785. # Check whether --enable-finddlg was given.
  11786. if test "${enable_finddlg+set}" = set; then :
  11787. enableval=$enable_finddlg;
  11788. if test "$enableval" = yes; then
  11789. wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
  11790. else
  11791. wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
  11792. fi
  11793. else
  11794. wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
  11795. fi
  11796. eval "$wx_cv_use_finddlg"
  11797. if test x"$enablestring" = xdisable; then
  11798. if test $wxUSE_FINDREPLDLG = no; then
  11799. result=yes
  11800. else
  11801. result=no
  11802. fi
  11803. else
  11804. result=$wxUSE_FINDREPLDLG
  11805. fi
  11806. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11807. $as_echo "$result" >&6; }
  11808. enablestring=
  11809. defaultval=$wxUSE_ALL_FEATURES
  11810. if test -z "$defaultval"; then
  11811. if test x"$enablestring" = xdisable; then
  11812. defaultval=yes
  11813. else
  11814. defaultval=no
  11815. fi
  11816. fi
  11817. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-fontdlg" >&5
  11818. $as_echo_n "checking for --${enablestring:-enable}-fontdlg... " >&6; }
  11819. # Check whether --enable-fontdlg was given.
  11820. if test "${enable_fontdlg+set}" = set; then :
  11821. enableval=$enable_fontdlg;
  11822. if test "$enableval" = yes; then
  11823. wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
  11824. else
  11825. wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
  11826. fi
  11827. else
  11828. wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
  11829. fi
  11830. eval "$wx_cv_use_fontdlg"
  11831. if test x"$enablestring" = xdisable; then
  11832. if test $wxUSE_FONTDLG = no; then
  11833. result=yes
  11834. else
  11835. result=no
  11836. fi
  11837. else
  11838. result=$wxUSE_FONTDLG
  11839. fi
  11840. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11841. $as_echo "$result" >&6; }
  11842. enablestring=
  11843. defaultval=$wxUSE_ALL_FEATURES
  11844. if test -z "$defaultval"; then
  11845. if test x"$enablestring" = xdisable; then
  11846. defaultval=yes
  11847. else
  11848. defaultval=no
  11849. fi
  11850. fi
  11851. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dirdlg" >&5
  11852. $as_echo_n "checking for --${enablestring:-enable}-dirdlg... " >&6; }
  11853. # Check whether --enable-dirdlg was given.
  11854. if test "${enable_dirdlg+set}" = set; then :
  11855. enableval=$enable_dirdlg;
  11856. if test "$enableval" = yes; then
  11857. wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
  11858. else
  11859. wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
  11860. fi
  11861. else
  11862. wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
  11863. fi
  11864. eval "$wx_cv_use_dirdlg"
  11865. if test x"$enablestring" = xdisable; then
  11866. if test $wxUSE_DIRDLG = no; then
  11867. result=yes
  11868. else
  11869. result=no
  11870. fi
  11871. else
  11872. result=$wxUSE_DIRDLG
  11873. fi
  11874. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11875. $as_echo "$result" >&6; }
  11876. enablestring=
  11877. defaultval=$wxUSE_ALL_FEATURES
  11878. if test -z "$defaultval"; then
  11879. if test x"$enablestring" = xdisable; then
  11880. defaultval=yes
  11881. else
  11882. defaultval=no
  11883. fi
  11884. fi
  11885. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-msgdlg" >&5
  11886. $as_echo_n "checking for --${enablestring:-enable}-msgdlg... " >&6; }
  11887. # Check whether --enable-msgdlg was given.
  11888. if test "${enable_msgdlg+set}" = set; then :
  11889. enableval=$enable_msgdlg;
  11890. if test "$enableval" = yes; then
  11891. wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
  11892. else
  11893. wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
  11894. fi
  11895. else
  11896. wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
  11897. fi
  11898. eval "$wx_cv_use_msgdlg"
  11899. if test x"$enablestring" = xdisable; then
  11900. if test $wxUSE_MSGDLG = no; then
  11901. result=yes
  11902. else
  11903. result=no
  11904. fi
  11905. else
  11906. result=$wxUSE_MSGDLG
  11907. fi
  11908. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11909. $as_echo "$result" >&6; }
  11910. enablestring=
  11911. defaultval=$wxUSE_ALL_FEATURES
  11912. if test -z "$defaultval"; then
  11913. if test x"$enablestring" = xdisable; then
  11914. defaultval=yes
  11915. else
  11916. defaultval=no
  11917. fi
  11918. fi
  11919. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-numberdlg" >&5
  11920. $as_echo_n "checking for --${enablestring:-enable}-numberdlg... " >&6; }
  11921. # Check whether --enable-numberdlg was given.
  11922. if test "${enable_numberdlg+set}" = set; then :
  11923. enableval=$enable_numberdlg;
  11924. if test "$enableval" = yes; then
  11925. wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
  11926. else
  11927. wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
  11928. fi
  11929. else
  11930. wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
  11931. fi
  11932. eval "$wx_cv_use_numberdlg"
  11933. if test x"$enablestring" = xdisable; then
  11934. if test $wxUSE_NUMBERDLG = no; then
  11935. result=yes
  11936. else
  11937. result=no
  11938. fi
  11939. else
  11940. result=$wxUSE_NUMBERDLG
  11941. fi
  11942. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11943. $as_echo "$result" >&6; }
  11944. enablestring=
  11945. defaultval=$wxUSE_ALL_FEATURES
  11946. if test -z "$defaultval"; then
  11947. if test x"$enablestring" = xdisable; then
  11948. defaultval=yes
  11949. else
  11950. defaultval=no
  11951. fi
  11952. fi
  11953. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splash" >&5
  11954. $as_echo_n "checking for --${enablestring:-enable}-splash... " >&6; }
  11955. # Check whether --enable-splash was given.
  11956. if test "${enable_splash+set}" = set; then :
  11957. enableval=$enable_splash;
  11958. if test "$enableval" = yes; then
  11959. wx_cv_use_splash='wxUSE_SPLASH=yes'
  11960. else
  11961. wx_cv_use_splash='wxUSE_SPLASH=no'
  11962. fi
  11963. else
  11964. wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
  11965. fi
  11966. eval "$wx_cv_use_splash"
  11967. if test x"$enablestring" = xdisable; then
  11968. if test $wxUSE_SPLASH = no; then
  11969. result=yes
  11970. else
  11971. result=no
  11972. fi
  11973. else
  11974. result=$wxUSE_SPLASH
  11975. fi
  11976. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  11977. $as_echo "$result" >&6; }
  11978. enablestring=
  11979. defaultval=$wxUSE_ALL_FEATURES
  11980. if test -z "$defaultval"; then
  11981. if test x"$enablestring" = xdisable; then
  11982. defaultval=yes
  11983. else
  11984. defaultval=no
  11985. fi
  11986. fi
  11987. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-textdlg" >&5
  11988. $as_echo_n "checking for --${enablestring:-enable}-textdlg... " >&6; }
  11989. # Check whether --enable-textdlg was given.
  11990. if test "${enable_textdlg+set}" = set; then :
  11991. enableval=$enable_textdlg;
  11992. if test "$enableval" = yes; then
  11993. wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
  11994. else
  11995. wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
  11996. fi
  11997. else
  11998. wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
  11999. fi
  12000. eval "$wx_cv_use_textdlg"
  12001. if test x"$enablestring" = xdisable; then
  12002. if test $wxUSE_TEXTDLG = no; then
  12003. result=yes
  12004. else
  12005. result=no
  12006. fi
  12007. else
  12008. result=$wxUSE_TEXTDLG
  12009. fi
  12010. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12011. $as_echo "$result" >&6; }
  12012. enablestring=
  12013. defaultval=$wxUSE_ALL_FEATURES
  12014. if test -z "$defaultval"; then
  12015. if test x"$enablestring" = xdisable; then
  12016. defaultval=yes
  12017. else
  12018. defaultval=no
  12019. fi
  12020. fi
  12021. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tipdlg" >&5
  12022. $as_echo_n "checking for --${enablestring:-enable}-tipdlg... " >&6; }
  12023. # Check whether --enable-tipdlg was given.
  12024. if test "${enable_tipdlg+set}" = set; then :
  12025. enableval=$enable_tipdlg;
  12026. if test "$enableval" = yes; then
  12027. wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
  12028. else
  12029. wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
  12030. fi
  12031. else
  12032. wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
  12033. fi
  12034. eval "$wx_cv_use_tipdlg"
  12035. if test x"$enablestring" = xdisable; then
  12036. if test $wxUSE_STARTUP_TIPS = no; then
  12037. result=yes
  12038. else
  12039. result=no
  12040. fi
  12041. else
  12042. result=$wxUSE_STARTUP_TIPS
  12043. fi
  12044. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12045. $as_echo "$result" >&6; }
  12046. enablestring=
  12047. defaultval=$wxUSE_ALL_FEATURES
  12048. if test -z "$defaultval"; then
  12049. if test x"$enablestring" = xdisable; then
  12050. defaultval=yes
  12051. else
  12052. defaultval=no
  12053. fi
  12054. fi
  12055. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-progressdlg" >&5
  12056. $as_echo_n "checking for --${enablestring:-enable}-progressdlg... " >&6; }
  12057. # Check whether --enable-progressdlg was given.
  12058. if test "${enable_progressdlg+set}" = set; then :
  12059. enableval=$enable_progressdlg;
  12060. if test "$enableval" = yes; then
  12061. wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
  12062. else
  12063. wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
  12064. fi
  12065. else
  12066. wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
  12067. fi
  12068. eval "$wx_cv_use_progressdlg"
  12069. if test x"$enablestring" = xdisable; then
  12070. if test $wxUSE_PROGRESSDLG = no; then
  12071. result=yes
  12072. else
  12073. result=no
  12074. fi
  12075. else
  12076. result=$wxUSE_PROGRESSDLG
  12077. fi
  12078. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12079. $as_echo "$result" >&6; }
  12080. enablestring=
  12081. defaultval=$wxUSE_ALL_FEATURES
  12082. if test -z "$defaultval"; then
  12083. if test x"$enablestring" = xdisable; then
  12084. defaultval=yes
  12085. else
  12086. defaultval=no
  12087. fi
  12088. fi
  12089. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wizarddlg" >&5
  12090. $as_echo_n "checking for --${enablestring:-enable}-wizarddlg... " >&6; }
  12091. # Check whether --enable-wizarddlg was given.
  12092. if test "${enable_wizarddlg+set}" = set; then :
  12093. enableval=$enable_wizarddlg;
  12094. if test "$enableval" = yes; then
  12095. wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
  12096. else
  12097. wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
  12098. fi
  12099. else
  12100. wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
  12101. fi
  12102. eval "$wx_cv_use_wizarddlg"
  12103. if test x"$enablestring" = xdisable; then
  12104. if test $wxUSE_WIZARDDLG = no; then
  12105. result=yes
  12106. else
  12107. result=no
  12108. fi
  12109. else
  12110. result=$wxUSE_WIZARDDLG
  12111. fi
  12112. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12113. $as_echo "$result" >&6; }
  12114. enablestring=
  12115. defaultval=$wxUSE_ALL_FEATURES
  12116. if test -z "$defaultval"; then
  12117. if test x"$enablestring" = xdisable; then
  12118. defaultval=yes
  12119. else
  12120. defaultval=no
  12121. fi
  12122. fi
  12123. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-menus" >&5
  12124. $as_echo_n "checking for --${enablestring:-enable}-menus... " >&6; }
  12125. # Check whether --enable-menus was given.
  12126. if test "${enable_menus+set}" = set; then :
  12127. enableval=$enable_menus;
  12128. if test "$enableval" = yes; then
  12129. wx_cv_use_menus='wxUSE_MENUS=yes'
  12130. else
  12131. wx_cv_use_menus='wxUSE_MENUS=no'
  12132. fi
  12133. else
  12134. wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
  12135. fi
  12136. eval "$wx_cv_use_menus"
  12137. if test x"$enablestring" = xdisable; then
  12138. if test $wxUSE_MENUS = no; then
  12139. result=yes
  12140. else
  12141. result=no
  12142. fi
  12143. else
  12144. result=$wxUSE_MENUS
  12145. fi
  12146. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12147. $as_echo "$result" >&6; }
  12148. enablestring=
  12149. defaultval=$wxUSE_ALL_FEATURES
  12150. if test -z "$defaultval"; then
  12151. if test x"$enablestring" = xdisable; then
  12152. defaultval=yes
  12153. else
  12154. defaultval=no
  12155. fi
  12156. fi
  12157. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-miniframe" >&5
  12158. $as_echo_n "checking for --${enablestring:-enable}-miniframe... " >&6; }
  12159. # Check whether --enable-miniframe was given.
  12160. if test "${enable_miniframe+set}" = set; then :
  12161. enableval=$enable_miniframe;
  12162. if test "$enableval" = yes; then
  12163. wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
  12164. else
  12165. wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
  12166. fi
  12167. else
  12168. wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
  12169. fi
  12170. eval "$wx_cv_use_miniframe"
  12171. if test x"$enablestring" = xdisable; then
  12172. if test $wxUSE_MINIFRAME = no; then
  12173. result=yes
  12174. else
  12175. result=no
  12176. fi
  12177. else
  12178. result=$wxUSE_MINIFRAME
  12179. fi
  12180. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12181. $as_echo "$result" >&6; }
  12182. enablestring=
  12183. defaultval=$wxUSE_ALL_FEATURES
  12184. if test -z "$defaultval"; then
  12185. if test x"$enablestring" = xdisable; then
  12186. defaultval=yes
  12187. else
  12188. defaultval=no
  12189. fi
  12190. fi
  12191. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tooltips" >&5
  12192. $as_echo_n "checking for --${enablestring:-enable}-tooltips... " >&6; }
  12193. # Check whether --enable-tooltips was given.
  12194. if test "${enable_tooltips+set}" = set; then :
  12195. enableval=$enable_tooltips;
  12196. if test "$enableval" = yes; then
  12197. wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
  12198. else
  12199. wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
  12200. fi
  12201. else
  12202. wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
  12203. fi
  12204. eval "$wx_cv_use_tooltips"
  12205. if test x"$enablestring" = xdisable; then
  12206. if test $wxUSE_TOOLTIPS = no; then
  12207. result=yes
  12208. else
  12209. result=no
  12210. fi
  12211. else
  12212. result=$wxUSE_TOOLTIPS
  12213. fi
  12214. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12215. $as_echo "$result" >&6; }
  12216. enablestring=
  12217. defaultval=$wxUSE_ALL_FEATURES
  12218. if test -z "$defaultval"; then
  12219. if test x"$enablestring" = xdisable; then
  12220. defaultval=yes
  12221. else
  12222. defaultval=no
  12223. fi
  12224. fi
  12225. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-splines" >&5
  12226. $as_echo_n "checking for --${enablestring:-enable}-splines... " >&6; }
  12227. # Check whether --enable-splines was given.
  12228. if test "${enable_splines+set}" = set; then :
  12229. enableval=$enable_splines;
  12230. if test "$enableval" = yes; then
  12231. wx_cv_use_splines='wxUSE_SPLINES=yes'
  12232. else
  12233. wx_cv_use_splines='wxUSE_SPLINES=no'
  12234. fi
  12235. else
  12236. wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
  12237. fi
  12238. eval "$wx_cv_use_splines"
  12239. if test x"$enablestring" = xdisable; then
  12240. if test $wxUSE_SPLINES = no; then
  12241. result=yes
  12242. else
  12243. result=no
  12244. fi
  12245. else
  12246. result=$wxUSE_SPLINES
  12247. fi
  12248. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12249. $as_echo "$result" >&6; }
  12250. enablestring=
  12251. defaultval=$wxUSE_ALL_FEATURES
  12252. if test -z "$defaultval"; then
  12253. if test x"$enablestring" = xdisable; then
  12254. defaultval=yes
  12255. else
  12256. defaultval=no
  12257. fi
  12258. fi
  12259. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-mousewheel" >&5
  12260. $as_echo_n "checking for --${enablestring:-enable}-mousewheel... " >&6; }
  12261. # Check whether --enable-mousewheel was given.
  12262. if test "${enable_mousewheel+set}" = set; then :
  12263. enableval=$enable_mousewheel;
  12264. if test "$enableval" = yes; then
  12265. wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
  12266. else
  12267. wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
  12268. fi
  12269. else
  12270. wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
  12271. fi
  12272. eval "$wx_cv_use_mousewheel"
  12273. if test x"$enablestring" = xdisable; then
  12274. if test $wxUSE_MOUSEWHEEL = no; then
  12275. result=yes
  12276. else
  12277. result=no
  12278. fi
  12279. else
  12280. result=$wxUSE_MOUSEWHEEL
  12281. fi
  12282. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12283. $as_echo "$result" >&6; }
  12284. enablestring=
  12285. defaultval=$wxUSE_ALL_FEATURES
  12286. if test -z "$defaultval"; then
  12287. if test x"$enablestring" = xdisable; then
  12288. defaultval=yes
  12289. else
  12290. defaultval=no
  12291. fi
  12292. fi
  12293. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-validators" >&5
  12294. $as_echo_n "checking for --${enablestring:-enable}-validators... " >&6; }
  12295. # Check whether --enable-validators was given.
  12296. if test "${enable_validators+set}" = set; then :
  12297. enableval=$enable_validators;
  12298. if test "$enableval" = yes; then
  12299. wx_cv_use_validators='wxUSE_VALIDATORS=yes'
  12300. else
  12301. wx_cv_use_validators='wxUSE_VALIDATORS=no'
  12302. fi
  12303. else
  12304. wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
  12305. fi
  12306. eval "$wx_cv_use_validators"
  12307. if test x"$enablestring" = xdisable; then
  12308. if test $wxUSE_VALIDATORS = no; then
  12309. result=yes
  12310. else
  12311. result=no
  12312. fi
  12313. else
  12314. result=$wxUSE_VALIDATORS
  12315. fi
  12316. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12317. $as_echo "$result" >&6; }
  12318. enablestring=
  12319. defaultval=$wxUSE_ALL_FEATURES
  12320. if test -z "$defaultval"; then
  12321. if test x"$enablestring" = xdisable; then
  12322. defaultval=yes
  12323. else
  12324. defaultval=no
  12325. fi
  12326. fi
  12327. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-busyinfo" >&5
  12328. $as_echo_n "checking for --${enablestring:-enable}-busyinfo... " >&6; }
  12329. # Check whether --enable-busyinfo was given.
  12330. if test "${enable_busyinfo+set}" = set; then :
  12331. enableval=$enable_busyinfo;
  12332. if test "$enableval" = yes; then
  12333. wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
  12334. else
  12335. wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
  12336. fi
  12337. else
  12338. wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
  12339. fi
  12340. eval "$wx_cv_use_busyinfo"
  12341. if test x"$enablestring" = xdisable; then
  12342. if test $wxUSE_BUSYINFO = no; then
  12343. result=yes
  12344. else
  12345. result=no
  12346. fi
  12347. else
  12348. result=$wxUSE_BUSYINFO
  12349. fi
  12350. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12351. $as_echo "$result" >&6; }
  12352. enablestring=
  12353. defaultval=$wxUSE_ALL_FEATURES
  12354. if test -z "$defaultval"; then
  12355. if test x"$enablestring" = xdisable; then
  12356. defaultval=yes
  12357. else
  12358. defaultval=no
  12359. fi
  12360. fi
  12361. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-hotkey" >&5
  12362. $as_echo_n "checking for --${enablestring:-enable}-hotkey... " >&6; }
  12363. # Check whether --enable-hotkey was given.
  12364. if test "${enable_hotkey+set}" = set; then :
  12365. enableval=$enable_hotkey;
  12366. if test "$enableval" = yes; then
  12367. wx_cv_use_hotkey='wxUSE_HOTKEY=yes'
  12368. else
  12369. wx_cv_use_hotkey='wxUSE_HOTKEY=no'
  12370. fi
  12371. else
  12372. wx_cv_use_hotkey='wxUSE_HOTKEY=${'DEFAULT_wxUSE_HOTKEY":-$defaultval}"
  12373. fi
  12374. eval "$wx_cv_use_hotkey"
  12375. if test x"$enablestring" = xdisable; then
  12376. if test $wxUSE_HOTKEY = no; then
  12377. result=yes
  12378. else
  12379. result=no
  12380. fi
  12381. else
  12382. result=$wxUSE_HOTKEY
  12383. fi
  12384. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12385. $as_echo "$result" >&6; }
  12386. enablestring=
  12387. defaultval=$wxUSE_ALL_FEATURES
  12388. if test -z "$defaultval"; then
  12389. if test x"$enablestring" = xdisable; then
  12390. defaultval=yes
  12391. else
  12392. defaultval=no
  12393. fi
  12394. fi
  12395. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-joystick" >&5
  12396. $as_echo_n "checking for --${enablestring:-enable}-joystick... " >&6; }
  12397. # Check whether --enable-joystick was given.
  12398. if test "${enable_joystick+set}" = set; then :
  12399. enableval=$enable_joystick;
  12400. if test "$enableval" = yes; then
  12401. wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
  12402. else
  12403. wx_cv_use_joystick='wxUSE_JOYSTICK=no'
  12404. fi
  12405. else
  12406. wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
  12407. fi
  12408. eval "$wx_cv_use_joystick"
  12409. if test x"$enablestring" = xdisable; then
  12410. if test $wxUSE_JOYSTICK = no; then
  12411. result=yes
  12412. else
  12413. result=no
  12414. fi
  12415. else
  12416. result=$wxUSE_JOYSTICK
  12417. fi
  12418. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12419. $as_echo "$result" >&6; }
  12420. enablestring=
  12421. defaultval=$wxUSE_ALL_FEATURES
  12422. if test -z "$defaultval"; then
  12423. if test x"$enablestring" = xdisable; then
  12424. defaultval=yes
  12425. else
  12426. defaultval=no
  12427. fi
  12428. fi
  12429. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-metafile" >&5
  12430. $as_echo_n "checking for --${enablestring:-enable}-metafile... " >&6; }
  12431. # Check whether --enable-metafile was given.
  12432. if test "${enable_metafile+set}" = set; then :
  12433. enableval=$enable_metafile;
  12434. if test "$enableval" = yes; then
  12435. wx_cv_use_metafile='wxUSE_METAFILE=yes'
  12436. else
  12437. wx_cv_use_metafile='wxUSE_METAFILE=no'
  12438. fi
  12439. else
  12440. wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
  12441. fi
  12442. eval "$wx_cv_use_metafile"
  12443. if test x"$enablestring" = xdisable; then
  12444. if test $wxUSE_METAFILE = no; then
  12445. result=yes
  12446. else
  12447. result=no
  12448. fi
  12449. else
  12450. result=$wxUSE_METAFILE
  12451. fi
  12452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12453. $as_echo "$result" >&6; }
  12454. enablestring=
  12455. defaultval=$wxUSE_ALL_FEATURES
  12456. if test -z "$defaultval"; then
  12457. if test x"$enablestring" = xdisable; then
  12458. defaultval=yes
  12459. else
  12460. defaultval=no
  12461. fi
  12462. fi
  12463. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dragimage" >&5
  12464. $as_echo_n "checking for --${enablestring:-enable}-dragimage... " >&6; }
  12465. # Check whether --enable-dragimage was given.
  12466. if test "${enable_dragimage+set}" = set; then :
  12467. enableval=$enable_dragimage;
  12468. if test "$enableval" = yes; then
  12469. wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
  12470. else
  12471. wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
  12472. fi
  12473. else
  12474. wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
  12475. fi
  12476. eval "$wx_cv_use_dragimage"
  12477. if test x"$enablestring" = xdisable; then
  12478. if test $wxUSE_DRAGIMAGE = no; then
  12479. result=yes
  12480. else
  12481. result=no
  12482. fi
  12483. else
  12484. result=$wxUSE_DRAGIMAGE
  12485. fi
  12486. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12487. $as_echo "$result" >&6; }
  12488. enablestring=
  12489. defaultval=$wxUSE_ALL_FEATURES
  12490. if test -z "$defaultval"; then
  12491. if test x"$enablestring" = xdisable; then
  12492. defaultval=yes
  12493. else
  12494. defaultval=no
  12495. fi
  12496. fi
  12497. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-accessibility" >&5
  12498. $as_echo_n "checking for --${enablestring:-enable}-accessibility... " >&6; }
  12499. # Check whether --enable-accessibility was given.
  12500. if test "${enable_accessibility+set}" = set; then :
  12501. enableval=$enable_accessibility;
  12502. if test "$enableval" = yes; then
  12503. wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
  12504. else
  12505. wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
  12506. fi
  12507. else
  12508. wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
  12509. fi
  12510. eval "$wx_cv_use_accessibility"
  12511. if test x"$enablestring" = xdisable; then
  12512. if test $wxUSE_ACCESSIBILITY = no; then
  12513. result=yes
  12514. else
  12515. result=no
  12516. fi
  12517. else
  12518. result=$wxUSE_ACCESSIBILITY
  12519. fi
  12520. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12521. $as_echo "$result" >&6; }
  12522. enablestring=
  12523. defaultval=$wxUSE_ALL_FEATURES
  12524. if test -z "$defaultval"; then
  12525. if test x"$enablestring" = xdisable; then
  12526. defaultval=yes
  12527. else
  12528. defaultval=no
  12529. fi
  12530. fi
  12531. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uiactionsim" >&5
  12532. $as_echo_n "checking for --${enablestring:-enable}-uiactionsim... " >&6; }
  12533. # Check whether --enable-uiactionsim was given.
  12534. if test "${enable_uiactionsim+set}" = set; then :
  12535. enableval=$enable_uiactionsim;
  12536. if test "$enableval" = yes; then
  12537. wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=yes'
  12538. else
  12539. wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=no'
  12540. fi
  12541. else
  12542. wx_cv_use_uiactionsim='wxUSE_UIACTIONSIMULATOR=${'DEFAULT_wxUSE_UIACTIONSIMULATOR":-$defaultval}"
  12543. fi
  12544. eval "$wx_cv_use_uiactionsim"
  12545. if test x"$enablestring" = xdisable; then
  12546. if test $wxUSE_UIACTIONSIMULATOR = no; then
  12547. result=yes
  12548. else
  12549. result=no
  12550. fi
  12551. else
  12552. result=$wxUSE_UIACTIONSIMULATOR
  12553. fi
  12554. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12555. $as_echo "$result" >&6; }
  12556. enablestring=
  12557. defaultval=$wxUSE_ALL_FEATURES
  12558. if test -z "$defaultval"; then
  12559. if test x"$enablestring" = xdisable; then
  12560. defaultval=yes
  12561. else
  12562. defaultval=no
  12563. fi
  12564. fi
  12565. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dctransform" >&5
  12566. $as_echo_n "checking for --${enablestring:-enable}-dctransform... " >&6; }
  12567. # Check whether --enable-dctransform was given.
  12568. if test "${enable_dctransform+set}" = set; then :
  12569. enableval=$enable_dctransform;
  12570. if test "$enableval" = yes; then
  12571. wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=yes'
  12572. else
  12573. wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=no'
  12574. fi
  12575. else
  12576. wx_cv_use_dctransform='wxUSE_DC_TRANSFORM_MATRIX=${'DEFAULT_wxUSE_DC_TRANSFORM_MATRIX":-$defaultval}"
  12577. fi
  12578. eval "$wx_cv_use_dctransform"
  12579. if test x"$enablestring" = xdisable; then
  12580. if test $wxUSE_DC_TRANSFORM_MATRIX = no; then
  12581. result=yes
  12582. else
  12583. result=no
  12584. fi
  12585. else
  12586. result=$wxUSE_DC_TRANSFORM_MATRIX
  12587. fi
  12588. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12589. $as_echo "$result" >&6; }
  12590. enablestring=
  12591. defaultval=$wxUSE_ALL_FEATURES
  12592. if test -z "$defaultval"; then
  12593. if test x"$enablestring" = xdisable; then
  12594. defaultval=yes
  12595. else
  12596. defaultval=no
  12597. fi
  12598. fi
  12599. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewwebkit" >&5
  12600. $as_echo_n "checking for --${enablestring:-enable}-webviewwebkit... " >&6; }
  12601. # Check whether --enable-webviewwebkit was given.
  12602. if test "${enable_webviewwebkit+set}" = set; then :
  12603. enableval=$enable_webviewwebkit;
  12604. if test "$enableval" = yes; then
  12605. wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=yes'
  12606. else
  12607. wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=no'
  12608. fi
  12609. else
  12610. wx_cv_use_webviewwebkit='wxUSE_WEBVIEW_WEBKIT=${'DEFAULT_wxUSE_WEBVIEW_WEBKIT":-$defaultval}"
  12611. fi
  12612. eval "$wx_cv_use_webviewwebkit"
  12613. if test x"$enablestring" = xdisable; then
  12614. if test $wxUSE_WEBVIEW_WEBKIT = no; then
  12615. result=yes
  12616. else
  12617. result=no
  12618. fi
  12619. else
  12620. result=$wxUSE_WEBVIEW_WEBKIT
  12621. fi
  12622. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12623. $as_echo "$result" >&6; }
  12624. enablestring=
  12625. defaultval=$wxUSE_ALL_FEATURES
  12626. if test -z "$defaultval"; then
  12627. if test x"$enablestring" = xdisable; then
  12628. defaultval=yes
  12629. else
  12630. defaultval=no
  12631. fi
  12632. fi
  12633. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-palette" >&5
  12634. $as_echo_n "checking for --${enablestring:-enable}-palette... " >&6; }
  12635. # Check whether --enable-palette was given.
  12636. if test "${enable_palette+set}" = set; then :
  12637. enableval=$enable_palette;
  12638. if test "$enableval" = yes; then
  12639. wx_cv_use_palette='wxUSE_PALETTE=yes'
  12640. else
  12641. wx_cv_use_palette='wxUSE_PALETTE=no'
  12642. fi
  12643. else
  12644. wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
  12645. fi
  12646. eval "$wx_cv_use_palette"
  12647. if test x"$enablestring" = xdisable; then
  12648. if test $wxUSE_PALETTE = no; then
  12649. result=yes
  12650. else
  12651. result=no
  12652. fi
  12653. else
  12654. result=$wxUSE_PALETTE
  12655. fi
  12656. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12657. $as_echo "$result" >&6; }
  12658. enablestring=
  12659. defaultval=$wxUSE_ALL_FEATURES
  12660. if test -z "$defaultval"; then
  12661. if test x"$enablestring" = xdisable; then
  12662. defaultval=yes
  12663. else
  12664. defaultval=no
  12665. fi
  12666. fi
  12667. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-image" >&5
  12668. $as_echo_n "checking for --${enablestring:-enable}-image... " >&6; }
  12669. # Check whether --enable-image was given.
  12670. if test "${enable_image+set}" = set; then :
  12671. enableval=$enable_image;
  12672. if test "$enableval" = yes; then
  12673. wx_cv_use_image='wxUSE_IMAGE=yes'
  12674. else
  12675. wx_cv_use_image='wxUSE_IMAGE=no'
  12676. fi
  12677. else
  12678. wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
  12679. fi
  12680. eval "$wx_cv_use_image"
  12681. if test x"$enablestring" = xdisable; then
  12682. if test $wxUSE_IMAGE = no; then
  12683. result=yes
  12684. else
  12685. result=no
  12686. fi
  12687. else
  12688. result=$wxUSE_IMAGE
  12689. fi
  12690. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12691. $as_echo "$result" >&6; }
  12692. enablestring=
  12693. defaultval=$wxUSE_ALL_FEATURES
  12694. if test -z "$defaultval"; then
  12695. if test x"$enablestring" = xdisable; then
  12696. defaultval=yes
  12697. else
  12698. defaultval=no
  12699. fi
  12700. fi
  12701. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-gif" >&5
  12702. $as_echo_n "checking for --${enablestring:-enable}-gif... " >&6; }
  12703. # Check whether --enable-gif was given.
  12704. if test "${enable_gif+set}" = set; then :
  12705. enableval=$enable_gif;
  12706. if test "$enableval" = yes; then
  12707. wx_cv_use_gif='wxUSE_GIF=yes'
  12708. else
  12709. wx_cv_use_gif='wxUSE_GIF=no'
  12710. fi
  12711. else
  12712. wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
  12713. fi
  12714. eval "$wx_cv_use_gif"
  12715. if test x"$enablestring" = xdisable; then
  12716. if test $wxUSE_GIF = no; then
  12717. result=yes
  12718. else
  12719. result=no
  12720. fi
  12721. else
  12722. result=$wxUSE_GIF
  12723. fi
  12724. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12725. $as_echo "$result" >&6; }
  12726. enablestring=
  12727. defaultval=$wxUSE_ALL_FEATURES
  12728. if test -z "$defaultval"; then
  12729. if test x"$enablestring" = xdisable; then
  12730. defaultval=yes
  12731. else
  12732. defaultval=no
  12733. fi
  12734. fi
  12735. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pcx" >&5
  12736. $as_echo_n "checking for --${enablestring:-enable}-pcx... " >&6; }
  12737. # Check whether --enable-pcx was given.
  12738. if test "${enable_pcx+set}" = set; then :
  12739. enableval=$enable_pcx;
  12740. if test "$enableval" = yes; then
  12741. wx_cv_use_pcx='wxUSE_PCX=yes'
  12742. else
  12743. wx_cv_use_pcx='wxUSE_PCX=no'
  12744. fi
  12745. else
  12746. wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
  12747. fi
  12748. eval "$wx_cv_use_pcx"
  12749. if test x"$enablestring" = xdisable; then
  12750. if test $wxUSE_PCX = no; then
  12751. result=yes
  12752. else
  12753. result=no
  12754. fi
  12755. else
  12756. result=$wxUSE_PCX
  12757. fi
  12758. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12759. $as_echo "$result" >&6; }
  12760. enablestring=
  12761. defaultval=$wxUSE_ALL_FEATURES
  12762. if test -z "$defaultval"; then
  12763. if test x"$enablestring" = xdisable; then
  12764. defaultval=yes
  12765. else
  12766. defaultval=no
  12767. fi
  12768. fi
  12769. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-tga" >&5
  12770. $as_echo_n "checking for --${enablestring:-enable}-tga... " >&6; }
  12771. # Check whether --enable-tga was given.
  12772. if test "${enable_tga+set}" = set; then :
  12773. enableval=$enable_tga;
  12774. if test "$enableval" = yes; then
  12775. wx_cv_use_tga='wxUSE_TGA=yes'
  12776. else
  12777. wx_cv_use_tga='wxUSE_TGA=no'
  12778. fi
  12779. else
  12780. wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
  12781. fi
  12782. eval "$wx_cv_use_tga"
  12783. if test x"$enablestring" = xdisable; then
  12784. if test $wxUSE_TGA = no; then
  12785. result=yes
  12786. else
  12787. result=no
  12788. fi
  12789. else
  12790. result=$wxUSE_TGA
  12791. fi
  12792. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12793. $as_echo "$result" >&6; }
  12794. enablestring=
  12795. defaultval=$wxUSE_ALL_FEATURES
  12796. if test -z "$defaultval"; then
  12797. if test x"$enablestring" = xdisable; then
  12798. defaultval=yes
  12799. else
  12800. defaultval=no
  12801. fi
  12802. fi
  12803. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-iff" >&5
  12804. $as_echo_n "checking for --${enablestring:-enable}-iff... " >&6; }
  12805. # Check whether --enable-iff was given.
  12806. if test "${enable_iff+set}" = set; then :
  12807. enableval=$enable_iff;
  12808. if test "$enableval" = yes; then
  12809. wx_cv_use_iff='wxUSE_IFF=yes'
  12810. else
  12811. wx_cv_use_iff='wxUSE_IFF=no'
  12812. fi
  12813. else
  12814. wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
  12815. fi
  12816. eval "$wx_cv_use_iff"
  12817. if test x"$enablestring" = xdisable; then
  12818. if test $wxUSE_IFF = no; then
  12819. result=yes
  12820. else
  12821. result=no
  12822. fi
  12823. else
  12824. result=$wxUSE_IFF
  12825. fi
  12826. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12827. $as_echo "$result" >&6; }
  12828. enablestring=
  12829. defaultval=$wxUSE_ALL_FEATURES
  12830. if test -z "$defaultval"; then
  12831. if test x"$enablestring" = xdisable; then
  12832. defaultval=yes
  12833. else
  12834. defaultval=no
  12835. fi
  12836. fi
  12837. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-pnm" >&5
  12838. $as_echo_n "checking for --${enablestring:-enable}-pnm... " >&6; }
  12839. # Check whether --enable-pnm was given.
  12840. if test "${enable_pnm+set}" = set; then :
  12841. enableval=$enable_pnm;
  12842. if test "$enableval" = yes; then
  12843. wx_cv_use_pnm='wxUSE_PNM=yes'
  12844. else
  12845. wx_cv_use_pnm='wxUSE_PNM=no'
  12846. fi
  12847. else
  12848. wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
  12849. fi
  12850. eval "$wx_cv_use_pnm"
  12851. if test x"$enablestring" = xdisable; then
  12852. if test $wxUSE_PNM = no; then
  12853. result=yes
  12854. else
  12855. result=no
  12856. fi
  12857. else
  12858. result=$wxUSE_PNM
  12859. fi
  12860. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12861. $as_echo "$result" >&6; }
  12862. enablestring=
  12863. defaultval=$wxUSE_ALL_FEATURES
  12864. if test -z "$defaultval"; then
  12865. if test x"$enablestring" = xdisable; then
  12866. defaultval=yes
  12867. else
  12868. defaultval=no
  12869. fi
  12870. fi
  12871. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-xpm" >&5
  12872. $as_echo_n "checking for --${enablestring:-enable}-xpm... " >&6; }
  12873. # Check whether --enable-xpm was given.
  12874. if test "${enable_xpm+set}" = set; then :
  12875. enableval=$enable_xpm;
  12876. if test "$enableval" = yes; then
  12877. wx_cv_use_xpm='wxUSE_XPM=yes'
  12878. else
  12879. wx_cv_use_xpm='wxUSE_XPM=no'
  12880. fi
  12881. else
  12882. wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
  12883. fi
  12884. eval "$wx_cv_use_xpm"
  12885. if test x"$enablestring" = xdisable; then
  12886. if test $wxUSE_XPM = no; then
  12887. result=yes
  12888. else
  12889. result=no
  12890. fi
  12891. else
  12892. result=$wxUSE_XPM
  12893. fi
  12894. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12895. $as_echo "$result" >&6; }
  12896. enablestring=
  12897. defaultval=$wxUSE_ALL_FEATURES
  12898. if test -z "$defaultval"; then
  12899. if test x"$enablestring" = xdisable; then
  12900. defaultval=yes
  12901. else
  12902. defaultval=no
  12903. fi
  12904. fi
  12905. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ico_cur" >&5
  12906. $as_echo_n "checking for --${enablestring:-enable}-ico_cur... " >&6; }
  12907. # Check whether --enable-ico_cur was given.
  12908. if test "${enable_ico_cur+set}" = set; then :
  12909. enableval=$enable_ico_cur;
  12910. if test "$enableval" = yes; then
  12911. wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
  12912. else
  12913. wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
  12914. fi
  12915. else
  12916. wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
  12917. fi
  12918. eval "$wx_cv_use_ico_cur"
  12919. if test x"$enablestring" = xdisable; then
  12920. if test $wxUSE_ICO_CUR = no; then
  12921. result=yes
  12922. else
  12923. result=no
  12924. fi
  12925. else
  12926. result=$wxUSE_ICO_CUR
  12927. fi
  12928. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12929. $as_echo "$result" >&6; }
  12930. enablestring=
  12931. defaultval=$wxUSE_ALL_FEATURES
  12932. if test -z "$defaultval"; then
  12933. if test x"$enablestring" = xdisable; then
  12934. defaultval=yes
  12935. else
  12936. defaultval=no
  12937. fi
  12938. fi
  12939. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-dccache" >&5
  12940. $as_echo_n "checking for --${enablestring:-enable}-dccache... " >&6; }
  12941. # Check whether --enable-dccache was given.
  12942. if test "${enable_dccache+set}" = set; then :
  12943. enableval=$enable_dccache;
  12944. if test "$enableval" = yes; then
  12945. wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
  12946. else
  12947. wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
  12948. fi
  12949. else
  12950. wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
  12951. fi
  12952. eval "$wx_cv_use_dccache"
  12953. if test x"$enablestring" = xdisable; then
  12954. if test $wxUSE_DC_CACHEING = no; then
  12955. result=yes
  12956. else
  12957. result=no
  12958. fi
  12959. else
  12960. result=$wxUSE_DC_CACHEING
  12961. fi
  12962. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12963. $as_echo "$result" >&6; }
  12964. enablestring=
  12965. defaultval=$wxUSE_ALL_FEATURES
  12966. if test -z "$defaultval"; then
  12967. if test x"$enablestring" = xdisable; then
  12968. defaultval=yes
  12969. else
  12970. defaultval=no
  12971. fi
  12972. fi
  12973. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ps-in-msw" >&5
  12974. $as_echo_n "checking for --${enablestring:-enable}-ps-in-msw... " >&6; }
  12975. # Check whether --enable-ps-in-msw was given.
  12976. if test "${enable_ps_in_msw+set}" = set; then :
  12977. enableval=$enable_ps_in_msw;
  12978. if test "$enableval" = yes; then
  12979. wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
  12980. else
  12981. wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
  12982. fi
  12983. else
  12984. wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
  12985. fi
  12986. eval "$wx_cv_use_ps_in_msw"
  12987. if test x"$enablestring" = xdisable; then
  12988. if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = no; then
  12989. result=yes
  12990. else
  12991. result=no
  12992. fi
  12993. else
  12994. result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
  12995. fi
  12996. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  12997. $as_echo "$result" >&6; }
  12998. enablestring=
  12999. defaultval=$wxUSE_ALL_FEATURES
  13000. if test -z "$defaultval"; then
  13001. if test x"$enablestring" = xdisable; then
  13002. defaultval=yes
  13003. else
  13004. defaultval=no
  13005. fi
  13006. fi
  13007. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-ownerdrawn" >&5
  13008. $as_echo_n "checking for --${enablestring:-enable}-ownerdrawn... " >&6; }
  13009. # Check whether --enable-ownerdrawn was given.
  13010. if test "${enable_ownerdrawn+set}" = set; then :
  13011. enableval=$enable_ownerdrawn;
  13012. if test "$enableval" = yes; then
  13013. wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
  13014. else
  13015. wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
  13016. fi
  13017. else
  13018. wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
  13019. fi
  13020. eval "$wx_cv_use_ownerdrawn"
  13021. if test x"$enablestring" = xdisable; then
  13022. if test $wxUSE_OWNER_DRAWN = no; then
  13023. result=yes
  13024. else
  13025. result=no
  13026. fi
  13027. else
  13028. result=$wxUSE_OWNER_DRAWN
  13029. fi
  13030. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  13031. $as_echo "$result" >&6; }
  13032. enablestring=
  13033. defaultval=$wxUSE_ALL_FEATURES
  13034. if test -z "$defaultval"; then
  13035. if test x"$enablestring" = xdisable; then
  13036. defaultval=yes
  13037. else
  13038. defaultval=no
  13039. fi
  13040. fi
  13041. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-uxtheme" >&5
  13042. $as_echo_n "checking for --${enablestring:-enable}-uxtheme... " >&6; }
  13043. # Check whether --enable-uxtheme was given.
  13044. if test "${enable_uxtheme+set}" = set; then :
  13045. enableval=$enable_uxtheme;
  13046. if test "$enableval" = yes; then
  13047. wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
  13048. else
  13049. wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
  13050. fi
  13051. else
  13052. wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
  13053. fi
  13054. eval "$wx_cv_use_uxtheme"
  13055. if test x"$enablestring" = xdisable; then
  13056. if test $wxUSE_UXTHEME = no; then
  13057. result=yes
  13058. else
  13059. result=no
  13060. fi
  13061. else
  13062. result=$wxUSE_UXTHEME
  13063. fi
  13064. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  13065. $as_echo "$result" >&6; }
  13066. enablestring=
  13067. defaultval=$wxUSE_ALL_FEATURES
  13068. if test -z "$defaultval"; then
  13069. if test x"$enablestring" = xdisable; then
  13070. defaultval=yes
  13071. else
  13072. defaultval=no
  13073. fi
  13074. fi
  13075. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-wxdib" >&5
  13076. $as_echo_n "checking for --${enablestring:-enable}-wxdib... " >&6; }
  13077. # Check whether --enable-wxdib was given.
  13078. if test "${enable_wxdib+set}" = set; then :
  13079. enableval=$enable_wxdib;
  13080. if test "$enableval" = yes; then
  13081. wx_cv_use_wxdib='wxUSE_DIB=yes'
  13082. else
  13083. wx_cv_use_wxdib='wxUSE_DIB=no'
  13084. fi
  13085. else
  13086. wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
  13087. fi
  13088. eval "$wx_cv_use_wxdib"
  13089. if test x"$enablestring" = xdisable; then
  13090. if test $wxUSE_DIB = no; then
  13091. result=yes
  13092. else
  13093. result=no
  13094. fi
  13095. else
  13096. result=$wxUSE_DIB
  13097. fi
  13098. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  13099. $as_echo "$result" >&6; }
  13100. enablestring=
  13101. defaultval=$wxUSE_ALL_FEATURES
  13102. if test -z "$defaultval"; then
  13103. if test x"$enablestring" = xdisable; then
  13104. defaultval=yes
  13105. else
  13106. defaultval=no
  13107. fi
  13108. fi
  13109. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-webviewie" >&5
  13110. $as_echo_n "checking for --${enablestring:-enable}-webviewie... " >&6; }
  13111. # Check whether --enable-webviewie was given.
  13112. if test "${enable_webviewie+set}" = set; then :
  13113. enableval=$enable_webviewie;
  13114. if test "$enableval" = yes; then
  13115. wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=yes'
  13116. else
  13117. wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=no'
  13118. fi
  13119. else
  13120. wx_cv_use_webviewie='wxUSE_WEBVIEW_IE=${'DEFAULT_wxUSE_WEBVIEW_IE":-$defaultval}"
  13121. fi
  13122. eval "$wx_cv_use_webviewie"
  13123. if test x"$enablestring" = xdisable; then
  13124. if test $wxUSE_WEBVIEW_IE = no; then
  13125. result=yes
  13126. else
  13127. result=no
  13128. fi
  13129. else
  13130. result=$wxUSE_WEBVIEW_IE
  13131. fi
  13132. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  13133. $as_echo "$result" >&6; }
  13134. if test "$wxUSE_MSW" != 1; then
  13135. DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
  13136. fi
  13137. enablestring=
  13138. defaultval=$wxUSE_ALL_FEATURES
  13139. if test -z "$defaultval"; then
  13140. if test x"$enablestring" = xdisable; then
  13141. defaultval=yes
  13142. else
  13143. defaultval=no
  13144. fi
  13145. fi
  13146. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for --${enablestring:-enable}-autoidman" >&5
  13147. $as_echo_n "checking for --${enablestring:-enable}-autoidman... " >&6; }
  13148. # Check whether --enable-autoidman was given.
  13149. if test "${enable_autoidman+set}" = set; then :
  13150. enableval=$enable_autoidman;
  13151. if test "$enableval" = yes; then
  13152. wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
  13153. else
  13154. wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
  13155. fi
  13156. else
  13157. wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
  13158. fi
  13159. eval "$wx_cv_use_autoidman"
  13160. if test x"$enablestring" = xdisable; then
  13161. if test $wxUSE_AUTOID_MANAGEMENT = no; then
  13162. result=yes
  13163. else
  13164. result=no
  13165. fi
  13166. else
  13167. result=$wxUSE_AUTOID_MANAGEMENT
  13168. fi
  13169. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $result" >&5
  13170. $as_echo "$result" >&6; }
  13171. fi
  13172. cat >confcache <<\_ACEOF
  13173. # This file is a shell script that caches the results of configure
  13174. # tests run on this system so they can be shared between configure
  13175. # scripts and configure runs, see configure's option --config-cache.
  13176. # It is not useful on other systems. If it contains results you don't
  13177. # want to keep, you may remove or edit it.
  13178. #
  13179. # config.status only pays attention to the cache file if you give it
  13180. # the --recheck option to rerun configure.
  13181. #
  13182. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  13183. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  13184. # following values.
  13185. _ACEOF
  13186. # The following way of writing the cache mishandles newlines in values,
  13187. # but we know of no workaround that is simple, portable, and efficient.
  13188. # So, we kill variables containing newlines.
  13189. # Ultrix sh set writes to stderr and can't be redirected directly,
  13190. # and sets the high bit in the cache file unless we assign to the vars.
  13191. (
  13192. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  13193. eval ac_val=\$$ac_var
  13194. case $ac_val in #(
  13195. *${as_nl}*)
  13196. case $ac_var in #(
  13197. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  13198. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  13199. esac
  13200. case $ac_var in #(
  13201. _ | IFS | as_nl) ;; #(
  13202. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  13203. *) { eval $ac_var=; unset $ac_var;} ;;
  13204. esac ;;
  13205. esac
  13206. done
  13207. (set) 2>&1 |
  13208. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  13209. *${as_nl}ac_space=\ *)
  13210. # `set' does not quote correctly, so add quotes: double-quote
  13211. # substitution turns \\\\ into \\, and sed turns \\ into \.
  13212. sed -n \
  13213. "s/'/'\\\\''/g;
  13214. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  13215. ;; #(
  13216. *)
  13217. # `set' quotes correctly as required by POSIX, so do not add quotes.
  13218. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  13219. ;;
  13220. esac |
  13221. sort
  13222. ) |
  13223. sed '
  13224. /^ac_cv_env_/b end
  13225. t clear
  13226. :clear
  13227. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  13228. t end
  13229. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  13230. :end' >>confcache
  13231. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  13232. if test -w "$cache_file"; then
  13233. if test "x$cache_file" != "x/dev/null"; then
  13234. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  13235. $as_echo "$as_me: updating cache $cache_file" >&6;}
  13236. if test ! -f "$cache_file" || test -h "$cache_file"; then
  13237. cat confcache >"$cache_file"
  13238. else
  13239. case $cache_file in #(
  13240. */* | ?:*)
  13241. mv -f confcache "$cache_file"$$ &&
  13242. mv -f "$cache_file"$$ "$cache_file" ;; #(
  13243. *)
  13244. mv -f confcache "$cache_file" ;;
  13245. esac
  13246. fi
  13247. fi
  13248. else
  13249. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  13250. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  13251. fi
  13252. fi
  13253. rm -f confcache
  13254. CFLAGS=${CFLAGS:=}
  13255. ac_ext=c
  13256. ac_cpp='$CPP $CPPFLAGS'
  13257. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13258. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13259. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13260. if test -n "$ac_tool_prefix"; then
  13261. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  13262. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  13263. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13264. $as_echo_n "checking for $ac_word... " >&6; }
  13265. if ${ac_cv_prog_CC+:} false; then :
  13266. $as_echo_n "(cached) " >&6
  13267. else
  13268. if test -n "$CC"; then
  13269. ac_cv_prog_CC="$CC" # Let the user override the test.
  13270. else
  13271. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13272. for as_dir in $PATH
  13273. do
  13274. IFS=$as_save_IFS
  13275. test -z "$as_dir" && as_dir=.
  13276. for ac_exec_ext in '' $ac_executable_extensions; do
  13277. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13278. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  13279. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13280. break 2
  13281. fi
  13282. done
  13283. done
  13284. IFS=$as_save_IFS
  13285. fi
  13286. fi
  13287. CC=$ac_cv_prog_CC
  13288. if test -n "$CC"; then
  13289. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  13290. $as_echo "$CC" >&6; }
  13291. else
  13292. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13293. $as_echo "no" >&6; }
  13294. fi
  13295. fi
  13296. if test -z "$ac_cv_prog_CC"; then
  13297. ac_ct_CC=$CC
  13298. # Extract the first word of "gcc", so it can be a program name with args.
  13299. set dummy gcc; ac_word=$2
  13300. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13301. $as_echo_n "checking for $ac_word... " >&6; }
  13302. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  13303. $as_echo_n "(cached) " >&6
  13304. else
  13305. if test -n "$ac_ct_CC"; then
  13306. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  13307. else
  13308. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13309. for as_dir in $PATH
  13310. do
  13311. IFS=$as_save_IFS
  13312. test -z "$as_dir" && as_dir=.
  13313. for ac_exec_ext in '' $ac_executable_extensions; do
  13314. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13315. ac_cv_prog_ac_ct_CC="gcc"
  13316. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13317. break 2
  13318. fi
  13319. done
  13320. done
  13321. IFS=$as_save_IFS
  13322. fi
  13323. fi
  13324. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  13325. if test -n "$ac_ct_CC"; then
  13326. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  13327. $as_echo "$ac_ct_CC" >&6; }
  13328. else
  13329. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13330. $as_echo "no" >&6; }
  13331. fi
  13332. if test "x$ac_ct_CC" = x; then
  13333. CC=""
  13334. else
  13335. case $cross_compiling:$ac_tool_warned in
  13336. yes:)
  13337. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13338. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13339. ac_tool_warned=yes ;;
  13340. esac
  13341. CC=$ac_ct_CC
  13342. fi
  13343. else
  13344. CC="$ac_cv_prog_CC"
  13345. fi
  13346. if test -z "$CC"; then
  13347. if test -n "$ac_tool_prefix"; then
  13348. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  13349. set dummy ${ac_tool_prefix}cc; ac_word=$2
  13350. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13351. $as_echo_n "checking for $ac_word... " >&6; }
  13352. if ${ac_cv_prog_CC+:} false; then :
  13353. $as_echo_n "(cached) " >&6
  13354. else
  13355. if test -n "$CC"; then
  13356. ac_cv_prog_CC="$CC" # Let the user override the test.
  13357. else
  13358. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13359. for as_dir in $PATH
  13360. do
  13361. IFS=$as_save_IFS
  13362. test -z "$as_dir" && as_dir=.
  13363. for ac_exec_ext in '' $ac_executable_extensions; do
  13364. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13365. ac_cv_prog_CC="${ac_tool_prefix}cc"
  13366. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13367. break 2
  13368. fi
  13369. done
  13370. done
  13371. IFS=$as_save_IFS
  13372. fi
  13373. fi
  13374. CC=$ac_cv_prog_CC
  13375. if test -n "$CC"; then
  13376. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  13377. $as_echo "$CC" >&6; }
  13378. else
  13379. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13380. $as_echo "no" >&6; }
  13381. fi
  13382. fi
  13383. fi
  13384. if test -z "$CC"; then
  13385. # Extract the first word of "cc", so it can be a program name with args.
  13386. set dummy cc; ac_word=$2
  13387. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13388. $as_echo_n "checking for $ac_word... " >&6; }
  13389. if ${ac_cv_prog_CC+:} false; then :
  13390. $as_echo_n "(cached) " >&6
  13391. else
  13392. if test -n "$CC"; then
  13393. ac_cv_prog_CC="$CC" # Let the user override the test.
  13394. else
  13395. ac_prog_rejected=no
  13396. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13397. for as_dir in $PATH
  13398. do
  13399. IFS=$as_save_IFS
  13400. test -z "$as_dir" && as_dir=.
  13401. for ac_exec_ext in '' $ac_executable_extensions; do
  13402. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13403. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  13404. ac_prog_rejected=yes
  13405. continue
  13406. fi
  13407. ac_cv_prog_CC="cc"
  13408. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13409. break 2
  13410. fi
  13411. done
  13412. done
  13413. IFS=$as_save_IFS
  13414. if test $ac_prog_rejected = yes; then
  13415. # We found a bogon in the path, so make sure we never use it.
  13416. set dummy $ac_cv_prog_CC
  13417. shift
  13418. if test $# != 0; then
  13419. # We chose a different compiler from the bogus one.
  13420. # However, it has the same basename, so the bogon will be chosen
  13421. # first if we set CC to just the basename; use the full file name.
  13422. shift
  13423. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  13424. fi
  13425. fi
  13426. fi
  13427. fi
  13428. CC=$ac_cv_prog_CC
  13429. if test -n "$CC"; then
  13430. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  13431. $as_echo "$CC" >&6; }
  13432. else
  13433. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13434. $as_echo "no" >&6; }
  13435. fi
  13436. fi
  13437. if test -z "$CC"; then
  13438. if test -n "$ac_tool_prefix"; then
  13439. for ac_prog in cl.exe
  13440. do
  13441. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  13442. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  13443. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13444. $as_echo_n "checking for $ac_word... " >&6; }
  13445. if ${ac_cv_prog_CC+:} false; then :
  13446. $as_echo_n "(cached) " >&6
  13447. else
  13448. if test -n "$CC"; then
  13449. ac_cv_prog_CC="$CC" # Let the user override the test.
  13450. else
  13451. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13452. for as_dir in $PATH
  13453. do
  13454. IFS=$as_save_IFS
  13455. test -z "$as_dir" && as_dir=.
  13456. for ac_exec_ext in '' $ac_executable_extensions; do
  13457. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13458. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  13459. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13460. break 2
  13461. fi
  13462. done
  13463. done
  13464. IFS=$as_save_IFS
  13465. fi
  13466. fi
  13467. CC=$ac_cv_prog_CC
  13468. if test -n "$CC"; then
  13469. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  13470. $as_echo "$CC" >&6; }
  13471. else
  13472. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13473. $as_echo "no" >&6; }
  13474. fi
  13475. test -n "$CC" && break
  13476. done
  13477. fi
  13478. if test -z "$CC"; then
  13479. ac_ct_CC=$CC
  13480. for ac_prog in cl.exe
  13481. do
  13482. # Extract the first word of "$ac_prog", so it can be a program name with args.
  13483. set dummy $ac_prog; ac_word=$2
  13484. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  13485. $as_echo_n "checking for $ac_word... " >&6; }
  13486. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  13487. $as_echo_n "(cached) " >&6
  13488. else
  13489. if test -n "$ac_ct_CC"; then
  13490. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  13491. else
  13492. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  13493. for as_dir in $PATH
  13494. do
  13495. IFS=$as_save_IFS
  13496. test -z "$as_dir" && as_dir=.
  13497. for ac_exec_ext in '' $ac_executable_extensions; do
  13498. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  13499. ac_cv_prog_ac_ct_CC="$ac_prog"
  13500. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  13501. break 2
  13502. fi
  13503. done
  13504. done
  13505. IFS=$as_save_IFS
  13506. fi
  13507. fi
  13508. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  13509. if test -n "$ac_ct_CC"; then
  13510. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  13511. $as_echo "$ac_ct_CC" >&6; }
  13512. else
  13513. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13514. $as_echo "no" >&6; }
  13515. fi
  13516. test -n "$ac_ct_CC" && break
  13517. done
  13518. if test "x$ac_ct_CC" = x; then
  13519. CC=""
  13520. else
  13521. case $cross_compiling:$ac_tool_warned in
  13522. yes:)
  13523. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  13524. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  13525. ac_tool_warned=yes ;;
  13526. esac
  13527. CC=$ac_ct_CC
  13528. fi
  13529. fi
  13530. fi
  13531. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13532. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13533. as_fn_error $? "no acceptable C compiler found in \$PATH
  13534. See \`config.log' for more details" "$LINENO" 5; }
  13535. # Provide some information about the compiler.
  13536. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  13537. set X $ac_compile
  13538. ac_compiler=$2
  13539. for ac_option in --version -v -V -qversion; do
  13540. { { ac_try="$ac_compiler $ac_option >&5"
  13541. case "(($ac_try" in
  13542. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13543. *) ac_try_echo=$ac_try;;
  13544. esac
  13545. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13546. $as_echo "$ac_try_echo"; } >&5
  13547. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  13548. ac_status=$?
  13549. if test -s conftest.err; then
  13550. sed '10a\
  13551. ... rest of stderr output deleted ...
  13552. 10q' conftest.err >conftest.er1
  13553. cat conftest.er1 >&5
  13554. fi
  13555. rm -f conftest.er1 conftest.err
  13556. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13557. test $ac_status = 0; }
  13558. done
  13559. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13560. /* end confdefs.h. */
  13561. int
  13562. main ()
  13563. {
  13564. ;
  13565. return 0;
  13566. }
  13567. _ACEOF
  13568. ac_clean_files_save=$ac_clean_files
  13569. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  13570. # Try to create an executable without -o first, disregard a.out.
  13571. # It will help us diagnose broken compilers, and finding out an intuition
  13572. # of exeext.
  13573. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  13574. $as_echo_n "checking whether the C compiler works... " >&6; }
  13575. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  13576. # The possible output files:
  13577. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  13578. ac_rmfiles=
  13579. for ac_file in $ac_files
  13580. do
  13581. case $ac_file in
  13582. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  13583. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  13584. esac
  13585. done
  13586. rm -f $ac_rmfiles
  13587. if { { ac_try="$ac_link_default"
  13588. case "(($ac_try" in
  13589. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13590. *) ac_try_echo=$ac_try;;
  13591. esac
  13592. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13593. $as_echo "$ac_try_echo"; } >&5
  13594. (eval "$ac_link_default") 2>&5
  13595. ac_status=$?
  13596. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13597. test $ac_status = 0; }; then :
  13598. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  13599. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  13600. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  13601. # so that the user can short-circuit this test for compilers unknown to
  13602. # Autoconf.
  13603. for ac_file in $ac_files ''
  13604. do
  13605. test -f "$ac_file" || continue
  13606. case $ac_file in
  13607. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  13608. ;;
  13609. [ab].out )
  13610. # We found the default executable, but exeext='' is most
  13611. # certainly right.
  13612. break;;
  13613. *.* )
  13614. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  13615. then :; else
  13616. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  13617. fi
  13618. # We set ac_cv_exeext here because the later test for it is not
  13619. # safe: cross compilers may not add the suffix if given an `-o'
  13620. # argument, so we may need to know it at that point already.
  13621. # Even if this section looks crufty: it has the advantage of
  13622. # actually working.
  13623. break;;
  13624. * )
  13625. break;;
  13626. esac
  13627. done
  13628. test "$ac_cv_exeext" = no && ac_cv_exeext=
  13629. else
  13630. ac_file=''
  13631. fi
  13632. if test -z "$ac_file"; then :
  13633. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13634. $as_echo "no" >&6; }
  13635. $as_echo "$as_me: failed program was:" >&5
  13636. sed 's/^/| /' conftest.$ac_ext >&5
  13637. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13638. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13639. as_fn_error 77 "C compiler cannot create executables
  13640. See \`config.log' for more details" "$LINENO" 5; }
  13641. else
  13642. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13643. $as_echo "yes" >&6; }
  13644. fi
  13645. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  13646. $as_echo_n "checking for C compiler default output file name... " >&6; }
  13647. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  13648. $as_echo "$ac_file" >&6; }
  13649. ac_exeext=$ac_cv_exeext
  13650. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  13651. ac_clean_files=$ac_clean_files_save
  13652. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  13653. $as_echo_n "checking for suffix of executables... " >&6; }
  13654. if { { ac_try="$ac_link"
  13655. case "(($ac_try" in
  13656. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13657. *) ac_try_echo=$ac_try;;
  13658. esac
  13659. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13660. $as_echo "$ac_try_echo"; } >&5
  13661. (eval "$ac_link") 2>&5
  13662. ac_status=$?
  13663. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13664. test $ac_status = 0; }; then :
  13665. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  13666. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  13667. # work properly (i.e., refer to `conftest.exe'), while it won't with
  13668. # `rm'.
  13669. for ac_file in conftest.exe conftest conftest.*; do
  13670. test -f "$ac_file" || continue
  13671. case $ac_file in
  13672. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  13673. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  13674. break;;
  13675. * ) break;;
  13676. esac
  13677. done
  13678. else
  13679. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13680. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13681. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  13682. See \`config.log' for more details" "$LINENO" 5; }
  13683. fi
  13684. rm -f conftest conftest$ac_cv_exeext
  13685. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  13686. $as_echo "$ac_cv_exeext" >&6; }
  13687. rm -f conftest.$ac_ext
  13688. EXEEXT=$ac_cv_exeext
  13689. ac_exeext=$EXEEXT
  13690. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13691. /* end confdefs.h. */
  13692. #include <stdio.h>
  13693. int
  13694. main ()
  13695. {
  13696. FILE *f = fopen ("conftest.out", "w");
  13697. return ferror (f) || fclose (f) != 0;
  13698. ;
  13699. return 0;
  13700. }
  13701. _ACEOF
  13702. ac_clean_files="$ac_clean_files conftest.out"
  13703. # Check that the compiler produces executables we can run. If not, either
  13704. # the compiler is broken, or we cross compile.
  13705. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  13706. $as_echo_n "checking whether we are cross compiling... " >&6; }
  13707. if test "$cross_compiling" != yes; then
  13708. { { ac_try="$ac_link"
  13709. case "(($ac_try" in
  13710. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13711. *) ac_try_echo=$ac_try;;
  13712. esac
  13713. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13714. $as_echo "$ac_try_echo"; } >&5
  13715. (eval "$ac_link") 2>&5
  13716. ac_status=$?
  13717. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13718. test $ac_status = 0; }
  13719. if { ac_try='./conftest$ac_cv_exeext'
  13720. { { case "(($ac_try" in
  13721. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13722. *) ac_try_echo=$ac_try;;
  13723. esac
  13724. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13725. $as_echo "$ac_try_echo"; } >&5
  13726. (eval "$ac_try") 2>&5
  13727. ac_status=$?
  13728. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13729. test $ac_status = 0; }; }; then
  13730. cross_compiling=no
  13731. else
  13732. if test "$cross_compiling" = maybe; then
  13733. cross_compiling=yes
  13734. else
  13735. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13736. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13737. as_fn_error $? "cannot run C compiled programs.
  13738. If you meant to cross compile, use \`--host'.
  13739. See \`config.log' for more details" "$LINENO" 5; }
  13740. fi
  13741. fi
  13742. fi
  13743. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  13744. $as_echo "$cross_compiling" >&6; }
  13745. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  13746. ac_clean_files=$ac_clean_files_save
  13747. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  13748. $as_echo_n "checking for suffix of object files... " >&6; }
  13749. if ${ac_cv_objext+:} false; then :
  13750. $as_echo_n "(cached) " >&6
  13751. else
  13752. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13753. /* end confdefs.h. */
  13754. int
  13755. main ()
  13756. {
  13757. ;
  13758. return 0;
  13759. }
  13760. _ACEOF
  13761. rm -f conftest.o conftest.obj
  13762. if { { ac_try="$ac_compile"
  13763. case "(($ac_try" in
  13764. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  13765. *) ac_try_echo=$ac_try;;
  13766. esac
  13767. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  13768. $as_echo "$ac_try_echo"; } >&5
  13769. (eval "$ac_compile") 2>&5
  13770. ac_status=$?
  13771. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  13772. test $ac_status = 0; }; then :
  13773. for ac_file in conftest.o conftest.obj conftest.*; do
  13774. test -f "$ac_file" || continue;
  13775. case $ac_file in
  13776. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  13777. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  13778. break;;
  13779. esac
  13780. done
  13781. else
  13782. $as_echo "$as_me: failed program was:" >&5
  13783. sed 's/^/| /' conftest.$ac_ext >&5
  13784. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  13785. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  13786. as_fn_error $? "cannot compute suffix of object files: cannot compile
  13787. See \`config.log' for more details" "$LINENO" 5; }
  13788. fi
  13789. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  13790. fi
  13791. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  13792. $as_echo "$ac_cv_objext" >&6; }
  13793. OBJEXT=$ac_cv_objext
  13794. ac_objext=$OBJEXT
  13795. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  13796. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  13797. if ${ac_cv_c_compiler_gnu+:} false; then :
  13798. $as_echo_n "(cached) " >&6
  13799. else
  13800. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13801. /* end confdefs.h. */
  13802. int
  13803. main ()
  13804. {
  13805. #ifndef __GNUC__
  13806. choke me
  13807. #endif
  13808. ;
  13809. return 0;
  13810. }
  13811. _ACEOF
  13812. if ac_fn_c_try_compile "$LINENO"; then :
  13813. ac_compiler_gnu=yes
  13814. else
  13815. ac_compiler_gnu=no
  13816. fi
  13817. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13818. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  13819. fi
  13820. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  13821. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  13822. if test $ac_compiler_gnu = yes; then
  13823. GCC=yes
  13824. else
  13825. GCC=
  13826. fi
  13827. ac_test_CFLAGS=${CFLAGS+set}
  13828. ac_save_CFLAGS=$CFLAGS
  13829. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  13830. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  13831. if ${ac_cv_prog_cc_g+:} false; then :
  13832. $as_echo_n "(cached) " >&6
  13833. else
  13834. ac_save_c_werror_flag=$ac_c_werror_flag
  13835. ac_c_werror_flag=yes
  13836. ac_cv_prog_cc_g=no
  13837. CFLAGS="-g"
  13838. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13839. /* end confdefs.h. */
  13840. int
  13841. main ()
  13842. {
  13843. ;
  13844. return 0;
  13845. }
  13846. _ACEOF
  13847. if ac_fn_c_try_compile "$LINENO"; then :
  13848. ac_cv_prog_cc_g=yes
  13849. else
  13850. CFLAGS=""
  13851. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13852. /* end confdefs.h. */
  13853. int
  13854. main ()
  13855. {
  13856. ;
  13857. return 0;
  13858. }
  13859. _ACEOF
  13860. if ac_fn_c_try_compile "$LINENO"; then :
  13861. else
  13862. ac_c_werror_flag=$ac_save_c_werror_flag
  13863. CFLAGS="-g"
  13864. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13865. /* end confdefs.h. */
  13866. int
  13867. main ()
  13868. {
  13869. ;
  13870. return 0;
  13871. }
  13872. _ACEOF
  13873. if ac_fn_c_try_compile "$LINENO"; then :
  13874. ac_cv_prog_cc_g=yes
  13875. fi
  13876. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13877. fi
  13878. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13879. fi
  13880. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13881. ac_c_werror_flag=$ac_save_c_werror_flag
  13882. fi
  13883. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  13884. $as_echo "$ac_cv_prog_cc_g" >&6; }
  13885. if test "$ac_test_CFLAGS" = set; then
  13886. CFLAGS=$ac_save_CFLAGS
  13887. elif test $ac_cv_prog_cc_g = yes; then
  13888. if test "$GCC" = yes; then
  13889. CFLAGS="-g -O2"
  13890. else
  13891. CFLAGS="-g"
  13892. fi
  13893. else
  13894. if test "$GCC" = yes; then
  13895. CFLAGS="-O2"
  13896. else
  13897. CFLAGS=
  13898. fi
  13899. fi
  13900. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  13901. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  13902. if ${ac_cv_prog_cc_c89+:} false; then :
  13903. $as_echo_n "(cached) " >&6
  13904. else
  13905. ac_cv_prog_cc_c89=no
  13906. ac_save_CC=$CC
  13907. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13908. /* end confdefs.h. */
  13909. #include <stdarg.h>
  13910. #include <stdio.h>
  13911. struct stat;
  13912. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  13913. struct buf { int x; };
  13914. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  13915. static char *e (p, i)
  13916. char **p;
  13917. int i;
  13918. {
  13919. return p[i];
  13920. }
  13921. static char *f (char * (*g) (char **, int), char **p, ...)
  13922. {
  13923. char *s;
  13924. va_list v;
  13925. va_start (v,p);
  13926. s = g (p, va_arg (v,int));
  13927. va_end (v);
  13928. return s;
  13929. }
  13930. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  13931. function prototypes and stuff, but not '\xHH' hex character constants.
  13932. These don't provoke an error unfortunately, instead are silently treated
  13933. as 'x'. The following induces an error, until -std is added to get
  13934. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  13935. array size at least. It's necessary to write '\x00'==0 to get something
  13936. that's true only with -std. */
  13937. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  13938. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  13939. inside strings and character constants. */
  13940. #define FOO(x) 'x'
  13941. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  13942. int test (int i, double x);
  13943. struct s1 {int (*f) (int a);};
  13944. struct s2 {int (*f) (double a);};
  13945. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  13946. int argc;
  13947. char **argv;
  13948. int
  13949. main ()
  13950. {
  13951. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  13952. ;
  13953. return 0;
  13954. }
  13955. _ACEOF
  13956. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  13957. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  13958. do
  13959. CC="$ac_save_CC $ac_arg"
  13960. if ac_fn_c_try_compile "$LINENO"; then :
  13961. ac_cv_prog_cc_c89=$ac_arg
  13962. fi
  13963. rm -f core conftest.err conftest.$ac_objext
  13964. test "x$ac_cv_prog_cc_c89" != "xno" && break
  13965. done
  13966. rm -f conftest.$ac_ext
  13967. CC=$ac_save_CC
  13968. fi
  13969. # AC_CACHE_VAL
  13970. case "x$ac_cv_prog_cc_c89" in
  13971. x)
  13972. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  13973. $as_echo "none needed" >&6; } ;;
  13974. xno)
  13975. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  13976. $as_echo "unsupported" >&6; } ;;
  13977. *)
  13978. CC="$CC $ac_cv_prog_cc_c89"
  13979. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  13980. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  13981. esac
  13982. if test "x$ac_cv_prog_cc_c89" != xno; then :
  13983. fi
  13984. ac_ext=c
  13985. ac_cpp='$CPP $CPPFLAGS'
  13986. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13987. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13988. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13989. ac_ext=c
  13990. ac_cpp='$CPP $CPPFLAGS'
  13991. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  13992. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  13993. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  13994. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C compiler" >&5
  13995. $as_echo_n "checking whether we are using the Intel C compiler... " >&6; }
  13996. if ${bakefile_cv_c_compiler___INTEL_COMPILER+:} false; then :
  13997. $as_echo_n "(cached) " >&6
  13998. else
  13999. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14000. /* end confdefs.h. */
  14001. int
  14002. main ()
  14003. {
  14004. #ifndef __INTEL_COMPILER
  14005. choke me
  14006. #endif
  14007. ;
  14008. return 0;
  14009. }
  14010. _ACEOF
  14011. if ac_fn_c_try_compile "$LINENO"; then :
  14012. bakefile_cv_c_compiler___INTEL_COMPILER=yes
  14013. else
  14014. bakefile_cv_c_compiler___INTEL_COMPILER=no
  14015. fi
  14016. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14017. fi
  14018. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
  14019. $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
  14020. if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
  14021. :; INTELCC=yes
  14022. else
  14023. :;
  14024. fi
  14025. ac_ext=c
  14026. ac_cpp='$CPP $CPPFLAGS'
  14027. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14028. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14029. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14030. if test "$INTELCC" = "yes"; then
  14031. ac_ext=c
  14032. ac_cpp='$CPP $CPPFLAGS'
  14033. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14034. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14035. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14036. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v8 or later" >&5
  14037. $as_echo_n "checking whether we are using Intel C compiler v8 or later... " >&6; }
  14038. if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_800+:} false; then :
  14039. $as_echo_n "(cached) " >&6
  14040. else
  14041. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14042. /* end confdefs.h. */
  14043. int
  14044. main ()
  14045. {
  14046. #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
  14047. choke me
  14048. #endif
  14049. ;
  14050. return 0;
  14051. }
  14052. _ACEOF
  14053. if ac_fn_c_try_compile "$LINENO"; then :
  14054. bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=yes
  14055. else
  14056. bakefile_cv_c_compiler___INTEL_COMPILER_lt_800=no
  14057. fi
  14058. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14059. fi
  14060. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&5
  14061. $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" >&6; }
  14062. if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
  14063. :; INTELCC8=yes
  14064. else
  14065. :;
  14066. fi
  14067. ac_ext=c
  14068. ac_cpp='$CPP $CPPFLAGS'
  14069. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14070. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14071. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14072. ac_ext=c
  14073. ac_cpp='$CPP $CPPFLAGS'
  14074. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14075. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14076. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14077. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C compiler v10 or later" >&5
  14078. $as_echo_n "checking whether we are using Intel C compiler v10 or later... " >&6; }
  14079. if ${bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000+:} false; then :
  14080. $as_echo_n "(cached) " >&6
  14081. else
  14082. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14083. /* end confdefs.h. */
  14084. int
  14085. main ()
  14086. {
  14087. #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
  14088. choke me
  14089. #endif
  14090. ;
  14091. return 0;
  14092. }
  14093. _ACEOF
  14094. if ac_fn_c_try_compile "$LINENO"; then :
  14095. bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=yes
  14096. else
  14097. bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000=no
  14098. fi
  14099. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14100. fi
  14101. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&5
  14102. $as_echo "$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" >&6; }
  14103. if test "x$bakefile_cv_c_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
  14104. :; INTELCC10=yes
  14105. else
  14106. :;
  14107. fi
  14108. ac_ext=c
  14109. ac_cpp='$CPP $CPPFLAGS'
  14110. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14111. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14112. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14113. fi
  14114. if test "x$GCC" != "xyes"; then
  14115. if test "xCC" = "xC"; then
  14116. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
  14117. $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
  14118. if ${bakefile_cv_c_exto+:} false; then :
  14119. $as_echo_n "(cached) " >&6
  14120. else
  14121. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14122. /* end confdefs.h. */
  14123. int
  14124. main ()
  14125. {
  14126. ;
  14127. return 0;
  14128. }
  14129. _ACEOF
  14130. rm -f conftest.$ac_objext conftest.$ac_ext.o
  14131. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  14132. (eval $ac_compile) 2>&5
  14133. ac_status=$?
  14134. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  14135. test $ac_status = 0; }; then :
  14136. for ac_file in `(ls conftest.* 2>/dev/null)`; do
  14137. case $ac_file in
  14138. conftest.$ac_ext.o)
  14139. bakefile_cv_c_exto="-ext o"
  14140. ;;
  14141. *)
  14142. ;;
  14143. esac
  14144. done
  14145. else
  14146. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14147. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  14148. as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
  14149. See \`config.log' for more details" "$LINENO" 5; }
  14150. fi
  14151. rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
  14152. fi
  14153. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
  14154. $as_echo "$bakefile_cv_c_exto" >&6; }
  14155. if test "x$bakefile_cv_c_exto" '!=' "x"; then
  14156. if test "c" = "c"; then
  14157. CFLAGS="$bakefile_cv_c_exto $CFLAGS"
  14158. fi
  14159. if test "c" = "cxx"; then
  14160. CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
  14161. fi
  14162. fi
  14163. if test "x$bakefile_cv_c_exto" '!=' "x"; then
  14164. unset ac_cv_prog_cc_g
  14165. ac_test_CFLAGS=${CFLAGS+set}
  14166. ac_save_CFLAGS=$CFLAGS
  14167. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  14168. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  14169. if ${ac_cv_prog_cc_g+:} false; then :
  14170. $as_echo_n "(cached) " >&6
  14171. else
  14172. ac_save_c_werror_flag=$ac_c_werror_flag
  14173. ac_c_werror_flag=yes
  14174. ac_cv_prog_cc_g=no
  14175. CFLAGS="-g"
  14176. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14177. /* end confdefs.h. */
  14178. int
  14179. main ()
  14180. {
  14181. ;
  14182. return 0;
  14183. }
  14184. _ACEOF
  14185. if ac_fn_c_try_compile "$LINENO"; then :
  14186. ac_cv_prog_cc_g=yes
  14187. else
  14188. CFLAGS=""
  14189. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14190. /* end confdefs.h. */
  14191. int
  14192. main ()
  14193. {
  14194. ;
  14195. return 0;
  14196. }
  14197. _ACEOF
  14198. if ac_fn_c_try_compile "$LINENO"; then :
  14199. else
  14200. ac_c_werror_flag=$ac_save_c_werror_flag
  14201. CFLAGS="-g"
  14202. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14203. /* end confdefs.h. */
  14204. int
  14205. main ()
  14206. {
  14207. ;
  14208. return 0;
  14209. }
  14210. _ACEOF
  14211. if ac_fn_c_try_compile "$LINENO"; then :
  14212. ac_cv_prog_cc_g=yes
  14213. fi
  14214. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14215. fi
  14216. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14217. fi
  14218. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14219. ac_c_werror_flag=$ac_save_c_werror_flag
  14220. fi
  14221. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  14222. $as_echo "$ac_cv_prog_cc_g" >&6; }
  14223. if test "$ac_test_CFLAGS" = set; then
  14224. CFLAGS=$ac_save_CFLAGS
  14225. elif test $ac_cv_prog_cc_g = yes; then
  14226. if test "$GCC" = yes; then
  14227. CFLAGS="-g -O2"
  14228. else
  14229. CFLAGS="-g"
  14230. fi
  14231. else
  14232. if test "$GCC" = yes; then
  14233. CFLAGS="-O2"
  14234. else
  14235. CFLAGS=
  14236. fi
  14237. fi
  14238. fi
  14239. fi
  14240. case `uname -s` in
  14241. AIX*)
  14242. ac_ext=c
  14243. ac_cpp='$CPP $CPPFLAGS'
  14244. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14245. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14246. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14247. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
  14248. $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
  14249. if ${bakefile_cv_c_compiler___xlC__+:} false; then :
  14250. $as_echo_n "(cached) " >&6
  14251. else
  14252. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14253. /* end confdefs.h. */
  14254. int
  14255. main ()
  14256. {
  14257. #ifndef __xlC__
  14258. choke me
  14259. #endif
  14260. ;
  14261. return 0;
  14262. }
  14263. _ACEOF
  14264. if ac_fn_c_try_compile "$LINENO"; then :
  14265. bakefile_cv_c_compiler___xlC__=yes
  14266. else
  14267. bakefile_cv_c_compiler___xlC__=no
  14268. fi
  14269. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14270. fi
  14271. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
  14272. $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
  14273. if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
  14274. :; XLCC=yes
  14275. else
  14276. :;
  14277. fi
  14278. ac_ext=c
  14279. ac_cpp='$CPP $CPPFLAGS'
  14280. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14281. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14282. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14283. ;;
  14284. Darwin)
  14285. ac_ext=c
  14286. ac_cpp='$CPP $CPPFLAGS'
  14287. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14288. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14289. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14290. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C compiler" >&5
  14291. $as_echo_n "checking whether we are using the Metrowerks C compiler... " >&6; }
  14292. if ${bakefile_cv_c_compiler___MWERKS__+:} false; then :
  14293. $as_echo_n "(cached) " >&6
  14294. else
  14295. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14296. /* end confdefs.h. */
  14297. int
  14298. main ()
  14299. {
  14300. #ifndef __MWERKS__
  14301. choke me
  14302. #endif
  14303. ;
  14304. return 0;
  14305. }
  14306. _ACEOF
  14307. if ac_fn_c_try_compile "$LINENO"; then :
  14308. bakefile_cv_c_compiler___MWERKS__=yes
  14309. else
  14310. bakefile_cv_c_compiler___MWERKS__=no
  14311. fi
  14312. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14313. fi
  14314. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___MWERKS__" >&5
  14315. $as_echo "$bakefile_cv_c_compiler___MWERKS__" >&6; }
  14316. if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
  14317. :; MWCC=yes
  14318. else
  14319. :;
  14320. fi
  14321. ac_ext=c
  14322. ac_cpp='$CPP $CPPFLAGS'
  14323. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14324. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14325. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14326. if test "$MWCC" != "yes"; then
  14327. ac_ext=c
  14328. ac_cpp='$CPP $CPPFLAGS'
  14329. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14330. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14331. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14332. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C compiler" >&5
  14333. $as_echo_n "checking whether we are using the IBM xlC C compiler... " >&6; }
  14334. if ${bakefile_cv_c_compiler___xlC__+:} false; then :
  14335. $as_echo_n "(cached) " >&6
  14336. else
  14337. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14338. /* end confdefs.h. */
  14339. int
  14340. main ()
  14341. {
  14342. #ifndef __xlC__
  14343. choke me
  14344. #endif
  14345. ;
  14346. return 0;
  14347. }
  14348. _ACEOF
  14349. if ac_fn_c_try_compile "$LINENO"; then :
  14350. bakefile_cv_c_compiler___xlC__=yes
  14351. else
  14352. bakefile_cv_c_compiler___xlC__=no
  14353. fi
  14354. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14355. fi
  14356. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___xlC__" >&5
  14357. $as_echo "$bakefile_cv_c_compiler___xlC__" >&6; }
  14358. if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
  14359. :; XLCC=yes
  14360. else
  14361. :;
  14362. fi
  14363. ac_ext=c
  14364. ac_cpp='$CPP $CPPFLAGS'
  14365. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14366. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14367. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14368. fi
  14369. ;;
  14370. IRIX*)
  14371. ac_ext=c
  14372. ac_cpp='$CPP $CPPFLAGS'
  14373. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14374. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14375. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14376. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C compiler" >&5
  14377. $as_echo_n "checking whether we are using the SGI C compiler... " >&6; }
  14378. if ${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+:} false; then :
  14379. $as_echo_n "(cached) " >&6
  14380. else
  14381. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14382. /* end confdefs.h. */
  14383. int
  14384. main ()
  14385. {
  14386. #ifndef _SGI_COMPILER_VERSION
  14387. choke me
  14388. #endif
  14389. ;
  14390. return 0;
  14391. }
  14392. _ACEOF
  14393. if ac_fn_c_try_compile "$LINENO"; then :
  14394. bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
  14395. else
  14396. bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
  14397. fi
  14398. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14399. fi
  14400. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
  14401. $as_echo "$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
  14402. if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
  14403. :; SGICC=yes
  14404. else
  14405. :;
  14406. fi
  14407. ac_ext=c
  14408. ac_cpp='$CPP $CPPFLAGS'
  14409. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14410. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14411. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14412. ;;
  14413. Linux*)
  14414. if test "$INTELCC" != "yes"; then
  14415. ac_ext=c
  14416. ac_cpp='$CPP $CPPFLAGS'
  14417. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14418. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14419. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14420. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
  14421. $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
  14422. if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
  14423. $as_echo_n "(cached) " >&6
  14424. else
  14425. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14426. /* end confdefs.h. */
  14427. int
  14428. main ()
  14429. {
  14430. #ifndef __SUNPRO_C
  14431. choke me
  14432. #endif
  14433. ;
  14434. return 0;
  14435. }
  14436. _ACEOF
  14437. if ac_fn_c_try_compile "$LINENO"; then :
  14438. bakefile_cv_c_compiler___SUNPRO_C=yes
  14439. else
  14440. bakefile_cv_c_compiler___SUNPRO_C=no
  14441. fi
  14442. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14443. fi
  14444. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
  14445. $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
  14446. if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
  14447. :; SUNCC=yes
  14448. else
  14449. :;
  14450. fi
  14451. ac_ext=c
  14452. ac_cpp='$CPP $CPPFLAGS'
  14453. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14454. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14455. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14456. fi
  14457. ;;
  14458. HP-UX*)
  14459. ac_ext=c
  14460. ac_cpp='$CPP $CPPFLAGS'
  14461. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14462. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14463. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14464. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C compiler" >&5
  14465. $as_echo_n "checking whether we are using the HP C compiler... " >&6; }
  14466. if ${bakefile_cv_c_compiler___HP_cc+:} false; then :
  14467. $as_echo_n "(cached) " >&6
  14468. else
  14469. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14470. /* end confdefs.h. */
  14471. int
  14472. main ()
  14473. {
  14474. #ifndef __HP_cc
  14475. choke me
  14476. #endif
  14477. ;
  14478. return 0;
  14479. }
  14480. _ACEOF
  14481. if ac_fn_c_try_compile "$LINENO"; then :
  14482. bakefile_cv_c_compiler___HP_cc=yes
  14483. else
  14484. bakefile_cv_c_compiler___HP_cc=no
  14485. fi
  14486. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14487. fi
  14488. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___HP_cc" >&5
  14489. $as_echo "$bakefile_cv_c_compiler___HP_cc" >&6; }
  14490. if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
  14491. :; HPCC=yes
  14492. else
  14493. :;
  14494. fi
  14495. ac_ext=c
  14496. ac_cpp='$CPP $CPPFLAGS'
  14497. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14498. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14499. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14500. ;;
  14501. OSF1)
  14502. ac_ext=c
  14503. ac_cpp='$CPP $CPPFLAGS'
  14504. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14505. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14506. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14507. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C compiler" >&5
  14508. $as_echo_n "checking whether we are using the Compaq C compiler... " >&6; }
  14509. if ${bakefile_cv_c_compiler___DECC+:} false; then :
  14510. $as_echo_n "(cached) " >&6
  14511. else
  14512. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14513. /* end confdefs.h. */
  14514. int
  14515. main ()
  14516. {
  14517. #ifndef __DECC
  14518. choke me
  14519. #endif
  14520. ;
  14521. return 0;
  14522. }
  14523. _ACEOF
  14524. if ac_fn_c_try_compile "$LINENO"; then :
  14525. bakefile_cv_c_compiler___DECC=yes
  14526. else
  14527. bakefile_cv_c_compiler___DECC=no
  14528. fi
  14529. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14530. fi
  14531. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___DECC" >&5
  14532. $as_echo "$bakefile_cv_c_compiler___DECC" >&6; }
  14533. if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
  14534. :; COMPAQCC=yes
  14535. else
  14536. :;
  14537. fi
  14538. ac_ext=c
  14539. ac_cpp='$CPP $CPPFLAGS'
  14540. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14541. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14542. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14543. ;;
  14544. SunOS)
  14545. ac_ext=c
  14546. ac_cpp='$CPP $CPPFLAGS'
  14547. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14548. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14549. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14550. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C compiler" >&5
  14551. $as_echo_n "checking whether we are using the Sun C compiler... " >&6; }
  14552. if ${bakefile_cv_c_compiler___SUNPRO_C+:} false; then :
  14553. $as_echo_n "(cached) " >&6
  14554. else
  14555. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14556. /* end confdefs.h. */
  14557. int
  14558. main ()
  14559. {
  14560. #ifndef __SUNPRO_C
  14561. choke me
  14562. #endif
  14563. ;
  14564. return 0;
  14565. }
  14566. _ACEOF
  14567. if ac_fn_c_try_compile "$LINENO"; then :
  14568. bakefile_cv_c_compiler___SUNPRO_C=yes
  14569. else
  14570. bakefile_cv_c_compiler___SUNPRO_C=no
  14571. fi
  14572. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14573. fi
  14574. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
  14575. $as_echo "$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
  14576. if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
  14577. :; SUNCC=yes
  14578. else
  14579. :;
  14580. fi
  14581. ac_ext=c
  14582. ac_cpp='$CPP $CPPFLAGS'
  14583. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14584. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14585. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14586. ;;
  14587. esac
  14588. fi
  14589. ac_ext=c
  14590. ac_cpp='$CPP $CPPFLAGS'
  14591. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14592. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14593. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14594. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  14595. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  14596. # On Suns, sometimes $CPP names a directory.
  14597. if test -n "$CPP" && test -d "$CPP"; then
  14598. CPP=
  14599. fi
  14600. if test -z "$CPP"; then
  14601. if ${ac_cv_prog_CPP+:} false; then :
  14602. $as_echo_n "(cached) " >&6
  14603. else
  14604. # Double quotes because CPP needs to be expanded
  14605. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  14606. do
  14607. ac_preproc_ok=false
  14608. for ac_c_preproc_warn_flag in '' yes
  14609. do
  14610. # Use a header file that comes with gcc, so configuring glibc
  14611. # with a fresh cross-compiler works.
  14612. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  14613. # <limits.h> exists even on freestanding compilers.
  14614. # On the NeXT, cc -E runs the code through the compiler's parser,
  14615. # not just through cpp. "Syntax error" is here to catch this case.
  14616. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14617. /* end confdefs.h. */
  14618. #ifdef __STDC__
  14619. # include <limits.h>
  14620. #else
  14621. # include <assert.h>
  14622. #endif
  14623. Syntax error
  14624. _ACEOF
  14625. if ac_fn_c_try_cpp "$LINENO"; then :
  14626. else
  14627. # Broken: fails on valid input.
  14628. continue
  14629. fi
  14630. rm -f conftest.err conftest.i conftest.$ac_ext
  14631. # OK, works on sane cases. Now check whether nonexistent headers
  14632. # can be detected and how.
  14633. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14634. /* end confdefs.h. */
  14635. #include <ac_nonexistent.h>
  14636. _ACEOF
  14637. if ac_fn_c_try_cpp "$LINENO"; then :
  14638. # Broken: success on invalid input.
  14639. continue
  14640. else
  14641. # Passes both tests.
  14642. ac_preproc_ok=:
  14643. break
  14644. fi
  14645. rm -f conftest.err conftest.i conftest.$ac_ext
  14646. done
  14647. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  14648. rm -f conftest.i conftest.err conftest.$ac_ext
  14649. if $ac_preproc_ok; then :
  14650. break
  14651. fi
  14652. done
  14653. ac_cv_prog_CPP=$CPP
  14654. fi
  14655. CPP=$ac_cv_prog_CPP
  14656. else
  14657. ac_cv_prog_CPP=$CPP
  14658. fi
  14659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  14660. $as_echo "$CPP" >&6; }
  14661. ac_preproc_ok=false
  14662. for ac_c_preproc_warn_flag in '' yes
  14663. do
  14664. # Use a header file that comes with gcc, so configuring glibc
  14665. # with a fresh cross-compiler works.
  14666. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  14667. # <limits.h> exists even on freestanding compilers.
  14668. # On the NeXT, cc -E runs the code through the compiler's parser,
  14669. # not just through cpp. "Syntax error" is here to catch this case.
  14670. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14671. /* end confdefs.h. */
  14672. #ifdef __STDC__
  14673. # include <limits.h>
  14674. #else
  14675. # include <assert.h>
  14676. #endif
  14677. Syntax error
  14678. _ACEOF
  14679. if ac_fn_c_try_cpp "$LINENO"; then :
  14680. else
  14681. # Broken: fails on valid input.
  14682. continue
  14683. fi
  14684. rm -f conftest.err conftest.i conftest.$ac_ext
  14685. # OK, works on sane cases. Now check whether nonexistent headers
  14686. # can be detected and how.
  14687. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14688. /* end confdefs.h. */
  14689. #include <ac_nonexistent.h>
  14690. _ACEOF
  14691. if ac_fn_c_try_cpp "$LINENO"; then :
  14692. # Broken: success on invalid input.
  14693. continue
  14694. else
  14695. # Passes both tests.
  14696. ac_preproc_ok=:
  14697. break
  14698. fi
  14699. rm -f conftest.err conftest.i conftest.$ac_ext
  14700. done
  14701. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  14702. rm -f conftest.i conftest.err conftest.$ac_ext
  14703. if $ac_preproc_ok; then :
  14704. else
  14705. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  14706. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  14707. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  14708. See \`config.log' for more details" "$LINENO" 5; }
  14709. fi
  14710. ac_ext=c
  14711. ac_cpp='$CPP $CPPFLAGS'
  14712. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14713. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14714. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  14715. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  14716. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  14717. if ${ac_cv_path_GREP+:} false; then :
  14718. $as_echo_n "(cached) " >&6
  14719. else
  14720. if test -z "$GREP"; then
  14721. ac_path_GREP_found=false
  14722. # Loop through the user's path and test for each of PROGNAME-LIST
  14723. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14724. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  14725. do
  14726. IFS=$as_save_IFS
  14727. test -z "$as_dir" && as_dir=.
  14728. for ac_prog in grep ggrep; do
  14729. for ac_exec_ext in '' $ac_executable_extensions; do
  14730. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  14731. as_fn_executable_p "$ac_path_GREP" || continue
  14732. # Check for GNU ac_path_GREP and select it if it is found.
  14733. # Check for GNU $ac_path_GREP
  14734. case `"$ac_path_GREP" --version 2>&1` in
  14735. *GNU*)
  14736. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  14737. *)
  14738. ac_count=0
  14739. $as_echo_n 0123456789 >"conftest.in"
  14740. while :
  14741. do
  14742. cat "conftest.in" "conftest.in" >"conftest.tmp"
  14743. mv "conftest.tmp" "conftest.in"
  14744. cp "conftest.in" "conftest.nl"
  14745. $as_echo 'GREP' >> "conftest.nl"
  14746. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  14747. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  14748. as_fn_arith $ac_count + 1 && ac_count=$as_val
  14749. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  14750. # Best one so far, save it but keep looking for a better one
  14751. ac_cv_path_GREP="$ac_path_GREP"
  14752. ac_path_GREP_max=$ac_count
  14753. fi
  14754. # 10*(2^10) chars as input seems more than enough
  14755. test $ac_count -gt 10 && break
  14756. done
  14757. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  14758. esac
  14759. $ac_path_GREP_found && break 3
  14760. done
  14761. done
  14762. done
  14763. IFS=$as_save_IFS
  14764. if test -z "$ac_cv_path_GREP"; then
  14765. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  14766. fi
  14767. else
  14768. ac_cv_path_GREP=$GREP
  14769. fi
  14770. fi
  14771. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  14772. $as_echo "$ac_cv_path_GREP" >&6; }
  14773. GREP="$ac_cv_path_GREP"
  14774. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  14775. $as_echo_n "checking for egrep... " >&6; }
  14776. if ${ac_cv_path_EGREP+:} false; then :
  14777. $as_echo_n "(cached) " >&6
  14778. else
  14779. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  14780. then ac_cv_path_EGREP="$GREP -E"
  14781. else
  14782. if test -z "$EGREP"; then
  14783. ac_path_EGREP_found=false
  14784. # Loop through the user's path and test for each of PROGNAME-LIST
  14785. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14786. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  14787. do
  14788. IFS=$as_save_IFS
  14789. test -z "$as_dir" && as_dir=.
  14790. for ac_prog in egrep; do
  14791. for ac_exec_ext in '' $ac_executable_extensions; do
  14792. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  14793. as_fn_executable_p "$ac_path_EGREP" || continue
  14794. # Check for GNU ac_path_EGREP and select it if it is found.
  14795. # Check for GNU $ac_path_EGREP
  14796. case `"$ac_path_EGREP" --version 2>&1` in
  14797. *GNU*)
  14798. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  14799. *)
  14800. ac_count=0
  14801. $as_echo_n 0123456789 >"conftest.in"
  14802. while :
  14803. do
  14804. cat "conftest.in" "conftest.in" >"conftest.tmp"
  14805. mv "conftest.tmp" "conftest.in"
  14806. cp "conftest.in" "conftest.nl"
  14807. $as_echo 'EGREP' >> "conftest.nl"
  14808. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  14809. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  14810. as_fn_arith $ac_count + 1 && ac_count=$as_val
  14811. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  14812. # Best one so far, save it but keep looking for a better one
  14813. ac_cv_path_EGREP="$ac_path_EGREP"
  14814. ac_path_EGREP_max=$ac_count
  14815. fi
  14816. # 10*(2^10) chars as input seems more than enough
  14817. test $ac_count -gt 10 && break
  14818. done
  14819. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  14820. esac
  14821. $ac_path_EGREP_found && break 3
  14822. done
  14823. done
  14824. done
  14825. IFS=$as_save_IFS
  14826. if test -z "$ac_cv_path_EGREP"; then
  14827. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  14828. fi
  14829. else
  14830. ac_cv_path_EGREP=$EGREP
  14831. fi
  14832. fi
  14833. fi
  14834. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  14835. $as_echo "$ac_cv_path_EGREP" >&6; }
  14836. EGREP="$ac_cv_path_EGREP"
  14837. if test $ac_cv_c_compiler_gnu = yes; then
  14838. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC needs -traditional" >&5
  14839. $as_echo_n "checking whether $CC needs -traditional... " >&6; }
  14840. if ${ac_cv_prog_gcc_traditional+:} false; then :
  14841. $as_echo_n "(cached) " >&6
  14842. else
  14843. ac_pattern="Autoconf.*'x'"
  14844. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14845. /* end confdefs.h. */
  14846. #include <sgtty.h>
  14847. Autoconf TIOCGETP
  14848. _ACEOF
  14849. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  14850. $EGREP "$ac_pattern" >/dev/null 2>&1; then :
  14851. ac_cv_prog_gcc_traditional=yes
  14852. else
  14853. ac_cv_prog_gcc_traditional=no
  14854. fi
  14855. rm -f conftest*
  14856. if test $ac_cv_prog_gcc_traditional = no; then
  14857. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14858. /* end confdefs.h. */
  14859. #include <termio.h>
  14860. Autoconf TCGETA
  14861. _ACEOF
  14862. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  14863. $EGREP "$ac_pattern" >/dev/null 2>&1; then :
  14864. ac_cv_prog_gcc_traditional=yes
  14865. fi
  14866. rm -f conftest*
  14867. fi
  14868. fi
  14869. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_gcc_traditional" >&5
  14870. $as_echo "$ac_cv_prog_gcc_traditional" >&6; }
  14871. if test $ac_cv_prog_gcc_traditional = yes; then
  14872. CC="$CC -traditional"
  14873. fi
  14874. fi
  14875. CXXFLAGS=${CXXFLAGS:=}
  14876. ac_ext=cpp
  14877. ac_cpp='$CXXCPP $CPPFLAGS'
  14878. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  14879. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  14880. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  14881. if test -z "$CXX"; then
  14882. if test -n "$CCC"; then
  14883. CXX=$CCC
  14884. else
  14885. if test -n "$ac_tool_prefix"; then
  14886. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  14887. do
  14888. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  14889. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  14890. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14891. $as_echo_n "checking for $ac_word... " >&6; }
  14892. if ${ac_cv_prog_CXX+:} false; then :
  14893. $as_echo_n "(cached) " >&6
  14894. else
  14895. if test -n "$CXX"; then
  14896. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  14897. else
  14898. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14899. for as_dir in $PATH
  14900. do
  14901. IFS=$as_save_IFS
  14902. test -z "$as_dir" && as_dir=.
  14903. for ac_exec_ext in '' $ac_executable_extensions; do
  14904. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14905. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  14906. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14907. break 2
  14908. fi
  14909. done
  14910. done
  14911. IFS=$as_save_IFS
  14912. fi
  14913. fi
  14914. CXX=$ac_cv_prog_CXX
  14915. if test -n "$CXX"; then
  14916. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  14917. $as_echo "$CXX" >&6; }
  14918. else
  14919. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14920. $as_echo "no" >&6; }
  14921. fi
  14922. test -n "$CXX" && break
  14923. done
  14924. fi
  14925. if test -z "$CXX"; then
  14926. ac_ct_CXX=$CXX
  14927. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  14928. do
  14929. # Extract the first word of "$ac_prog", so it can be a program name with args.
  14930. set dummy $ac_prog; ac_word=$2
  14931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  14932. $as_echo_n "checking for $ac_word... " >&6; }
  14933. if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  14934. $as_echo_n "(cached) " >&6
  14935. else
  14936. if test -n "$ac_ct_CXX"; then
  14937. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  14938. else
  14939. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  14940. for as_dir in $PATH
  14941. do
  14942. IFS=$as_save_IFS
  14943. test -z "$as_dir" && as_dir=.
  14944. for ac_exec_ext in '' $ac_executable_extensions; do
  14945. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  14946. ac_cv_prog_ac_ct_CXX="$ac_prog"
  14947. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  14948. break 2
  14949. fi
  14950. done
  14951. done
  14952. IFS=$as_save_IFS
  14953. fi
  14954. fi
  14955. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  14956. if test -n "$ac_ct_CXX"; then
  14957. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  14958. $as_echo "$ac_ct_CXX" >&6; }
  14959. else
  14960. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14961. $as_echo "no" >&6; }
  14962. fi
  14963. test -n "$ac_ct_CXX" && break
  14964. done
  14965. if test "x$ac_ct_CXX" = x; then
  14966. CXX="g++"
  14967. else
  14968. case $cross_compiling:$ac_tool_warned in
  14969. yes:)
  14970. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  14971. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  14972. ac_tool_warned=yes ;;
  14973. esac
  14974. CXX=$ac_ct_CXX
  14975. fi
  14976. fi
  14977. fi
  14978. fi
  14979. # Provide some information about the compiler.
  14980. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  14981. set X $ac_compile
  14982. ac_compiler=$2
  14983. for ac_option in --version -v -V -qversion; do
  14984. { { ac_try="$ac_compiler $ac_option >&5"
  14985. case "(($ac_try" in
  14986. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  14987. *) ac_try_echo=$ac_try;;
  14988. esac
  14989. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  14990. $as_echo "$ac_try_echo"; } >&5
  14991. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  14992. ac_status=$?
  14993. if test -s conftest.err; then
  14994. sed '10a\
  14995. ... rest of stderr output deleted ...
  14996. 10q' conftest.err >conftest.er1
  14997. cat conftest.er1 >&5
  14998. fi
  14999. rm -f conftest.er1 conftest.err
  15000. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15001. test $ac_status = 0; }
  15002. done
  15003. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  15004. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  15005. if ${ac_cv_cxx_compiler_gnu+:} false; then :
  15006. $as_echo_n "(cached) " >&6
  15007. else
  15008. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15009. /* end confdefs.h. */
  15010. int
  15011. main ()
  15012. {
  15013. #ifndef __GNUC__
  15014. choke me
  15015. #endif
  15016. ;
  15017. return 0;
  15018. }
  15019. _ACEOF
  15020. if ac_fn_cxx_try_compile "$LINENO"; then :
  15021. ac_compiler_gnu=yes
  15022. else
  15023. ac_compiler_gnu=no
  15024. fi
  15025. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15026. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  15027. fi
  15028. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  15029. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  15030. if test $ac_compiler_gnu = yes; then
  15031. GXX=yes
  15032. else
  15033. GXX=
  15034. fi
  15035. ac_test_CXXFLAGS=${CXXFLAGS+set}
  15036. ac_save_CXXFLAGS=$CXXFLAGS
  15037. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  15038. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  15039. if ${ac_cv_prog_cxx_g+:} false; then :
  15040. $as_echo_n "(cached) " >&6
  15041. else
  15042. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  15043. ac_cxx_werror_flag=yes
  15044. ac_cv_prog_cxx_g=no
  15045. CXXFLAGS="-g"
  15046. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15047. /* end confdefs.h. */
  15048. int
  15049. main ()
  15050. {
  15051. ;
  15052. return 0;
  15053. }
  15054. _ACEOF
  15055. if ac_fn_cxx_try_compile "$LINENO"; then :
  15056. ac_cv_prog_cxx_g=yes
  15057. else
  15058. CXXFLAGS=""
  15059. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15060. /* end confdefs.h. */
  15061. int
  15062. main ()
  15063. {
  15064. ;
  15065. return 0;
  15066. }
  15067. _ACEOF
  15068. if ac_fn_cxx_try_compile "$LINENO"; then :
  15069. else
  15070. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  15071. CXXFLAGS="-g"
  15072. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15073. /* end confdefs.h. */
  15074. int
  15075. main ()
  15076. {
  15077. ;
  15078. return 0;
  15079. }
  15080. _ACEOF
  15081. if ac_fn_cxx_try_compile "$LINENO"; then :
  15082. ac_cv_prog_cxx_g=yes
  15083. fi
  15084. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15085. fi
  15086. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15087. fi
  15088. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15089. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  15090. fi
  15091. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  15092. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  15093. if test "$ac_test_CXXFLAGS" = set; then
  15094. CXXFLAGS=$ac_save_CXXFLAGS
  15095. elif test $ac_cv_prog_cxx_g = yes; then
  15096. if test "$GXX" = yes; then
  15097. CXXFLAGS="-g -O2"
  15098. else
  15099. CXXFLAGS="-g"
  15100. fi
  15101. else
  15102. if test "$GXX" = yes; then
  15103. CXXFLAGS="-O2"
  15104. else
  15105. CXXFLAGS=
  15106. fi
  15107. fi
  15108. ac_ext=c
  15109. ac_cpp='$CPP $CPPFLAGS'
  15110. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15111. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15112. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15113. ac_ext=cpp
  15114. ac_cpp='$CXXCPP $CPPFLAGS'
  15115. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15116. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15117. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  15118. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Intel C++ compiler" >&5
  15119. $as_echo_n "checking whether we are using the Intel C++ compiler... " >&6; }
  15120. if ${bakefile_cv_cxx_compiler___INTEL_COMPILER+:} false; then :
  15121. $as_echo_n "(cached) " >&6
  15122. else
  15123. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15124. /* end confdefs.h. */
  15125. int
  15126. main ()
  15127. {
  15128. #ifndef __INTEL_COMPILER
  15129. choke me
  15130. #endif
  15131. ;
  15132. return 0;
  15133. }
  15134. _ACEOF
  15135. if ac_fn_cxx_try_compile "$LINENO"; then :
  15136. bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
  15137. else
  15138. bakefile_cv_cxx_compiler___INTEL_COMPILER=no
  15139. fi
  15140. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15141. fi
  15142. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
  15143. $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
  15144. if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
  15145. :; INTELCXX=yes
  15146. else
  15147. :;
  15148. fi
  15149. ac_ext=c
  15150. ac_cpp='$CPP $CPPFLAGS'
  15151. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15152. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15153. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15154. if test "$INTELCXX" = "yes"; then
  15155. ac_ext=cpp
  15156. ac_cpp='$CXXCPP $CPPFLAGS'
  15157. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15158. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15159. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  15160. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v8 or later" >&5
  15161. $as_echo_n "checking whether we are using Intel C++ compiler v8 or later... " >&6; }
  15162. if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800+:} false; then :
  15163. $as_echo_n "(cached) " >&6
  15164. else
  15165. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15166. /* end confdefs.h. */
  15167. int
  15168. main ()
  15169. {
  15170. #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 800
  15171. choke me
  15172. #endif
  15173. ;
  15174. return 0;
  15175. }
  15176. _ACEOF
  15177. if ac_fn_cxx_try_compile "$LINENO"; then :
  15178. bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=yes
  15179. else
  15180. bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800=no
  15181. fi
  15182. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15183. fi
  15184. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&5
  15185. $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" >&6; }
  15186. if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_800" = "xyes"; then
  15187. :; INTELCXX8=yes
  15188. else
  15189. :;
  15190. fi
  15191. ac_ext=c
  15192. ac_cpp='$CPP $CPPFLAGS'
  15193. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15194. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15195. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15196. ac_ext=cpp
  15197. ac_cpp='$CXXCPP $CPPFLAGS'
  15198. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15199. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15200. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  15201. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using Intel C++ compiler v10 or later" >&5
  15202. $as_echo_n "checking whether we are using Intel C++ compiler v10 or later... " >&6; }
  15203. if ${bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000+:} false; then :
  15204. $as_echo_n "(cached) " >&6
  15205. else
  15206. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15207. /* end confdefs.h. */
  15208. int
  15209. main ()
  15210. {
  15211. #ifndef __INTEL_COMPILER || __INTEL_COMPILER < 1000
  15212. choke me
  15213. #endif
  15214. ;
  15215. return 0;
  15216. }
  15217. _ACEOF
  15218. if ac_fn_cxx_try_compile "$LINENO"; then :
  15219. bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=yes
  15220. else
  15221. bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000=no
  15222. fi
  15223. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15224. fi
  15225. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&5
  15226. $as_echo "$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" >&6; }
  15227. if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER_lt_1000" = "xyes"; then
  15228. :; INTELCXX10=yes
  15229. else
  15230. :;
  15231. fi
  15232. ac_ext=c
  15233. ac_cpp='$CPP $CPPFLAGS'
  15234. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15235. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15236. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15237. fi
  15238. if test "x$GCXX" != "xyes"; then
  15239. if test "xCXX" = "xC"; then
  15240. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the C compiler requires -ext o" >&5
  15241. $as_echo_n "checking if the C compiler requires -ext o... " >&6; }
  15242. if ${bakefile_cv_c_exto+:} false; then :
  15243. $as_echo_n "(cached) " >&6
  15244. else
  15245. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15246. /* end confdefs.h. */
  15247. int
  15248. main ()
  15249. {
  15250. ;
  15251. return 0;
  15252. }
  15253. _ACEOF
  15254. rm -f conftest.$ac_objext conftest.$ac_ext.o
  15255. if { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_compile\""; } >&5
  15256. (eval $ac_compile) 2>&5
  15257. ac_status=$?
  15258. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  15259. test $ac_status = 0; }; then :
  15260. for ac_file in `(ls conftest.* 2>/dev/null)`; do
  15261. case $ac_file in
  15262. conftest.$ac_ext.o)
  15263. bakefile_cv_c_exto="-ext o"
  15264. ;;
  15265. *)
  15266. ;;
  15267. esac
  15268. done
  15269. else
  15270. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  15271. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  15272. as_fn_error $? "cannot figure out if compiler needs -ext o: cannot compile
  15273. See \`config.log' for more details" "$LINENO" 5; }
  15274. fi
  15275. rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
  15276. fi
  15277. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_c_exto" >&5
  15278. $as_echo "$bakefile_cv_c_exto" >&6; }
  15279. if test "x$bakefile_cv_c_exto" '!=' "x"; then
  15280. if test "c" = "c"; then
  15281. CFLAGS="$bakefile_cv_c_exto $CFLAGS"
  15282. fi
  15283. if test "c" = "cxx"; then
  15284. CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
  15285. fi
  15286. fi
  15287. if test "x$bakefile_cv_c_exto" '!=' "x"; then
  15288. unset ac_cv_prog_cc_g
  15289. ac_test_CFLAGS=${CFLAGS+set}
  15290. ac_save_CFLAGS=$CFLAGS
  15291. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  15292. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  15293. if ${ac_cv_prog_cc_g+:} false; then :
  15294. $as_echo_n "(cached) " >&6
  15295. else
  15296. ac_save_c_werror_flag=$ac_c_werror_flag
  15297. ac_c_werror_flag=yes
  15298. ac_cv_prog_cc_g=no
  15299. CFLAGS="-g"
  15300. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15301. /* end confdefs.h. */
  15302. int
  15303. main ()
  15304. {
  15305. ;
  15306. return 0;
  15307. }
  15308. _ACEOF
  15309. if ac_fn_c_try_compile "$LINENO"; then :
  15310. ac_cv_prog_cc_g=yes
  15311. else
  15312. CFLAGS=""
  15313. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15314. /* end confdefs.h. */
  15315. int
  15316. main ()
  15317. {
  15318. ;
  15319. return 0;
  15320. }
  15321. _ACEOF
  15322. if ac_fn_c_try_compile "$LINENO"; then :
  15323. else
  15324. ac_c_werror_flag=$ac_save_c_werror_flag
  15325. CFLAGS="-g"
  15326. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15327. /* end confdefs.h. */
  15328. int
  15329. main ()
  15330. {
  15331. ;
  15332. return 0;
  15333. }
  15334. _ACEOF
  15335. if ac_fn_c_try_compile "$LINENO"; then :
  15336. ac_cv_prog_cc_g=yes
  15337. fi
  15338. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15339. fi
  15340. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15341. fi
  15342. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15343. ac_c_werror_flag=$ac_save_c_werror_flag
  15344. fi
  15345. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  15346. $as_echo "$ac_cv_prog_cc_g" >&6; }
  15347. if test "$ac_test_CFLAGS" = set; then
  15348. CFLAGS=$ac_save_CFLAGS
  15349. elif test $ac_cv_prog_cc_g = yes; then
  15350. if test "$GCC" = yes; then
  15351. CFLAGS="-g -O2"
  15352. else
  15353. CFLAGS="-g"
  15354. fi
  15355. else
  15356. if test "$GCC" = yes; then
  15357. CFLAGS="-O2"
  15358. else
  15359. CFLAGS=
  15360. fi
  15361. fi
  15362. fi
  15363. fi
  15364. case `uname -s` in
  15365. AIX*)
  15366. ac_ext=cpp
  15367. ac_cpp='$CXXCPP $CPPFLAGS'
  15368. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15369. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15370. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  15371. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
  15372. $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
  15373. if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
  15374. $as_echo_n "(cached) " >&6
  15375. else
  15376. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15377. /* end confdefs.h. */
  15378. int
  15379. main ()
  15380. {
  15381. #ifndef __xlC__
  15382. choke me
  15383. #endif
  15384. ;
  15385. return 0;
  15386. }
  15387. _ACEOF
  15388. if ac_fn_cxx_try_compile "$LINENO"; then :
  15389. bakefile_cv_cxx_compiler___xlC__=yes
  15390. else
  15391. bakefile_cv_cxx_compiler___xlC__=no
  15392. fi
  15393. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15394. fi
  15395. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
  15396. $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
  15397. if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
  15398. :; XLCXX=yes
  15399. else
  15400. :;
  15401. fi
  15402. ac_ext=c
  15403. ac_cpp='$CPP $CPPFLAGS'
  15404. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15405. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15406. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15407. ;;
  15408. Darwin)
  15409. ac_ext=cpp
  15410. ac_cpp='$CXXCPP $CPPFLAGS'
  15411. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15412. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15413. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  15414. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Metrowerks C++ compiler" >&5
  15415. $as_echo_n "checking whether we are using the Metrowerks C++ compiler... " >&6; }
  15416. if ${bakefile_cv_cxx_compiler___MWERKS__+:} false; then :
  15417. $as_echo_n "(cached) " >&6
  15418. else
  15419. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15420. /* end confdefs.h. */
  15421. int
  15422. main ()
  15423. {
  15424. #ifndef __MWERKS__
  15425. choke me
  15426. #endif
  15427. ;
  15428. return 0;
  15429. }
  15430. _ACEOF
  15431. if ac_fn_cxx_try_compile "$LINENO"; then :
  15432. bakefile_cv_cxx_compiler___MWERKS__=yes
  15433. else
  15434. bakefile_cv_cxx_compiler___MWERKS__=no
  15435. fi
  15436. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15437. fi
  15438. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
  15439. $as_echo "$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
  15440. if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
  15441. :; MWCXX=yes
  15442. else
  15443. :;
  15444. fi
  15445. ac_ext=c
  15446. ac_cpp='$CPP $CPPFLAGS'
  15447. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15448. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15449. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15450. if test "$MWCXX" != "yes"; then
  15451. ac_ext=cpp
  15452. ac_cpp='$CXXCPP $CPPFLAGS'
  15453. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15454. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15455. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  15456. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the IBM xlC C++ compiler" >&5
  15457. $as_echo_n "checking whether we are using the IBM xlC C++ compiler... " >&6; }
  15458. if ${bakefile_cv_cxx_compiler___xlC__+:} false; then :
  15459. $as_echo_n "(cached) " >&6
  15460. else
  15461. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15462. /* end confdefs.h. */
  15463. int
  15464. main ()
  15465. {
  15466. #ifndef __xlC__
  15467. choke me
  15468. #endif
  15469. ;
  15470. return 0;
  15471. }
  15472. _ACEOF
  15473. if ac_fn_cxx_try_compile "$LINENO"; then :
  15474. bakefile_cv_cxx_compiler___xlC__=yes
  15475. else
  15476. bakefile_cv_cxx_compiler___xlC__=no
  15477. fi
  15478. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15479. fi
  15480. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___xlC__" >&5
  15481. $as_echo "$bakefile_cv_cxx_compiler___xlC__" >&6; }
  15482. if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
  15483. :; XLCXX=yes
  15484. else
  15485. :;
  15486. fi
  15487. ac_ext=c
  15488. ac_cpp='$CPP $CPPFLAGS'
  15489. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15490. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15491. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15492. fi
  15493. ;;
  15494. IRIX*)
  15495. ac_ext=cpp
  15496. ac_cpp='$CXXCPP $CPPFLAGS'
  15497. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15498. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15499. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  15500. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the SGI C++ compiler" >&5
  15501. $as_echo_n "checking whether we are using the SGI C++ compiler... " >&6; }
  15502. if ${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+:} false; then :
  15503. $as_echo_n "(cached) " >&6
  15504. else
  15505. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15506. /* end confdefs.h. */
  15507. int
  15508. main ()
  15509. {
  15510. #ifndef _SGI_COMPILER_VERSION
  15511. choke me
  15512. #endif
  15513. ;
  15514. return 0;
  15515. }
  15516. _ACEOF
  15517. if ac_fn_cxx_try_compile "$LINENO"; then :
  15518. bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
  15519. else
  15520. bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
  15521. fi
  15522. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15523. fi
  15524. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
  15525. $as_echo "$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
  15526. if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
  15527. :; SGICXX=yes
  15528. else
  15529. :;
  15530. fi
  15531. ac_ext=c
  15532. ac_cpp='$CPP $CPPFLAGS'
  15533. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15534. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15535. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15536. ;;
  15537. Linux*)
  15538. if test "$INTELCXX" != "yes"; then
  15539. ac_ext=cpp
  15540. ac_cpp='$CXXCPP $CPPFLAGS'
  15541. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15542. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15543. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  15544. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
  15545. $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
  15546. if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
  15547. $as_echo_n "(cached) " >&6
  15548. else
  15549. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15550. /* end confdefs.h. */
  15551. int
  15552. main ()
  15553. {
  15554. #ifndef __SUNPRO_CC
  15555. choke me
  15556. #endif
  15557. ;
  15558. return 0;
  15559. }
  15560. _ACEOF
  15561. if ac_fn_cxx_try_compile "$LINENO"; then :
  15562. bakefile_cv_cxx_compiler___SUNPRO_CC=yes
  15563. else
  15564. bakefile_cv_cxx_compiler___SUNPRO_CC=no
  15565. fi
  15566. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15567. fi
  15568. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
  15569. $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
  15570. if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
  15571. :; SUNCXX=yes
  15572. else
  15573. :;
  15574. fi
  15575. ac_ext=c
  15576. ac_cpp='$CPP $CPPFLAGS'
  15577. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15578. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15579. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15580. fi
  15581. ;;
  15582. HP-UX*)
  15583. ac_ext=cpp
  15584. ac_cpp='$CXXCPP $CPPFLAGS'
  15585. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15586. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15587. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  15588. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the HP C++ compiler" >&5
  15589. $as_echo_n "checking whether we are using the HP C++ compiler... " >&6; }
  15590. if ${bakefile_cv_cxx_compiler___HP_aCC+:} false; then :
  15591. $as_echo_n "(cached) " >&6
  15592. else
  15593. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15594. /* end confdefs.h. */
  15595. int
  15596. main ()
  15597. {
  15598. #ifndef __HP_aCC
  15599. choke me
  15600. #endif
  15601. ;
  15602. return 0;
  15603. }
  15604. _ACEOF
  15605. if ac_fn_cxx_try_compile "$LINENO"; then :
  15606. bakefile_cv_cxx_compiler___HP_aCC=yes
  15607. else
  15608. bakefile_cv_cxx_compiler___HP_aCC=no
  15609. fi
  15610. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15611. fi
  15612. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
  15613. $as_echo "$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
  15614. if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
  15615. :; HPCXX=yes
  15616. else
  15617. :;
  15618. fi
  15619. ac_ext=c
  15620. ac_cpp='$CPP $CPPFLAGS'
  15621. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15622. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15623. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15624. ;;
  15625. OSF1)
  15626. ac_ext=cpp
  15627. ac_cpp='$CXXCPP $CPPFLAGS'
  15628. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15629. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15630. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  15631. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Compaq C++ compiler" >&5
  15632. $as_echo_n "checking whether we are using the Compaq C++ compiler... " >&6; }
  15633. if ${bakefile_cv_cxx_compiler___DECCXX+:} false; then :
  15634. $as_echo_n "(cached) " >&6
  15635. else
  15636. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15637. /* end confdefs.h. */
  15638. int
  15639. main ()
  15640. {
  15641. #ifndef __DECCXX
  15642. choke me
  15643. #endif
  15644. ;
  15645. return 0;
  15646. }
  15647. _ACEOF
  15648. if ac_fn_cxx_try_compile "$LINENO"; then :
  15649. bakefile_cv_cxx_compiler___DECCXX=yes
  15650. else
  15651. bakefile_cv_cxx_compiler___DECCXX=no
  15652. fi
  15653. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15654. fi
  15655. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
  15656. $as_echo "$bakefile_cv_cxx_compiler___DECCXX" >&6; }
  15657. if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
  15658. :; COMPAQCXX=yes
  15659. else
  15660. :;
  15661. fi
  15662. ac_ext=c
  15663. ac_cpp='$CPP $CPPFLAGS'
  15664. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15665. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15666. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15667. ;;
  15668. SunOS)
  15669. ac_ext=cpp
  15670. ac_cpp='$CXXCPP $CPPFLAGS'
  15671. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15672. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15673. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  15674. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the Sun C++ compiler" >&5
  15675. $as_echo_n "checking whether we are using the Sun C++ compiler... " >&6; }
  15676. if ${bakefile_cv_cxx_compiler___SUNPRO_CC+:} false; then :
  15677. $as_echo_n "(cached) " >&6
  15678. else
  15679. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15680. /* end confdefs.h. */
  15681. int
  15682. main ()
  15683. {
  15684. #ifndef __SUNPRO_CC
  15685. choke me
  15686. #endif
  15687. ;
  15688. return 0;
  15689. }
  15690. _ACEOF
  15691. if ac_fn_cxx_try_compile "$LINENO"; then :
  15692. bakefile_cv_cxx_compiler___SUNPRO_CC=yes
  15693. else
  15694. bakefile_cv_cxx_compiler___SUNPRO_CC=no
  15695. fi
  15696. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  15697. fi
  15698. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
  15699. $as_echo "$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
  15700. if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
  15701. :; SUNCXX=yes
  15702. else
  15703. :;
  15704. fi
  15705. ac_ext=c
  15706. ac_cpp='$CPP $CPPFLAGS'
  15707. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15708. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15709. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15710. ;;
  15711. esac
  15712. fi
  15713. if test "$CXX" = "g++" -a "$GXX" != "yes"; then
  15714. as_fn_error $? "C++ compiler is needed to build wxWidgets" "$LINENO" 5
  15715. fi
  15716. if test "x$SUNCXX" != xyes; then
  15717. if test -n "$ac_tool_prefix"; then
  15718. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  15719. set dummy ${ac_tool_prefix}ar; ac_word=$2
  15720. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15721. $as_echo_n "checking for $ac_word... " >&6; }
  15722. if ${ac_cv_prog_AR+:} false; then :
  15723. $as_echo_n "(cached) " >&6
  15724. else
  15725. if test -n "$AR"; then
  15726. ac_cv_prog_AR="$AR" # Let the user override the test.
  15727. else
  15728. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15729. for as_dir in $PATH
  15730. do
  15731. IFS=$as_save_IFS
  15732. test -z "$as_dir" && as_dir=.
  15733. for ac_exec_ext in '' $ac_executable_extensions; do
  15734. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15735. ac_cv_prog_AR="${ac_tool_prefix}ar"
  15736. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15737. break 2
  15738. fi
  15739. done
  15740. done
  15741. IFS=$as_save_IFS
  15742. fi
  15743. fi
  15744. AR=$ac_cv_prog_AR
  15745. if test -n "$AR"; then
  15746. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  15747. $as_echo "$AR" >&6; }
  15748. else
  15749. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15750. $as_echo "no" >&6; }
  15751. fi
  15752. fi
  15753. if test -z "$ac_cv_prog_AR"; then
  15754. ac_ct_AR=$AR
  15755. # Extract the first word of "ar", so it can be a program name with args.
  15756. set dummy ar; ac_word=$2
  15757. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  15758. $as_echo_n "checking for $ac_word... " >&6; }
  15759. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  15760. $as_echo_n "(cached) " >&6
  15761. else
  15762. if test -n "$ac_ct_AR"; then
  15763. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  15764. else
  15765. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  15766. for as_dir in $PATH
  15767. do
  15768. IFS=$as_save_IFS
  15769. test -z "$as_dir" && as_dir=.
  15770. for ac_exec_ext in '' $ac_executable_extensions; do
  15771. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  15772. ac_cv_prog_ac_ct_AR="ar"
  15773. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  15774. break 2
  15775. fi
  15776. done
  15777. done
  15778. IFS=$as_save_IFS
  15779. fi
  15780. fi
  15781. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  15782. if test -n "$ac_ct_AR"; then
  15783. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  15784. $as_echo "$ac_ct_AR" >&6; }
  15785. else
  15786. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  15787. $as_echo "no" >&6; }
  15788. fi
  15789. if test "x$ac_ct_AR" = x; then
  15790. AR=""
  15791. else
  15792. case $cross_compiling:$ac_tool_warned in
  15793. yes:)
  15794. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  15795. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  15796. ac_tool_warned=yes ;;
  15797. esac
  15798. AR=$ac_ct_AR
  15799. fi
  15800. else
  15801. AR="$ac_cv_prog_AR"
  15802. fi
  15803. if test "x$AR" = "x" ; then
  15804. as_fn_error $? "ar is needed to build wxWidgets" "$LINENO" 5
  15805. fi
  15806. fi
  15807. if test "$wxUSE_MAC" = 1; then
  15808. retest_macosx_linking=no
  15809. OSX_ARCH_OPTS=""
  15810. if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
  15811. if test "x$wxUSE_MAC_ARCH" != xno; then
  15812. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&5
  15813. $as_echo "$as_me: WARNING: --enable-macosx_arch is ignored when --enable-universal_binary is used." >&2;}
  15814. fi
  15815. if test "x$wxUSE_UNIVERSAL_BINARY" != xyes; then
  15816. OSX_ARCH_OPTS=$wxUSE_UNIVERSAL_BINARY
  15817. else OSX_ARCH_OPTS="ppc,i386"
  15818. if test "$wxUSE_OSX_COCOA" = 1; then
  15819. OSX_ARCH_OPTS="$OSX_ARCH_OPTS,x86_64"
  15820. fi
  15821. fi
  15822. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for architectures to use in universal binary" >&5
  15823. $as_echo_n "checking for architectures to use in universal binary... " >&6; }
  15824. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OSX_ARCH_OPTS" >&5
  15825. $as_echo "$OSX_ARCH_OPTS" >&6; }
  15826. retest_macosx_linking=yes
  15827. else
  15828. if test "x$wxUSE_MAC_ARCH" != xno; then
  15829. OSX_ARCH_OPTS=$wxUSE_MAC_ARCH
  15830. fi
  15831. fi
  15832. if test "x$OSX_ARCH_OPTS" != "x"; then
  15833. if echo $OSX_ARCH_OPTS | grep -q ","; then
  15834. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling dependency tracking due to universal binary build." >&5
  15835. $as_echo "$as_me: WARNING: Disabling dependency tracking due to universal binary build." >&2;}
  15836. disable_macosx_deps=yes
  15837. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling precompiled headers due to universal binary build." >&5
  15838. $as_echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
  15839. bk_use_pch=no
  15840. fi
  15841. OSX_ARCH_OPTS=`echo $OSX_ARCH_OPTS | sed -e 's/^/-arch /' -e 's/,/ -arch /g'`
  15842. CXXFLAGS="$OSX_ARCH_OPTS $CXXFLAGS"
  15843. CFLAGS="$OSX_ARCH_OPTS $CFLAGS"
  15844. OBJCXXFLAGS="$OSX_ARCH_OPTS $OBJCXXFLAGS"
  15845. OBJCFLAGS="$OSX_ARCH_OPTS $OBJCFLAGS"
  15846. LDFLAGS="$OSX_ARCH_OPTS $LDFLAGS"
  15847. fi
  15848. if test "x$wxUSE_MACOSX_SDK" = "xno"; then
  15849. wxUSE_MACOSX_SDK=
  15850. elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
  15851. # TODO: Search for most recent SDK and use it.
  15852. wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
  15853. fi
  15854. if test "x$wxUSE_MACOSX_SDK" != "x"; then
  15855. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
  15856. $as_echo_n "checking for SDK directory $wxUSE_MACOSX_SDK... " >&6; }
  15857. if ! test -d "$wxUSE_MACOSX_SDK"; then
  15858. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  15859. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  15860. as_fn_error $? "not found
  15861. See \`config.log' for more details" "$LINENO" 5; }
  15862. else
  15863. { $as_echo "$as_me:${as_lineno-$LINENO}: result: exists" >&5
  15864. $as_echo "exists" >&6; }
  15865. fi
  15866. MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
  15867. retest_macosx_linking=yes
  15868. fi
  15869. if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
  15870. wxUSE_MACOSX_VERSION_MIN=
  15871. elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
  15872. if test "x$wxUSE_MACOSX_SDK" != "x"; then
  15873. { $as_echo "$as_me:${as_lineno-$LINENO}: checking SDK deployment version" >&5
  15874. $as_echo_n "checking SDK deployment version... " >&6; }
  15875. MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" buildSettings | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
  15876. # If that failed, try again with the new key
  15877. if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
  15878. MACOSX_SDK_PLIST_VERSION_MIN=`defaults read "$wxUSE_MACOSX_SDK/SDKSettings" DefaultProperties | grep '^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}[^"]*"\{0,1\}; *$' | sed 's/^ *"\{0,1\}MACOSX_DEPLOYMENT_TARGET"\{0,1\} *= *"\{0,1\}\([^"]*\)"\{0,1\} *; *$/\1/'`
  15879. fi
  15880. if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
  15881. wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
  15882. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_MACOSX_VERSION_MIN" >&5
  15883. $as_echo "$wxUSE_MACOSX_VERSION_MIN" >&6; }
  15884. else
  15885. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
  15886. $as_echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
  15887. wxUSE_MACOSX_VERSION_MIN=
  15888. fi
  15889. else
  15890. wxUSE_MACOSX_VERSION_MIN=
  15891. fi
  15892. elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
  15893. wxUSE_MACOSX_VERSION_MIN=10.5
  15894. fi
  15895. if test "x$MACOSX_SDK_OPTS" != "x"; then
  15896. eval "CC=\"$CC $MACOSX_SDK_OPTS\""
  15897. eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
  15898. eval "LD=\"$LD $MACOSX_SDK_OPTS\""
  15899. retest_macosx_linking=yes
  15900. fi
  15901. if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
  15902. if test "$wxUSE_OSX_IPHONE" = 1; then
  15903. MACOSX_VERSION_MIN_OPTS="-miphoneos-version-min=$wxUSE_MACOSX_VERSION_MIN"
  15904. else
  15905. MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
  15906. fi
  15907. eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
  15908. eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
  15909. eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
  15910. retest_macosx_linking=yes
  15911. fi
  15912. if test "x$retest_macosx_linking" = "xyes"; then
  15913. ac_ext=c
  15914. ac_cpp='$CPP $CPPFLAGS'
  15915. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15916. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15917. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15918. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C compiler ($CC) works with SDK/version options" >&5
  15919. $as_echo_n "checking if C compiler ($CC) works with SDK/version options... " >&6; }
  15920. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15921. /* end confdefs.h. */
  15922. int
  15923. main ()
  15924. {
  15925. ;
  15926. return 0;
  15927. }
  15928. _ACEOF
  15929. if ac_fn_c_try_link "$LINENO"; then :
  15930. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15931. $as_echo "yes" >&6; }
  15932. else
  15933. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  15934. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  15935. as_fn_error $? "no. Try a different SDK
  15936. See \`config.log' for more details" "$LINENO" 5; }; exit 1
  15937. fi
  15938. rm -f core conftest.err conftest.$ac_objext \
  15939. conftest$ac_exeext conftest.$ac_ext
  15940. ac_ext=c
  15941. ac_cpp='$CPP $CPPFLAGS'
  15942. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15943. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15944. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15945. ac_ext=cpp
  15946. ac_cpp='$CXXCPP $CPPFLAGS'
  15947. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15948. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15949. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  15950. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler ($CXX) works with SDK/version options" >&5
  15951. $as_echo_n "checking if C++ compiler ($CXX) works with SDK/version options... " >&6; }
  15952. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15953. /* end confdefs.h. */
  15954. int
  15955. main ()
  15956. {
  15957. ;
  15958. return 0;
  15959. }
  15960. _ACEOF
  15961. if ac_fn_cxx_try_link "$LINENO"; then :
  15962. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  15963. $as_echo "yes" >&6; }
  15964. else
  15965. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  15966. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  15967. as_fn_error $? "no. Try a different SDK
  15968. See \`config.log' for more details" "$LINENO" 5; }; exit 1
  15969. fi
  15970. rm -f core conftest.err conftest.$ac_objext \
  15971. conftest$ac_exeext conftest.$ac_ext
  15972. ac_ext=c
  15973. ac_cpp='$CPP $CPPFLAGS'
  15974. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  15975. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  15976. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  15977. fi
  15978. fi
  15979. case "${host}" in
  15980. *-*-darwin* )
  15981. INSTALL_PROGRAM="cp -fp"
  15982. INSTALL_DATA="cp -fp"
  15983. ;;
  15984. *)
  15985. ;;
  15986. esac
  15987. if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
  15988. $as_echo "#define _GNU_SOURCE 1" >>confdefs.h
  15989. GNU_SOURCE_FLAG="-D_GNU_SOURCE"
  15990. CFLAGS="$GNU_SOURCE_FLAG $CFLAGS"
  15991. fi
  15992. if test "x$USE_AIX" = "x1"; then
  15993. if test "x$XLCXX" = "xyes"; then
  15994. CXXFLAGS="-qunique $CXXFLAGS"
  15995. fi
  15996. CPPFLAGS="-D_LINUX_SOURCE_COMPAT $CPPFLAGS"
  15997. fi
  15998. case "${host}" in
  15999. powerpc-*-darwin* )
  16000. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __POWERPC__ is already defined" >&5
  16001. $as_echo_n "checking if __POWERPC__ is already defined... " >&6; }
  16002. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16003. /* end confdefs.h. */
  16004. int
  16005. main ()
  16006. {
  16007. #ifndef __POWERPC__
  16008. choke me for lack of PowerPC
  16009. #endif
  16010. ;
  16011. return 0;
  16012. }
  16013. _ACEOF
  16014. if ac_fn_c_try_compile "$LINENO"; then :
  16015. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16016. $as_echo "yes" >&6; }
  16017. else
  16018. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16019. $as_echo "no" >&6; }
  16020. $as_echo "#define __POWERPC__ 1" >>confdefs.h
  16021. fi
  16022. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16023. ;;
  16024. esac
  16025. case "${host}" in
  16026. *-*-darwin* )
  16027. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CoreFoundation/CFBase.h is usable" >&5
  16028. $as_echo_n "checking if CoreFoundation/CFBase.h is usable... " >&6; }
  16029. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16030. /* end confdefs.h. */
  16031. #include <CoreFoundation/CFBase.h>
  16032. int
  16033. main ()
  16034. {
  16035. ;
  16036. return 0;
  16037. }
  16038. _ACEOF
  16039. if ac_fn_c_try_compile "$LINENO"; then :
  16040. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16041. $as_echo "yes" >&6; }
  16042. else
  16043. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  16044. $as_echo "no" >&6; }
  16045. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
  16046. $as_echo_n "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... " >&6; }
  16047. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16048. /* end confdefs.h. */
  16049. #define __CF_USE_FRAMEWORK_INCLUDES__
  16050. #include <CoreFoundation/CFBase.h>
  16051. int
  16052. main ()
  16053. {
  16054. ;
  16055. return 0;
  16056. }
  16057. _ACEOF
  16058. if ac_fn_c_try_compile "$LINENO"; then :
  16059. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  16060. $as_echo "yes" >&6; }
  16061. CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
  16062. else
  16063. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16064. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16065. as_fn_error $? "no. CoreFoundation not available.
  16066. See \`config.log' for more details" "$LINENO" 5; }
  16067. fi
  16068. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16069. fi
  16070. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16071. ;;
  16072. esac
  16073. wants_win32=0
  16074. doesnt_want_win32=0
  16075. case "${host}" in
  16076. *-*-cygwin*)
  16077. if test "$wxUSE_MSW" = 1 ; then
  16078. wants_win32=1
  16079. else
  16080. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -mno-cygwin is in effect" >&5
  16081. $as_echo_n "checking if -mno-cygwin is in effect... " >&6; }
  16082. if ${wx_cv_nocygwin+:} false; then :
  16083. $as_echo_n "(cached) " >&6
  16084. else
  16085. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16086. /* end confdefs.h. */
  16087. int
  16088. main ()
  16089. {
  16090. #ifdef __MINGW32__
  16091. choke me
  16092. #endif
  16093. ;
  16094. return 0;
  16095. }
  16096. _ACEOF
  16097. if ac_fn_c_try_compile "$LINENO"; then :
  16098. wx_cv_nocygwin=no
  16099. else
  16100. wx_cv_nocygwin=yes
  16101. fi
  16102. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16103. fi
  16104. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_nocygwin" >&5
  16105. $as_echo "$wx_cv_nocygwin" >&6; }
  16106. if test "$wx_cv_nocygwin" = "yes"; then
  16107. wants_win32=1
  16108. else
  16109. doesnt_want_win32=1
  16110. fi
  16111. fi
  16112. if test "$wants_win32" = 1 ; then
  16113. BAKEFILE_FORCE_PLATFORM=win32
  16114. fi
  16115. ;;
  16116. *-*-mingw*)
  16117. wants_win32=1
  16118. ;;
  16119. esac
  16120. if test "$wxUSE_WINE" = "yes"; then
  16121. wants_win32=1
  16122. LDFLAGS_GUI="-mwindows"
  16123. fi
  16124. if test "$wants_win32" = 1 ; then
  16125. USE_UNIX=0
  16126. USE_WIN32=1
  16127. $as_echo "#define __WIN32__ 1" >>confdefs.h
  16128. $as_echo "#define __WINDOWS__ 1" >>confdefs.h
  16129. $as_echo "#define __GNUWIN32__ 1" >>confdefs.h
  16130. $as_echo "#define STRICT 1" >>confdefs.h
  16131. fi
  16132. if test "$doesnt_want_win32" = 1 ; then
  16133. USE_UNIX=1
  16134. USE_WIN32=0
  16135. fi
  16136. if test "$USE_UNIX" = 1 ; then
  16137. wxUSE_UNIX=yes
  16138. $as_echo "#define __UNIX__ 1" >>confdefs.h
  16139. fi
  16140. case "${host}" in
  16141. *-pc-os2_emx | *-pc-os2-emx )
  16142. if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
  16143. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for drand48 in -lcExt" >&5
  16144. $as_echo_n "checking for drand48 in -lcExt... " >&6; }
  16145. if ${ac_cv_lib_cExt_drand48+:} false; then :
  16146. $as_echo_n "(cached) " >&6
  16147. else
  16148. ac_check_lib_save_LIBS=$LIBS
  16149. LIBS="-lcExt $LIBS"
  16150. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16151. /* end confdefs.h. */
  16152. /* Override any GCC internal prototype to avoid an error.
  16153. Use char because int might match the return type of a GCC
  16154. builtin and then its argument prototype would still apply. */
  16155. #ifdef __cplusplus
  16156. extern "C"
  16157. #endif
  16158. char drand48 ();
  16159. int
  16160. main ()
  16161. {
  16162. return drand48 ();
  16163. ;
  16164. return 0;
  16165. }
  16166. _ACEOF
  16167. if ac_fn_c_try_link "$LINENO"; then :
  16168. ac_cv_lib_cExt_drand48=yes
  16169. else
  16170. ac_cv_lib_cExt_drand48=no
  16171. fi
  16172. rm -f core conftest.err conftest.$ac_objext \
  16173. conftest$ac_exeext conftest.$ac_ext
  16174. LIBS=$ac_check_lib_save_LIBS
  16175. fi
  16176. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_cExt_drand48" >&5
  16177. $as_echo "$ac_cv_lib_cExt_drand48" >&6; }
  16178. if test "x$ac_cv_lib_cExt_drand48" = xyes; then :
  16179. LIBS="$LIBS -lcExt"
  16180. fi
  16181. fi
  16182. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc/libc version" >&5
  16183. $as_echo_n "checking for gcc/libc version... " >&6; }
  16184. if ${wx_cv_gccversion+:} false; then :
  16185. $as_echo_n "(cached) " >&6
  16186. else
  16187. if test "$cross_compiling" = yes; then :
  16188. wx_cv_gccversion="EMX2"
  16189. else
  16190. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16191. /* end confdefs.h. */
  16192. #include <stdio.h>
  16193. int main()
  16194. {
  16195. FILE *f=fopen("conftestval", "w");
  16196. if (!f) exit(1);
  16197. fprintf(f,
  16198. #if (__GNUC__ < 3)
  16199. "EMX2"
  16200. #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
  16201. "EMX3"
  16202. #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
  16203. "Innotek5"
  16204. #else
  16205. "Innotek6"
  16206. #endif
  16207. );
  16208. exit(0);
  16209. }
  16210. _ACEOF
  16211. if ac_fn_c_try_run "$LINENO"; then :
  16212. wx_cv_gccversion=`cat conftestval`
  16213. else
  16214. wx_cv_gccversion="EMX2"
  16215. fi
  16216. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16217. conftest.$ac_objext conftest.beam conftest.$ac_ext
  16218. fi
  16219. fi
  16220. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gccversion" >&5
  16221. $as_echo "$wx_cv_gccversion" >&6; }
  16222. if test "$wx_cv_gccversion" = "EMX2"; then
  16223. LIBS="$LIBS -lstdcpp"
  16224. LDFLAGS="$LDFLAGS -Zsysv-signals"
  16225. else
  16226. if test "$wx_cv_gccversion" = "EMX3"; then
  16227. LIBS="$LIBS -lstdcxx -lgcc"
  16228. LDFLAGS="$LDFLAGS -Zsysv-signals"
  16229. else
  16230. LIBS="$LIBS -lstdc++"
  16231. fi
  16232. fi
  16233. if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
  16234. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Building DLLs requires OMF mode, enabled" >&5
  16235. $as_echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
  16236. wxUSE_OMF=yes
  16237. enable_omf=yes
  16238. fi
  16239. ;;
  16240. esac
  16241. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  16242. $as_echo_n "checking for ANSI C header files... " >&6; }
  16243. if ${ac_cv_header_stdc+:} false; then :
  16244. $as_echo_n "(cached) " >&6
  16245. else
  16246. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16247. /* end confdefs.h. */
  16248. #include <stdlib.h>
  16249. #include <stdarg.h>
  16250. #include <string.h>
  16251. #include <float.h>
  16252. int
  16253. main ()
  16254. {
  16255. ;
  16256. return 0;
  16257. }
  16258. _ACEOF
  16259. if ac_fn_c_try_compile "$LINENO"; then :
  16260. ac_cv_header_stdc=yes
  16261. else
  16262. ac_cv_header_stdc=no
  16263. fi
  16264. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16265. if test $ac_cv_header_stdc = yes; then
  16266. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  16267. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16268. /* end confdefs.h. */
  16269. #include <string.h>
  16270. _ACEOF
  16271. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  16272. $EGREP "memchr" >/dev/null 2>&1; then :
  16273. else
  16274. ac_cv_header_stdc=no
  16275. fi
  16276. rm -f conftest*
  16277. fi
  16278. if test $ac_cv_header_stdc = yes; then
  16279. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  16280. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16281. /* end confdefs.h. */
  16282. #include <stdlib.h>
  16283. _ACEOF
  16284. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  16285. $EGREP "free" >/dev/null 2>&1; then :
  16286. else
  16287. ac_cv_header_stdc=no
  16288. fi
  16289. rm -f conftest*
  16290. fi
  16291. if test $ac_cv_header_stdc = yes; then
  16292. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  16293. if test "$cross_compiling" = yes; then :
  16294. :
  16295. else
  16296. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16297. /* end confdefs.h. */
  16298. #include <ctype.h>
  16299. #include <stdlib.h>
  16300. #if ((' ' & 0x0FF) == 0x020)
  16301. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  16302. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  16303. #else
  16304. # define ISLOWER(c) \
  16305. (('a' <= (c) && (c) <= 'i') \
  16306. || ('j' <= (c) && (c) <= 'r') \
  16307. || ('s' <= (c) && (c) <= 'z'))
  16308. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  16309. #endif
  16310. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  16311. int
  16312. main ()
  16313. {
  16314. int i;
  16315. for (i = 0; i < 256; i++)
  16316. if (XOR (islower (i), ISLOWER (i))
  16317. || toupper (i) != TOUPPER (i))
  16318. return 2;
  16319. return 0;
  16320. }
  16321. _ACEOF
  16322. if ac_fn_c_try_run "$LINENO"; then :
  16323. else
  16324. ac_cv_header_stdc=no
  16325. fi
  16326. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16327. conftest.$ac_objext conftest.beam conftest.$ac_ext
  16328. fi
  16329. fi
  16330. fi
  16331. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  16332. $as_echo "$ac_cv_header_stdc" >&6; }
  16333. if test $ac_cv_header_stdc = yes; then
  16334. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  16335. fi
  16336. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  16337. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  16338. inttypes.h stdint.h unistd.h
  16339. do :
  16340. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  16341. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  16342. "
  16343. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  16344. cat >>confdefs.h <<_ACEOF
  16345. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  16346. _ACEOF
  16347. fi
  16348. done
  16349. for ac_header in langinfo.h wchar.h
  16350. do :
  16351. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  16352. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  16353. "
  16354. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  16355. cat >>confdefs.h <<_ACEOF
  16356. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  16357. _ACEOF
  16358. fi
  16359. done
  16360. if test "$ac_cv_header_wchar_h" != "yes"; then
  16361. for ac_header in wcstr.h
  16362. do :
  16363. ac_fn_c_check_header_compile "$LINENO" "wcstr.h" "ac_cv_header_wcstr_h" "$ac_includes_default
  16364. "
  16365. if test "x$ac_cv_header_wcstr_h" = xyes; then :
  16366. cat >>confdefs.h <<_ACEOF
  16367. #define HAVE_WCSTR_H 1
  16368. _ACEOF
  16369. fi
  16370. done
  16371. fi
  16372. case "${host}" in
  16373. *-pc-os2_emx | *-pc-os2-emx )
  16374. if test $ac_cv_header_langinfo_h = "yes" \
  16375. -a \( "$wx_cv_gccversion" = "EMX2" \
  16376. -o "$wx_cv_gccversion" = "EMX3" \
  16377. -o "$wx_cv_gccversion" = "Innotek5" \); then
  16378. LIBS="$LIBS -lintl"
  16379. fi
  16380. ;;
  16381. esac
  16382. if test "$USE_UNIX" = 1 ; then
  16383. for ac_header in sys/select.h
  16384. do :
  16385. ac_fn_c_check_header_compile "$LINENO" "sys/select.h" "ac_cv_header_sys_select_h" "$ac_includes_default
  16386. "
  16387. if test "x$ac_cv_header_sys_select_h" = xyes; then :
  16388. cat >>confdefs.h <<_ACEOF
  16389. #define HAVE_SYS_SELECT_H 1
  16390. _ACEOF
  16391. fi
  16392. done
  16393. ac_ext=cpp
  16394. ac_cpp='$CXXCPP $CPPFLAGS'
  16395. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16396. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16397. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  16398. for ac_header in cxxabi.h
  16399. do :
  16400. ac_fn_cxx_check_header_compile "$LINENO" "cxxabi.h" "ac_cv_header_cxxabi_h" "$ac_includes_default
  16401. "
  16402. if test "x$ac_cv_header_cxxabi_h" = xyes; then :
  16403. cat >>confdefs.h <<_ACEOF
  16404. #define HAVE_CXXABI_H 1
  16405. _ACEOF
  16406. fi
  16407. done
  16408. ac_ext=c
  16409. ac_cpp='$CPP $CPPFLAGS'
  16410. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16411. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16412. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  16413. fi
  16414. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for an ANSI C-conforming const" >&5
  16415. $as_echo_n "checking for an ANSI C-conforming const... " >&6; }
  16416. if ${ac_cv_c_const+:} false; then :
  16417. $as_echo_n "(cached) " >&6
  16418. else
  16419. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16420. /* end confdefs.h. */
  16421. int
  16422. main ()
  16423. {
  16424. #ifndef __cplusplus
  16425. /* Ultrix mips cc rejects this sort of thing. */
  16426. typedef int charset[2];
  16427. const charset cs = { 0, 0 };
  16428. /* SunOS 4.1.1 cc rejects this. */
  16429. char const *const *pcpcc;
  16430. char **ppc;
  16431. /* NEC SVR4.0.2 mips cc rejects this. */
  16432. struct point {int x, y;};
  16433. static struct point const zero = {0,0};
  16434. /* AIX XL C 1.02.0.0 rejects this.
  16435. It does not let you subtract one const X* pointer from another in
  16436. an arm of an if-expression whose if-part is not a constant
  16437. expression */
  16438. const char *g = "string";
  16439. pcpcc = &g + (g ? g-g : 0);
  16440. /* HPUX 7.0 cc rejects these. */
  16441. ++pcpcc;
  16442. ppc = (char**) pcpcc;
  16443. pcpcc = (char const *const *) ppc;
  16444. { /* SCO 3.2v4 cc rejects this sort of thing. */
  16445. char tx;
  16446. char *t = &tx;
  16447. char const *s = 0 ? (char *) 0 : (char const *) 0;
  16448. *t++ = 0;
  16449. if (s) return 0;
  16450. }
  16451. { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
  16452. int x[] = {25, 17};
  16453. const int *foo = &x[0];
  16454. ++foo;
  16455. }
  16456. { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
  16457. typedef const int *iptr;
  16458. iptr p = 0;
  16459. ++p;
  16460. }
  16461. { /* AIX XL C 1.02.0.0 rejects this sort of thing, saying
  16462. "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
  16463. struct s { int j; const int *ap[3]; } bx;
  16464. struct s *b = &bx; b->j = 5;
  16465. }
  16466. { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
  16467. const int foo = 10;
  16468. if (!foo) return 0;
  16469. }
  16470. return !cs[0] && !zero.x;
  16471. #endif
  16472. ;
  16473. return 0;
  16474. }
  16475. _ACEOF
  16476. if ac_fn_c_try_compile "$LINENO"; then :
  16477. ac_cv_c_const=yes
  16478. else
  16479. ac_cv_c_const=no
  16480. fi
  16481. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16482. fi
  16483. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_const" >&5
  16484. $as_echo "$ac_cv_c_const" >&6; }
  16485. if test $ac_cv_c_const = no; then
  16486. $as_echo "#define const /**/" >>confdefs.h
  16487. fi
  16488. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  16489. $as_echo_n "checking for inline... " >&6; }
  16490. if ${ac_cv_c_inline+:} false; then :
  16491. $as_echo_n "(cached) " >&6
  16492. else
  16493. ac_cv_c_inline=no
  16494. for ac_kw in inline __inline__ __inline; do
  16495. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16496. /* end confdefs.h. */
  16497. #ifndef __cplusplus
  16498. typedef int foo_t;
  16499. static $ac_kw foo_t static_foo () {return 0; }
  16500. $ac_kw foo_t foo () {return 0; }
  16501. #endif
  16502. _ACEOF
  16503. if ac_fn_c_try_compile "$LINENO"; then :
  16504. ac_cv_c_inline=$ac_kw
  16505. fi
  16506. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16507. test "$ac_cv_c_inline" != no && break
  16508. done
  16509. fi
  16510. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  16511. $as_echo "$ac_cv_c_inline" >&6; }
  16512. case $ac_cv_c_inline in
  16513. inline | yes) ;;
  16514. *)
  16515. case $ac_cv_c_inline in
  16516. no) ac_val=;;
  16517. *) ac_val=$ac_cv_c_inline;;
  16518. esac
  16519. cat >>confdefs.h <<_ACEOF
  16520. #ifndef __cplusplus
  16521. #define inline $ac_val
  16522. #endif
  16523. _ACEOF
  16524. ;;
  16525. esac
  16526. # The cast to long int works around a bug in the HP C Compiler
  16527. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  16528. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  16529. # This bug is HP SR number 8606223364.
  16530. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of short" >&5
  16531. $as_echo_n "checking size of short... " >&6; }
  16532. if ${ac_cv_sizeof_short+:} false; then :
  16533. $as_echo_n "(cached) " >&6
  16534. else
  16535. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (short))" "ac_cv_sizeof_short" "$ac_includes_default"; then :
  16536. else
  16537. if test "$ac_cv_type_short" = yes; then
  16538. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16539. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16540. as_fn_error 77 "cannot compute sizeof (short)
  16541. See \`config.log' for more details" "$LINENO" 5; }
  16542. else
  16543. ac_cv_sizeof_short=0
  16544. fi
  16545. fi
  16546. fi
  16547. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_short" >&5
  16548. $as_echo "$ac_cv_sizeof_short" >&6; }
  16549. cat >>confdefs.h <<_ACEOF
  16550. #define SIZEOF_SHORT $ac_cv_sizeof_short
  16551. _ACEOF
  16552. # The cast to long int works around a bug in the HP C Compiler
  16553. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  16554. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  16555. # This bug is HP SR number 8606223364.
  16556. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of void *" >&5
  16557. $as_echo_n "checking size of void *... " >&6; }
  16558. if ${ac_cv_sizeof_void_p+:} false; then :
  16559. $as_echo_n "(cached) " >&6
  16560. else
  16561. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (void *))" "ac_cv_sizeof_void_p" "$ac_includes_default"; then :
  16562. else
  16563. if test "$ac_cv_type_void_p" = yes; then
  16564. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16565. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16566. as_fn_error 77 "cannot compute sizeof (void *)
  16567. See \`config.log' for more details" "$LINENO" 5; }
  16568. else
  16569. ac_cv_sizeof_void_p=0
  16570. fi
  16571. fi
  16572. fi
  16573. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_void_p" >&5
  16574. $as_echo "$ac_cv_sizeof_void_p" >&6; }
  16575. cat >>confdefs.h <<_ACEOF
  16576. #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
  16577. _ACEOF
  16578. # The cast to long int works around a bug in the HP C Compiler
  16579. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  16580. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  16581. # This bug is HP SR number 8606223364.
  16582. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of int" >&5
  16583. $as_echo_n "checking size of int... " >&6; }
  16584. if ${ac_cv_sizeof_int+:} false; then :
  16585. $as_echo_n "(cached) " >&6
  16586. else
  16587. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (int))" "ac_cv_sizeof_int" "$ac_includes_default"; then :
  16588. else
  16589. if test "$ac_cv_type_int" = yes; then
  16590. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16591. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16592. as_fn_error 77 "cannot compute sizeof (int)
  16593. See \`config.log' for more details" "$LINENO" 5; }
  16594. else
  16595. ac_cv_sizeof_int=0
  16596. fi
  16597. fi
  16598. fi
  16599. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_int" >&5
  16600. $as_echo "$ac_cv_sizeof_int" >&6; }
  16601. cat >>confdefs.h <<_ACEOF
  16602. #define SIZEOF_INT $ac_cv_sizeof_int
  16603. _ACEOF
  16604. # The cast to long int works around a bug in the HP C Compiler
  16605. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  16606. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  16607. # This bug is HP SR number 8606223364.
  16608. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long" >&5
  16609. $as_echo_n "checking size of long... " >&6; }
  16610. if ${ac_cv_sizeof_long+:} false; then :
  16611. $as_echo_n "(cached) " >&6
  16612. else
  16613. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long))" "ac_cv_sizeof_long" "$ac_includes_default"; then :
  16614. else
  16615. if test "$ac_cv_type_long" = yes; then
  16616. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16617. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16618. as_fn_error 77 "cannot compute sizeof (long)
  16619. See \`config.log' for more details" "$LINENO" 5; }
  16620. else
  16621. ac_cv_sizeof_long=0
  16622. fi
  16623. fi
  16624. fi
  16625. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long" >&5
  16626. $as_echo "$ac_cv_sizeof_long" >&6; }
  16627. cat >>confdefs.h <<_ACEOF
  16628. #define SIZEOF_LONG $ac_cv_sizeof_long
  16629. _ACEOF
  16630. # The cast to long int works around a bug in the HP C Compiler
  16631. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  16632. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  16633. # This bug is HP SR number 8606223364.
  16634. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of size_t" >&5
  16635. $as_echo_n "checking size of size_t... " >&6; }
  16636. if ${ac_cv_sizeof_size_t+:} false; then :
  16637. $as_echo_n "(cached) " >&6
  16638. else
  16639. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (size_t))" "ac_cv_sizeof_size_t" "$ac_includes_default"; then :
  16640. else
  16641. if test "$ac_cv_type_size_t" = yes; then
  16642. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16643. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16644. as_fn_error 77 "cannot compute sizeof (size_t)
  16645. See \`config.log' for more details" "$LINENO" 5; }
  16646. else
  16647. ac_cv_sizeof_size_t=0
  16648. fi
  16649. fi
  16650. fi
  16651. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_size_t" >&5
  16652. $as_echo "$ac_cv_sizeof_size_t" >&6; }
  16653. cat >>confdefs.h <<_ACEOF
  16654. #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
  16655. _ACEOF
  16656. case "${host}" in
  16657. arm-*-linux* )
  16658. # The cast to long int works around a bug in the HP C Compiler
  16659. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  16660. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  16661. # This bug is HP SR number 8606223364.
  16662. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
  16663. $as_echo_n "checking size of long long... " >&6; }
  16664. if ${ac_cv_sizeof_long_long+:} false; then :
  16665. $as_echo_n "(cached) " >&6
  16666. else
  16667. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
  16668. else
  16669. if test "$ac_cv_type_long_long" = yes; then
  16670. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16671. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16672. as_fn_error 77 "cannot compute sizeof (long long)
  16673. See \`config.log' for more details" "$LINENO" 5; }
  16674. else
  16675. ac_cv_sizeof_long_long=0
  16676. fi
  16677. fi
  16678. fi
  16679. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
  16680. $as_echo "$ac_cv_sizeof_long_long" >&6; }
  16681. cat >>confdefs.h <<_ACEOF
  16682. #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
  16683. _ACEOF
  16684. ;;
  16685. *-hp-hpux* )
  16686. # The cast to long int works around a bug in the HP C Compiler
  16687. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  16688. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  16689. # This bug is HP SR number 8606223364.
  16690. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
  16691. $as_echo_n "checking size of long long... " >&6; }
  16692. if ${ac_cv_sizeof_long_long+:} false; then :
  16693. $as_echo_n "(cached) " >&6
  16694. else
  16695. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
  16696. else
  16697. if test "$ac_cv_type_long_long" = yes; then
  16698. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16699. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16700. as_fn_error 77 "cannot compute sizeof (long long)
  16701. See \`config.log' for more details" "$LINENO" 5; }
  16702. else
  16703. ac_cv_sizeof_long_long=0
  16704. fi
  16705. fi
  16706. fi
  16707. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
  16708. $as_echo "$ac_cv_sizeof_long_long" >&6; }
  16709. cat >>confdefs.h <<_ACEOF
  16710. #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
  16711. _ACEOF
  16712. if test "$ac_cv_sizeof_long_long" != 0; then
  16713. CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
  16714. fi
  16715. ;;
  16716. * )
  16717. # The cast to long int works around a bug in the HP C Compiler
  16718. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  16719. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  16720. # This bug is HP SR number 8606223364.
  16721. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of long long" >&5
  16722. $as_echo_n "checking size of long long... " >&6; }
  16723. if ${ac_cv_sizeof_long_long+:} false; then :
  16724. $as_echo_n "(cached) " >&6
  16725. else
  16726. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (long long))" "ac_cv_sizeof_long_long" "$ac_includes_default"; then :
  16727. else
  16728. if test "$ac_cv_type_long_long" = yes; then
  16729. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16730. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16731. as_fn_error 77 "cannot compute sizeof (long long)
  16732. See \`config.log' for more details" "$LINENO" 5; }
  16733. else
  16734. ac_cv_sizeof_long_long=0
  16735. fi
  16736. fi
  16737. fi
  16738. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_long_long" >&5
  16739. $as_echo "$ac_cv_sizeof_long_long" >&6; }
  16740. cat >>confdefs.h <<_ACEOF
  16741. #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
  16742. _ACEOF
  16743. esac
  16744. # The cast to long int works around a bug in the HP C Compiler
  16745. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  16746. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  16747. # This bug is HP SR number 8606223364.
  16748. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of wchar_t" >&5
  16749. $as_echo_n "checking size of wchar_t... " >&6; }
  16750. if ${ac_cv_sizeof_wchar_t+:} false; then :
  16751. $as_echo_n "(cached) " >&6
  16752. else
  16753. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (wchar_t))" "ac_cv_sizeof_wchar_t" "
  16754. /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
  16755. #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
  16756. # error \"fake wchar_t\"
  16757. #endif
  16758. #ifdef HAVE_WCHAR_H
  16759. # ifdef __CYGWIN__
  16760. # include <stddef.h>
  16761. # endif
  16762. # include <wchar.h>
  16763. #endif
  16764. #ifdef HAVE_STDLIB_H
  16765. # include <stdlib.h>
  16766. #endif
  16767. #include <stdio.h>
  16768. "; then :
  16769. else
  16770. if test "$ac_cv_type_wchar_t" = yes; then
  16771. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  16772. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  16773. as_fn_error 77 "cannot compute sizeof (wchar_t)
  16774. See \`config.log' for more details" "$LINENO" 5; }
  16775. else
  16776. ac_cv_sizeof_wchar_t=0
  16777. fi
  16778. fi
  16779. fi
  16780. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_wchar_t" >&5
  16781. $as_echo "$ac_cv_sizeof_wchar_t" >&6; }
  16782. cat >>confdefs.h <<_ACEOF
  16783. #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
  16784. _ACEOF
  16785. if test "$ac_cv_sizeof_wchar_t" = 0; then
  16786. as_fn_error $? "wxWidgets requires wchar_t support." "$LINENO" 5
  16787. fi
  16788. $as_echo "#define wxUSE_WCHAR_T 1" >>confdefs.h
  16789. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for va_copy" >&5
  16790. $as_echo_n "checking for va_copy... " >&6; }
  16791. if ${wx_cv_func_va_copy+:} false; then :
  16792. $as_echo_n "(cached) " >&6
  16793. else
  16794. ac_ext=cpp
  16795. ac_cpp='$CXXCPP $CPPFLAGS'
  16796. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16797. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16798. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  16799. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16800. /* end confdefs.h. */
  16801. #include <stdarg.h>
  16802. void foo(char *f, ...)
  16803. {
  16804. va_list ap1, ap2;
  16805. va_start(ap1, f);
  16806. va_copy(ap2, ap1);
  16807. va_end(ap2);
  16808. va_end(ap1);
  16809. }
  16810. int main()
  16811. {
  16812. foo("hi", 17);
  16813. return 0;
  16814. }
  16815. _ACEOF
  16816. if ac_fn_cxx_try_link "$LINENO"; then :
  16817. wx_cv_func_va_copy=yes
  16818. else
  16819. wx_cv_func_va_copy=no
  16820. fi
  16821. rm -f core conftest.err conftest.$ac_objext \
  16822. conftest$ac_exeext conftest.$ac_ext
  16823. ac_ext=c
  16824. ac_cpp='$CPP $CPPFLAGS'
  16825. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16826. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16827. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  16828. fi
  16829. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_va_copy" >&5
  16830. $as_echo "$wx_cv_func_va_copy" >&6; }
  16831. if test $wx_cv_func_va_copy = "yes"; then
  16832. $as_echo "#define HAVE_VA_COPY 1" >>confdefs.h
  16833. else
  16834. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if va_list can be copied by value" >&5
  16835. $as_echo_n "checking if va_list can be copied by value... " >&6; }
  16836. if ${wx_cv_type_va_list_lvalue+:} false; then :
  16837. $as_echo_n "(cached) " >&6
  16838. else
  16839. if test "$cross_compiling" = yes; then :
  16840. wx_cv_type_va_list_lvalue=yes
  16841. else
  16842. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16843. /* end confdefs.h. */
  16844. #include <stdarg.h>
  16845. int foo(char *f, ...)
  16846. {
  16847. va_list ap1, ap2;
  16848. va_start(ap1, f);
  16849. ap2 = ap1;
  16850. if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
  16851. return 1;
  16852. va_end(ap2);
  16853. va_end(ap1);
  16854. return 0;
  16855. }
  16856. int main()
  16857. {
  16858. return foo("hi", 17);
  16859. }
  16860. _ACEOF
  16861. if ac_fn_c_try_run "$LINENO"; then :
  16862. wx_cv_type_va_list_lvalue=yes
  16863. else
  16864. wx_cv_type_va_list_lvalue=no
  16865. fi
  16866. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  16867. conftest.$ac_objext conftest.beam conftest.$ac_ext
  16868. fi
  16869. fi
  16870. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_va_list_lvalue" >&5
  16871. $as_echo "$wx_cv_type_va_list_lvalue" >&6; }
  16872. if test $wx_cv_type_va_list_lvalue != "yes"; then
  16873. $as_echo "#define VA_LIST_IS_ARRAY 1" >>confdefs.h
  16874. fi
  16875. fi
  16876. if test "$wxUSE_VARARG_MACROS" = "yes"; then
  16877. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports variadic macros" >&5
  16878. $as_echo_n "checking whether the compiler supports variadic macros... " >&6; }
  16879. if ${wx_cv_have_variadic_macros+:} false; then :
  16880. $as_echo_n "(cached) " >&6
  16881. else
  16882. ac_ext=cpp
  16883. ac_cpp='$CXXCPP $CPPFLAGS'
  16884. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16885. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16886. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  16887. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16888. /* end confdefs.h. */
  16889. #include <stdio.h>
  16890. #define test(fmt, ...) printf(fmt, __VA_ARGS__)
  16891. int
  16892. main ()
  16893. {
  16894. test("%s %d %p", "test", 1, 0);
  16895. ;
  16896. return 0;
  16897. }
  16898. _ACEOF
  16899. if ac_fn_cxx_try_compile "$LINENO"; then :
  16900. wx_cv_have_variadic_macros=yes
  16901. else
  16902. wx_cv_have_variadic_macros=no
  16903. fi
  16904. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16905. ac_ext=c
  16906. ac_cpp='$CPP $CPPFLAGS'
  16907. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  16908. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  16909. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  16910. fi
  16911. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_have_variadic_macros" >&5
  16912. $as_echo "$wx_cv_have_variadic_macros" >&6; }
  16913. if test $wx_cv_have_variadic_macros = "yes"; then
  16914. $as_echo "#define HAVE_VARIADIC_MACROS 1" >>confdefs.h
  16915. fi
  16916. else
  16917. $as_echo "#define wxNO_VARIADIC_MACROS 1" >>confdefs.h
  16918. fi
  16919. LARGEFILE_CPPFLAGS=
  16920. # Check whether --enable-largefile was given.
  16921. if test "${enable_largefile+set}" = set; then :
  16922. enableval=$enable_largefile;
  16923. fi
  16924. if test "$enable_largefile" != no; then
  16925. wx_largefile=no
  16926. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  16927. $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  16928. if ${ac_cv_sys_file_offset_bits+:} false; then :
  16929. $as_echo_n "(cached) " >&6
  16930. else
  16931. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16932. /* end confdefs.h. */
  16933. #define _FILE_OFFSET_BITS 64
  16934. #include <sys/types.h>
  16935. int
  16936. main ()
  16937. {
  16938. typedef struct {
  16939. unsigned int field: sizeof(off_t) == 8;
  16940. } wxlf;
  16941. ;
  16942. return 0;
  16943. }
  16944. _ACEOF
  16945. if ac_fn_c_try_compile "$LINENO"; then :
  16946. ac_cv_sys_file_offset_bits=64
  16947. else
  16948. ac_cv_sys_file_offset_bits=no
  16949. fi
  16950. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16951. fi
  16952. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  16953. $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  16954. if test "$ac_cv_sys_file_offset_bits" != no; then
  16955. wx_largefile=yes
  16956. cat >>confdefs.h <<_ACEOF
  16957. #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  16958. _ACEOF
  16959. fi
  16960. if test "x$wx_largefile" != "xyes"; then
  16961. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  16962. $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  16963. if ${ac_cv_sys_large_files+:} false; then :
  16964. $as_echo_n "(cached) " >&6
  16965. else
  16966. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16967. /* end confdefs.h. */
  16968. #define _LARGE_FILES 1
  16969. #include <sys/types.h>
  16970. int
  16971. main ()
  16972. {
  16973. typedef struct {
  16974. unsigned int field: sizeof(off_t) == 8;
  16975. } wxlf;
  16976. ;
  16977. return 0;
  16978. }
  16979. _ACEOF
  16980. if ac_fn_c_try_compile "$LINENO"; then :
  16981. ac_cv_sys_large_files=1
  16982. else
  16983. ac_cv_sys_large_files=no
  16984. fi
  16985. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16986. fi
  16987. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  16988. $as_echo "$ac_cv_sys_large_files" >&6; }
  16989. if test "$ac_cv_sys_large_files" != no; then
  16990. wx_largefile=yes
  16991. cat >>confdefs.h <<_ACEOF
  16992. #define _LARGE_FILES $ac_cv_sys_large_files
  16993. _ACEOF
  16994. fi
  16995. fi
  16996. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if large file support is available" >&5
  16997. $as_echo_n "checking if large file support is available... " >&6; }
  16998. if test "x$wx_largefile" = "xyes"; then
  16999. $as_echo "#define HAVE_LARGEFILE_SUPPORT 1" >>confdefs.h
  17000. fi
  17001. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_largefile" >&5
  17002. $as_echo "$wx_largefile" >&6; }
  17003. fi
  17004. if test "$ac_cv_sys_file_offset_bits" = "64"; then
  17005. LARGEFILE_CPPFLAGS="-D_FILE_OFFSET_BITS=64"
  17006. elif test "$ac_cv_sys_large_files" = 1; then
  17007. LARGEFILE_CPPFLAGS="-D_LARGE_FILES"
  17008. fi
  17009. if test -n "$LARGEFILE_CPPFLAGS"; then
  17010. WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $LARGEFILE_CPPFLAGS"
  17011. if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
  17012. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D__STDC_EXT__ is required" >&5
  17013. $as_echo_n "checking if -D__STDC_EXT__ is required... " >&6; }
  17014. if ${wx_cv_STDC_EXT_required+:} false; then :
  17015. $as_echo_n "(cached) " >&6
  17016. else
  17017. ac_ext=cpp
  17018. ac_cpp='$CXXCPP $CPPFLAGS'
  17019. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17020. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17021. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  17022. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17023. /* end confdefs.h. */
  17024. int
  17025. main ()
  17026. {
  17027. #ifndef __STDC_EXT__
  17028. choke me
  17029. #endif
  17030. ;
  17031. return 0;
  17032. }
  17033. _ACEOF
  17034. if ac_fn_cxx_try_compile "$LINENO"; then :
  17035. wx_cv_STDC_EXT_required=no
  17036. else
  17037. wx_cv_STDC_EXT_required=yes
  17038. fi
  17039. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17040. ac_ext=c
  17041. ac_cpp='$CPP $CPPFLAGS'
  17042. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17043. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17044. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  17045. fi
  17046. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_STDC_EXT_required" >&5
  17047. $as_echo "$wx_cv_STDC_EXT_required" >&6; }
  17048. if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
  17049. WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
  17050. fi
  17051. fi
  17052. fi
  17053. ac_ext=cpp
  17054. ac_cpp='$CXXCPP $CPPFLAGS'
  17055. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17056. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17057. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  17058. old_CPPFLAGS="$CPPFLAGS"
  17059. CPPFLAGS="$CPPFLAGS $LARGEFILE_CPPFLAGS"
  17060. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGEFILE_SOURCE value needed for large files" >&5
  17061. $as_echo_n "checking for _LARGEFILE_SOURCE value needed for large files... " >&6; }
  17062. if ${ac_cv_sys_largefile_source+:} false; then :
  17063. $as_echo_n "(cached) " >&6
  17064. else
  17065. while :; do
  17066. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17067. /* end confdefs.h. */
  17068. #include <sys/types.h> /* for off_t */
  17069. #include <stdio.h>
  17070. int
  17071. main ()
  17072. {
  17073. int (*fp) (FILE *, off_t, int) = fseeko;
  17074. return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
  17075. ;
  17076. return 0;
  17077. }
  17078. _ACEOF
  17079. if ac_fn_cxx_try_link "$LINENO"; then :
  17080. ac_cv_sys_largefile_source=no; break
  17081. fi
  17082. rm -f core conftest.err conftest.$ac_objext \
  17083. conftest$ac_exeext conftest.$ac_ext
  17084. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17085. /* end confdefs.h. */
  17086. #define _LARGEFILE_SOURCE 1
  17087. #include <sys/types.h> /* for off_t */
  17088. #include <stdio.h>
  17089. int
  17090. main ()
  17091. {
  17092. int (*fp) (FILE *, off_t, int) = fseeko;
  17093. return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
  17094. ;
  17095. return 0;
  17096. }
  17097. _ACEOF
  17098. if ac_fn_cxx_try_link "$LINENO"; then :
  17099. ac_cv_sys_largefile_source=1; break
  17100. fi
  17101. rm -f core conftest.err conftest.$ac_objext \
  17102. conftest$ac_exeext conftest.$ac_ext
  17103. ac_cv_sys_largefile_source=unknown
  17104. break
  17105. done
  17106. fi
  17107. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_source" >&5
  17108. $as_echo "$ac_cv_sys_largefile_source" >&6; }
  17109. case $ac_cv_sys_largefile_source in #(
  17110. no | unknown) ;;
  17111. *)
  17112. cat >>confdefs.h <<_ACEOF
  17113. #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
  17114. _ACEOF
  17115. ;;
  17116. esac
  17117. rm -rf conftest*
  17118. # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
  17119. # in glibc 2.1.3, but that breaks too many other things.
  17120. # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
  17121. if test $ac_cv_sys_largefile_source != unknown; then
  17122. $as_echo "#define HAVE_FSEEKO 1" >>confdefs.h
  17123. fi
  17124. CPPFLAGS="$old_CPPFLAGS"
  17125. ac_ext=c
  17126. ac_cpp='$CPP $CPPFLAGS'
  17127. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17128. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17129. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  17130. if test "$ac_cv_sys_largefile_source" != no; then
  17131. WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
  17132. fi
  17133. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether byte ordering is bigendian" >&5
  17134. $as_echo_n "checking whether byte ordering is bigendian... " >&6; }
  17135. if ${ac_cv_c_bigendian+:} false; then :
  17136. $as_echo_n "(cached) " >&6
  17137. else
  17138. ac_cv_c_bigendian=unknown
  17139. # See if sys/param.h defines the BYTE_ORDER macro.
  17140. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17141. /* end confdefs.h. */
  17142. #include <sys/types.h>
  17143. #include <sys/param.h>
  17144. int
  17145. main ()
  17146. {
  17147. #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
  17148. bogus endian macros
  17149. #endif
  17150. ;
  17151. return 0;
  17152. }
  17153. _ACEOF
  17154. if ac_fn_c_try_compile "$LINENO"; then :
  17155. # It does; now see whether it defined to BIG_ENDIAN or not.
  17156. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17157. /* end confdefs.h. */
  17158. #include <sys/types.h>
  17159. #include <sys/param.h>
  17160. int
  17161. main ()
  17162. {
  17163. #if BYTE_ORDER != BIG_ENDIAN
  17164. not big endian
  17165. #endif
  17166. ;
  17167. return 0;
  17168. }
  17169. _ACEOF
  17170. if ac_fn_c_try_compile "$LINENO"; then :
  17171. ac_cv_c_bigendian=yes
  17172. else
  17173. ac_cv_c_bigendian=no
  17174. fi
  17175. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17176. fi
  17177. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17178. if test $ac_cv_c_bigendian = unknown; then
  17179. if test "$cross_compiling" = yes; then :
  17180. ac_cv_c_bigendian=unknown
  17181. else
  17182. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17183. /* end confdefs.h. */
  17184. main () {
  17185. /* Are we little or big endian? From Harbison&Steele. */
  17186. union
  17187. {
  17188. long l;
  17189. char c[sizeof (long)];
  17190. } u;
  17191. u.l = 1;
  17192. exit (u.c[sizeof (long) - 1] == 1);
  17193. }
  17194. _ACEOF
  17195. if ac_fn_c_try_run "$LINENO"; then :
  17196. ac_cv_c_bigendian=no
  17197. else
  17198. ac_cv_c_bigendian=yes
  17199. fi
  17200. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  17201. conftest.$ac_objext conftest.beam conftest.$ac_ext
  17202. fi
  17203. fi
  17204. fi
  17205. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_bigendian" >&5
  17206. $as_echo "$ac_cv_c_bigendian" >&6; }
  17207. if test $ac_cv_c_bigendian = unknown; then
  17208. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&5
  17209. $as_echo "$as_me: WARNING: Assuming little-endian target machine - this may be overridden by adding the line \"ac_cv_c_bigendian=${ac_cv_c_bigendian='yes'}\" to config.cache file" >&2;}
  17210. fi
  17211. if test $ac_cv_c_bigendian = yes; then
  17212. $as_echo "#define WORDS_BIGENDIAN 1" >>confdefs.h
  17213. fi
  17214. ac_ext=cpp
  17215. ac_cpp='$CXXCPP $CPPFLAGS'
  17216. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17217. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17218. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  17219. for ac_header in iostream
  17220. do :
  17221. ac_fn_cxx_check_header_compile "$LINENO" "iostream" "ac_cv_header_iostream" "
  17222. "
  17223. if test "x$ac_cv_header_iostream" = xyes; then :
  17224. cat >>confdefs.h <<_ACEOF
  17225. #define HAVE_IOSTREAM 1
  17226. _ACEOF
  17227. fi
  17228. done
  17229. if test "$ac_cv_header_iostream" = "yes" ; then
  17230. :
  17231. else
  17232. $as_echo "#define wxUSE_IOSTREAMH 1" >>confdefs.h
  17233. fi
  17234. ac_ext=c
  17235. ac_cpp='$CPP $CPPFLAGS'
  17236. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17237. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17238. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  17239. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if C++ compiler supports the explicit keyword" >&5
  17240. $as_echo_n "checking if C++ compiler supports the explicit keyword... " >&6; }
  17241. if ${wx_cv_explicit+:} false; then :
  17242. $as_echo_n "(cached) " >&6
  17243. else
  17244. ac_ext=cpp
  17245. ac_cpp='$CXXCPP $CPPFLAGS'
  17246. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17247. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17248. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  17249. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17250. /* end confdefs.h. */
  17251. class Foo { public: explicit Foo(int) {} };
  17252. int
  17253. main ()
  17254. {
  17255. return 0;
  17256. ;
  17257. return 0;
  17258. }
  17259. _ACEOF
  17260. if ac_fn_cxx_try_compile "$LINENO"; then :
  17261. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17262. /* end confdefs.h. */
  17263. class Foo { public: explicit Foo(int) {} };
  17264. static void TakeFoo(const Foo& foo) { }
  17265. int
  17266. main ()
  17267. {
  17268. TakeFoo(17);
  17269. return 0;
  17270. ;
  17271. return 0;
  17272. }
  17273. _ACEOF
  17274. if ac_fn_cxx_try_compile "$LINENO"; then :
  17275. wx_cv_explicit=no
  17276. else
  17277. wx_cv_explicit=yes
  17278. fi
  17279. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17280. else
  17281. wx_cv_explicit=no
  17282. fi
  17283. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17284. ac_ext=c
  17285. ac_cpp='$CPP $CPPFLAGS'
  17286. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17287. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17288. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  17289. fi
  17290. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_explicit" >&5
  17291. $as_echo "$wx_cv_explicit" >&6; }
  17292. if test "$wx_cv_explicit" = "yes"; then
  17293. $as_echo "#define HAVE_EXPLICIT 1" >>confdefs.h
  17294. fi
  17295. if test "x$SUNCXX" = xyes; then
  17296. CXXFLAGS="-features=tmplife $GNU_SOURCE_FLAG $CXXFLAGS"
  17297. fi
  17298. if test "x$SUNCC" = xyes; then
  17299. CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
  17300. fi
  17301. if test "x$SGICC" = "xyes"; then
  17302. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if cc version is 7.4.4 or greater" >&5
  17303. $as_echo_n "checking if cc version is 7.4.4 or greater... " >&6; }
  17304. if ${wx_cv_prog_sgicc744+:} false; then :
  17305. $as_echo_n "(cached) " >&6
  17306. else
  17307. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17308. /* end confdefs.h. */
  17309. int
  17310. main ()
  17311. {
  17312. #if _SGI_COMPILER_VERSION >= 744
  17313. chock me: mipsPro is 7.4.4 or later
  17314. #endif
  17315. ;
  17316. return 0;
  17317. }
  17318. _ACEOF
  17319. if ac_fn_c_try_compile "$LINENO"; then :
  17320. wx_cv_prog_sgicc744=no
  17321. else
  17322. wx_cv_prog_sgicc744=yes
  17323. fi
  17324. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17325. fi
  17326. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicc744" >&5
  17327. $as_echo "$wx_cv_prog_sgicc744" >&6; }
  17328. if test "x$wx_cv_prog_sgicc744" = "xyes"; then
  17329. CFLAGS="-woff 3970 $CFLAGS"
  17330. fi
  17331. fi
  17332. if test "x$SGICXX" = "xyes"; then
  17333. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if CC version is 7.4.4 or greater" >&5
  17334. $as_echo_n "checking if CC version is 7.4.4 or greater... " >&6; }
  17335. if ${wx_cv_prog_sgicxx744+:} false; then :
  17336. $as_echo_n "(cached) " >&6
  17337. else
  17338. ac_ext=cpp
  17339. ac_cpp='$CXXCPP $CPPFLAGS'
  17340. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17341. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17342. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  17343. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17344. /* end confdefs.h. */
  17345. int
  17346. main ()
  17347. {
  17348. #if _SGI_COMPILER_VERSION >= 744
  17349. chock me: mipsPro is 7.4.4 or later
  17350. #endif
  17351. ;
  17352. return 0;
  17353. }
  17354. _ACEOF
  17355. if ac_fn_cxx_try_compile "$LINENO"; then :
  17356. wx_cv_prog_sgicxx744=no
  17357. else
  17358. wx_cv_prog_sgicxx744=yes
  17359. fi
  17360. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17361. ac_ext=c
  17362. ac_cpp='$CPP $CPPFLAGS'
  17363. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17364. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17365. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  17366. fi
  17367. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_prog_sgicxx744" >&5
  17368. $as_echo "$wx_cv_prog_sgicxx744" >&6; }
  17369. if test "x$wx_cv_prog_sgicxx744" = "xyes"; then
  17370. CXXFLAGS="-woff 3970 $CXXFLAGS"
  17371. fi
  17372. fi
  17373. if test "x$HPCC" = "xyes"; then
  17374. CFLAGS="+W 2011,2450 $CFLAGS"
  17375. fi
  17376. if test "x$HPCXX" = "xyes"; then
  17377. CXXFLAGS="+W 2340,4232 $CXXFLAGS"
  17378. fi
  17379. if test "x$COMPAQCXX" = "xyes"; then
  17380. CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
  17381. fi
  17382. ac_ext=cpp
  17383. ac_cpp='$CXXCPP $CPPFLAGS'
  17384. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17385. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17386. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  17387. if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
  17388. if test "$wxUSE_UNICODE" = "yes"; then
  17389. std_string="std::wstring"
  17390. char_type="wchar_t"
  17391. else
  17392. std_string="std::string"
  17393. char_type="char"
  17394. fi
  17395. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $std_string in <string>" >&5
  17396. $as_echo_n "checking for $std_string in <string>... " >&6; }
  17397. if ${wx_cv_class_stdstring+:} false; then :
  17398. $as_echo_n "(cached) " >&6
  17399. else
  17400. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17401. /* end confdefs.h. */
  17402. #include <string>
  17403. int
  17404. main ()
  17405. {
  17406. $std_string foo;
  17407. ;
  17408. return 0;
  17409. }
  17410. _ACEOF
  17411. if ac_fn_cxx_try_compile "$LINENO"; then :
  17412. wx_cv_class_stdstring=yes
  17413. else
  17414. wx_cv_class_stdstring=no
  17415. fi
  17416. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17417. fi
  17418. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdstring" >&5
  17419. $as_echo "$wx_cv_class_stdstring" >&6; }
  17420. if test "$wx_cv_class_stdstring" = yes; then
  17421. if test "$wxUSE_UNICODE" = "yes"; then
  17422. $as_echo "#define HAVE_STD_WSTRING 1" >>confdefs.h
  17423. fi
  17424. else
  17425. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if std::basic_string<$char_type> works" >&5
  17426. $as_echo_n "checking if std::basic_string<$char_type> works... " >&6; }
  17427. if ${wx_cv_class_stdbasicstring+:} false; then :
  17428. $as_echo_n "(cached) " >&6
  17429. else
  17430. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17431. /* end confdefs.h. */
  17432. #ifdef HAVE_WCHAR_H
  17433. # ifdef __CYGWIN__
  17434. # include <stddef.h>
  17435. # endif
  17436. # include <wchar.h>
  17437. #endif
  17438. #ifdef HAVE_STDLIB_H
  17439. # include <stdlib.h>
  17440. #endif
  17441. #include <stdio.h>
  17442. #include <string>
  17443. int
  17444. main ()
  17445. {
  17446. std::basic_string<$char_type> foo;
  17447. const $char_type* dummy = foo.c_str();
  17448. ;
  17449. return 0;
  17450. }
  17451. _ACEOF
  17452. if ac_fn_cxx_try_compile "$LINENO"; then :
  17453. wx_cv_class_stdbasicstring=yes
  17454. else
  17455. wx_cv_class_stdbasicstring=no
  17456. fi
  17457. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17458. fi
  17459. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdbasicstring" >&5
  17460. $as_echo "$wx_cv_class_stdbasicstring" >&6; }
  17461. if test "$wx_cv_class_stdbasicstring" != yes; then
  17462. if test "$wxUSE_STL" = "yes"; then
  17463. as_fn_error $? "Can't use --enable-stl without $std_string or std::basic_string<$char_type>" "$LINENO" 5
  17464. elif test "$wxUSE_STD_STRING" = "yes"; then
  17465. as_fn_error $? "Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" "$LINENO" 5
  17466. else
  17467. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
  17468. $as_echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
  17469. wxUSE_STD_STRING=no
  17470. fi
  17471. fi
  17472. fi
  17473. fi
  17474. if test "$wxUSE_STD_IOSTREAM" = "yes"; then
  17475. ac_fn_cxx_check_type "$LINENO" "std::istream" "ac_cv_type_std__istream" "#include <iostream>
  17476. "
  17477. if test "x$ac_cv_type_std__istream" = xyes; then :
  17478. cat >>confdefs.h <<_ACEOF
  17479. #define HAVE_STD__ISTREAM 1
  17480. _ACEOF
  17481. else
  17482. wxUSE_STD_IOSTREAM=no
  17483. fi
  17484. ac_fn_cxx_check_type "$LINENO" "std::ostream" "ac_cv_type_std__ostream" "#include <iostream>
  17485. "
  17486. if test "x$ac_cv_type_std__ostream" = xyes; then :
  17487. cat >>confdefs.h <<_ACEOF
  17488. #define HAVE_STD__OSTREAM 1
  17489. _ACEOF
  17490. else
  17491. wxUSE_STD_IOSTREAM=no
  17492. fi
  17493. if test "$wxUSE_STD_IOSTREAM" != "yes"; then
  17494. if test "$wxUSE_STD_IOSTREAM" = "yes"; then
  17495. as_fn_error $? "Can't use --enable-std_iostreams without std::istream and std::ostream" "$LINENO" 5
  17496. else
  17497. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
  17498. $as_echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
  17499. fi
  17500. fi
  17501. fi
  17502. if test "$wxUSE_STL" = "yes"; then
  17503. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for basic STL functionality" >&5
  17504. $as_echo_n "checking for basic STL functionality... " >&6; }
  17505. if ${wx_cv_lib_stl+:} false; then :
  17506. $as_echo_n "(cached) " >&6
  17507. else
  17508. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17509. /* end confdefs.h. */
  17510. #include <string>
  17511. #include <functional>
  17512. #include <algorithm>
  17513. #include <vector>
  17514. #include <list>
  17515. int
  17516. main ()
  17517. {
  17518. std::vector<int> moo;
  17519. std::list<int> foo;
  17520. std::vector<int>::iterator it =
  17521. std::find_if(moo.begin(), moo.end(),
  17522. std::bind2nd(std::less<int>(), 3));
  17523. ;
  17524. return 0;
  17525. }
  17526. _ACEOF
  17527. if ac_fn_cxx_try_compile "$LINENO"; then :
  17528. wx_cv_lib_stl=yes
  17529. else
  17530. wx_cv_lib_stl=no
  17531. fi
  17532. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17533. fi
  17534. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_stl" >&5
  17535. $as_echo "$wx_cv_lib_stl" >&6; }
  17536. if test "$wx_cv_lib_stl" != yes; then
  17537. as_fn_error $? "Can't use --enable-stl as basic STL functionality is missing" "$LINENO" 5
  17538. fi
  17539. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compliant std::string::compare" >&5
  17540. $as_echo_n "checking for compliant std::string::compare... " >&6; }
  17541. if ${wx_cv_func_stdstring_compare+:} false; then :
  17542. $as_echo_n "(cached) " >&6
  17543. else
  17544. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17545. /* end confdefs.h. */
  17546. #include <string>
  17547. int
  17548. main ()
  17549. {
  17550. std::string foo, bar;
  17551. foo.compare(bar);
  17552. foo.compare(1, 1, bar);
  17553. foo.compare(1, 1, bar, 1, 1);
  17554. foo.compare("");
  17555. foo.compare(1, 1, "");
  17556. foo.compare(1, 1, "", 2);
  17557. ;
  17558. return 0;
  17559. }
  17560. _ACEOF
  17561. if ac_fn_cxx_try_compile "$LINENO"; then :
  17562. wx_cv_func_stdstring_compare=yes
  17563. else
  17564. wx_cv_func_stdstring_compare=no
  17565. fi
  17566. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17567. fi
  17568. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_stdstring_compare" >&5
  17569. $as_echo "$wx_cv_func_stdstring_compare" >&6; }
  17570. if test "$wx_cv_func_stdstring_compare" = yes; then
  17571. $as_echo "#define HAVE_STD_STRING_COMPARE 1" >>confdefs.h
  17572. fi
  17573. if test "$wx_cv_class_gnuhashmapset" = yes; then
  17574. $as_echo "#define HAVE_EXT_HASH_MAP 1" >>confdefs.h
  17575. $as_echo "#define HAVE_GNU_CXX_HASH_MAP 1" >>confdefs.h
  17576. fi
  17577. ac_fn_cxx_check_header_compile "$LINENO" "unordered_map" "ac_cv_header_unordered_map" "
  17578. "
  17579. if test "x$ac_cv_header_unordered_map" = xyes; then :
  17580. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std" >&5
  17581. $as_echo_n "checking for unordered_map and unordered_set in std... " >&6; }
  17582. if ${wx_cv_class_stdunorderedmapset+:} false; then :
  17583. $as_echo_n "(cached) " >&6
  17584. else
  17585. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17586. /* end confdefs.h. */
  17587. #include <unordered_map>
  17588. #include <unordered_set>
  17589. int
  17590. main ()
  17591. {
  17592. std::unordered_map<double*, char*> test1;
  17593. std::unordered_set<char*> test2;
  17594. ;
  17595. return 0;
  17596. }
  17597. _ACEOF
  17598. if ac_fn_cxx_try_compile "$LINENO"; then :
  17599. wx_cv_class_stdunorderedmapset=yes
  17600. else
  17601. wx_cv_class_stdunorderedmapset=no
  17602. fi
  17603. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17604. fi
  17605. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdunorderedmapset" >&5
  17606. $as_echo "$wx_cv_class_stdunorderedmapset" >&6; }
  17607. fi
  17608. if test "$wx_cv_class_stdunorderedmapset" = yes; then
  17609. $as_echo "#define HAVE_STD_UNORDERED_MAP 1" >>confdefs.h
  17610. $as_echo "#define HAVE_STD_UNORDERED_SET 1" >>confdefs.h
  17611. else
  17612. ac_fn_cxx_check_header_compile "$LINENO" "tr1/unordered_map" "ac_cv_header_tr1_unordered_map" "
  17613. "
  17614. if test "x$ac_cv_header_tr1_unordered_map" = xyes; then :
  17615. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unordered_map and unordered_set in std::tr1" >&5
  17616. $as_echo_n "checking for unordered_map and unordered_set in std::tr1... " >&6; }
  17617. if ${wx_cv_class_tr1unorderedmapset+:} false; then :
  17618. $as_echo_n "(cached) " >&6
  17619. else
  17620. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17621. /* end confdefs.h. */
  17622. #include <tr1/unordered_map>
  17623. #include <tr1/unordered_set>
  17624. int
  17625. main ()
  17626. {
  17627. std::tr1::unordered_map<double*, char*> test1;
  17628. std::tr1::unordered_set<char*> test2;
  17629. #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
  17630. #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
  17631. #endif
  17632. ;
  17633. return 0;
  17634. }
  17635. _ACEOF
  17636. if ac_fn_cxx_try_compile "$LINENO"; then :
  17637. wx_cv_class_tr1unorderedmapset=yes
  17638. else
  17639. wx_cv_class_tr1unorderedmapset=no
  17640. fi
  17641. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17642. fi
  17643. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_tr1unorderedmapset" >&5
  17644. $as_echo "$wx_cv_class_tr1unorderedmapset" >&6; }
  17645. fi
  17646. if test "$wx_cv_class_tr1unorderedmapset" = yes; then
  17647. $as_echo "#define HAVE_TR1_UNORDERED_MAP 1" >>confdefs.h
  17648. $as_echo "#define HAVE_TR1_UNORDERED_SET 1" >>confdefs.h
  17649. else
  17650. ac_fn_cxx_check_header_compile "$LINENO" "hash_map" "ac_cv_header_hash_map" "
  17651. "
  17652. if test "x$ac_cv_header_hash_map" = xyes; then :
  17653. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for std::hash_map and hash_set" >&5
  17654. $as_echo_n "checking for std::hash_map and hash_set... " >&6; }
  17655. if ${wx_cv_class_stdhashmapset+:} false; then :
  17656. $as_echo_n "(cached) " >&6
  17657. else
  17658. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17659. /* end confdefs.h. */
  17660. #include <hash_map>
  17661. #include <hash_set>
  17662. int
  17663. main ()
  17664. {
  17665. std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
  17666. std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
  17667. ;
  17668. return 0;
  17669. }
  17670. _ACEOF
  17671. if ac_fn_cxx_try_compile "$LINENO"; then :
  17672. wx_cv_class_stdhashmapset=yes
  17673. else
  17674. wx_cv_class_stdhashmapset=no
  17675. fi
  17676. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17677. fi
  17678. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_stdhashmapset" >&5
  17679. $as_echo "$wx_cv_class_stdhashmapset" >&6; }
  17680. fi
  17681. if test "$wx_cv_class_stdhashmapset" = yes; then
  17682. $as_echo "#define HAVE_HASH_MAP 1" >>confdefs.h
  17683. $as_echo "#define HAVE_STD_HASH_MAP 1" >>confdefs.h
  17684. fi
  17685. ac_fn_cxx_check_header_compile "$LINENO" "ext/hash_map" "ac_cv_header_ext_hash_map" "
  17686. "
  17687. if test "x$ac_cv_header_ext_hash_map" = xyes; then :
  17688. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNU hash_map and hash_set" >&5
  17689. $as_echo_n "checking for GNU hash_map and hash_set... " >&6; }
  17690. if ${wx_cv_class_gnuhashmapset+:} false; then :
  17691. $as_echo_n "(cached) " >&6
  17692. else
  17693. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17694. /* end confdefs.h. */
  17695. #include <ext/hash_map>
  17696. #include <ext/hash_set>
  17697. int
  17698. main ()
  17699. {
  17700. __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
  17701. __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
  17702. ;
  17703. return 0;
  17704. }
  17705. _ACEOF
  17706. if ac_fn_cxx_try_compile "$LINENO"; then :
  17707. wx_cv_class_gnuhashmapset=yes
  17708. else
  17709. wx_cv_class_gnuhashmapset=no
  17710. fi
  17711. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17712. fi
  17713. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_class_gnuhashmapset" >&5
  17714. $as_echo "$wx_cv_class_gnuhashmapset" >&6; }
  17715. fi
  17716. fi
  17717. fi
  17718. fi
  17719. ac_ext=cpp
  17720. ac_cpp='$CXXCPP $CPPFLAGS'
  17721. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17722. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17723. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  17724. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C++ preprocessor" >&5
  17725. $as_echo_n "checking how to run the C++ preprocessor... " >&6; }
  17726. if test -z "$CXXCPP"; then
  17727. if ${ac_cv_prog_CXXCPP+:} false; then :
  17728. $as_echo_n "(cached) " >&6
  17729. else
  17730. # Double quotes because CXXCPP needs to be expanded
  17731. for CXXCPP in "$CXX -E" "/lib/cpp"
  17732. do
  17733. ac_preproc_ok=false
  17734. for ac_cxx_preproc_warn_flag in '' yes
  17735. do
  17736. # Use a header file that comes with gcc, so configuring glibc
  17737. # with a fresh cross-compiler works.
  17738. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  17739. # <limits.h> exists even on freestanding compilers.
  17740. # On the NeXT, cc -E runs the code through the compiler's parser,
  17741. # not just through cpp. "Syntax error" is here to catch this case.
  17742. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17743. /* end confdefs.h. */
  17744. #ifdef __STDC__
  17745. # include <limits.h>
  17746. #else
  17747. # include <assert.h>
  17748. #endif
  17749. Syntax error
  17750. _ACEOF
  17751. if ac_fn_cxx_try_cpp "$LINENO"; then :
  17752. else
  17753. # Broken: fails on valid input.
  17754. continue
  17755. fi
  17756. rm -f conftest.err conftest.i conftest.$ac_ext
  17757. # OK, works on sane cases. Now check whether nonexistent headers
  17758. # can be detected and how.
  17759. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17760. /* end confdefs.h. */
  17761. #include <ac_nonexistent.h>
  17762. _ACEOF
  17763. if ac_fn_cxx_try_cpp "$LINENO"; then :
  17764. # Broken: success on invalid input.
  17765. continue
  17766. else
  17767. # Passes both tests.
  17768. ac_preproc_ok=:
  17769. break
  17770. fi
  17771. rm -f conftest.err conftest.i conftest.$ac_ext
  17772. done
  17773. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  17774. rm -f conftest.i conftest.err conftest.$ac_ext
  17775. if $ac_preproc_ok; then :
  17776. break
  17777. fi
  17778. done
  17779. ac_cv_prog_CXXCPP=$CXXCPP
  17780. fi
  17781. CXXCPP=$ac_cv_prog_CXXCPP
  17782. else
  17783. ac_cv_prog_CXXCPP=$CXXCPP
  17784. fi
  17785. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXXCPP" >&5
  17786. $as_echo "$CXXCPP" >&6; }
  17787. ac_preproc_ok=false
  17788. for ac_cxx_preproc_warn_flag in '' yes
  17789. do
  17790. # Use a header file that comes with gcc, so configuring glibc
  17791. # with a fresh cross-compiler works.
  17792. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  17793. # <limits.h> exists even on freestanding compilers.
  17794. # On the NeXT, cc -E runs the code through the compiler's parser,
  17795. # not just through cpp. "Syntax error" is here to catch this case.
  17796. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17797. /* end confdefs.h. */
  17798. #ifdef __STDC__
  17799. # include <limits.h>
  17800. #else
  17801. # include <assert.h>
  17802. #endif
  17803. Syntax error
  17804. _ACEOF
  17805. if ac_fn_cxx_try_cpp "$LINENO"; then :
  17806. else
  17807. # Broken: fails on valid input.
  17808. continue
  17809. fi
  17810. rm -f conftest.err conftest.i conftest.$ac_ext
  17811. # OK, works on sane cases. Now check whether nonexistent headers
  17812. # can be detected and how.
  17813. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17814. /* end confdefs.h. */
  17815. #include <ac_nonexistent.h>
  17816. _ACEOF
  17817. if ac_fn_cxx_try_cpp "$LINENO"; then :
  17818. # Broken: success on invalid input.
  17819. continue
  17820. else
  17821. # Passes both tests.
  17822. ac_preproc_ok=:
  17823. break
  17824. fi
  17825. rm -f conftest.err conftest.i conftest.$ac_ext
  17826. done
  17827. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  17828. rm -f conftest.i conftest.err conftest.$ac_ext
  17829. if $ac_preproc_ok; then :
  17830. else
  17831. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  17832. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  17833. as_fn_error $? "C++ preprocessor \"$CXXCPP\" fails sanity check
  17834. See \`config.log' for more details" "$LINENO" 5; }
  17835. fi
  17836. ac_ext=cpp
  17837. ac_cpp='$CXXCPP $CPPFLAGS'
  17838. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17839. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17840. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  17841. for ac_header in type_traits tr1/type_traits
  17842. do :
  17843. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  17844. ac_fn_cxx_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  17845. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  17846. cat >>confdefs.h <<_ACEOF
  17847. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  17848. _ACEOF
  17849. break
  17850. fi
  17851. done
  17852. if test -n "$GCC"; then
  17853. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
  17854. $as_echo_n "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... " >&6; }
  17855. if ${wx_cv_cc_gcc_atomic_builtins+:} false; then :
  17856. $as_echo_n "(cached) " >&6
  17857. else
  17858. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17859. /* end confdefs.h. */
  17860. int
  17861. main ()
  17862. {
  17863. unsigned int value=0;
  17864. /* wxAtomicInc doesn't use return value here */
  17865. __sync_fetch_and_add(&value, 2);
  17866. __sync_sub_and_fetch(&value, 1);
  17867. /* but wxAtomicDec does, so mimic that: */
  17868. volatile unsigned int r2 = __sync_sub_and_fetch(&value, 1);
  17869. ;
  17870. return 0;
  17871. }
  17872. _ACEOF
  17873. if ac_fn_cxx_try_link "$LINENO"; then :
  17874. wx_cv_cc_gcc_atomic_builtins=yes
  17875. else
  17876. wx_cv_cc_gcc_atomic_builtins=no
  17877. fi
  17878. rm -f core conftest.err conftest.$ac_objext \
  17879. conftest$ac_exeext conftest.$ac_ext
  17880. fi
  17881. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_gcc_atomic_builtins" >&5
  17882. $as_echo "$wx_cv_cc_gcc_atomic_builtins" >&6; }
  17883. if test $wx_cv_cc_gcc_atomic_builtins = yes; then
  17884. $as_echo "#define HAVE_GCC_ATOMIC_BUILTINS 1" >>confdefs.h
  17885. fi
  17886. fi
  17887. ac_ext=c
  17888. ac_cpp='$CPP $CPPFLAGS'
  17889. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  17890. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  17891. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  17892. SEARCH_INCLUDE="\
  17893. /usr/local/include \
  17894. /usr/local/X11/include \
  17895. /usr/local/include/X11 \
  17896. /usr/local/X11R7/include \
  17897. /usr/local/X11R6/include \
  17898. /usr/local/include/X11R7 \
  17899. /usr/local/include/X11R6 \
  17900. \
  17901. /usr/Motif-2.1/include \
  17902. /usr/Motif-1.2/include \
  17903. /usr/include/Motif1.2 \
  17904. \
  17905. /usr/dt/include \
  17906. /usr/openwin/include \
  17907. \
  17908. /usr/include/Xm \
  17909. \
  17910. /usr/X11R7/include \
  17911. /usr/X11R6/include \
  17912. /usr/X11R6.4/include \
  17913. \
  17914. /usr/include/X11R7 \
  17915. /usr/include/X11R6 \
  17916. \
  17917. /usr/X11/include \
  17918. /usr/include/X11 \
  17919. \
  17920. /usr/XFree86/include/X11 \
  17921. /usr/pkg/include \
  17922. \
  17923. /usr/local/X1R5/include \
  17924. /usr/local/include/X11R5 \
  17925. /usr/X11R5/include \
  17926. /usr/include/X11R5 \
  17927. \
  17928. /usr/local/X11R4/include \
  17929. /usr/local/include/X11R4 \
  17930. /usr/X11R4/include \
  17931. /usr/include/X11R4 \
  17932. \
  17933. /usr/openwin/share/include"
  17934. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libraries directories" >&5
  17935. $as_echo_n "checking for libraries directories... " >&6; }
  17936. case "${host}" in
  17937. *-*-irix6* )
  17938. if ${wx_cv_std_libpath+:} false; then :
  17939. $as_echo_n "(cached) " >&6
  17940. else
  17941. for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
  17942. for e in a so sl dylib dll.a; do
  17943. libc="$d/libc.$e"
  17944. if test -f $libc; then
  17945. save_LIBS="$LIBS"
  17946. LIBS="$libc"
  17947. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17948. /* end confdefs.h. */
  17949. int main() { return 0; }
  17950. _ACEOF
  17951. if ac_fn_c_try_link "$LINENO"; then :
  17952. wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
  17953. fi
  17954. rm -f core conftest.err conftest.$ac_objext \
  17955. conftest$ac_exeext conftest.$ac_ext
  17956. LIBS="$save_LIBS"
  17957. if test "x$wx_cv_std_libpath" != "x"; then
  17958. break 2
  17959. fi
  17960. fi
  17961. done
  17962. done
  17963. fi
  17964. ;;
  17965. *-*-solaris2* )
  17966. if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
  17967. wx_cv_std_libpath="lib/64"
  17968. fi
  17969. ;;
  17970. *-*-linux* )
  17971. if test "$ac_cv_sizeof_void_p" = 8; then
  17972. if test -d "/usr/lib/`uname -m`-linux-gnu"; then
  17973. wx_cv_std_libfullpath="/usr/lib/`uname -m`-linux-gnu"
  17974. elif test -d "/usr/lib64" -a ! -h "/usr/lib64"; then
  17975. wx_cv_std_libpath="lib64"
  17976. fi
  17977. else
  17978. case "${host}" in
  17979. i*86-*-linux* )
  17980. if test -d '/usr/lib/i386-linux-gnu'; then
  17981. wx_cv_std_libfullpath='/usr/lib/i386-linux-gnu'
  17982. fi
  17983. esac
  17984. fi
  17985. if test -n "$wx_cv_std_libfullpath" -a -d "/usr/lib"; then
  17986. wx_cv_std_libfullpath="$wx_cv_std_libfullpath /usr/lib"
  17987. fi
  17988. ;;
  17989. esac
  17990. if test -z "$wx_cv_std_libpath"; then
  17991. wx_cv_std_libpath="lib"
  17992. fi
  17993. if test -z "$wx_cv_std_libfullpath"; then
  17994. wx_cv_std_libfullpath="/usr/$wx_cv_std_libpath"
  17995. fi
  17996. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_std_libfullpath" >&5
  17997. $as_echo "$wx_cv_std_libfullpath" >&6; }
  17998. SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` $wx_cv_std_libfullpath"
  17999. if test "$build" != "$host" -a "$GCC" = yes; then
  18000. if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
  18001. cross_root=`dirname $cross_root`
  18002. cross_root=`dirname $cross_root`
  18003. SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
  18004. SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
  18005. SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
  18006. if test -z "$PKG_CONFIG_PATH"; then
  18007. PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
  18008. export PKG_CONFIG_PATH
  18009. fi
  18010. if test -z "$x_includes" -o "$x_includes" = NONE; then
  18011. ac_find_includes=
  18012. for ac_dir in $SEARCH_INCLUDE /usr/include
  18013. do
  18014. if test -f "$ac_dir/X11/Intrinsic.h"; then
  18015. ac_find_includes=$ac_dir
  18016. break
  18017. fi
  18018. done
  18019. x_includes=$ac_find_includes
  18020. fi
  18021. if test -z "$x_libraries" -o "$x_libraries" = NONE; then
  18022. ac_find_libraries=
  18023. for ac_dir in $SEARCH_LIB
  18024. do
  18025. for ac_extension in a so sl dylib dll.a; do
  18026. if test -f "$ac_dir/libXt.$ac_extension"; then
  18027. ac_find_libraries=$ac_dir
  18028. break 2
  18029. fi
  18030. done
  18031. done
  18032. x_libraries=$ac_find_libraries
  18033. fi
  18034. fi
  18035. fi
  18036. cat >confcache <<\_ACEOF
  18037. # This file is a shell script that caches the results of configure
  18038. # tests run on this system so they can be shared between configure
  18039. # scripts and configure runs, see configure's option --config-cache.
  18040. # It is not useful on other systems. If it contains results you don't
  18041. # want to keep, you may remove or edit it.
  18042. #
  18043. # config.status only pays attention to the cache file if you give it
  18044. # the --recheck option to rerun configure.
  18045. #
  18046. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  18047. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  18048. # following values.
  18049. _ACEOF
  18050. # The following way of writing the cache mishandles newlines in values,
  18051. # but we know of no workaround that is simple, portable, and efficient.
  18052. # So, we kill variables containing newlines.
  18053. # Ultrix sh set writes to stderr and can't be redirected directly,
  18054. # and sets the high bit in the cache file unless we assign to the vars.
  18055. (
  18056. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  18057. eval ac_val=\$$ac_var
  18058. case $ac_val in #(
  18059. *${as_nl}*)
  18060. case $ac_var in #(
  18061. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  18062. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  18063. esac
  18064. case $ac_var in #(
  18065. _ | IFS | as_nl) ;; #(
  18066. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  18067. *) { eval $ac_var=; unset $ac_var;} ;;
  18068. esac ;;
  18069. esac
  18070. done
  18071. (set) 2>&1 |
  18072. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  18073. *${as_nl}ac_space=\ *)
  18074. # `set' does not quote correctly, so add quotes: double-quote
  18075. # substitution turns \\\\ into \\, and sed turns \\ into \.
  18076. sed -n \
  18077. "s/'/'\\\\''/g;
  18078. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  18079. ;; #(
  18080. *)
  18081. # `set' quotes correctly as required by POSIX, so do not add quotes.
  18082. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  18083. ;;
  18084. esac |
  18085. sort
  18086. ) |
  18087. sed '
  18088. /^ac_cv_env_/b end
  18089. t clear
  18090. :clear
  18091. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  18092. t end
  18093. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  18094. :end' >>confcache
  18095. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  18096. if test -w "$cache_file"; then
  18097. if test "x$cache_file" != "x/dev/null"; then
  18098. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  18099. $as_echo "$as_me: updating cache $cache_file" >&6;}
  18100. if test ! -f "$cache_file" || test -h "$cache_file"; then
  18101. cat confcache >"$cache_file"
  18102. else
  18103. case $cache_file in #(
  18104. */* | ?:*)
  18105. mv -f confcache "$cache_file"$$ &&
  18106. mv -f "$cache_file"$$ "$cache_file" ;; #(
  18107. *)
  18108. mv -f confcache "$cache_file" ;;
  18109. esac
  18110. fi
  18111. fi
  18112. else
  18113. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  18114. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  18115. fi
  18116. fi
  18117. rm -f confcache
  18118. have_cos=0
  18119. have_floor=0
  18120. for ac_func in cos
  18121. do :
  18122. ac_fn_c_check_func "$LINENO" "cos" "ac_cv_func_cos"
  18123. if test "x$ac_cv_func_cos" = xyes; then :
  18124. cat >>confdefs.h <<_ACEOF
  18125. #define HAVE_COS 1
  18126. _ACEOF
  18127. have_cos=1
  18128. fi
  18129. done
  18130. for ac_func in floor
  18131. do :
  18132. ac_fn_c_check_func "$LINENO" "floor" "ac_cv_func_floor"
  18133. if test "x$ac_cv_func_floor" = xyes; then :
  18134. cat >>confdefs.h <<_ACEOF
  18135. #define HAVE_FLOOR 1
  18136. _ACEOF
  18137. have_floor=1
  18138. fi
  18139. done
  18140. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link without -lm" >&5
  18141. $as_echo_n "checking if floating point functions link without -lm... " >&6; }
  18142. if test "$have_cos" = 1 -a "$have_floor" = 1; then
  18143. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  18144. $as_echo "yes" >&6; }
  18145. else
  18146. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18147. $as_echo "no" >&6; }
  18148. LIBS="$LIBS -lm"
  18149. # use different functions to avoid configure caching
  18150. have_sin=0
  18151. have_ceil=0
  18152. for ac_func in sin
  18153. do :
  18154. ac_fn_c_check_func "$LINENO" "sin" "ac_cv_func_sin"
  18155. if test "x$ac_cv_func_sin" = xyes; then :
  18156. cat >>confdefs.h <<_ACEOF
  18157. #define HAVE_SIN 1
  18158. _ACEOF
  18159. have_sin=1
  18160. fi
  18161. done
  18162. for ac_func in ceil
  18163. do :
  18164. ac_fn_c_check_func "$LINENO" "ceil" "ac_cv_func_ceil"
  18165. if test "x$ac_cv_func_ceil" = xyes; then :
  18166. cat >>confdefs.h <<_ACEOF
  18167. #define HAVE_CEIL 1
  18168. _ACEOF
  18169. have_ceil=1
  18170. fi
  18171. done
  18172. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if floating point functions link with -lm" >&5
  18173. $as_echo_n "checking if floating point functions link with -lm... " >&6; }
  18174. if test "$have_sin" = 1 -a "$have_ceil" = 1; then
  18175. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  18176. $as_echo "yes" >&6; }
  18177. else
  18178. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  18179. $as_echo "no" >&6; }
  18180. # not sure we should warn the user, crash, etc.
  18181. fi
  18182. fi
  18183. ac_ext=cpp
  18184. ac_cpp='$CXXCPP $CPPFLAGS'
  18185. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  18186. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  18187. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  18188. if test "wxUSE_UNICODE" = "yes"; then
  18189. for wx_func in wcstoull
  18190. do
  18191. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
  18192. $as_echo_n "checking for $wx_func... " >&6; }
  18193. if eval \${wx_cv_func_$wx_func+:} false; then :
  18194. $as_echo_n "(cached) " >&6
  18195. else
  18196. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18197. /* end confdefs.h. */
  18198. $ac_includes_default
  18199. int
  18200. main ()
  18201. {
  18202. #ifndef $wx_func
  18203. &$wx_func;
  18204. #endif
  18205. ;
  18206. return 0;
  18207. }
  18208. _ACEOF
  18209. if ac_fn_cxx_try_link "$LINENO"; then :
  18210. eval wx_cv_func_$wx_func=yes
  18211. else
  18212. eval wx_cv_func_$wx_func=no
  18213. fi
  18214. rm -f core conftest.err conftest.$ac_objext \
  18215. conftest$ac_exeext conftest.$ac_ext
  18216. fi
  18217. eval ac_res=\$wx_cv_func_$wx_func
  18218. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  18219. $as_echo "$ac_res" >&6; }
  18220. if eval test \$wx_cv_func_$wx_func = yes
  18221. then
  18222. cat >>confdefs.h <<_ACEOF
  18223. #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
  18224. _ACEOF
  18225. else
  18226. :
  18227. fi
  18228. done
  18229. else
  18230. for wx_func in strtoull
  18231. do
  18232. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
  18233. $as_echo_n "checking for $wx_func... " >&6; }
  18234. if eval \${wx_cv_func_$wx_func+:} false; then :
  18235. $as_echo_n "(cached) " >&6
  18236. else
  18237. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18238. /* end confdefs.h. */
  18239. $ac_includes_default
  18240. int
  18241. main ()
  18242. {
  18243. #ifndef $wx_func
  18244. &$wx_func;
  18245. #endif
  18246. ;
  18247. return 0;
  18248. }
  18249. _ACEOF
  18250. if ac_fn_cxx_try_link "$LINENO"; then :
  18251. eval wx_cv_func_$wx_func=yes
  18252. else
  18253. eval wx_cv_func_$wx_func=no
  18254. fi
  18255. rm -f core conftest.err conftest.$ac_objext \
  18256. conftest$ac_exeext conftest.$ac_ext
  18257. fi
  18258. eval ac_res=\$wx_cv_func_$wx_func
  18259. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  18260. $as_echo "$ac_res" >&6; }
  18261. if eval test \$wx_cv_func_$wx_func = yes
  18262. then
  18263. cat >>confdefs.h <<_ACEOF
  18264. #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
  18265. _ACEOF
  18266. else
  18267. :
  18268. fi
  18269. done
  18270. fi
  18271. ac_ext=c
  18272. ac_cpp='$CPP $CPPFLAGS'
  18273. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  18274. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  18275. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  18276. if test "$wxUSE_REGEX" != "no"; then
  18277. $as_echo "#define wxUSE_REGEX 1" >>confdefs.h
  18278. if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
  18279. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
  18280. $as_echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
  18281. wxUSE_REGEX=builtin
  18282. fi
  18283. if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
  18284. ac_fn_c_check_header_compile "$LINENO" "regex.h" "ac_cv_header_regex_h" "
  18285. "
  18286. if test "x$ac_cv_header_regex_h" = xyes; then :
  18287. for ac_func in regcomp re_search
  18288. do :
  18289. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  18290. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  18291. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  18292. cat >>confdefs.h <<_ACEOF
  18293. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  18294. _ACEOF
  18295. fi
  18296. done
  18297. fi
  18298. if test "x$ac_cv_func_regcomp" != "xyes"; then
  18299. if test "$wxUSE_REGEX" = "sys" ; then
  18300. as_fn_error $? "system regex library not found! Use --with-regex to use built-in version" "$LINENO" 5
  18301. else
  18302. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system regex library not found, will use built-in instead" >&5
  18303. $as_echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
  18304. wxUSE_REGEX=builtin
  18305. fi
  18306. else
  18307. wxUSE_REGEX=sys
  18308. $as_echo "#define WX_NO_REGEX_ADVANCED 1" >>confdefs.h
  18309. fi
  18310. fi
  18311. fi
  18312. ZLIB_LINK=
  18313. if test "$wxUSE_ZLIB" != "no" ; then
  18314. $as_echo "#define wxUSE_ZLIB 1" >>confdefs.h
  18315. if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
  18316. if test "$USE_DARWIN" = 1; then
  18317. system_zlib_h_ok="yes"
  18318. else
  18319. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for zlib.h >= 1.1.4" >&5
  18320. $as_echo_n "checking for zlib.h >= 1.1.4... " >&6; }
  18321. if ${ac_cv_header_zlib_h+:} false; then :
  18322. $as_echo_n "(cached) " >&6
  18323. else
  18324. if test "$cross_compiling" = yes; then :
  18325. unset ac_cv_header_zlib_h
  18326. else
  18327. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18328. /* end confdefs.h. */
  18329. #include <zlib.h>
  18330. #include <stdio.h>
  18331. int main()
  18332. {
  18333. FILE *f=fopen("conftestval", "w");
  18334. if (!f) exit(1);
  18335. fprintf(f, "%s",
  18336. ZLIB_VERSION[0] == '1' &&
  18337. (ZLIB_VERSION[2] > '1' ||
  18338. (ZLIB_VERSION[2] == '1' &&
  18339. ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
  18340. exit(0);
  18341. }
  18342. _ACEOF
  18343. if ac_fn_c_try_run "$LINENO"; then :
  18344. ac_cv_header_zlib_h=`cat conftestval`
  18345. else
  18346. ac_cv_header_zlib_h=no
  18347. fi
  18348. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  18349. conftest.$ac_objext conftest.beam conftest.$ac_ext
  18350. fi
  18351. fi
  18352. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_zlib_h" >&5
  18353. $as_echo "$ac_cv_header_zlib_h" >&6; }
  18354. ac_fn_c_check_header_compile "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "
  18355. "
  18356. if test "x$ac_cv_header_zlib_h" = xyes; then :
  18357. fi
  18358. system_zlib_h_ok=$ac_cv_header_zlib_h
  18359. fi
  18360. if test "$system_zlib_h_ok" = "yes"; then
  18361. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for deflate in -lz" >&5
  18362. $as_echo_n "checking for deflate in -lz... " >&6; }
  18363. if ${ac_cv_lib_z_deflate+:} false; then :
  18364. $as_echo_n "(cached) " >&6
  18365. else
  18366. ac_check_lib_save_LIBS=$LIBS
  18367. LIBS="-lz $LIBS"
  18368. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18369. /* end confdefs.h. */
  18370. /* Override any GCC internal prototype to avoid an error.
  18371. Use char because int might match the return type of a GCC
  18372. builtin and then its argument prototype would still apply. */
  18373. #ifdef __cplusplus
  18374. extern "C"
  18375. #endif
  18376. char deflate ();
  18377. int
  18378. main ()
  18379. {
  18380. return deflate ();
  18381. ;
  18382. return 0;
  18383. }
  18384. _ACEOF
  18385. if ac_fn_c_try_link "$LINENO"; then :
  18386. ac_cv_lib_z_deflate=yes
  18387. else
  18388. ac_cv_lib_z_deflate=no
  18389. fi
  18390. rm -f core conftest.err conftest.$ac_objext \
  18391. conftest$ac_exeext conftest.$ac_ext
  18392. LIBS=$ac_check_lib_save_LIBS
  18393. fi
  18394. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_deflate" >&5
  18395. $as_echo "$ac_cv_lib_z_deflate" >&6; }
  18396. if test "x$ac_cv_lib_z_deflate" = xyes; then :
  18397. ZLIB_LINK=" -lz"
  18398. fi
  18399. fi
  18400. if test "x$ZLIB_LINK" = "x" ; then
  18401. if test "$wxUSE_ZLIB" = "sys" ; then
  18402. as_fn_error $? "zlib library not found or too old! Use --with-zlib=builtin to use built-in version" "$LINENO" 5
  18403. else
  18404. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: zlib library not found or too old, will use built-in instead" >&5
  18405. $as_echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
  18406. wxUSE_ZLIB=builtin
  18407. fi
  18408. else
  18409. wxUSE_ZLIB=sys
  18410. fi
  18411. fi
  18412. fi
  18413. PNG_LINK=
  18414. if test "$wxUSE_LIBPNG" != "no" ; then
  18415. $as_echo "#define wxUSE_LIBPNG 1" >>confdefs.h
  18416. if test "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
  18417. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
  18418. $as_echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
  18419. wxUSE_LIBPNG=builtin
  18420. fi
  18421. if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
  18422. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png.h > 0.90" >&5
  18423. $as_echo_n "checking for png.h > 0.90... " >&6; }
  18424. if ${ac_cv_header_png_h+:} false; then :
  18425. $as_echo_n "(cached) " >&6
  18426. else
  18427. if test "$cross_compiling" = yes; then :
  18428. unset ac_cv_header_png_h
  18429. else
  18430. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18431. /* end confdefs.h. */
  18432. #include <png.h>
  18433. #include <stdio.h>
  18434. int main()
  18435. {
  18436. FILE *f=fopen("conftestval", "w");
  18437. if (!f) exit(1);
  18438. fprintf(f, "%s",
  18439. PNG_LIBPNG_VER > 90 ? "yes" : "no");
  18440. exit(0);
  18441. }
  18442. _ACEOF
  18443. if ac_fn_c_try_run "$LINENO"; then :
  18444. ac_cv_header_png_h=`cat conftestval`
  18445. else
  18446. ac_cv_header_png_h=no
  18447. fi
  18448. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  18449. conftest.$ac_objext conftest.beam conftest.$ac_ext
  18450. fi
  18451. fi
  18452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_png_h" >&5
  18453. $as_echo "$ac_cv_header_png_h" >&6; }
  18454. ac_fn_c_check_header_compile "$LINENO" "png.h" "ac_cv_header_png_h" "
  18455. "
  18456. if test "x$ac_cv_header_png_h" = xyes; then :
  18457. fi
  18458. if test "$ac_cv_header_png_h" = "yes"; then
  18459. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for png_sig_cmp in -lpng" >&5
  18460. $as_echo_n "checking for png_sig_cmp in -lpng... " >&6; }
  18461. if ${ac_cv_lib_png_png_sig_cmp+:} false; then :
  18462. $as_echo_n "(cached) " >&6
  18463. else
  18464. ac_check_lib_save_LIBS=$LIBS
  18465. LIBS="-lpng -lz -lm $LIBS"
  18466. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18467. /* end confdefs.h. */
  18468. /* Override any GCC internal prototype to avoid an error.
  18469. Use char because int might match the return type of a GCC
  18470. builtin and then its argument prototype would still apply. */
  18471. #ifdef __cplusplus
  18472. extern "C"
  18473. #endif
  18474. char png_sig_cmp ();
  18475. int
  18476. main ()
  18477. {
  18478. return png_sig_cmp ();
  18479. ;
  18480. return 0;
  18481. }
  18482. _ACEOF
  18483. if ac_fn_c_try_link "$LINENO"; then :
  18484. ac_cv_lib_png_png_sig_cmp=yes
  18485. else
  18486. ac_cv_lib_png_png_sig_cmp=no
  18487. fi
  18488. rm -f core conftest.err conftest.$ac_objext \
  18489. conftest$ac_exeext conftest.$ac_ext
  18490. LIBS=$ac_check_lib_save_LIBS
  18491. fi
  18492. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_png_png_sig_cmp" >&5
  18493. $as_echo "$ac_cv_lib_png_png_sig_cmp" >&6; }
  18494. if test "x$ac_cv_lib_png_png_sig_cmp" = xyes; then :
  18495. PNG_LINK=" -lpng -lz"
  18496. fi
  18497. fi
  18498. if test "x$PNG_LINK" = "x" ; then
  18499. if test "$wxUSE_LIBPNG" = "sys" ; then
  18500. as_fn_error $? "system png library not found or too old! Use --with-libpng=builtin to use built-in version" "$LINENO" 5
  18501. else
  18502. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system png library not found or too old, will use built-in instead" >&5
  18503. $as_echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
  18504. wxUSE_LIBPNG=builtin
  18505. fi
  18506. else
  18507. wxUSE_LIBPNG=sys
  18508. fi
  18509. fi
  18510. fi
  18511. JPEG_LINK=
  18512. if test "$wxUSE_LIBJPEG" != "no" ; then
  18513. $as_echo "#define wxUSE_LIBJPEG 1" >>confdefs.h
  18514. if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
  18515. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeglib.h" >&5
  18516. $as_echo_n "checking for jpeglib.h... " >&6; }
  18517. if ${ac_cv_header_jpeglib_h+:} false; then :
  18518. $as_echo_n "(cached) " >&6
  18519. else
  18520. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18521. /* end confdefs.h. */
  18522. #undef HAVE_STDLIB_H
  18523. #include <stdio.h>
  18524. #include <jpeglib.h>
  18525. int
  18526. main ()
  18527. {
  18528. ;
  18529. return 0;
  18530. }
  18531. _ACEOF
  18532. if ac_fn_c_try_compile "$LINENO"; then :
  18533. ac_cv_header_jpeglib_h=yes
  18534. else
  18535. ac_cv_header_jpeglib_h=no
  18536. fi
  18537. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18538. fi
  18539. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_jpeglib_h" >&5
  18540. $as_echo "$ac_cv_header_jpeglib_h" >&6; }
  18541. if test "$ac_cv_header_jpeglib_h" = "yes"; then
  18542. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jpeg_read_header in -ljpeg" >&5
  18543. $as_echo_n "checking for jpeg_read_header in -ljpeg... " >&6; }
  18544. if ${ac_cv_lib_jpeg_jpeg_read_header+:} false; then :
  18545. $as_echo_n "(cached) " >&6
  18546. else
  18547. ac_check_lib_save_LIBS=$LIBS
  18548. LIBS="-ljpeg $LIBS"
  18549. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18550. /* end confdefs.h. */
  18551. /* Override any GCC internal prototype to avoid an error.
  18552. Use char because int might match the return type of a GCC
  18553. builtin and then its argument prototype would still apply. */
  18554. #ifdef __cplusplus
  18555. extern "C"
  18556. #endif
  18557. char jpeg_read_header ();
  18558. int
  18559. main ()
  18560. {
  18561. return jpeg_read_header ();
  18562. ;
  18563. return 0;
  18564. }
  18565. _ACEOF
  18566. if ac_fn_c_try_link "$LINENO"; then :
  18567. ac_cv_lib_jpeg_jpeg_read_header=yes
  18568. else
  18569. ac_cv_lib_jpeg_jpeg_read_header=no
  18570. fi
  18571. rm -f core conftest.err conftest.$ac_objext \
  18572. conftest$ac_exeext conftest.$ac_ext
  18573. LIBS=$ac_check_lib_save_LIBS
  18574. fi
  18575. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
  18576. $as_echo "$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
  18577. if test "x$ac_cv_lib_jpeg_jpeg_read_header" = xyes; then :
  18578. JPEG_LINK=" -ljpeg"
  18579. fi
  18580. fi
  18581. if test "x$JPEG_LINK" = "x" ; then
  18582. if test "$wxUSE_LIBJPEG" = "sys" ; then
  18583. as_fn_error $? "system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" "$LINENO" 5
  18584. else
  18585. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system jpeg library not found, will use built-in instead" >&5
  18586. $as_echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
  18587. wxUSE_LIBJPEG=builtin
  18588. fi
  18589. else
  18590. wxUSE_LIBJPEG=sys
  18591. if test "$wxUSE_MSW" = 1; then
  18592. ac_fn_c_check_type "$LINENO" "boolean" "ac_cv_type_boolean" "#include <windows.h>
  18593. "
  18594. if test "x$ac_cv_type_boolean" = xyes; then :
  18595. cat >>confdefs.h <<_ACEOF
  18596. #define HAVE_BOOLEAN 1
  18597. _ACEOF
  18598. # The cast to long int works around a bug in the HP C Compiler
  18599. # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
  18600. # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
  18601. # This bug is HP SR number 8606223364.
  18602. { $as_echo "$as_me:${as_lineno-$LINENO}: checking size of boolean" >&5
  18603. $as_echo_n "checking size of boolean... " >&6; }
  18604. if ${ac_cv_sizeof_boolean+:} false; then :
  18605. $as_echo_n "(cached) " >&6
  18606. else
  18607. if ac_fn_c_compute_int "$LINENO" "(long int) (sizeof (boolean))" "ac_cv_sizeof_boolean" "
  18608. #undef HAVE_BOOLEAN
  18609. #include <stdio.h>
  18610. #include <jpeglib.h>
  18611. "; then :
  18612. else
  18613. if test "$ac_cv_type_boolean" = yes; then
  18614. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  18615. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  18616. as_fn_error 77 "cannot compute sizeof (boolean)
  18617. See \`config.log' for more details" "$LINENO" 5; }
  18618. else
  18619. ac_cv_sizeof_boolean=0
  18620. fi
  18621. fi
  18622. fi
  18623. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sizeof_boolean" >&5
  18624. $as_echo "$ac_cv_sizeof_boolean" >&6; }
  18625. cat >>confdefs.h <<_ACEOF
  18626. #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
  18627. _ACEOF
  18628. cat >>confdefs.h <<_ACEOF
  18629. #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
  18630. _ACEOF
  18631. fi
  18632. fi
  18633. fi
  18634. fi
  18635. fi
  18636. TIFF_LINK=
  18637. TIFF_PREREQ_LINKS=-lm
  18638. if test "$wxUSE_LIBTIFF" != "no" ; then
  18639. $as_echo "#define wxUSE_LIBTIFF 1" >>confdefs.h
  18640. if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
  18641. if test "$wxUSE_LIBJPEG" = "sys"; then
  18642. TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
  18643. fi
  18644. if test "$wxUSE_ZLIB" = "sys"; then
  18645. TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
  18646. fi
  18647. ac_fn_c_check_header_compile "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "
  18648. "
  18649. if test "x$ac_cv_header_tiffio_h" = xyes; then :
  18650. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for TIFFError in -ltiff" >&5
  18651. $as_echo_n "checking for TIFFError in -ltiff... " >&6; }
  18652. if ${ac_cv_lib_tiff_TIFFError+:} false; then :
  18653. $as_echo_n "(cached) " >&6
  18654. else
  18655. ac_check_lib_save_LIBS=$LIBS
  18656. LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
  18657. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18658. /* end confdefs.h. */
  18659. /* Override any GCC internal prototype to avoid an error.
  18660. Use char because int might match the return type of a GCC
  18661. builtin and then its argument prototype would still apply. */
  18662. #ifdef __cplusplus
  18663. extern "C"
  18664. #endif
  18665. char TIFFError ();
  18666. int
  18667. main ()
  18668. {
  18669. return TIFFError ();
  18670. ;
  18671. return 0;
  18672. }
  18673. _ACEOF
  18674. if ac_fn_c_try_link "$LINENO"; then :
  18675. ac_cv_lib_tiff_TIFFError=yes
  18676. else
  18677. ac_cv_lib_tiff_TIFFError=no
  18678. fi
  18679. rm -f core conftest.err conftest.$ac_objext \
  18680. conftest$ac_exeext conftest.$ac_ext
  18681. LIBS=$ac_check_lib_save_LIBS
  18682. fi
  18683. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_tiff_TIFFError" >&5
  18684. $as_echo "$ac_cv_lib_tiff_TIFFError" >&6; }
  18685. if test "x$ac_cv_lib_tiff_TIFFError" = xyes; then :
  18686. TIFF_LINK=" -ltiff"
  18687. fi
  18688. fi
  18689. if test "x$TIFF_LINK" = "x" ; then
  18690. if test "$wxUSE_LIBTIFF" = "sys" ; then
  18691. as_fn_error $? "system tiff library not found! Use --with-libtiff=builtin to use built-in version" "$LINENO" 5
  18692. else
  18693. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system tiff library not found, will use built-in instead" >&5
  18694. $as_echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
  18695. wxUSE_LIBTIFF=builtin
  18696. fi
  18697. else
  18698. wxUSE_LIBTIFF=sys
  18699. fi
  18700. fi
  18701. if test "$wxUSE_LIBTIFF" = "builtin" ; then
  18702. if test "$wxUSE_LIBJPEG" = "no"; then
  18703. ac_configure_args="$ac_configure_args --disable-jpeg"
  18704. fi
  18705. if test "$wxUSE_LIBLZMA" = "yes"; then
  18706. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for lzma_code in -llzma" >&5
  18707. $as_echo_n "checking for lzma_code in -llzma... " >&6; }
  18708. if ${ac_cv_lib_lzma_lzma_code+:} false; then :
  18709. $as_echo_n "(cached) " >&6
  18710. else
  18711. ac_check_lib_save_LIBS=$LIBS
  18712. LIBS="-llzma $LIBS"
  18713. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18714. /* end confdefs.h. */
  18715. /* Override any GCC internal prototype to avoid an error.
  18716. Use char because int might match the return type of a GCC
  18717. builtin and then its argument prototype would still apply. */
  18718. #ifdef __cplusplus
  18719. extern "C"
  18720. #endif
  18721. char lzma_code ();
  18722. int
  18723. main ()
  18724. {
  18725. return lzma_code ();
  18726. ;
  18727. return 0;
  18728. }
  18729. _ACEOF
  18730. if ac_fn_c_try_link "$LINENO"; then :
  18731. ac_cv_lib_lzma_lzma_code=yes
  18732. else
  18733. ac_cv_lib_lzma_lzma_code=no
  18734. fi
  18735. rm -f core conftest.err conftest.$ac_objext \
  18736. conftest$ac_exeext conftest.$ac_ext
  18737. LIBS=$ac_check_lib_save_LIBS
  18738. fi
  18739. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lzma_lzma_code" >&5
  18740. $as_echo "$ac_cv_lib_lzma_lzma_code" >&6; }
  18741. if test "x$ac_cv_lib_lzma_lzma_code" = xyes; then :
  18742. LIBS="$LIBS -llzma"
  18743. fi
  18744. else
  18745. ac_configure_args="$ac_configure_args --disable-lzma"
  18746. fi
  18747. if test "$wxUSE_LIBJBIG" = "yes"; then
  18748. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for jbg_dec_init in -ljbig" >&5
  18749. $as_echo_n "checking for jbg_dec_init in -ljbig... " >&6; }
  18750. if ${ac_cv_lib_jbig_jbg_dec_init+:} false; then :
  18751. $as_echo_n "(cached) " >&6
  18752. else
  18753. ac_check_lib_save_LIBS=$LIBS
  18754. LIBS="-ljbig $LIBS"
  18755. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18756. /* end confdefs.h. */
  18757. /* Override any GCC internal prototype to avoid an error.
  18758. Use char because int might match the return type of a GCC
  18759. builtin and then its argument prototype would still apply. */
  18760. #ifdef __cplusplus
  18761. extern "C"
  18762. #endif
  18763. char jbg_dec_init ();
  18764. int
  18765. main ()
  18766. {
  18767. return jbg_dec_init ();
  18768. ;
  18769. return 0;
  18770. }
  18771. _ACEOF
  18772. if ac_fn_c_try_link "$LINENO"; then :
  18773. ac_cv_lib_jbig_jbg_dec_init=yes
  18774. else
  18775. ac_cv_lib_jbig_jbg_dec_init=no
  18776. fi
  18777. rm -f core conftest.err conftest.$ac_objext \
  18778. conftest$ac_exeext conftest.$ac_ext
  18779. LIBS=$ac_check_lib_save_LIBS
  18780. fi
  18781. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_jbig_jbg_dec_init" >&5
  18782. $as_echo "$ac_cv_lib_jbig_jbg_dec_init" >&6; }
  18783. if test "x$ac_cv_lib_jbig_jbg_dec_init" = xyes; then :
  18784. LIBS="$LIBS -ljbig"
  18785. fi
  18786. else
  18787. ac_configure_args="$ac_configure_args --disable-jbig"
  18788. fi
  18789. subdirs="$subdirs src/tiff"
  18790. fi
  18791. fi
  18792. if test "$wxUSE_EXPAT" != "no"; then
  18793. wxUSE_XML=yes
  18794. $as_echo "#define wxUSE_EXPAT 1" >>confdefs.h
  18795. $as_echo "#define wxUSE_XML 1" >>confdefs.h
  18796. if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
  18797. ac_fn_c_check_header_compile "$LINENO" "expat.h" "ac_cv_header_expat_h" "
  18798. "
  18799. if test "x$ac_cv_header_expat_h" = xyes; then :
  18800. found_expat_h=1
  18801. fi
  18802. if test "x$found_expat_h" = "x1"; then
  18803. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if expat.h is valid C++ header" >&5
  18804. $as_echo_n "checking if expat.h is valid C++ header... " >&6; }
  18805. if ${wx_cv_expat_is_not_broken+:} false; then :
  18806. $as_echo_n "(cached) " >&6
  18807. else
  18808. ac_ext=cpp
  18809. ac_cpp='$CXXCPP $CPPFLAGS'
  18810. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  18811. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  18812. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  18813. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18814. /* end confdefs.h. */
  18815. #include <expat.h>
  18816. int
  18817. main ()
  18818. {
  18819. ;
  18820. return 0;
  18821. }
  18822. _ACEOF
  18823. if ac_fn_cxx_try_compile "$LINENO"; then :
  18824. wx_cv_expat_is_not_broken=yes
  18825. else
  18826. wx_cv_expat_is_not_broken=no
  18827. fi
  18828. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  18829. ac_ext=c
  18830. ac_cpp='$CPP $CPPFLAGS'
  18831. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  18832. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  18833. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  18834. fi
  18835. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_expat_is_not_broken" >&5
  18836. $as_echo "$wx_cv_expat_is_not_broken" >&6; }
  18837. if test "$wx_cv_expat_is_not_broken" = "yes" ; then
  18838. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XML_ParserCreate in -lexpat" >&5
  18839. $as_echo_n "checking for XML_ParserCreate in -lexpat... " >&6; }
  18840. if ${ac_cv_lib_expat_XML_ParserCreate+:} false; then :
  18841. $as_echo_n "(cached) " >&6
  18842. else
  18843. ac_check_lib_save_LIBS=$LIBS
  18844. LIBS="-lexpat $LIBS"
  18845. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18846. /* end confdefs.h. */
  18847. /* Override any GCC internal prototype to avoid an error.
  18848. Use char because int might match the return type of a GCC
  18849. builtin and then its argument prototype would still apply. */
  18850. #ifdef __cplusplus
  18851. extern "C"
  18852. #endif
  18853. char XML_ParserCreate ();
  18854. int
  18855. main ()
  18856. {
  18857. return XML_ParserCreate ();
  18858. ;
  18859. return 0;
  18860. }
  18861. _ACEOF
  18862. if ac_fn_c_try_link "$LINENO"; then :
  18863. ac_cv_lib_expat_XML_ParserCreate=yes
  18864. else
  18865. ac_cv_lib_expat_XML_ParserCreate=no
  18866. fi
  18867. rm -f core conftest.err conftest.$ac_objext \
  18868. conftest$ac_exeext conftest.$ac_ext
  18869. LIBS=$ac_check_lib_save_LIBS
  18870. fi
  18871. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
  18872. $as_echo "$ac_cv_lib_expat_XML_ParserCreate" >&6; }
  18873. if test "x$ac_cv_lib_expat_XML_ParserCreate" = xyes; then :
  18874. EXPAT_LINK=" -lexpat"
  18875. fi
  18876. fi
  18877. fi
  18878. if test "x$EXPAT_LINK" = "x" ; then
  18879. if test "$wxUSE_EXPAT" = "sys" ; then
  18880. as_fn_error $? "system expat library not found! Use --with-expat=builtin to use built-in version" "$LINENO" 5
  18881. else
  18882. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: system expat library not found, will use built-in instead" >&5
  18883. $as_echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
  18884. wxUSE_EXPAT=builtin
  18885. fi
  18886. else
  18887. wxUSE_EXPAT=sys
  18888. fi
  18889. fi
  18890. if test "$wxUSE_EXPAT" = "builtin" ; then
  18891. subdirs="$subdirs src/expat"
  18892. fi
  18893. fi
  18894. if test "$wxUSE_LIBMSPACK" != "no"; then
  18895. ac_fn_c_check_header_compile "$LINENO" "mspack.h" "ac_cv_header_mspack_h" "
  18896. "
  18897. if test "x$ac_cv_header_mspack_h" = xyes; then :
  18898. found_mspack_h=1
  18899. fi
  18900. if test "x$found_mspack_h" = "x1"; then
  18901. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mspack_create_chm_decompressor in -lmspack" >&5
  18902. $as_echo_n "checking for mspack_create_chm_decompressor in -lmspack... " >&6; }
  18903. if ${ac_cv_lib_mspack_mspack_create_chm_decompressor+:} false; then :
  18904. $as_echo_n "(cached) " >&6
  18905. else
  18906. ac_check_lib_save_LIBS=$LIBS
  18907. LIBS="-lmspack $LIBS"
  18908. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18909. /* end confdefs.h. */
  18910. /* Override any GCC internal prototype to avoid an error.
  18911. Use char because int might match the return type of a GCC
  18912. builtin and then its argument prototype would still apply. */
  18913. #ifdef __cplusplus
  18914. extern "C"
  18915. #endif
  18916. char mspack_create_chm_decompressor ();
  18917. int
  18918. main ()
  18919. {
  18920. return mspack_create_chm_decompressor ();
  18921. ;
  18922. return 0;
  18923. }
  18924. _ACEOF
  18925. if ac_fn_c_try_link "$LINENO"; then :
  18926. ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
  18927. else
  18928. ac_cv_lib_mspack_mspack_create_chm_decompressor=no
  18929. fi
  18930. rm -f core conftest.err conftest.$ac_objext \
  18931. conftest$ac_exeext conftest.$ac_ext
  18932. LIBS=$ac_check_lib_save_LIBS
  18933. fi
  18934. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
  18935. $as_echo "$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
  18936. if test "x$ac_cv_lib_mspack_mspack_create_chm_decompressor" = xyes; then :
  18937. MSPACK_LINK=" -lmspack"
  18938. fi
  18939. fi
  18940. if test "x$MSPACK_LINK" = "x" ; then
  18941. wxUSE_LIBMSPACK=no
  18942. fi
  18943. fi
  18944. if test "$wxUSE_LIBMSPACK" != "no"; then
  18945. $as_echo "#define wxUSE_LIBMSPACK 1" >>confdefs.h
  18946. fi
  18947. TOOLKIT=
  18948. TOOLKIT_INCLUDE=
  18949. WIDGET_SET=
  18950. if test "$USE_WIN32" = 1 ; then
  18951. for ac_header in w32api.h
  18952. do :
  18953. ac_fn_c_check_header_compile "$LINENO" "w32api.h" "ac_cv_header_w32api_h" "
  18954. "
  18955. if test "x$ac_cv_header_w32api_h" = xyes; then :
  18956. cat >>confdefs.h <<_ACEOF
  18957. #define HAVE_W32API_H 1
  18958. _ACEOF
  18959. fi
  18960. done
  18961. ac_fn_c_check_header_compile "$LINENO" "windows.h" "ac_cv_header_windows_h" "
  18962. "
  18963. if test "x$ac_cv_header_windows_h" = xyes; then :
  18964. else
  18965. as_fn_error $? "please set CFLAGS to contain the location of windows.h" "$LINENO" 5
  18966. fi
  18967. LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -ladvapi32 -lwsock32 -lgdi32"
  18968. case "${host}" in
  18969. x86_64-*-mingw32* )
  18970. WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
  18971. ;;
  18972. esac
  18973. if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
  18974. LIBS="$LIBS -loleacc"
  18975. fi
  18976. case "${host}" in
  18977. *-*-cygwin* )
  18978. LIBS="$LIBS -lkernel32 -luser32"
  18979. esac
  18980. WXCONFIG_RESFLAGS="--define __WIN32__ --define __GNUWIN32__ $WINDRES_CPU_DEFINE"
  18981. fi
  18982. if test "$wxUSE_GUI" = "yes"; then
  18983. USE_GUI=1
  18984. GUI_TK_LIBRARY=
  18985. WXGTK1=
  18986. WXGTK127=
  18987. WXGTK2=
  18988. WXGTK3=
  18989. WXGPE=
  18990. if test "$wxUSE_OLD_COCOA" = 1 ; then
  18991. if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
  18992. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
  18993. $as_echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
  18994. wxUSE_PRINTING_ARCHITECTURE=no
  18995. fi
  18996. if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
  18997. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
  18998. $as_echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
  18999. wxUSE_DRAG_AND_DROP=no
  19000. fi
  19001. if test "$wxUSE_DRAGIMAGE" = "yes"; then
  19002. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
  19003. $as_echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
  19004. wxUSE_DRAGIMAGE=no
  19005. fi
  19006. fi
  19007. if test "$wxUSE_MSW" = 1 ; then
  19008. TOOLKIT=MSW
  19009. GUIDIST=MSW_DIST
  19010. case "${host}" in
  19011. *-*-mingw32* )
  19012. WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
  19013. esac
  19014. fi
  19015. if test "$wxUSE_GTK" = 1; then
  19016. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ version" >&5
  19017. $as_echo_n "checking for GTK+ version... " >&6; }
  19018. gtk_version_cached=1
  19019. if ${wx_cv_lib_gtk+:} false; then :
  19020. $as_echo_n "(cached) " >&6
  19021. else
  19022. gtk_version_cached=0
  19023. { $as_echo "$as_me:${as_lineno-$LINENO}: result: " >&5
  19024. $as_echo "" >&6; }
  19025. GTK_MODULES=
  19026. if test "$wxUSE_THREADS" = "yes"; then
  19027. GTK_MODULES=gthread
  19028. fi
  19029. if test -z "$wxGTK_VERSION"; then
  19030. wxGTK_VERSION=any
  19031. fi
  19032. wx_cv_lib_gtk=
  19033. if test "x$wxGTK_VERSION" != "x1"
  19034. then
  19035. case "${host}" in
  19036. *-*-solaris2* )
  19037. if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
  19038. enable_gtktest=no
  19039. fi
  19040. esac
  19041. if test "$wxGTK_VERSION" != 3; then
  19042. # Check whether --enable-gtktest was given.
  19043. if test "${enable_gtktest+set}" = set; then :
  19044. enableval=$enable_gtktest;
  19045. else
  19046. enable_gtktest=yes
  19047. fi
  19048. pkg_config_args=gtk+-2.0
  19049. for module in . $GTK_MODULES
  19050. do
  19051. case "$module" in
  19052. gthread)
  19053. pkg_config_args="$pkg_config_args gthread-2.0"
  19054. ;;
  19055. esac
  19056. done
  19057. no_gtk=""
  19058. # Extract the first word of "pkg-config", so it can be a program name with args.
  19059. set dummy pkg-config; ac_word=$2
  19060. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19061. $as_echo_n "checking for $ac_word... " >&6; }
  19062. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  19063. $as_echo_n "(cached) " >&6
  19064. else
  19065. case $PKG_CONFIG in
  19066. [\\/]* | ?:[\\/]*)
  19067. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  19068. ;;
  19069. *)
  19070. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19071. for as_dir in $PATH
  19072. do
  19073. IFS=$as_save_IFS
  19074. test -z "$as_dir" && as_dir=.
  19075. for ac_exec_ext in '' $ac_executable_extensions; do
  19076. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  19077. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  19078. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19079. break 2
  19080. fi
  19081. done
  19082. done
  19083. IFS=$as_save_IFS
  19084. test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
  19085. ;;
  19086. esac
  19087. fi
  19088. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  19089. if test -n "$PKG_CONFIG"; then
  19090. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  19091. $as_echo "$PKG_CONFIG" >&6; }
  19092. else
  19093. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19094. $as_echo "no" >&6; }
  19095. fi
  19096. if test x$PKG_CONFIG != xno ; then
  19097. if pkg-config --atleast-pkgconfig-version 0.7 ; then
  19098. :
  19099. else
  19100. echo "*** pkg-config too old; version 0.7 or better required."
  19101. no_gtk=yes
  19102. PKG_CONFIG=no
  19103. fi
  19104. else
  19105. no_gtk=yes
  19106. fi
  19107. min_gtk_version=2.6.0
  19108. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
  19109. $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
  19110. if test x$PKG_CONFIG != xno ; then
  19111. ## don't try to run the test against uninstalled libtool libs
  19112. if $PKG_CONFIG --uninstalled $pkg_config_args; then
  19113. echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
  19114. enable_gtktest=no
  19115. fi
  19116. if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
  19117. :
  19118. else
  19119. no_gtk=yes
  19120. fi
  19121. fi
  19122. if test x"$no_gtk" = x ; then
  19123. GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
  19124. GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
  19125. gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
  19126. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
  19127. gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
  19128. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
  19129. gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
  19130. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
  19131. if test "x$enable_gtktest" = "xyes" ; then
  19132. ac_save_CFLAGS="$CFLAGS"
  19133. ac_save_LIBS="$LIBS"
  19134. CFLAGS="$CFLAGS $GTK_CFLAGS"
  19135. LIBS="$GTK_LIBS $LIBS"
  19136. rm -f conf.gtktest
  19137. if test "$cross_compiling" = yes; then :
  19138. echo $ac_n "cross compiling; assumed OK... $ac_c"
  19139. else
  19140. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19141. /* end confdefs.h. */
  19142. #include <gtk/gtk.h>
  19143. #include <stdio.h>
  19144. #include <stdlib.h>
  19145. int
  19146. main ()
  19147. {
  19148. int major, minor, micro;
  19149. char *tmp_version;
  19150. system ("touch conf.gtktest");
  19151. /* HP/UX 9 (%@#!) writes to sscanf strings */
  19152. tmp_version = g_strdup("$min_gtk_version");
  19153. if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
  19154. printf("%s, bad version string\n", "$min_gtk_version");
  19155. exit(1);
  19156. }
  19157. if ((gtk_major_version != $gtk_config_major_version) ||
  19158. (gtk_minor_version != $gtk_config_minor_version) ||
  19159. (gtk_micro_version != $gtk_config_micro_version))
  19160. {
  19161. printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
  19162. $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
  19163. gtk_major_version, gtk_minor_version, gtk_micro_version);
  19164. printf ("*** was found! If pkg-config was correct, then it is best\n");
  19165. printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
  19166. printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
  19167. printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
  19168. printf("*** required on your system.\n");
  19169. printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
  19170. printf("*** to point to the correct configuration files\n");
  19171. }
  19172. else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
  19173. (gtk_minor_version != GTK_MINOR_VERSION) ||
  19174. (gtk_micro_version != GTK_MICRO_VERSION))
  19175. {
  19176. printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
  19177. GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
  19178. printf("*** library (version %d.%d.%d)\n",
  19179. gtk_major_version, gtk_minor_version, gtk_micro_version);
  19180. }
  19181. else
  19182. {
  19183. if ((gtk_major_version > major) ||
  19184. ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
  19185. ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
  19186. {
  19187. return 0;
  19188. }
  19189. else
  19190. {
  19191. printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
  19192. gtk_major_version, gtk_minor_version, gtk_micro_version);
  19193. printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
  19194. major, minor, micro);
  19195. printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
  19196. printf("***\n");
  19197. printf("*** If you have already installed a sufficiently new version, this error\n");
  19198. printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
  19199. printf("*** being found. The easiest way to fix this is to remove the old version\n");
  19200. printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
  19201. printf("*** correct copy of pkg-config. (In this case, you will have to\n");
  19202. printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
  19203. printf("*** so that the correct libraries are found at run-time))\n");
  19204. }
  19205. }
  19206. return 1;
  19207. }
  19208. _ACEOF
  19209. if ac_fn_c_try_run "$LINENO"; then :
  19210. else
  19211. no_gtk=yes
  19212. fi
  19213. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  19214. conftest.$ac_objext conftest.beam conftest.$ac_ext
  19215. fi
  19216. CFLAGS="$ac_save_CFLAGS"
  19217. LIBS="$ac_save_LIBS"
  19218. fi
  19219. fi
  19220. if test "x$no_gtk" = x ; then
  19221. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
  19222. $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
  19223. wx_cv_lib_gtk=2.0
  19224. else
  19225. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19226. $as_echo "no" >&6; }
  19227. if test "$PKG_CONFIG" = "no" ; then
  19228. echo "*** A new enough version of pkg-config was not found."
  19229. echo "*** See http://pkgconfig.sourceforge.net"
  19230. else
  19231. if test -f conf.gtktest ; then
  19232. :
  19233. else
  19234. echo "*** Could not run GTK+ test program, checking why..."
  19235. ac_save_CFLAGS="$CFLAGS"
  19236. ac_save_LIBS="$LIBS"
  19237. CFLAGS="$CFLAGS $GTK_CFLAGS"
  19238. LIBS="$LIBS $GTK_LIBS"
  19239. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19240. /* end confdefs.h. */
  19241. #include <gtk/gtk.h>
  19242. #include <stdio.h>
  19243. int
  19244. main ()
  19245. {
  19246. return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
  19247. ;
  19248. return 0;
  19249. }
  19250. _ACEOF
  19251. if ac_fn_c_try_link "$LINENO"; then :
  19252. echo "*** The test program compiled, but did not run. This usually means"
  19253. echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
  19254. echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
  19255. echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  19256. echo "*** to the installed location Also, make sure you have run ldconfig if that"
  19257. echo "*** is required on your system"
  19258. echo "***"
  19259. echo "*** If you have an old version installed, it is best to remove it, although"
  19260. echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  19261. else
  19262. echo "*** The test program failed to compile or link. See the file config.log for the"
  19263. echo "*** exact error that occurred. This usually means GTK+ is incorrectly installed."
  19264. fi
  19265. rm -f core conftest.err conftest.$ac_objext \
  19266. conftest$ac_exeext conftest.$ac_ext
  19267. CFLAGS="$ac_save_CFLAGS"
  19268. LIBS="$ac_save_LIBS"
  19269. fi
  19270. fi
  19271. GTK_CFLAGS=""
  19272. GTK_LIBS=""
  19273. :
  19274. fi
  19275. rm -f conf.gtktest
  19276. fi
  19277. if test -z "$wx_cv_lib_gtk"; then
  19278. if test "$wxGTK_VERSION" = 3 -o "$wxGTK_VERSION" = any; then
  19279. # Check whether --enable-gtktest was given.
  19280. if test "${enable_gtktest+set}" = set; then :
  19281. enableval=$enable_gtktest;
  19282. else
  19283. enable_gtktest=yes
  19284. fi
  19285. pkg_gtk_version=gtk+-3.0
  19286. pkg_config_args=$pkg_gtk_version
  19287. for module in . $GTK_MODULES
  19288. do
  19289. case "$module" in
  19290. gthread)
  19291. pkg_gthread_version=gthread-2.0
  19292. pkg_config_args="$pkg_config_args $pkg_gthread_version"
  19293. ;;
  19294. esac
  19295. done
  19296. no_gtk=""
  19297. # Extract the first word of "pkg-config", so it can be a program name with args.
  19298. set dummy pkg-config; ac_word=$2
  19299. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19300. $as_echo_n "checking for $ac_word... " >&6; }
  19301. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  19302. $as_echo_n "(cached) " >&6
  19303. else
  19304. case $PKG_CONFIG in
  19305. [\\/]* | ?:[\\/]*)
  19306. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  19307. ;;
  19308. *)
  19309. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19310. for as_dir in $PATH
  19311. do
  19312. IFS=$as_save_IFS
  19313. test -z "$as_dir" && as_dir=.
  19314. for ac_exec_ext in '' $ac_executable_extensions; do
  19315. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  19316. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  19317. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19318. break 2
  19319. fi
  19320. done
  19321. done
  19322. IFS=$as_save_IFS
  19323. test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
  19324. ;;
  19325. esac
  19326. fi
  19327. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  19328. if test -n "$PKG_CONFIG"; then
  19329. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  19330. $as_echo "$PKG_CONFIG" >&6; }
  19331. else
  19332. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19333. $as_echo "no" >&6; }
  19334. fi
  19335. if test x$PKG_CONFIG != xno ; then
  19336. if $PKG_CONFIG --atleast-pkgconfig-version 0.7 ; then
  19337. :
  19338. else
  19339. echo "*** pkg-config too old; version 0.7 or better required."
  19340. no_gtk=yes
  19341. PKG_CONFIG=no
  19342. fi
  19343. else
  19344. no_gtk=yes
  19345. fi
  19346. min_gtk_version=3.0.0
  19347. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK+ - version >= $min_gtk_version" >&5
  19348. $as_echo_n "checking for GTK+ - version >= $min_gtk_version... " >&6; }
  19349. if test x$PKG_CONFIG != xno ; then
  19350. ## don't try to run the test against uninstalled libtool libs
  19351. if $PKG_CONFIG --uninstalled $pkg_config_args; then
  19352. echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
  19353. enable_gtktest=no
  19354. fi
  19355. if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_gtk_version ; then
  19356. :
  19357. else
  19358. no_gtk=yes
  19359. fi
  19360. fi
  19361. if test x"$no_gtk" = x ; then
  19362. GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
  19363. GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
  19364. gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
  19365. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
  19366. gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
  19367. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
  19368. gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-3.0 | \
  19369. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
  19370. if test "x$enable_gtktest" = "xyes" ; then
  19371. ac_save_CFLAGS="$CFLAGS"
  19372. ac_save_LIBS="$LIBS"
  19373. CFLAGS="$CFLAGS $GTK_CFLAGS"
  19374. LIBS="$GTK_LIBS $LIBS"
  19375. rm -f conf.gtktest
  19376. if test "$cross_compiling" = yes; then :
  19377. echo $ac_n "cross compiling; assumed OK... $ac_c"
  19378. else
  19379. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19380. /* end confdefs.h. */
  19381. #include <gtk/gtk.h>
  19382. #include <stdio.h>
  19383. #include <stdlib.h>
  19384. int
  19385. main ()
  19386. {
  19387. int major, minor, micro;
  19388. char *tmp_version;
  19389. fclose (fopen ("conf.gtktest", "w"));
  19390. /* HP/UX 9 (%@#!) writes to sscanf strings */
  19391. tmp_version = g_strdup("$min_gtk_version");
  19392. if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
  19393. printf("%s, bad version string\n", "$min_gtk_version");
  19394. exit(1);
  19395. }
  19396. if ((gtk_major_version != $gtk_config_major_version) ||
  19397. (gtk_minor_version != $gtk_config_minor_version) ||
  19398. (gtk_micro_version != $gtk_config_micro_version))
  19399. {
  19400. printf("\n*** 'pkg-config --modversion gtk+-3.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
  19401. $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
  19402. gtk_major_version, gtk_minor_version, gtk_micro_version);
  19403. printf ("*** was found! If pkg-config was correct, then it is best\n");
  19404. printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
  19405. printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
  19406. printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
  19407. printf("*** required on your system.\n");
  19408. printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
  19409. printf("*** to point to the correct configuration files\n");
  19410. }
  19411. else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
  19412. (gtk_minor_version != GTK_MINOR_VERSION) ||
  19413. (gtk_micro_version != GTK_MICRO_VERSION))
  19414. {
  19415. printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
  19416. GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
  19417. printf("*** library (version %d.%d.%d)\n",
  19418. gtk_major_version, gtk_minor_version, gtk_micro_version);
  19419. }
  19420. else
  19421. {
  19422. if ((gtk_major_version > major) ||
  19423. ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
  19424. ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
  19425. {
  19426. return 0;
  19427. }
  19428. else
  19429. {
  19430. printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
  19431. gtk_major_version, gtk_minor_version, gtk_micro_version);
  19432. printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
  19433. major, minor, micro);
  19434. printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
  19435. printf("***\n");
  19436. printf("*** If you have already installed a sufficiently new version, this error\n");
  19437. printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
  19438. printf("*** being found. The easiest way to fix this is to remove the old version\n");
  19439. printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
  19440. printf("*** correct copy of pkg-config. (In this case, you will have to\n");
  19441. printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
  19442. printf("*** so that the correct libraries are found at run-time))\n");
  19443. }
  19444. }
  19445. return 1;
  19446. }
  19447. _ACEOF
  19448. if ac_fn_c_try_run "$LINENO"; then :
  19449. else
  19450. no_gtk=yes
  19451. fi
  19452. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  19453. conftest.$ac_objext conftest.beam conftest.$ac_ext
  19454. fi
  19455. CFLAGS="$ac_save_CFLAGS"
  19456. LIBS="$ac_save_LIBS"
  19457. fi
  19458. fi
  19459. if test "x$no_gtk" = x ; then
  19460. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
  19461. $as_echo "yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
  19462. wx_cv_lib_gtk=3
  19463. else
  19464. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19465. $as_echo "no" >&6; }
  19466. if test "$PKG_CONFIG" = "no" ; then
  19467. echo "*** A new enough version of pkg-config was not found."
  19468. echo "*** See http://pkgconfig.sourceforge.net"
  19469. else
  19470. if test -f conf.gtktest ; then
  19471. :
  19472. else
  19473. echo "*** Could not run GTK+ test program, checking why..."
  19474. ac_save_CFLAGS="$CFLAGS"
  19475. ac_save_LIBS="$LIBS"
  19476. CFLAGS="$CFLAGS $GTK_CFLAGS"
  19477. LIBS="$LIBS $GTK_LIBS"
  19478. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19479. /* end confdefs.h. */
  19480. #include <gtk/gtk.h>
  19481. #include <stdio.h>
  19482. int
  19483. main ()
  19484. {
  19485. return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
  19486. ;
  19487. return 0;
  19488. }
  19489. _ACEOF
  19490. if ac_fn_c_try_link "$LINENO"; then :
  19491. echo "*** The test program compiled, but did not run. This usually means"
  19492. echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
  19493. echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
  19494. echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  19495. echo "*** to the installed location Also, make sure you have run ldconfig if that"
  19496. echo "*** is required on your system"
  19497. echo "***"
  19498. echo "*** If you have an old version installed, it is best to remove it, although"
  19499. echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  19500. else
  19501. echo "*** The test program failed to compile or link. See the file config.log for the"
  19502. echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
  19503. fi
  19504. rm -f core conftest.err conftest.$ac_objext \
  19505. conftest$ac_exeext conftest.$ac_ext
  19506. CFLAGS="$ac_save_CFLAGS"
  19507. LIBS="$ac_save_LIBS"
  19508. fi
  19509. fi
  19510. GTK_CFLAGS=""
  19511. GTK_LIBS=""
  19512. :
  19513. fi
  19514. rm -f conf.gtktest
  19515. fi
  19516. fi
  19517. fi
  19518. if test -z "$wx_cv_lib_gtk"; then
  19519. if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
  19520. # Check whether --with-gtk-prefix was given.
  19521. if test "${with_gtk_prefix+set}" = set; then :
  19522. withval=$with_gtk_prefix; gtk_config_prefix="$withval"
  19523. else
  19524. gtk_config_prefix=""
  19525. fi
  19526. # Check whether --with-gtk-exec-prefix was given.
  19527. if test "${with_gtk_exec_prefix+set}" = set; then :
  19528. withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
  19529. else
  19530. gtk_config_exec_prefix=""
  19531. fi
  19532. # Check whether --enable-gtktest was given.
  19533. if test "${enable_gtktest+set}" = set; then :
  19534. enableval=$enable_gtktest;
  19535. else
  19536. enable_gtktest=yes
  19537. fi
  19538. for module in . $GTK_MODULES
  19539. do
  19540. case "$module" in
  19541. gthread)
  19542. gtk_config_args="$gtk_config_args gthread"
  19543. ;;
  19544. esac
  19545. done
  19546. if test x$gtk_config_exec_prefix != x ; then
  19547. gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
  19548. if test x${GTK_CONFIG+set} != xset ; then
  19549. GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
  19550. fi
  19551. fi
  19552. if test x$gtk_config_prefix != x ; then
  19553. gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
  19554. if test x${GTK_CONFIG+set} != xset ; then
  19555. GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
  19556. fi
  19557. fi
  19558. # Extract the first word of "gtk-config", so it can be a program name with args.
  19559. set dummy gtk-config; ac_word=$2
  19560. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19561. $as_echo_n "checking for $ac_word... " >&6; }
  19562. if ${ac_cv_path_GTK_CONFIG+:} false; then :
  19563. $as_echo_n "(cached) " >&6
  19564. else
  19565. case $GTK_CONFIG in
  19566. [\\/]* | ?:[\\/]*)
  19567. ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
  19568. ;;
  19569. *)
  19570. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19571. for as_dir in $PATH
  19572. do
  19573. IFS=$as_save_IFS
  19574. test -z "$as_dir" && as_dir=.
  19575. for ac_exec_ext in '' $ac_executable_extensions; do
  19576. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  19577. ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  19578. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19579. break 2
  19580. fi
  19581. done
  19582. done
  19583. IFS=$as_save_IFS
  19584. test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
  19585. ;;
  19586. esac
  19587. fi
  19588. GTK_CONFIG=$ac_cv_path_GTK_CONFIG
  19589. if test -n "$GTK_CONFIG"; then
  19590. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
  19591. $as_echo "$GTK_CONFIG" >&6; }
  19592. else
  19593. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19594. $as_echo "no" >&6; }
  19595. fi
  19596. min_gtk_version=1.2.7
  19597. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
  19598. $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
  19599. no_gtk=""
  19600. if test "$GTK_CONFIG" = "no" ; then
  19601. no_gtk=yes
  19602. else
  19603. GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
  19604. GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
  19605. gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
  19606. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
  19607. gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
  19608. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
  19609. gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
  19610. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
  19611. if test "x$enable_gtktest" = "xyes" ; then
  19612. ac_save_CFLAGS="$CFLAGS"
  19613. ac_save_LIBS="$LIBS"
  19614. CFLAGS="$CFLAGS $GTK_CFLAGS"
  19615. LIBS="$GTK_LIBS $LIBS"
  19616. rm -f conf.gtktest
  19617. if test "$cross_compiling" = yes; then :
  19618. echo $ac_n "cross compiling; assumed OK... $ac_c"
  19619. else
  19620. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19621. /* end confdefs.h. */
  19622. #include <gtk/gtk.h>
  19623. #include <stdio.h>
  19624. #include <stdlib.h>
  19625. int
  19626. main ()
  19627. {
  19628. int major, minor, micro;
  19629. char *tmp_version;
  19630. system ("touch conf.gtktest");
  19631. /* HP/UX 9 (%@#!) writes to sscanf strings */
  19632. tmp_version = g_strdup("$min_gtk_version");
  19633. if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
  19634. printf("%s, bad version string\n", "$min_gtk_version");
  19635. exit(1);
  19636. }
  19637. if ((gtk_major_version != $gtk_config_major_version) ||
  19638. (gtk_minor_version != $gtk_config_minor_version) ||
  19639. (gtk_micro_version != $gtk_config_micro_version))
  19640. {
  19641. printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
  19642. $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
  19643. gtk_major_version, gtk_minor_version, gtk_micro_version);
  19644. printf ("*** was found! If gtk-config was correct, then it is best\n");
  19645. printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
  19646. printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
  19647. printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
  19648. printf("*** required on your system.\n");
  19649. printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
  19650. printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
  19651. printf("*** before re-running configure\n");
  19652. }
  19653. #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
  19654. else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
  19655. (gtk_minor_version != GTK_MINOR_VERSION) ||
  19656. (gtk_micro_version != GTK_MICRO_VERSION))
  19657. {
  19658. printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
  19659. GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
  19660. printf("*** library (version %d.%d.%d)\n",
  19661. gtk_major_version, gtk_minor_version, gtk_micro_version);
  19662. }
  19663. #endif /* defined (GTK_MAJOR_VERSION) ... */
  19664. else
  19665. {
  19666. if ((gtk_major_version > major) ||
  19667. ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
  19668. ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
  19669. {
  19670. return 0;
  19671. }
  19672. else
  19673. {
  19674. printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
  19675. gtk_major_version, gtk_minor_version, gtk_micro_version);
  19676. printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
  19677. major, minor, micro);
  19678. printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
  19679. printf("***\n");
  19680. printf("*** If you have already installed a sufficiently new version, this error\n");
  19681. printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
  19682. printf("*** being found. The easiest way to fix this is to remove the old version\n");
  19683. printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
  19684. printf("*** correct copy of gtk-config. (In this case, you will have to\n");
  19685. printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
  19686. printf("*** so that the correct libraries are found at run-time))\n");
  19687. }
  19688. }
  19689. return 1;
  19690. }
  19691. _ACEOF
  19692. if ac_fn_c_try_run "$LINENO"; then :
  19693. else
  19694. no_gtk=yes
  19695. fi
  19696. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  19697. conftest.$ac_objext conftest.beam conftest.$ac_ext
  19698. fi
  19699. CFLAGS="$ac_save_CFLAGS"
  19700. LIBS="$ac_save_LIBS"
  19701. fi
  19702. fi
  19703. if test "x$no_gtk" = x ; then
  19704. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19705. $as_echo "yes" >&6; }
  19706. wx_cv_lib_gtk=1.2.7
  19707. else
  19708. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19709. $as_echo "no" >&6; }
  19710. if test "$GTK_CONFIG" = "no" ; then
  19711. echo "*** The gtk-config script installed by GTK could not be found"
  19712. echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
  19713. echo "*** your path, or set the GTK_CONFIG environment variable to the"
  19714. echo "*** full path to gtk-config."
  19715. else
  19716. if test -f conf.gtktest ; then
  19717. :
  19718. else
  19719. echo "*** Could not run GTK test program, checking why..."
  19720. CFLAGS="$CFLAGS $GTK_CFLAGS"
  19721. LIBS="$LIBS $GTK_LIBS"
  19722. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19723. /* end confdefs.h. */
  19724. #include <gtk/gtk.h>
  19725. #include <stdio.h>
  19726. int
  19727. main ()
  19728. {
  19729. return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
  19730. ;
  19731. return 0;
  19732. }
  19733. _ACEOF
  19734. if ac_fn_c_try_link "$LINENO"; then :
  19735. echo "*** The test program compiled, but did not run. This usually means"
  19736. echo "*** that the run-time linker is not finding GTK or finding the wrong"
  19737. echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
  19738. echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  19739. echo "*** to the installed location Also, make sure you have run ldconfig if that"
  19740. echo "*** is required on your system"
  19741. echo "***"
  19742. echo "*** If you have an old version installed, it is best to remove it, although"
  19743. echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  19744. echo "***"
  19745. echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
  19746. echo "*** came with the system with the command"
  19747. echo "***"
  19748. echo "*** rpm --erase --nodeps gtk gtk-devel"
  19749. else
  19750. echo "*** The test program failed to compile or link. See the file config.log for the"
  19751. echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
  19752. echo "*** or that you have moved GTK since it was installed. In the latter case, you"
  19753. echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
  19754. fi
  19755. rm -f core conftest.err conftest.$ac_objext \
  19756. conftest$ac_exeext conftest.$ac_ext
  19757. CFLAGS="$ac_save_CFLAGS"
  19758. LIBS="$ac_save_LIBS"
  19759. fi
  19760. fi
  19761. GTK_CFLAGS=""
  19762. GTK_LIBS=""
  19763. :
  19764. fi
  19765. rm -f conf.gtktest
  19766. if test -z "$wx_cv_lib_gtk"; then
  19767. # Check whether --with-gtk-prefix was given.
  19768. if test "${with_gtk_prefix+set}" = set; then :
  19769. withval=$with_gtk_prefix; gtk_config_prefix="$withval"
  19770. else
  19771. gtk_config_prefix=""
  19772. fi
  19773. # Check whether --with-gtk-exec-prefix was given.
  19774. if test "${with_gtk_exec_prefix+set}" = set; then :
  19775. withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
  19776. else
  19777. gtk_config_exec_prefix=""
  19778. fi
  19779. # Check whether --enable-gtktest was given.
  19780. if test "${enable_gtktest+set}" = set; then :
  19781. enableval=$enable_gtktest;
  19782. else
  19783. enable_gtktest=yes
  19784. fi
  19785. for module in . $GTK_MODULES
  19786. do
  19787. case "$module" in
  19788. gthread)
  19789. gtk_config_args="$gtk_config_args gthread"
  19790. ;;
  19791. esac
  19792. done
  19793. if test x$gtk_config_exec_prefix != x ; then
  19794. gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
  19795. if test x${GTK_CONFIG+set} != xset ; then
  19796. GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
  19797. fi
  19798. fi
  19799. if test x$gtk_config_prefix != x ; then
  19800. gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
  19801. if test x${GTK_CONFIG+set} != xset ; then
  19802. GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
  19803. fi
  19804. fi
  19805. # Extract the first word of "gtk-config", so it can be a program name with args.
  19806. set dummy gtk-config; ac_word=$2
  19807. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  19808. $as_echo_n "checking for $ac_word... " >&6; }
  19809. if ${ac_cv_path_GTK_CONFIG+:} false; then :
  19810. $as_echo_n "(cached) " >&6
  19811. else
  19812. case $GTK_CONFIG in
  19813. [\\/]* | ?:[\\/]*)
  19814. ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
  19815. ;;
  19816. *)
  19817. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19818. for as_dir in $PATH
  19819. do
  19820. IFS=$as_save_IFS
  19821. test -z "$as_dir" && as_dir=.
  19822. for ac_exec_ext in '' $ac_executable_extensions; do
  19823. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  19824. ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  19825. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  19826. break 2
  19827. fi
  19828. done
  19829. done
  19830. IFS=$as_save_IFS
  19831. test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
  19832. ;;
  19833. esac
  19834. fi
  19835. GTK_CONFIG=$ac_cv_path_GTK_CONFIG
  19836. if test -n "$GTK_CONFIG"; then
  19837. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $GTK_CONFIG" >&5
  19838. $as_echo "$GTK_CONFIG" >&6; }
  19839. else
  19840. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19841. $as_echo "no" >&6; }
  19842. fi
  19843. min_gtk_version=1.2.3
  19844. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTK - version >= $min_gtk_version" >&5
  19845. $as_echo_n "checking for GTK - version >= $min_gtk_version... " >&6; }
  19846. no_gtk=""
  19847. if test "$GTK_CONFIG" = "no" ; then
  19848. no_gtk=yes
  19849. else
  19850. GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
  19851. GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
  19852. gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
  19853. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
  19854. gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
  19855. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
  19856. gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
  19857. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
  19858. if test "x$enable_gtktest" = "xyes" ; then
  19859. ac_save_CFLAGS="$CFLAGS"
  19860. ac_save_LIBS="$LIBS"
  19861. CFLAGS="$CFLAGS $GTK_CFLAGS"
  19862. LIBS="$GTK_LIBS $LIBS"
  19863. rm -f conf.gtktest
  19864. if test "$cross_compiling" = yes; then :
  19865. echo $ac_n "cross compiling; assumed OK... $ac_c"
  19866. else
  19867. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19868. /* end confdefs.h. */
  19869. #include <gtk/gtk.h>
  19870. #include <stdio.h>
  19871. #include <stdlib.h>
  19872. int
  19873. main ()
  19874. {
  19875. int major, minor, micro;
  19876. char *tmp_version;
  19877. system ("touch conf.gtktest");
  19878. /* HP/UX 9 (%@#!) writes to sscanf strings */
  19879. tmp_version = g_strdup("$min_gtk_version");
  19880. if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
  19881. printf("%s, bad version string\n", "$min_gtk_version");
  19882. exit(1);
  19883. }
  19884. if ((gtk_major_version != $gtk_config_major_version) ||
  19885. (gtk_minor_version != $gtk_config_minor_version) ||
  19886. (gtk_micro_version != $gtk_config_micro_version))
  19887. {
  19888. printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
  19889. $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
  19890. gtk_major_version, gtk_minor_version, gtk_micro_version);
  19891. printf ("*** was found! If gtk-config was correct, then it is best\n");
  19892. printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
  19893. printf("*** by modifying your LD_LIBRARY_PATH environment variable, or by editing\n");
  19894. printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
  19895. printf("*** required on your system.\n");
  19896. printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
  19897. printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
  19898. printf("*** before re-running configure\n");
  19899. }
  19900. #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
  19901. else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
  19902. (gtk_minor_version != GTK_MINOR_VERSION) ||
  19903. (gtk_micro_version != GTK_MICRO_VERSION))
  19904. {
  19905. printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
  19906. GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
  19907. printf("*** library (version %d.%d.%d)\n",
  19908. gtk_major_version, gtk_minor_version, gtk_micro_version);
  19909. }
  19910. #endif /* defined (GTK_MAJOR_VERSION) ... */
  19911. else
  19912. {
  19913. if ((gtk_major_version > major) ||
  19914. ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
  19915. ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
  19916. {
  19917. return 0;
  19918. }
  19919. else
  19920. {
  19921. printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
  19922. gtk_major_version, gtk_minor_version, gtk_micro_version);
  19923. printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
  19924. major, minor, micro);
  19925. printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
  19926. printf("***\n");
  19927. printf("*** If you have already installed a sufficiently new version, this error\n");
  19928. printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
  19929. printf("*** being found. The easiest way to fix this is to remove the old version\n");
  19930. printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
  19931. printf("*** correct copy of gtk-config. (In this case, you will have to\n");
  19932. printf("*** modify your LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf\n");
  19933. printf("*** so that the correct libraries are found at run-time))\n");
  19934. }
  19935. }
  19936. return 1;
  19937. }
  19938. _ACEOF
  19939. if ac_fn_c_try_run "$LINENO"; then :
  19940. else
  19941. no_gtk=yes
  19942. fi
  19943. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  19944. conftest.$ac_objext conftest.beam conftest.$ac_ext
  19945. fi
  19946. CFLAGS="$ac_save_CFLAGS"
  19947. LIBS="$ac_save_LIBS"
  19948. fi
  19949. fi
  19950. if test "x$no_gtk" = x ; then
  19951. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  19952. $as_echo "yes" >&6; }
  19953. wx_cv_lib_gtk=1.2.3
  19954. else
  19955. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  19956. $as_echo "no" >&6; }
  19957. if test "$GTK_CONFIG" = "no" ; then
  19958. echo "*** The gtk-config script installed by GTK could not be found"
  19959. echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
  19960. echo "*** your path, or set the GTK_CONFIG environment variable to the"
  19961. echo "*** full path to gtk-config."
  19962. else
  19963. if test -f conf.gtktest ; then
  19964. :
  19965. else
  19966. echo "*** Could not run GTK test program, checking why..."
  19967. CFLAGS="$CFLAGS $GTK_CFLAGS"
  19968. LIBS="$LIBS $GTK_LIBS"
  19969. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  19970. /* end confdefs.h. */
  19971. #include <gtk/gtk.h>
  19972. #include <stdio.h>
  19973. int
  19974. main ()
  19975. {
  19976. return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
  19977. ;
  19978. return 0;
  19979. }
  19980. _ACEOF
  19981. if ac_fn_c_try_link "$LINENO"; then :
  19982. echo "*** The test program compiled, but did not run. This usually means"
  19983. echo "*** that the run-time linker is not finding GTK or finding the wrong"
  19984. echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
  19985. echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  19986. echo "*** to the installed location Also, make sure you have run ldconfig if that"
  19987. echo "*** is required on your system"
  19988. echo "***"
  19989. echo "*** If you have an old version installed, it is best to remove it, although"
  19990. echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  19991. echo "***"
  19992. echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
  19993. echo "*** came with the system with the command"
  19994. echo "***"
  19995. echo "*** rpm --erase --nodeps gtk gtk-devel"
  19996. else
  19997. echo "*** The test program failed to compile or link. See the file config.log for the"
  19998. echo "*** exact error that occurred. This usually means GTK was incorrectly installed"
  19999. echo "*** or that you have moved GTK since it was installed. In the latter case, you"
  20000. echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
  20001. fi
  20002. rm -f core conftest.err conftest.$ac_objext \
  20003. conftest$ac_exeext conftest.$ac_ext
  20004. CFLAGS="$ac_save_CFLAGS"
  20005. LIBS="$ac_save_LIBS"
  20006. fi
  20007. fi
  20008. GTK_CFLAGS=""
  20009. GTK_LIBS=""
  20010. :
  20011. fi
  20012. rm -f conf.gtktest
  20013. fi
  20014. fi
  20015. fi
  20016. if test -z "$wx_cv_lib_gtk"; then
  20017. wx_cv_lib_gtk=none
  20018. else
  20019. GTK_LIBS="$GTK_LIBS -lX11"
  20020. wx_cv_cflags_gtk=$GTK_CFLAGS
  20021. wx_cv_libs_gtk=$GTK_LIBS
  20022. fi
  20023. fi
  20024. if test "$gtk_version_cached" = 1; then
  20025. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gtk" >&5
  20026. $as_echo "$wx_cv_lib_gtk" >&6; }
  20027. fi
  20028. case "$wx_cv_lib_gtk" in
  20029. 3) WXGTK3=1
  20030. TOOLKIT_VERSION=3
  20031. ;;
  20032. 2.0) WXGTK2=1
  20033. TOOLKIT_VERSION=2
  20034. ;;
  20035. 1.2.7) WXGTK127=1
  20036. WXGTK1=1
  20037. ;;
  20038. 1.2*) WXGTK1=1 ;;
  20039. *) as_fn_error $? "
  20040. The development files for GTK+ were not found. For GTK+ 2, please
  20041. ensure that pkg-config is in the path and that gtk+-2.0.pc is
  20042. installed. For GTK+ 1.2 please check that gtk-config is in the path,
  20043. and that the version is 1.2.3 or above. Also check that the
  20044. libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
  20045. --libs' are in the LD_LIBRARY_PATH or equivalent.
  20046. " "$LINENO" 5
  20047. ;;
  20048. esac
  20049. if test "$WXGTK3" = 1; then
  20050. $as_echo "#define __WXGTK218__ 1" >>confdefs.h
  20051. $as_echo "#define __WXGTK210__ 1" >>confdefs.h
  20052. elif test "$WXGTK2" = 1; then
  20053. save_CFLAGS="$CFLAGS"
  20054. save_LIBS="$LIBS"
  20055. CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
  20056. LIBS="$LIBS $wx_cv_libs_gtk"
  20057. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.18" >&5
  20058. $as_echo_n "checking if GTK+ is version >= 2.18... " >&6; }
  20059. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20060. /* end confdefs.h. */
  20061. #include <gtk/gtk.h>
  20062. int
  20063. main ()
  20064. {
  20065. #if !GTK_CHECK_VERSION(2,18,0)
  20066. Not GTK+ 2.18
  20067. #endif
  20068. ;
  20069. return 0;
  20070. }
  20071. _ACEOF
  20072. if ac_fn_c_try_compile "$LINENO"; then :
  20073. $as_echo "#define __WXGTK218__ 1" >>confdefs.h
  20074. $as_echo "#define __WXGTK210__ 1" >>confdefs.h
  20075. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20076. $as_echo "yes" >&6; }
  20077. ac_wxgtk218=1
  20078. else
  20079. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20080. $as_echo "no" >&6; }
  20081. ac_wxgtk218=0
  20082. fi
  20083. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20084. if test "$ac_wxgtk218" = 0; then
  20085. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GTK+ is version >= 2.10" >&5
  20086. $as_echo_n "checking if GTK+ is version >= 2.10... " >&6; }
  20087. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20088. /* end confdefs.h. */
  20089. #include <gtk/gtk.h>
  20090. int
  20091. main ()
  20092. {
  20093. #if !GTK_CHECK_VERSION(2,10,0)
  20094. Not GTK+ 2.10
  20095. #endif
  20096. ;
  20097. return 0;
  20098. }
  20099. _ACEOF
  20100. if ac_fn_c_try_compile "$LINENO"; then :
  20101. $as_echo "#define __WXGTK210__ 1" >>confdefs.h
  20102. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20103. $as_echo "yes" >&6; }
  20104. ac_wxgtk210=1
  20105. else
  20106. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20107. $as_echo "no" >&6; }
  20108. ac_wxgtk210=0
  20109. fi
  20110. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  20111. fi
  20112. CFLAGS="$save_CFLAGS"
  20113. LIBS="$save_LIBS"
  20114. else
  20115. if test "$wxUSE_UNICODE" = "yes"; then
  20116. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
  20117. $as_echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
  20118. wxUSE_UNICODE=no
  20119. fi
  20120. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gdk_im_open in -lgdk" >&5
  20121. $as_echo_n "checking for gdk_im_open in -lgdk... " >&6; }
  20122. if ${ac_cv_lib_gdk_gdk_im_open+:} false; then :
  20123. $as_echo_n "(cached) " >&6
  20124. else
  20125. ac_check_lib_save_LIBS=$LIBS
  20126. LIBS="-lgdk $LIBS"
  20127. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20128. /* end confdefs.h. */
  20129. /* Override any GCC internal prototype to avoid an error.
  20130. Use char because int might match the return type of a GCC
  20131. builtin and then its argument prototype would still apply. */
  20132. #ifdef __cplusplus
  20133. extern "C"
  20134. #endif
  20135. char gdk_im_open ();
  20136. int
  20137. main ()
  20138. {
  20139. return gdk_im_open ();
  20140. ;
  20141. return 0;
  20142. }
  20143. _ACEOF
  20144. if ac_fn_c_try_link "$LINENO"; then :
  20145. ac_cv_lib_gdk_gdk_im_open=yes
  20146. else
  20147. ac_cv_lib_gdk_gdk_im_open=no
  20148. fi
  20149. rm -f core conftest.err conftest.$ac_objext \
  20150. conftest$ac_exeext conftest.$ac_ext
  20151. LIBS=$ac_check_lib_save_LIBS
  20152. fi
  20153. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gdk_gdk_im_open" >&5
  20154. $as_echo "$ac_cv_lib_gdk_gdk_im_open" >&6; }
  20155. if test "x$ac_cv_lib_gdk_gdk_im_open" = xyes; then :
  20156. $as_echo "#define HAVE_XIM 1" >>confdefs.h
  20157. fi
  20158. if test "$USE_DARWIN" != 1; then
  20159. for ac_func in poll
  20160. do :
  20161. ac_fn_c_check_func "$LINENO" "poll" "ac_cv_func_poll"
  20162. if test "x$ac_cv_func_poll" = xyes; then :
  20163. cat >>confdefs.h <<_ACEOF
  20164. #define HAVE_POLL 1
  20165. _ACEOF
  20166. fi
  20167. done
  20168. fi
  20169. fi
  20170. TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
  20171. GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
  20172. TOOLKIT=GTK
  20173. GUIDIST=GTK_DIST
  20174. if test "$wxUSE_GPE" = "yes"; then
  20175. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gpewidget library" >&5
  20176. $as_echo_n "checking for gpewidget library... " >&6; }
  20177. ac_find_libraries=
  20178. for ac_dir in $SEARCH_LIB
  20179. do
  20180. for ac_extension in a so sl dylib dll.a; do
  20181. if test -f "$ac_dir/libgpewidget.$ac_extension"; then
  20182. ac_find_libraries=$ac_dir
  20183. break 2
  20184. fi
  20185. done
  20186. done
  20187. if test "$ac_find_libraries" != "" ; then
  20188. if test "$ac_find_libraries" = "default location"; then
  20189. ac_path_to_link=""
  20190. else
  20191. echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
  20192. result=$?
  20193. if test $result = 0; then
  20194. ac_path_to_link=""
  20195. else
  20196. ac_path_to_link=" -L$ac_find_libraries"
  20197. fi
  20198. fi
  20199. GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
  20200. WXGPE=1
  20201. { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
  20202. $as_echo "found in $ac_find_libraries" >&6; }
  20203. else
  20204. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  20205. $as_echo "not found" >&6; }
  20206. fi
  20207. fi
  20208. fi
  20209. if test "$wxUSE_DFB" = 1; then
  20210. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  20211. if test -n "$ac_tool_prefix"; then
  20212. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  20213. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  20214. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20215. $as_echo_n "checking for $ac_word... " >&6; }
  20216. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  20217. $as_echo_n "(cached) " >&6
  20218. else
  20219. case $PKG_CONFIG in
  20220. [\\/]* | ?:[\\/]*)
  20221. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  20222. ;;
  20223. *)
  20224. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20225. for as_dir in $PATH
  20226. do
  20227. IFS=$as_save_IFS
  20228. test -z "$as_dir" && as_dir=.
  20229. for ac_exec_ext in '' $ac_executable_extensions; do
  20230. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20231. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  20232. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20233. break 2
  20234. fi
  20235. done
  20236. done
  20237. IFS=$as_save_IFS
  20238. ;;
  20239. esac
  20240. fi
  20241. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  20242. if test -n "$PKG_CONFIG"; then
  20243. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  20244. $as_echo "$PKG_CONFIG" >&6; }
  20245. else
  20246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20247. $as_echo "no" >&6; }
  20248. fi
  20249. fi
  20250. if test -z "$ac_cv_path_PKG_CONFIG"; then
  20251. ac_pt_PKG_CONFIG=$PKG_CONFIG
  20252. # Extract the first word of "pkg-config", so it can be a program name with args.
  20253. set dummy pkg-config; ac_word=$2
  20254. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  20255. $as_echo_n "checking for $ac_word... " >&6; }
  20256. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  20257. $as_echo_n "(cached) " >&6
  20258. else
  20259. case $ac_pt_PKG_CONFIG in
  20260. [\\/]* | ?:[\\/]*)
  20261. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  20262. ;;
  20263. *)
  20264. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20265. for as_dir in $PATH
  20266. do
  20267. IFS=$as_save_IFS
  20268. test -z "$as_dir" && as_dir=.
  20269. for ac_exec_ext in '' $ac_executable_extensions; do
  20270. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  20271. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  20272. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  20273. break 2
  20274. fi
  20275. done
  20276. done
  20277. IFS=$as_save_IFS
  20278. ;;
  20279. esac
  20280. fi
  20281. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  20282. if test -n "$ac_pt_PKG_CONFIG"; then
  20283. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  20284. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  20285. else
  20286. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20287. $as_echo "no" >&6; }
  20288. fi
  20289. if test "x$ac_pt_PKG_CONFIG" = x; then
  20290. PKG_CONFIG=""
  20291. else
  20292. case $cross_compiling:$ac_tool_warned in
  20293. yes:)
  20294. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  20295. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  20296. ac_tool_warned=yes ;;
  20297. esac
  20298. PKG_CONFIG=$ac_pt_PKG_CONFIG
  20299. fi
  20300. else
  20301. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  20302. fi
  20303. fi
  20304. if test -n "$PKG_CONFIG"; then
  20305. _pkg_min_version=0.9.0
  20306. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  20307. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  20308. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  20309. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20310. $as_echo "yes" >&6; }
  20311. else
  20312. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20313. $as_echo "no" >&6; }
  20314. PKG_CONFIG=""
  20315. fi
  20316. fi
  20317. pkg_failed=no
  20318. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for DIRECTFB" >&5
  20319. $as_echo_n "checking for DIRECTFB... " >&6; }
  20320. if test -n "$PKG_CONFIG"; then
  20321. if test -n "$DIRECTFB_CFLAGS"; then
  20322. pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
  20323. else
  20324. if test -n "$PKG_CONFIG" && \
  20325. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
  20326. ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
  20327. ac_status=$?
  20328. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  20329. test $ac_status = 0; }; then
  20330. pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
  20331. else
  20332. pkg_failed=yes
  20333. fi
  20334. fi
  20335. else
  20336. pkg_failed=untried
  20337. fi
  20338. if test -n "$PKG_CONFIG"; then
  20339. if test -n "$DIRECTFB_LIBS"; then
  20340. pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
  20341. else
  20342. if test -n "$PKG_CONFIG" && \
  20343. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\""; } >&5
  20344. ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
  20345. ac_status=$?
  20346. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  20347. test $ac_status = 0; }; then
  20348. pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
  20349. else
  20350. pkg_failed=yes
  20351. fi
  20352. fi
  20353. else
  20354. pkg_failed=untried
  20355. fi
  20356. if test $pkg_failed = yes; then
  20357. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  20358. _pkg_short_errors_supported=yes
  20359. else
  20360. _pkg_short_errors_supported=no
  20361. fi
  20362. if test $_pkg_short_errors_supported = yes; then
  20363. DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
  20364. else
  20365. DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
  20366. fi
  20367. # Put the nasty error message in config.log where it belongs
  20368. echo "$DIRECTFB_PKG_ERRORS" >&5
  20369. as_fn_error $? "DirectFB not found." "$LINENO" 5
  20370. elif test $pkg_failed = untried; then
  20371. as_fn_error $? "DirectFB not found." "$LINENO" 5
  20372. else
  20373. DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
  20374. DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
  20375. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20376. $as_echo "yes" >&6; }
  20377. wxUSE_UNIVERSAL="yes"
  20378. TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
  20379. GUI_TK_LIBRARY="$DIRECTFB_LIBS"
  20380. TOOLKIT=DFB
  20381. GUIDIST=DFB_DIST
  20382. fi
  20383. fi
  20384. if test "$wxUSE_MICROWIN" = 1; then
  20385. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows" >&5
  20386. $as_echo_n "checking for MicroWindows... " >&6; }
  20387. if test "x$MICROWINDOWS" = x ; then
  20388. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  20389. $as_echo "not found" >&6; }
  20390. as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWINDOWS is set." "$LINENO" 5
  20391. else
  20392. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWINDOWS" >&5
  20393. $as_echo "$MICROWINDOWS" >&6; }
  20394. fi
  20395. if test -f $MICROWINDOWS/lib/libmwin.a; then
  20396. { $as_echo "$as_me:${as_lineno-$LINENO}: result: MicroWindows' libraries found." >&5
  20397. $as_echo "MicroWindows' libraries found." >&6; }
  20398. else
  20399. as_fn_error $? "Cannot find MicroWindows libraries, make sure they are compiled." "$LINENO" 5
  20400. fi
  20401. TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
  20402. GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
  20403. wxUSE_UNIVERSAL="yes"
  20404. TOOLKIT=MICROWIN
  20405. GUIDIST=MICROWIN_DIST
  20406. TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
  20407. fi
  20408. if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
  20409. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
  20410. $as_echo_n "checking for X... " >&6; }
  20411. # Check whether --with-x was given.
  20412. if test "${with_x+set}" = set; then :
  20413. withval=$with_x;
  20414. fi
  20415. # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
  20416. if test "x$with_x" = xno; then
  20417. # The user explicitly disabled X.
  20418. have_x=disabled
  20419. else
  20420. case $x_includes,$x_libraries in #(
  20421. *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
  20422. *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
  20423. $as_echo_n "(cached) " >&6
  20424. else
  20425. # One or both of the vars are not set, and there is no cached value.
  20426. ac_x_includes=no ac_x_libraries=no
  20427. rm -f -r conftest.dir
  20428. if mkdir conftest.dir; then
  20429. cd conftest.dir
  20430. cat >Imakefile <<'_ACEOF'
  20431. incroot:
  20432. @echo incroot='${INCROOT}'
  20433. usrlibdir:
  20434. @echo usrlibdir='${USRLIBDIR}'
  20435. libdir:
  20436. @echo libdir='${LIBDIR}'
  20437. _ACEOF
  20438. if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
  20439. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  20440. for ac_var in incroot usrlibdir libdir; do
  20441. eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  20442. done
  20443. # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  20444. for ac_extension in a so sl dylib la dll; do
  20445. if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
  20446. test -f "$ac_im_libdir/libX11.$ac_extension"; then
  20447. ac_im_usrlibdir=$ac_im_libdir; break
  20448. fi
  20449. done
  20450. # Screen out bogus values from the imake configuration. They are
  20451. # bogus both because they are the default anyway, and because
  20452. # using them would break gcc on systems where it needs fixed includes.
  20453. case $ac_im_incroot in
  20454. /usr/include) ac_x_includes= ;;
  20455. *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  20456. esac
  20457. case $ac_im_usrlibdir in
  20458. /usr/lib | /usr/lib64 | /lib | /lib64) ;;
  20459. *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  20460. esac
  20461. fi
  20462. cd ..
  20463. rm -f -r conftest.dir
  20464. fi
  20465. # Standard set of common directories for X headers.
  20466. # Check X11 before X11Rn because it is often a symlink to the current release.
  20467. ac_x_header_dirs='
  20468. /usr/X11/include
  20469. /usr/X11R7/include
  20470. /usr/X11R6/include
  20471. /usr/X11R5/include
  20472. /usr/X11R4/include
  20473. /usr/include/X11
  20474. /usr/include/X11R7
  20475. /usr/include/X11R6
  20476. /usr/include/X11R5
  20477. /usr/include/X11R4
  20478. /usr/local/X11/include
  20479. /usr/local/X11R7/include
  20480. /usr/local/X11R6/include
  20481. /usr/local/X11R5/include
  20482. /usr/local/X11R4/include
  20483. /usr/local/include/X11
  20484. /usr/local/include/X11R7
  20485. /usr/local/include/X11R6
  20486. /usr/local/include/X11R5
  20487. /usr/local/include/X11R4
  20488. /usr/X386/include
  20489. /usr/x386/include
  20490. /usr/XFree86/include/X11
  20491. /usr/include
  20492. /usr/local/include
  20493. /usr/unsupported/include
  20494. /usr/athena/include
  20495. /usr/local/x11r5/include
  20496. /usr/lpp/Xamples/include
  20497. /usr/openwin/include
  20498. /usr/openwin/share/include'
  20499. if test "$ac_x_includes" = no; then
  20500. # Guess where to find include files, by looking for Xlib.h.
  20501. # First, try using that file with no special directory specified.
  20502. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20503. /* end confdefs.h. */
  20504. #include <X11/Xlib.h>
  20505. _ACEOF
  20506. if ac_fn_c_try_cpp "$LINENO"; then :
  20507. # We can compile using X headers with no special include directory.
  20508. ac_x_includes=
  20509. else
  20510. for ac_dir in $ac_x_header_dirs; do
  20511. if test -r "$ac_dir/X11/Xlib.h"; then
  20512. ac_x_includes=$ac_dir
  20513. break
  20514. fi
  20515. done
  20516. fi
  20517. rm -f conftest.err conftest.i conftest.$ac_ext
  20518. fi # $ac_x_includes = no
  20519. if test "$ac_x_libraries" = no; then
  20520. # Check for the libraries.
  20521. # See if we find them without any special options.
  20522. # Don't add to $LIBS permanently.
  20523. ac_save_LIBS=$LIBS
  20524. LIBS="-lX11 $LIBS"
  20525. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20526. /* end confdefs.h. */
  20527. #include <X11/Xlib.h>
  20528. int
  20529. main ()
  20530. {
  20531. XrmInitialize ()
  20532. ;
  20533. return 0;
  20534. }
  20535. _ACEOF
  20536. if ac_fn_c_try_link "$LINENO"; then :
  20537. LIBS=$ac_save_LIBS
  20538. # We can link X programs with no special library path.
  20539. ac_x_libraries=
  20540. else
  20541. LIBS=$ac_save_LIBS
  20542. for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  20543. do
  20544. # Don't even attempt the hair of trying to link an X program!
  20545. for ac_extension in a so sl dylib la dll; do
  20546. if test -r "$ac_dir/libX11.$ac_extension"; then
  20547. ac_x_libraries=$ac_dir
  20548. break 2
  20549. fi
  20550. done
  20551. done
  20552. fi
  20553. rm -f core conftest.err conftest.$ac_objext \
  20554. conftest$ac_exeext conftest.$ac_ext
  20555. fi # $ac_x_libraries = no
  20556. case $ac_x_includes,$ac_x_libraries in #(
  20557. no,* | *,no | *\'*)
  20558. # Didn't find X, or a directory has "'" in its name.
  20559. ac_cv_have_x="have_x=no";; #(
  20560. *)
  20561. # Record where we found X for the cache.
  20562. ac_cv_have_x="have_x=yes\
  20563. ac_x_includes='$ac_x_includes'\
  20564. ac_x_libraries='$ac_x_libraries'"
  20565. esac
  20566. fi
  20567. ;; #(
  20568. *) have_x=yes;;
  20569. esac
  20570. eval "$ac_cv_have_x"
  20571. fi # $with_x != no
  20572. if test "$have_x" != yes; then
  20573. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
  20574. $as_echo "$have_x" >&6; }
  20575. no_x=yes
  20576. else
  20577. # If each of the values was on the command line, it overrides each guess.
  20578. test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  20579. test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  20580. # Update the cache value to reflect the command line values.
  20581. ac_cv_have_x="have_x=yes\
  20582. ac_x_includes='$x_includes'\
  20583. ac_x_libraries='$x_libraries'"
  20584. { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
  20585. $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
  20586. fi
  20587. if test "$no_x" = yes; then
  20588. # Not all programs may use this symbol, but it does not hurt to define it.
  20589. $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
  20590. X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
  20591. else
  20592. if test -n "$x_includes"; then
  20593. X_CFLAGS="$X_CFLAGS -I$x_includes"
  20594. fi
  20595. # It would also be nice to do this for all -L options, not just this one.
  20596. if test -n "$x_libraries"; then
  20597. X_LIBS="$X_LIBS -L$x_libraries"
  20598. # For Solaris; some versions of Sun CC require a space after -R and
  20599. # others require no space. Words are not sufficient . . . .
  20600. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
  20601. $as_echo_n "checking whether -R must be followed by a space... " >&6; }
  20602. ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  20603. ac_xsave_c_werror_flag=$ac_c_werror_flag
  20604. ac_c_werror_flag=yes
  20605. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20606. /* end confdefs.h. */
  20607. int
  20608. main ()
  20609. {
  20610. ;
  20611. return 0;
  20612. }
  20613. _ACEOF
  20614. if ac_fn_c_try_link "$LINENO"; then :
  20615. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  20616. $as_echo "no" >&6; }
  20617. X_LIBS="$X_LIBS -R$x_libraries"
  20618. else
  20619. LIBS="$ac_xsave_LIBS -R $x_libraries"
  20620. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20621. /* end confdefs.h. */
  20622. int
  20623. main ()
  20624. {
  20625. ;
  20626. return 0;
  20627. }
  20628. _ACEOF
  20629. if ac_fn_c_try_link "$LINENO"; then :
  20630. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  20631. $as_echo "yes" >&6; }
  20632. X_LIBS="$X_LIBS -R $x_libraries"
  20633. else
  20634. { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
  20635. $as_echo "neither works" >&6; }
  20636. fi
  20637. rm -f core conftest.err conftest.$ac_objext \
  20638. conftest$ac_exeext conftest.$ac_ext
  20639. fi
  20640. rm -f core conftest.err conftest.$ac_objext \
  20641. conftest$ac_exeext conftest.$ac_ext
  20642. ac_c_werror_flag=$ac_xsave_c_werror_flag
  20643. LIBS=$ac_xsave_LIBS
  20644. fi
  20645. # Check for system-dependent libraries X programs must link with.
  20646. # Do this before checking for the system-independent R6 libraries
  20647. # (-lICE), since we may need -lsocket or whatever for X linking.
  20648. if test "$ISC" = yes; then
  20649. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
  20650. else
  20651. # Martyn Johnson says this is needed for Ultrix, if the X
  20652. # libraries were built with DECnet support. And Karl Berry says
  20653. # the Alpha needs dnet_stub (dnet does not exist).
  20654. ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
  20655. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20656. /* end confdefs.h. */
  20657. /* Override any GCC internal prototype to avoid an error.
  20658. Use char because int might match the return type of a GCC
  20659. builtin and then its argument prototype would still apply. */
  20660. #ifdef __cplusplus
  20661. extern "C"
  20662. #endif
  20663. char XOpenDisplay ();
  20664. int
  20665. main ()
  20666. {
  20667. return XOpenDisplay ();
  20668. ;
  20669. return 0;
  20670. }
  20671. _ACEOF
  20672. if ac_fn_c_try_link "$LINENO"; then :
  20673. else
  20674. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
  20675. $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
  20676. if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
  20677. $as_echo_n "(cached) " >&6
  20678. else
  20679. ac_check_lib_save_LIBS=$LIBS
  20680. LIBS="-ldnet $LIBS"
  20681. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20682. /* end confdefs.h. */
  20683. /* Override any GCC internal prototype to avoid an error.
  20684. Use char because int might match the return type of a GCC
  20685. builtin and then its argument prototype would still apply. */
  20686. #ifdef __cplusplus
  20687. extern "C"
  20688. #endif
  20689. char dnet_ntoa ();
  20690. int
  20691. main ()
  20692. {
  20693. return dnet_ntoa ();
  20694. ;
  20695. return 0;
  20696. }
  20697. _ACEOF
  20698. if ac_fn_c_try_link "$LINENO"; then :
  20699. ac_cv_lib_dnet_dnet_ntoa=yes
  20700. else
  20701. ac_cv_lib_dnet_dnet_ntoa=no
  20702. fi
  20703. rm -f core conftest.err conftest.$ac_objext \
  20704. conftest$ac_exeext conftest.$ac_ext
  20705. LIBS=$ac_check_lib_save_LIBS
  20706. fi
  20707. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  20708. $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
  20709. if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
  20710. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  20711. fi
  20712. if test $ac_cv_lib_dnet_dnet_ntoa = no; then
  20713. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
  20714. $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
  20715. if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
  20716. $as_echo_n "(cached) " >&6
  20717. else
  20718. ac_check_lib_save_LIBS=$LIBS
  20719. LIBS="-ldnet_stub $LIBS"
  20720. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20721. /* end confdefs.h. */
  20722. /* Override any GCC internal prototype to avoid an error.
  20723. Use char because int might match the return type of a GCC
  20724. builtin and then its argument prototype would still apply. */
  20725. #ifdef __cplusplus
  20726. extern "C"
  20727. #endif
  20728. char dnet_ntoa ();
  20729. int
  20730. main ()
  20731. {
  20732. return dnet_ntoa ();
  20733. ;
  20734. return 0;
  20735. }
  20736. _ACEOF
  20737. if ac_fn_c_try_link "$LINENO"; then :
  20738. ac_cv_lib_dnet_stub_dnet_ntoa=yes
  20739. else
  20740. ac_cv_lib_dnet_stub_dnet_ntoa=no
  20741. fi
  20742. rm -f core conftest.err conftest.$ac_objext \
  20743. conftest$ac_exeext conftest.$ac_ext
  20744. LIBS=$ac_check_lib_save_LIBS
  20745. fi
  20746. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
  20747. $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
  20748. if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
  20749. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  20750. fi
  20751. fi
  20752. fi
  20753. rm -f core conftest.err conftest.$ac_objext \
  20754. conftest$ac_exeext conftest.$ac_ext
  20755. LIBS="$ac_xsave_LIBS"
  20756. # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
  20757. # to get the SysV transport functions.
  20758. # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
  20759. # needs -lnsl.
  20760. # The nsl library prevents programs from opening the X display
  20761. # on Irix 5.2, according to T.E. Dickey.
  20762. # The functions gethostbyname, getservbyname, and inet_addr are
  20763. # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
  20764. ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
  20765. if test "x$ac_cv_func_gethostbyname" = xyes; then :
  20766. fi
  20767. if test $ac_cv_func_gethostbyname = no; then
  20768. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
  20769. $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
  20770. if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
  20771. $as_echo_n "(cached) " >&6
  20772. else
  20773. ac_check_lib_save_LIBS=$LIBS
  20774. LIBS="-lnsl $LIBS"
  20775. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20776. /* end confdefs.h. */
  20777. /* Override any GCC internal prototype to avoid an error.
  20778. Use char because int might match the return type of a GCC
  20779. builtin and then its argument prototype would still apply. */
  20780. #ifdef __cplusplus
  20781. extern "C"
  20782. #endif
  20783. char gethostbyname ();
  20784. int
  20785. main ()
  20786. {
  20787. return gethostbyname ();
  20788. ;
  20789. return 0;
  20790. }
  20791. _ACEOF
  20792. if ac_fn_c_try_link "$LINENO"; then :
  20793. ac_cv_lib_nsl_gethostbyname=yes
  20794. else
  20795. ac_cv_lib_nsl_gethostbyname=no
  20796. fi
  20797. rm -f core conftest.err conftest.$ac_objext \
  20798. conftest$ac_exeext conftest.$ac_ext
  20799. LIBS=$ac_check_lib_save_LIBS
  20800. fi
  20801. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
  20802. $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
  20803. if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
  20804. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  20805. fi
  20806. if test $ac_cv_lib_nsl_gethostbyname = no; then
  20807. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
  20808. $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
  20809. if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
  20810. $as_echo_n "(cached) " >&6
  20811. else
  20812. ac_check_lib_save_LIBS=$LIBS
  20813. LIBS="-lbsd $LIBS"
  20814. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20815. /* end confdefs.h. */
  20816. /* Override any GCC internal prototype to avoid an error.
  20817. Use char because int might match the return type of a GCC
  20818. builtin and then its argument prototype would still apply. */
  20819. #ifdef __cplusplus
  20820. extern "C"
  20821. #endif
  20822. char gethostbyname ();
  20823. int
  20824. main ()
  20825. {
  20826. return gethostbyname ();
  20827. ;
  20828. return 0;
  20829. }
  20830. _ACEOF
  20831. if ac_fn_c_try_link "$LINENO"; then :
  20832. ac_cv_lib_bsd_gethostbyname=yes
  20833. else
  20834. ac_cv_lib_bsd_gethostbyname=no
  20835. fi
  20836. rm -f core conftest.err conftest.$ac_objext \
  20837. conftest$ac_exeext conftest.$ac_ext
  20838. LIBS=$ac_check_lib_save_LIBS
  20839. fi
  20840. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
  20841. $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
  20842. if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
  20843. X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
  20844. fi
  20845. fi
  20846. fi
  20847. # lieder@skyler.mavd.honeywell.com says without -lsocket,
  20848. # socket/setsockopt and other routines are undefined under SCO ODT
  20849. # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
  20850. # on later versions), says Simon Leinen: it contains gethostby*
  20851. # variants that don't use the name server (or something). -lsocket
  20852. # must be given before -lnsl if both are needed. We assume that
  20853. # if connect needs -lnsl, so does gethostbyname.
  20854. ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
  20855. if test "x$ac_cv_func_connect" = xyes; then :
  20856. fi
  20857. if test $ac_cv_func_connect = no; then
  20858. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
  20859. $as_echo_n "checking for connect in -lsocket... " >&6; }
  20860. if ${ac_cv_lib_socket_connect+:} false; then :
  20861. $as_echo_n "(cached) " >&6
  20862. else
  20863. ac_check_lib_save_LIBS=$LIBS
  20864. LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
  20865. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20866. /* end confdefs.h. */
  20867. /* Override any GCC internal prototype to avoid an error.
  20868. Use char because int might match the return type of a GCC
  20869. builtin and then its argument prototype would still apply. */
  20870. #ifdef __cplusplus
  20871. extern "C"
  20872. #endif
  20873. char connect ();
  20874. int
  20875. main ()
  20876. {
  20877. return connect ();
  20878. ;
  20879. return 0;
  20880. }
  20881. _ACEOF
  20882. if ac_fn_c_try_link "$LINENO"; then :
  20883. ac_cv_lib_socket_connect=yes
  20884. else
  20885. ac_cv_lib_socket_connect=no
  20886. fi
  20887. rm -f core conftest.err conftest.$ac_objext \
  20888. conftest$ac_exeext conftest.$ac_ext
  20889. LIBS=$ac_check_lib_save_LIBS
  20890. fi
  20891. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
  20892. $as_echo "$ac_cv_lib_socket_connect" >&6; }
  20893. if test "x$ac_cv_lib_socket_connect" = xyes; then :
  20894. X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
  20895. fi
  20896. fi
  20897. # Guillermo Gomez says -lposix is necessary on A/UX.
  20898. ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
  20899. if test "x$ac_cv_func_remove" = xyes; then :
  20900. fi
  20901. if test $ac_cv_func_remove = no; then
  20902. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
  20903. $as_echo_n "checking for remove in -lposix... " >&6; }
  20904. if ${ac_cv_lib_posix_remove+:} false; then :
  20905. $as_echo_n "(cached) " >&6
  20906. else
  20907. ac_check_lib_save_LIBS=$LIBS
  20908. LIBS="-lposix $LIBS"
  20909. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20910. /* end confdefs.h. */
  20911. /* Override any GCC internal prototype to avoid an error.
  20912. Use char because int might match the return type of a GCC
  20913. builtin and then its argument prototype would still apply. */
  20914. #ifdef __cplusplus
  20915. extern "C"
  20916. #endif
  20917. char remove ();
  20918. int
  20919. main ()
  20920. {
  20921. return remove ();
  20922. ;
  20923. return 0;
  20924. }
  20925. _ACEOF
  20926. if ac_fn_c_try_link "$LINENO"; then :
  20927. ac_cv_lib_posix_remove=yes
  20928. else
  20929. ac_cv_lib_posix_remove=no
  20930. fi
  20931. rm -f core conftest.err conftest.$ac_objext \
  20932. conftest$ac_exeext conftest.$ac_ext
  20933. LIBS=$ac_check_lib_save_LIBS
  20934. fi
  20935. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
  20936. $as_echo "$ac_cv_lib_posix_remove" >&6; }
  20937. if test "x$ac_cv_lib_posix_remove" = xyes; then :
  20938. X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
  20939. fi
  20940. fi
  20941. # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
  20942. ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
  20943. if test "x$ac_cv_func_shmat" = xyes; then :
  20944. fi
  20945. if test $ac_cv_func_shmat = no; then
  20946. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
  20947. $as_echo_n "checking for shmat in -lipc... " >&6; }
  20948. if ${ac_cv_lib_ipc_shmat+:} false; then :
  20949. $as_echo_n "(cached) " >&6
  20950. else
  20951. ac_check_lib_save_LIBS=$LIBS
  20952. LIBS="-lipc $LIBS"
  20953. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  20954. /* end confdefs.h. */
  20955. /* Override any GCC internal prototype to avoid an error.
  20956. Use char because int might match the return type of a GCC
  20957. builtin and then its argument prototype would still apply. */
  20958. #ifdef __cplusplus
  20959. extern "C"
  20960. #endif
  20961. char shmat ();
  20962. int
  20963. main ()
  20964. {
  20965. return shmat ();
  20966. ;
  20967. return 0;
  20968. }
  20969. _ACEOF
  20970. if ac_fn_c_try_link "$LINENO"; then :
  20971. ac_cv_lib_ipc_shmat=yes
  20972. else
  20973. ac_cv_lib_ipc_shmat=no
  20974. fi
  20975. rm -f core conftest.err conftest.$ac_objext \
  20976. conftest$ac_exeext conftest.$ac_ext
  20977. LIBS=$ac_check_lib_save_LIBS
  20978. fi
  20979. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
  20980. $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
  20981. if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
  20982. X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
  20983. fi
  20984. fi
  20985. fi
  20986. # Check for libraries that X11R6 Xt/Xaw programs need.
  20987. ac_save_LDFLAGS=$LDFLAGS
  20988. test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
  20989. # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
  20990. # check for ICE first), but we must link in the order -lSM -lICE or
  20991. # we get undefined symbols. So assume we have SM if we have ICE.
  20992. # These have to be linked with before -lX11, unlike the other
  20993. # libraries we check for below, so use a different variable.
  20994. # John Interrante, Karl Berry
  20995. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
  20996. $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
  20997. if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
  20998. $as_echo_n "(cached) " >&6
  20999. else
  21000. ac_check_lib_save_LIBS=$LIBS
  21001. LIBS="-lICE $X_EXTRA_LIBS $LIBS"
  21002. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21003. /* end confdefs.h. */
  21004. /* Override any GCC internal prototype to avoid an error.
  21005. Use char because int might match the return type of a GCC
  21006. builtin and then its argument prototype would still apply. */
  21007. #ifdef __cplusplus
  21008. extern "C"
  21009. #endif
  21010. char IceConnectionNumber ();
  21011. int
  21012. main ()
  21013. {
  21014. return IceConnectionNumber ();
  21015. ;
  21016. return 0;
  21017. }
  21018. _ACEOF
  21019. if ac_fn_c_try_link "$LINENO"; then :
  21020. ac_cv_lib_ICE_IceConnectionNumber=yes
  21021. else
  21022. ac_cv_lib_ICE_IceConnectionNumber=no
  21023. fi
  21024. rm -f core conftest.err conftest.$ac_objext \
  21025. conftest$ac_exeext conftest.$ac_ext
  21026. LIBS=$ac_check_lib_save_LIBS
  21027. fi
  21028. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  21029. $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
  21030. if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
  21031. X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  21032. fi
  21033. LDFLAGS=$ac_save_LDFLAGS
  21034. fi
  21035. if test "$no_x" = "yes"; then
  21036. as_fn_error $? "X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" "$LINENO" 5
  21037. fi
  21038. GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
  21039. TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
  21040. COMPILED_X_PROGRAM=0
  21041. fi
  21042. if test "$wxUSE_X11" = 1; then
  21043. if test "$wxUSE_NANOX" = "yes"; then
  21044. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MicroWindows/NanoX distribution" >&5
  21045. $as_echo_n "checking for MicroWindows/NanoX distribution... " >&6; }
  21046. if test "x$MICROWIN" = x ; then
  21047. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  21048. $as_echo "not found" >&6; }
  21049. as_fn_error $? "Cannot find MicroWindows library. Make sure MICROWIN is set." "$LINENO" 5
  21050. else
  21051. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MICROWIN" >&5
  21052. $as_echo "$MICROWIN" >&6; }
  21053. $as_echo "#define wxUSE_NANOX 1" >>confdefs.h
  21054. fi
  21055. fi
  21056. if test "$wxUSE_UNICODE" = "yes"; then
  21057. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  21058. if test -n "$ac_tool_prefix"; then
  21059. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  21060. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  21061. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21062. $as_echo_n "checking for $ac_word... " >&6; }
  21063. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  21064. $as_echo_n "(cached) " >&6
  21065. else
  21066. case $PKG_CONFIG in
  21067. [\\/]* | ?:[\\/]*)
  21068. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  21069. ;;
  21070. *)
  21071. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21072. for as_dir in $PATH
  21073. do
  21074. IFS=$as_save_IFS
  21075. test -z "$as_dir" && as_dir=.
  21076. for ac_exec_ext in '' $ac_executable_extensions; do
  21077. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  21078. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  21079. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21080. break 2
  21081. fi
  21082. done
  21083. done
  21084. IFS=$as_save_IFS
  21085. ;;
  21086. esac
  21087. fi
  21088. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  21089. if test -n "$PKG_CONFIG"; then
  21090. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  21091. $as_echo "$PKG_CONFIG" >&6; }
  21092. else
  21093. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21094. $as_echo "no" >&6; }
  21095. fi
  21096. fi
  21097. if test -z "$ac_cv_path_PKG_CONFIG"; then
  21098. ac_pt_PKG_CONFIG=$PKG_CONFIG
  21099. # Extract the first word of "pkg-config", so it can be a program name with args.
  21100. set dummy pkg-config; ac_word=$2
  21101. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21102. $as_echo_n "checking for $ac_word... " >&6; }
  21103. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  21104. $as_echo_n "(cached) " >&6
  21105. else
  21106. case $ac_pt_PKG_CONFIG in
  21107. [\\/]* | ?:[\\/]*)
  21108. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  21109. ;;
  21110. *)
  21111. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21112. for as_dir in $PATH
  21113. do
  21114. IFS=$as_save_IFS
  21115. test -z "$as_dir" && as_dir=.
  21116. for ac_exec_ext in '' $ac_executable_extensions; do
  21117. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  21118. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  21119. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21120. break 2
  21121. fi
  21122. done
  21123. done
  21124. IFS=$as_save_IFS
  21125. ;;
  21126. esac
  21127. fi
  21128. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  21129. if test -n "$ac_pt_PKG_CONFIG"; then
  21130. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  21131. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  21132. else
  21133. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21134. $as_echo "no" >&6; }
  21135. fi
  21136. if test "x$ac_pt_PKG_CONFIG" = x; then
  21137. PKG_CONFIG=""
  21138. else
  21139. case $cross_compiling:$ac_tool_warned in
  21140. yes:)
  21141. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  21142. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  21143. ac_tool_warned=yes ;;
  21144. esac
  21145. PKG_CONFIG=$ac_pt_PKG_CONFIG
  21146. fi
  21147. else
  21148. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  21149. fi
  21150. fi
  21151. if test -n "$PKG_CONFIG"; then
  21152. _pkg_min_version=0.9.0
  21153. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  21154. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  21155. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  21156. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21157. $as_echo "yes" >&6; }
  21158. else
  21159. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21160. $as_echo "no" >&6; }
  21161. PKG_CONFIG=""
  21162. fi
  21163. fi
  21164. pkg_failed=no
  21165. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOXFT" >&5
  21166. $as_echo_n "checking for PANGOXFT... " >&6; }
  21167. if test -n "$PKG_CONFIG"; then
  21168. if test -n "$PANGOXFT_CFLAGS"; then
  21169. pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
  21170. else
  21171. if test -n "$PKG_CONFIG" && \
  21172. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
  21173. ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
  21174. ac_status=$?
  21175. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  21176. test $ac_status = 0; }; then
  21177. pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
  21178. else
  21179. pkg_failed=yes
  21180. fi
  21181. fi
  21182. else
  21183. pkg_failed=untried
  21184. fi
  21185. if test -n "$PKG_CONFIG"; then
  21186. if test -n "$PANGOXFT_LIBS"; then
  21187. pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
  21188. else
  21189. if test -n "$PKG_CONFIG" && \
  21190. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoxft\""; } >&5
  21191. ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
  21192. ac_status=$?
  21193. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  21194. test $ac_status = 0; }; then
  21195. pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
  21196. else
  21197. pkg_failed=yes
  21198. fi
  21199. fi
  21200. else
  21201. pkg_failed=untried
  21202. fi
  21203. if test $pkg_failed = yes; then
  21204. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  21205. _pkg_short_errors_supported=yes
  21206. else
  21207. _pkg_short_errors_supported=no
  21208. fi
  21209. if test $_pkg_short_errors_supported = yes; then
  21210. PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
  21211. else
  21212. PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
  21213. fi
  21214. # Put the nasty error message in config.log where it belongs
  21215. echo "$PANGOXFT_PKG_ERRORS" >&5
  21216. as_fn_error $? "pangoxft library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
  21217. elif test $pkg_failed = untried; then
  21218. as_fn_error $? "pangoxft library not found, library cannot be compiled in Unicode mode" "$LINENO" 5
  21219. else
  21220. PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
  21221. PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
  21222. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21223. $as_echo "yes" >&6; }
  21224. $as_echo "#define HAVE_PANGO_XFT 1" >>confdefs.h
  21225. CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
  21226. CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
  21227. GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
  21228. fi
  21229. pkg_failed=no
  21230. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PANGOFT2" >&5
  21231. $as_echo_n "checking for PANGOFT2... " >&6; }
  21232. if test -n "$PKG_CONFIG"; then
  21233. if test -n "$PANGOFT2_CFLAGS"; then
  21234. pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
  21235. else
  21236. if test -n "$PKG_CONFIG" && \
  21237. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
  21238. ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
  21239. ac_status=$?
  21240. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  21241. test $ac_status = 0; }; then
  21242. pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
  21243. else
  21244. pkg_failed=yes
  21245. fi
  21246. fi
  21247. else
  21248. pkg_failed=untried
  21249. fi
  21250. if test -n "$PKG_CONFIG"; then
  21251. if test -n "$PANGOFT2_LIBS"; then
  21252. pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
  21253. else
  21254. if test -n "$PKG_CONFIG" && \
  21255. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"pangoft2\""; } >&5
  21256. ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
  21257. ac_status=$?
  21258. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  21259. test $ac_status = 0; }; then
  21260. pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
  21261. else
  21262. pkg_failed=yes
  21263. fi
  21264. fi
  21265. else
  21266. pkg_failed=untried
  21267. fi
  21268. if test $pkg_failed = yes; then
  21269. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  21270. _pkg_short_errors_supported=yes
  21271. else
  21272. _pkg_short_errors_supported=no
  21273. fi
  21274. if test $_pkg_short_errors_supported = yes; then
  21275. PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
  21276. else
  21277. PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
  21278. fi
  21279. # Put the nasty error message in config.log where it belongs
  21280. echo "$PANGOFT2_PKG_ERRORS" >&5
  21281. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
  21282. $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
  21283. wxUSE_PRINTING_ARCHITECTURE="no"
  21284. elif test $pkg_failed = untried; then
  21285. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
  21286. $as_echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
  21287. wxUSE_PRINTING_ARCHITECTURE="no"
  21288. else
  21289. PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
  21290. PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
  21291. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21292. $as_echo "yes" >&6; }
  21293. CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
  21294. CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
  21295. GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
  21296. fi
  21297. for ac_func in pango_font_family_is_monospace
  21298. do :
  21299. ac_fn_c_check_func "$LINENO" "pango_font_family_is_monospace" "ac_cv_func_pango_font_family_is_monospace"
  21300. if test "x$ac_cv_func_pango_font_family_is_monospace" = xyes; then :
  21301. cat >>confdefs.h <<_ACEOF
  21302. #define HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE 1
  21303. _ACEOF
  21304. fi
  21305. done
  21306. fi
  21307. wxUSE_UNIVERSAL="yes"
  21308. if test "$wxUSE_NANOX" = "yes"; then
  21309. TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
  21310. TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__NANOX__ -DMWPIXEL_FORMAT=MWPF_TRUECOLOR0888 -DHAVE_FILEIO -DHAVE_BMP_SUPPORT=1 -DHAVE_GIF_SUPPORT=1 -DHAVE_PNM_SUPPORT=1 -DHAVE_XPM_SUPPORT=1 -DUNIX=1 -DUSE_EXPOSURE -DSCREEN_HEIGHT=480 -DSCREEN_WIDTH=640 -DSCREEN_DEPTH=4 -DX11=1"
  21311. GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
  21312. else
  21313. GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
  21314. fi
  21315. TOOLKIT=X11
  21316. GUIDIST=X11_DIST
  21317. fi
  21318. if test "$wxUSE_MOTIF" = 1; then
  21319. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif headers" >&5
  21320. $as_echo_n "checking for Motif/Lesstif headers... " >&6; }
  21321. ac_find_includes=
  21322. for ac_dir in $SEARCH_INCLUDE /usr/include
  21323. do
  21324. if test -f "$ac_dir/Xm/Xm.h"; then
  21325. ac_find_includes=$ac_dir
  21326. break
  21327. fi
  21328. done
  21329. if test "$ac_find_includes" != "" ; then
  21330. { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
  21331. $as_echo "found in $ac_find_includes" >&6; }
  21332. if test "x$ac_find_includes" = "x/usr/include"; then
  21333. ac_path_to_include=""
  21334. else
  21335. echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
  21336. result=$?
  21337. if test $result = 0; then
  21338. ac_path_to_include=""
  21339. else
  21340. ac_path_to_include=" -I$ac_find_includes"
  21341. fi
  21342. fi
  21343. TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
  21344. else
  21345. save_CFLAGS=$CFLAGS
  21346. CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
  21347. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21348. /* end confdefs.h. */
  21349. #include <Xm/Xm.h>
  21350. int
  21351. main ()
  21352. {
  21353. int version;
  21354. version = xmUseVersion;
  21355. ;
  21356. return 0;
  21357. }
  21358. _ACEOF
  21359. if ac_fn_c_try_compile "$LINENO"; then :
  21360. { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
  21361. $as_echo "found in default search path" >&6; }
  21362. COMPILED_X_PROGRAM=1
  21363. else
  21364. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21365. $as_echo "no" >&6; }
  21366. as_fn_error $? "please set CPPFLAGS to contain the location of Xm/Xm.h" "$LINENO" 5
  21367. fi
  21368. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21369. CFLAGS=$save_CFLAGS
  21370. fi
  21371. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif/Lesstif library" >&5
  21372. $as_echo_n "checking for Motif/Lesstif library... " >&6; }
  21373. ac_find_libraries=
  21374. for ac_dir in $SEARCH_LIB
  21375. do
  21376. for ac_extension in a so sl dylib dll.a; do
  21377. if test -f "$ac_dir/libXm.$ac_extension"; then
  21378. ac_find_libraries=$ac_dir
  21379. break 2
  21380. fi
  21381. done
  21382. done
  21383. if test "x$ac_find_libraries" != "x" ; then
  21384. { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
  21385. $as_echo "found in $ac_find_libraries" >&6; }
  21386. if test "$ac_find_libraries" = "default location"; then
  21387. ac_path_to_link=""
  21388. else
  21389. echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
  21390. result=$?
  21391. if test $result = 0; then
  21392. ac_path_to_link=""
  21393. else
  21394. ac_path_to_link=" -L$ac_find_libraries"
  21395. fi
  21396. fi
  21397. GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
  21398. else
  21399. save_CFLAGS=$CFLAGS
  21400. CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
  21401. save_LIBS="$LIBS"
  21402. LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
  21403. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21404. /* end confdefs.h. */
  21405. #include <Xm/Xm.h>
  21406. int
  21407. main ()
  21408. {
  21409. int version;
  21410. version = xmUseVersion;
  21411. ;
  21412. return 0;
  21413. }
  21414. _ACEOF
  21415. if ac_fn_c_try_link "$LINENO"; then :
  21416. { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in default search path" >&5
  21417. $as_echo "found in default search path" >&6; }
  21418. COMPILED_X_PROGRAM=1
  21419. else
  21420. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21421. $as_echo "no" >&6; }
  21422. as_fn_error $? "please set LDFLAGS to contain the location of libXm" "$LINENO" 5
  21423. fi
  21424. rm -f core conftest.err conftest.$ac_objext \
  21425. conftest$ac_exeext conftest.$ac_ext
  21426. CFLAGS=$save_CFLAGS
  21427. LIBS="$save_LIBS"
  21428. fi
  21429. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we need -lXp and/or -lSM -lICE" >&5
  21430. $as_echo_n "checking if we need -lXp and/or -lSM -lICE... " >&6; }
  21431. libp_link=""
  21432. libsm_ice_link=""
  21433. libs_found=0
  21434. for libp in "" " -lXp"; do
  21435. if test "$libs_found" = 0; then
  21436. for libsm_ice in "" " -lSM -lICE"; do
  21437. if test "$libs_found" = 0; then
  21438. save_LIBS="$LIBS"
  21439. LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
  21440. save_CFLAGS=$CFLAGS
  21441. CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
  21442. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21443. /* end confdefs.h. */
  21444. #include <Xm/Xm.h>
  21445. #include <Xm/List.h>
  21446. int
  21447. main ()
  21448. {
  21449. XmString string = NULL;
  21450. Widget w = NULL;
  21451. int position = 0;
  21452. XmListAddItem(w, string, position);
  21453. ;
  21454. return 0;
  21455. }
  21456. _ACEOF
  21457. if ac_fn_c_try_link "$LINENO"; then :
  21458. libp_link="$libp"
  21459. libsm_ice_link="$libsm_ice"
  21460. { $as_echo "$as_me:${as_lineno-$LINENO}: result: need${libp_link}${libsm_ice_link}" >&5
  21461. $as_echo "need${libp_link}${libsm_ice_link}" >&6; }
  21462. libs_found=1
  21463. fi
  21464. rm -f core conftest.err conftest.$ac_objext \
  21465. conftest$ac_exeext conftest.$ac_ext
  21466. LIBS="$save_LIBS"
  21467. CFLAGS=$save_CFLAGS
  21468. fi
  21469. done
  21470. fi
  21471. done
  21472. if test "$libs_found" = 0; then
  21473. { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't find the right libraries" >&5
  21474. $as_echo "can't find the right libraries" >&6; }
  21475. as_fn_error $? "can't link a simple motif program" "$LINENO" 5
  21476. fi
  21477. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SgCreateList in -lSgm" >&5
  21478. $as_echo_n "checking for SgCreateList in -lSgm... " >&6; }
  21479. if ${ac_cv_lib_Sgm_SgCreateList+:} false; then :
  21480. $as_echo_n "(cached) " >&6
  21481. else
  21482. ac_check_lib_save_LIBS=$LIBS
  21483. LIBS="-lSgm $LIBS"
  21484. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21485. /* end confdefs.h. */
  21486. /* Override any GCC internal prototype to avoid an error.
  21487. Use char because int might match the return type of a GCC
  21488. builtin and then its argument prototype would still apply. */
  21489. #ifdef __cplusplus
  21490. extern "C"
  21491. #endif
  21492. char SgCreateList ();
  21493. int
  21494. main ()
  21495. {
  21496. return SgCreateList ();
  21497. ;
  21498. return 0;
  21499. }
  21500. _ACEOF
  21501. if ac_fn_c_try_link "$LINENO"; then :
  21502. ac_cv_lib_Sgm_SgCreateList=yes
  21503. else
  21504. ac_cv_lib_Sgm_SgCreateList=no
  21505. fi
  21506. rm -f core conftest.err conftest.$ac_objext \
  21507. conftest$ac_exeext conftest.$ac_ext
  21508. LIBS=$ac_check_lib_save_LIBS
  21509. fi
  21510. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Sgm_SgCreateList" >&5
  21511. $as_echo "$ac_cv_lib_Sgm_SgCreateList" >&6; }
  21512. if test "x$ac_cv_lib_Sgm_SgCreateList" = xyes; then :
  21513. libsgm_link=" -lSgm"
  21514. fi
  21515. save_CFLAGS=$CFLAGS
  21516. CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
  21517. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Motif 2" >&5
  21518. $as_echo_n "checking for Motif 2... " >&6; }
  21519. if ${wx_cv_lib_motif2+:} false; then :
  21520. $as_echo_n "(cached) " >&6
  21521. else
  21522. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21523. /* end confdefs.h. */
  21524. #include <Xm/Xm.h>
  21525. int
  21526. main ()
  21527. {
  21528. #if XmVersion < 2000
  21529. Not Motif 2
  21530. #endif
  21531. ;
  21532. return 0;
  21533. }
  21534. _ACEOF
  21535. if ac_fn_c_try_compile "$LINENO"; then :
  21536. wx_cv_lib_motif2="yes"
  21537. else
  21538. wx_cv_lib_motif2="no"
  21539. fi
  21540. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21541. fi
  21542. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_motif2" >&5
  21543. $as_echo "$wx_cv_lib_motif2" >&6; }
  21544. if test "$wx_cv_lib_motif2" = "yes"; then
  21545. $as_echo "#define __WXMOTIF20__ 1" >>confdefs.h
  21546. else
  21547. $as_echo "#define __WXMOTIF20__ 0" >>confdefs.h
  21548. fi
  21549. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether Motif is Lesstif" >&5
  21550. $as_echo_n "checking whether Motif is Lesstif... " >&6; }
  21551. if ${wx_cv_lib_lesstif+:} false; then :
  21552. $as_echo_n "(cached) " >&6
  21553. else
  21554. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21555. /* end confdefs.h. */
  21556. #include <Xm/Xm.h>
  21557. int
  21558. main ()
  21559. {
  21560. #if !defined(LesstifVersion) || LesstifVersion <= 0
  21561. Not Lesstif
  21562. #endif
  21563. ;
  21564. return 0;
  21565. }
  21566. _ACEOF
  21567. if ac_fn_c_try_compile "$LINENO"; then :
  21568. wx_cv_lib_lesstif="yes"
  21569. else
  21570. wx_cv_lib_lesstif="no"
  21571. fi
  21572. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21573. fi
  21574. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_lesstif" >&5
  21575. $as_echo "$wx_cv_lib_lesstif" >&6; }
  21576. if test "$wx_cv_lib_lesstif" = "yes"; then
  21577. $as_echo "#define __WXLESSTIF__ 1" >>confdefs.h
  21578. else
  21579. $as_echo "#define __WXLESSTIF__ 0" >>confdefs.h
  21580. fi
  21581. CFLAGS=$save_CFLAGS
  21582. GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
  21583. TOOLKIT=MOTIF
  21584. GUIDIST=MOTIF_DIST
  21585. fi
  21586. if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
  21587. if test "$wxUSE_LIBXPM" = "sys"; then
  21588. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xpm library" >&5
  21589. $as_echo_n "checking for Xpm library... " >&6; }
  21590. ac_find_libraries=
  21591. for ac_dir in $SEARCH_LIB
  21592. do
  21593. for ac_extension in a so sl dylib dll.a; do
  21594. if test -f "$ac_dir/libXpm.$ac_extension"; then
  21595. ac_find_libraries=$ac_dir
  21596. break 2
  21597. fi
  21598. done
  21599. done
  21600. if test "$ac_find_libraries" != "" ; then
  21601. if test "$ac_find_libraries" = "default location"; then
  21602. ac_path_to_link=""
  21603. else
  21604. echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
  21605. result=$?
  21606. if test $result = 0; then
  21607. ac_path_to_link=""
  21608. else
  21609. ac_path_to_link=" -L$ac_find_libraries"
  21610. fi
  21611. fi
  21612. GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
  21613. { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_libraries" >&5
  21614. $as_echo "found in $ac_find_libraries" >&6; }
  21615. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/xpm.h" >&5
  21616. $as_echo_n "checking for X11/xpm.h... " >&6; }
  21617. if ${wx_cv_x11_xpm_h+:} false; then :
  21618. $as_echo_n "(cached) " >&6
  21619. else
  21620. save_CFLAGS=$CFLAGS
  21621. CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
  21622. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21623. /* end confdefs.h. */
  21624. #include <X11/xpm.h>
  21625. int
  21626. main ()
  21627. {
  21628. int version;
  21629. version = XpmLibraryVersion();
  21630. ;
  21631. return 0;
  21632. }
  21633. _ACEOF
  21634. if ac_fn_c_try_compile "$LINENO"; then :
  21635. wx_cv_x11_xpm_h=yes
  21636. else
  21637. wx_cv_x11_xpm_h=no
  21638. fi
  21639. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21640. CFLAGS=$save_CFLAGS
  21641. fi
  21642. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_x11_xpm_h" >&5
  21643. $as_echo "$wx_cv_x11_xpm_h" >&6; }
  21644. if test $wx_cv_x11_xpm_h = "yes"; then
  21645. GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
  21646. $as_echo "#define wxHAVE_LIB_XPM 1" >>confdefs.h
  21647. else
  21648. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: built-in less efficient XPM decoder will be used" >&5
  21649. $as_echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
  21650. fi
  21651. fi
  21652. fi
  21653. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
  21654. $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
  21655. if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
  21656. $as_echo_n "(cached) " >&6
  21657. else
  21658. ac_check_lib_save_LIBS=$LIBS
  21659. LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
  21660. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21661. /* end confdefs.h. */
  21662. /* Override any GCC internal prototype to avoid an error.
  21663. Use char because int might match the return type of a GCC
  21664. builtin and then its argument prototype would still apply. */
  21665. #ifdef __cplusplus
  21666. extern "C"
  21667. #endif
  21668. char XShapeQueryExtension ();
  21669. int
  21670. main ()
  21671. {
  21672. return XShapeQueryExtension ();
  21673. ;
  21674. return 0;
  21675. }
  21676. _ACEOF
  21677. if ac_fn_c_try_link "$LINENO"; then :
  21678. ac_cv_lib_Xext_XShapeQueryExtension=yes
  21679. else
  21680. ac_cv_lib_Xext_XShapeQueryExtension=no
  21681. fi
  21682. rm -f core conftest.err conftest.$ac_objext \
  21683. conftest$ac_exeext conftest.$ac_ext
  21684. LIBS=$ac_check_lib_save_LIBS
  21685. fi
  21686. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  21687. $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
  21688. if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
  21689. GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
  21690. wxHAVE_XEXT_LIB=1
  21691. fi
  21692. if test "$wxHAVE_XEXT_LIB" = 1; then
  21693. save_CFLAGS="$CFLAGS"
  21694. CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
  21695. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X11/extensions/shape.h" >&5
  21696. $as_echo_n "checking for X11/extensions/shape.h... " >&6; }
  21697. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21698. /* end confdefs.h. */
  21699. #include <X11/Xlib.h>
  21700. #include <X11/extensions/shape.h>
  21701. int
  21702. main ()
  21703. {
  21704. int dummy1, dummy2;
  21705. XShapeQueryExtension((Display*)NULL,
  21706. (int*)NULL, (int*)NULL);
  21707. ;
  21708. return 0;
  21709. }
  21710. _ACEOF
  21711. if ac_fn_c_try_compile "$LINENO"; then :
  21712. $as_echo "#define HAVE_XSHAPE 1" >>confdefs.h
  21713. { $as_echo "$as_me:${as_lineno-$LINENO}: result: found" >&5
  21714. $as_echo "found" >&6; }
  21715. else
  21716. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  21717. $as_echo "not found" >&6; }
  21718. fi
  21719. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21720. CFLAGS="$save_CFLAGS"
  21721. fi
  21722. fi
  21723. if test "$wxUSE_OSX_CARBON" = 1; then
  21724. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for compiler syntax to enable Pascal strings" >&5
  21725. $as_echo_n "checking for compiler syntax to enable Pascal strings... " >&6; }
  21726. if test "$GCC" = yes; then
  21727. { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
  21728. $as_echo "gcc" >&6; }
  21729. CPPFLAGS_PASCAL="-fpascal-strings"
  21730. elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
  21731. { $as_echo "$as_me:${as_lineno-$LINENO}: result: xlc" >&5
  21732. $as_echo "xlc" >&6; }
  21733. CPPFLAGS_PASCAL="-qmacpstr"
  21734. else
  21735. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  21736. $as_echo "none" >&6; }
  21737. fi
  21738. if test "x$wxUSE_UNIX" = "xyes"; then
  21739. CPPFLAGS="$CPPFLAGS_PASCAL -I/Developer/Headers/FlatCarbon $CPPFLAGS"
  21740. else
  21741. CPPFLAGS="$CPPFLAGS_PASCAL -DTARGET_CARBON $CPPFLAGS"
  21742. fi
  21743. TOOLKIT=OSX_CARBON
  21744. GUIDIST=OSX_CARBON_DIST
  21745. WXBASEPORT="_carbon"
  21746. TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
  21747. fi
  21748. if test "$wxUSE_OSX_COCOA" = 1; then
  21749. TOOLKIT=OSX_COCOA
  21750. GUIDIST=OSX_COCOA_DIST
  21751. TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMAC__ -D__WXOSX__"
  21752. fi
  21753. if test "$wxUSE_OSX_IPHONE" = 1; then
  21754. TOOLKIT=OSX_IPHONE
  21755. fi
  21756. if test "$wxUSE_OLD_COCOA" = 1; then
  21757. TOOLKIT=COCOA
  21758. GUIDIST=COCOA_DIST
  21759. fi
  21760. if test "$wxUSE_PM" = 1; then
  21761. TOOLKIT=PM
  21762. GUIDIST=PM_DIST
  21763. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for type SPBCDATA" >&5
  21764. $as_echo_n "checking for type SPBCDATA... " >&6; }
  21765. if ${wx_cv_spbcdata+:} false; then :
  21766. $as_echo_n "(cached) " >&6
  21767. else
  21768. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  21769. /* end confdefs.h. */
  21770. #define INCL_PM
  21771. #include <os2.h>
  21772. int
  21773. main ()
  21774. {
  21775. SPBCDATA test;
  21776. ;
  21777. return 0;
  21778. }
  21779. _ACEOF
  21780. if ac_fn_c_try_compile "$LINENO"; then :
  21781. wx_cv_spbcdata=yes
  21782. else
  21783. wx_cv_spbcdata=no
  21784. fi
  21785. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  21786. fi
  21787. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_spbcdata" >&5
  21788. $as_echo "$wx_cv_spbcdata" >&6; }
  21789. if test $wx_cv_spbcdata = "yes"; then
  21790. $as_echo "#define HAVE_SPBCDATA 1" >>confdefs.h
  21791. fi
  21792. fi
  21793. if test "$TOOLKIT" = "PM" ; then
  21794. TOOLKIT_DIR="os2"
  21795. else
  21796. TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
  21797. fi
  21798. if test "$wxUSE_UNIVERSAL" = "yes"; then
  21799. TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
  21800. WIDGET_SET=univ
  21801. fi
  21802. GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
  21803. DISTDIR="wx\$(TOOLKIT)"
  21804. else
  21805. USE_GUI=0
  21806. TOOLKIT_DIR="base"
  21807. if test "$USE_WIN32" = 1 ; then
  21808. TOOLKIT="MSW"
  21809. fi
  21810. GUIDIST="BASE_DIST"
  21811. DISTDIR="wxBase"
  21812. fi
  21813. if test "$wxUSE_GUI" = "yes"; then
  21814. if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
  21815. for ac_header in X11/Xlib.h
  21816. do :
  21817. ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "
  21818. "
  21819. if test "x$ac_cv_header_X11_Xlib_h" = xyes; then :
  21820. cat >>confdefs.h <<_ACEOF
  21821. #define HAVE_X11_XLIB_H 1
  21822. _ACEOF
  21823. fi
  21824. done
  21825. for ac_header in X11/XKBlib.h
  21826. do :
  21827. ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "
  21828. #if HAVE_X11_XLIB_H
  21829. #include <X11/Xlib.h>
  21830. #endif
  21831. "
  21832. if test "x$ac_cv_header_X11_XKBlib_h" = xyes; then :
  21833. cat >>confdefs.h <<_ACEOF
  21834. #define HAVE_X11_XKBLIB_H 1
  21835. _ACEOF
  21836. fi
  21837. done
  21838. fi
  21839. fi
  21840. USE_XINERAMA=0
  21841. if test "$wxUSE_DISPLAY" = "yes"; then
  21842. if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$WXGTK1" = 1; then
  21843. ac_find_libraries=
  21844. fl_pkgname=`echo "Xinerama" | tr [:upper:] [:lower:]`
  21845. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  21846. if test -n "$ac_tool_prefix"; then
  21847. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  21848. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  21849. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21850. $as_echo_n "checking for $ac_word... " >&6; }
  21851. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  21852. $as_echo_n "(cached) " >&6
  21853. else
  21854. case $PKG_CONFIG in
  21855. [\\/]* | ?:[\\/]*)
  21856. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  21857. ;;
  21858. *)
  21859. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21860. for as_dir in $PATH
  21861. do
  21862. IFS=$as_save_IFS
  21863. test -z "$as_dir" && as_dir=.
  21864. for ac_exec_ext in '' $ac_executable_extensions; do
  21865. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  21866. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  21867. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21868. break 2
  21869. fi
  21870. done
  21871. done
  21872. IFS=$as_save_IFS
  21873. ;;
  21874. esac
  21875. fi
  21876. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  21877. if test -n "$PKG_CONFIG"; then
  21878. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  21879. $as_echo "$PKG_CONFIG" >&6; }
  21880. else
  21881. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21882. $as_echo "no" >&6; }
  21883. fi
  21884. fi
  21885. if test -z "$ac_cv_path_PKG_CONFIG"; then
  21886. ac_pt_PKG_CONFIG=$PKG_CONFIG
  21887. # Extract the first word of "pkg-config", so it can be a program name with args.
  21888. set dummy pkg-config; ac_word=$2
  21889. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  21890. $as_echo_n "checking for $ac_word... " >&6; }
  21891. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  21892. $as_echo_n "(cached) " >&6
  21893. else
  21894. case $ac_pt_PKG_CONFIG in
  21895. [\\/]* | ?:[\\/]*)
  21896. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  21897. ;;
  21898. *)
  21899. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  21900. for as_dir in $PATH
  21901. do
  21902. IFS=$as_save_IFS
  21903. test -z "$as_dir" && as_dir=.
  21904. for ac_exec_ext in '' $ac_executable_extensions; do
  21905. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  21906. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  21907. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  21908. break 2
  21909. fi
  21910. done
  21911. done
  21912. IFS=$as_save_IFS
  21913. ;;
  21914. esac
  21915. fi
  21916. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  21917. if test -n "$ac_pt_PKG_CONFIG"; then
  21918. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  21919. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  21920. else
  21921. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21922. $as_echo "no" >&6; }
  21923. fi
  21924. if test "x$ac_pt_PKG_CONFIG" = x; then
  21925. PKG_CONFIG=""
  21926. else
  21927. case $cross_compiling:$ac_tool_warned in
  21928. yes:)
  21929. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  21930. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  21931. ac_tool_warned=yes ;;
  21932. esac
  21933. PKG_CONFIG=$ac_pt_PKG_CONFIG
  21934. fi
  21935. else
  21936. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  21937. fi
  21938. fi
  21939. if test -n "$PKG_CONFIG"; then
  21940. _pkg_min_version=0.9.0
  21941. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  21942. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  21943. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  21944. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  21945. $as_echo "yes" >&6; }
  21946. else
  21947. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  21948. $as_echo "no" >&6; }
  21949. PKG_CONFIG=""
  21950. fi
  21951. fi 6> /dev/null
  21952. pkg_failed=no
  21953. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xinerama" >&5
  21954. $as_echo_n "checking for Xinerama... " >&6; }
  21955. if test -n "$PKG_CONFIG"; then
  21956. if test -n "$Xinerama_CFLAGS"; then
  21957. pkg_cv_Xinerama_CFLAGS="$Xinerama_CFLAGS"
  21958. else
  21959. if test -n "$PKG_CONFIG" && \
  21960. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
  21961. ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
  21962. ac_status=$?
  21963. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  21964. test $ac_status = 0; }; then
  21965. pkg_cv_Xinerama_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
  21966. else
  21967. pkg_failed=yes
  21968. fi
  21969. fi
  21970. else
  21971. pkg_failed=untried
  21972. fi
  21973. if test -n "$PKG_CONFIG"; then
  21974. if test -n "$Xinerama_LIBS"; then
  21975. pkg_cv_Xinerama_LIBS="$Xinerama_LIBS"
  21976. else
  21977. if test -n "$PKG_CONFIG" && \
  21978. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
  21979. ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
  21980. ac_status=$?
  21981. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  21982. test $ac_status = 0; }; then
  21983. pkg_cv_Xinerama_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
  21984. else
  21985. pkg_failed=yes
  21986. fi
  21987. fi
  21988. else
  21989. pkg_failed=untried
  21990. fi
  21991. if test $pkg_failed = yes; then
  21992. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  21993. _pkg_short_errors_supported=yes
  21994. else
  21995. _pkg_short_errors_supported=no
  21996. fi
  21997. if test $_pkg_short_errors_supported = yes; then
  21998. Xinerama_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
  21999. else
  22000. Xinerama_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
  22001. fi
  22002. # Put the nasty error message in config.log where it belongs
  22003. echo "$Xinerama_PKG_ERRORS" >&5
  22004. if test "x$ac_find_libraries" = "x"; then
  22005. if test "xXineramaQueryScreens" != "x"; then
  22006. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
  22007. $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
  22008. if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
  22009. $as_echo_n "(cached) " >&6
  22010. else
  22011. ac_check_lib_save_LIBS=$LIBS
  22012. LIBS="-lXinerama $LIBS"
  22013. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22014. /* end confdefs.h. */
  22015. /* Override any GCC internal prototype to avoid an error.
  22016. Use char because int might match the return type of a GCC
  22017. builtin and then its argument prototype would still apply. */
  22018. #ifdef __cplusplus
  22019. extern "C"
  22020. #endif
  22021. char XineramaQueryScreens ();
  22022. int
  22023. main ()
  22024. {
  22025. return XineramaQueryScreens ();
  22026. ;
  22027. return 0;
  22028. }
  22029. _ACEOF
  22030. if ac_fn_c_try_link "$LINENO"; then :
  22031. ac_cv_lib_Xinerama_XineramaQueryScreens=yes
  22032. else
  22033. ac_cv_lib_Xinerama_XineramaQueryScreens=no
  22034. fi
  22035. rm -f core conftest.err conftest.$ac_objext \
  22036. conftest$ac_exeext conftest.$ac_ext
  22037. LIBS=$ac_check_lib_save_LIBS
  22038. fi
  22039. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
  22040. $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
  22041. if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
  22042. ac_find_libraries="std"
  22043. fi
  22044. fi
  22045. fi
  22046. if test "x$ac_find_libraries" = "x"; then
  22047. { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
  22048. $as_echo_n "checking elsewhere... " >&6; }
  22049. ac_find_libraries=
  22050. for ac_dir in $SEARCH_LIB
  22051. do
  22052. for ac_extension in a so sl dylib dll.a; do
  22053. if test -f "$ac_dir/libXinerama.$ac_extension"; then
  22054. ac_find_libraries=$ac_dir
  22055. break 2
  22056. fi
  22057. done
  22058. done
  22059. if test "x$ac_find_libraries" != "x"; then
  22060. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22061. $as_echo "yes" >&6; }
  22062. else
  22063. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22064. $as_echo "no" >&6; }
  22065. fi
  22066. fi
  22067. elif test $pkg_failed = untried; then
  22068. if test "x$ac_find_libraries" = "x"; then
  22069. if test "xXineramaQueryScreens" != "x"; then
  22070. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XineramaQueryScreens in -lXinerama" >&5
  22071. $as_echo_n "checking for XineramaQueryScreens in -lXinerama... " >&6; }
  22072. if ${ac_cv_lib_Xinerama_XineramaQueryScreens+:} false; then :
  22073. $as_echo_n "(cached) " >&6
  22074. else
  22075. ac_check_lib_save_LIBS=$LIBS
  22076. LIBS="-lXinerama $LIBS"
  22077. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22078. /* end confdefs.h. */
  22079. /* Override any GCC internal prototype to avoid an error.
  22080. Use char because int might match the return type of a GCC
  22081. builtin and then its argument prototype would still apply. */
  22082. #ifdef __cplusplus
  22083. extern "C"
  22084. #endif
  22085. char XineramaQueryScreens ();
  22086. int
  22087. main ()
  22088. {
  22089. return XineramaQueryScreens ();
  22090. ;
  22091. return 0;
  22092. }
  22093. _ACEOF
  22094. if ac_fn_c_try_link "$LINENO"; then :
  22095. ac_cv_lib_Xinerama_XineramaQueryScreens=yes
  22096. else
  22097. ac_cv_lib_Xinerama_XineramaQueryScreens=no
  22098. fi
  22099. rm -f core conftest.err conftest.$ac_objext \
  22100. conftest$ac_exeext conftest.$ac_ext
  22101. LIBS=$ac_check_lib_save_LIBS
  22102. fi
  22103. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xinerama_XineramaQueryScreens" >&5
  22104. $as_echo "$ac_cv_lib_Xinerama_XineramaQueryScreens" >&6; }
  22105. if test "x$ac_cv_lib_Xinerama_XineramaQueryScreens" = xyes; then :
  22106. ac_find_libraries="std"
  22107. fi
  22108. fi
  22109. fi
  22110. if test "x$ac_find_libraries" = "x"; then
  22111. { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
  22112. $as_echo_n "checking elsewhere... " >&6; }
  22113. ac_find_libraries=
  22114. for ac_dir in $SEARCH_LIB
  22115. do
  22116. for ac_extension in a so sl dylib dll.a; do
  22117. if test -f "$ac_dir/libXinerama.$ac_extension"; then
  22118. ac_find_libraries=$ac_dir
  22119. break 2
  22120. fi
  22121. done
  22122. done
  22123. if test "x$ac_find_libraries" != "x"; then
  22124. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22125. $as_echo "yes" >&6; }
  22126. else
  22127. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22128. $as_echo "no" >&6; }
  22129. fi
  22130. fi
  22131. else
  22132. Xinerama_CFLAGS=$pkg_cv_Xinerama_CFLAGS
  22133. Xinerama_LIBS=$pkg_cv_Xinerama_LIBS
  22134. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22135. $as_echo "yes" >&6; }
  22136. ac_find_libraries="std"
  22137. eval ac_find_cflags=\$Xinerama_CFLAGS
  22138. eval fl_libs=\$Xinerama_LIBS
  22139. for fl_path in $fl_libs
  22140. do
  22141. if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
  22142. ac_find_libraries=`echo "$fl_path" | cut -c 3-`
  22143. fi
  22144. done
  22145. fi
  22146. if test "$ac_find_libraries" != "" ; then
  22147. if test "$ac_find_libraries" != "std" ; then
  22148. if test "$ac_find_libraries" = "default location"; then
  22149. ac_path_to_link=""
  22150. else
  22151. echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
  22152. result=$?
  22153. if test $result = 0; then
  22154. ac_path_to_link=""
  22155. else
  22156. ac_path_to_link=" -L$ac_find_libraries"
  22157. fi
  22158. fi
  22159. if test "$ac_path_to_link" != " -L/usr/lib" ; then
  22160. LDFLAGS="$LDFLAGS $ac_path_to_link"
  22161. fi
  22162. fi
  22163. USE_XINERAMA=1
  22164. GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
  22165. else
  22166. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Xinerama not found; disabling wxDisplay" >&5
  22167. $as_echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
  22168. wxUSE_DISPLAY="no"
  22169. fi
  22170. elif test "$wxUSE_MSW" = 1; then
  22171. ac_fn_c_check_header_compile "$LINENO" "ddraw.h" "ac_cv_header_ddraw_h" "#include <windows.h>
  22172. "
  22173. if test "x$ac_cv_header_ddraw_h" = xyes; then :
  22174. fi
  22175. fi
  22176. fi
  22177. if test "$wxUSE_DISPLAY" = "yes"; then
  22178. if test "$USE_XINERAMA" = 1 -o "$wxUSE_GTK" = 1; then
  22179. ac_find_libraries=
  22180. fl_pkgname=`echo "Xxf86vm" | tr [:upper:] [:lower:]`
  22181. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  22182. if test -n "$ac_tool_prefix"; then
  22183. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  22184. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  22185. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22186. $as_echo_n "checking for $ac_word... " >&6; }
  22187. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  22188. $as_echo_n "(cached) " >&6
  22189. else
  22190. case $PKG_CONFIG in
  22191. [\\/]* | ?:[\\/]*)
  22192. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  22193. ;;
  22194. *)
  22195. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22196. for as_dir in $PATH
  22197. do
  22198. IFS=$as_save_IFS
  22199. test -z "$as_dir" && as_dir=.
  22200. for ac_exec_ext in '' $ac_executable_extensions; do
  22201. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  22202. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  22203. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22204. break 2
  22205. fi
  22206. done
  22207. done
  22208. IFS=$as_save_IFS
  22209. ;;
  22210. esac
  22211. fi
  22212. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  22213. if test -n "$PKG_CONFIG"; then
  22214. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  22215. $as_echo "$PKG_CONFIG" >&6; }
  22216. else
  22217. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22218. $as_echo "no" >&6; }
  22219. fi
  22220. fi
  22221. if test -z "$ac_cv_path_PKG_CONFIG"; then
  22222. ac_pt_PKG_CONFIG=$PKG_CONFIG
  22223. # Extract the first word of "pkg-config", so it can be a program name with args.
  22224. set dummy pkg-config; ac_word=$2
  22225. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22226. $as_echo_n "checking for $ac_word... " >&6; }
  22227. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  22228. $as_echo_n "(cached) " >&6
  22229. else
  22230. case $ac_pt_PKG_CONFIG in
  22231. [\\/]* | ?:[\\/]*)
  22232. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  22233. ;;
  22234. *)
  22235. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22236. for as_dir in $PATH
  22237. do
  22238. IFS=$as_save_IFS
  22239. test -z "$as_dir" && as_dir=.
  22240. for ac_exec_ext in '' $ac_executable_extensions; do
  22241. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  22242. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  22243. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22244. break 2
  22245. fi
  22246. done
  22247. done
  22248. IFS=$as_save_IFS
  22249. ;;
  22250. esac
  22251. fi
  22252. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  22253. if test -n "$ac_pt_PKG_CONFIG"; then
  22254. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  22255. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  22256. else
  22257. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22258. $as_echo "no" >&6; }
  22259. fi
  22260. if test "x$ac_pt_PKG_CONFIG" = x; then
  22261. PKG_CONFIG=""
  22262. else
  22263. case $cross_compiling:$ac_tool_warned in
  22264. yes:)
  22265. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  22266. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  22267. ac_tool_warned=yes ;;
  22268. esac
  22269. PKG_CONFIG=$ac_pt_PKG_CONFIG
  22270. fi
  22271. else
  22272. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  22273. fi
  22274. fi
  22275. if test -n "$PKG_CONFIG"; then
  22276. _pkg_min_version=0.9.0
  22277. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  22278. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  22279. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  22280. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22281. $as_echo "yes" >&6; }
  22282. else
  22283. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22284. $as_echo "no" >&6; }
  22285. PKG_CONFIG=""
  22286. fi
  22287. fi 6> /dev/null
  22288. pkg_failed=no
  22289. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Xxf86vm" >&5
  22290. $as_echo_n "checking for Xxf86vm... " >&6; }
  22291. if test -n "$PKG_CONFIG"; then
  22292. if test -n "$Xxf86vm_CFLAGS"; then
  22293. pkg_cv_Xxf86vm_CFLAGS="$Xxf86vm_CFLAGS"
  22294. else
  22295. if test -n "$PKG_CONFIG" && \
  22296. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
  22297. ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
  22298. ac_status=$?
  22299. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  22300. test $ac_status = 0; }; then
  22301. pkg_cv_Xxf86vm_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
  22302. else
  22303. pkg_failed=yes
  22304. fi
  22305. fi
  22306. else
  22307. pkg_failed=untried
  22308. fi
  22309. if test -n "$PKG_CONFIG"; then
  22310. if test -n "$Xxf86vm_LIBS"; then
  22311. pkg_cv_Xxf86vm_LIBS="$Xxf86vm_LIBS"
  22312. else
  22313. if test -n "$PKG_CONFIG" && \
  22314. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
  22315. ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
  22316. ac_status=$?
  22317. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  22318. test $ac_status = 0; }; then
  22319. pkg_cv_Xxf86vm_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
  22320. else
  22321. pkg_failed=yes
  22322. fi
  22323. fi
  22324. else
  22325. pkg_failed=untried
  22326. fi
  22327. if test $pkg_failed = yes; then
  22328. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  22329. _pkg_short_errors_supported=yes
  22330. else
  22331. _pkg_short_errors_supported=no
  22332. fi
  22333. if test $_pkg_short_errors_supported = yes; then
  22334. Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
  22335. else
  22336. Xxf86vm_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
  22337. fi
  22338. # Put the nasty error message in config.log where it belongs
  22339. echo "$Xxf86vm_PKG_ERRORS" >&5
  22340. if test "x$ac_find_libraries" = "x"; then
  22341. if test "xXF86VidModeQueryExtension" != "x"; then
  22342. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
  22343. $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
  22344. if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
  22345. $as_echo_n "(cached) " >&6
  22346. else
  22347. ac_check_lib_save_LIBS=$LIBS
  22348. LIBS="-lXxf86vm $LIBS"
  22349. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22350. /* end confdefs.h. */
  22351. /* Override any GCC internal prototype to avoid an error.
  22352. Use char because int might match the return type of a GCC
  22353. builtin and then its argument prototype would still apply. */
  22354. #ifdef __cplusplus
  22355. extern "C"
  22356. #endif
  22357. char XF86VidModeQueryExtension ();
  22358. int
  22359. main ()
  22360. {
  22361. return XF86VidModeQueryExtension ();
  22362. ;
  22363. return 0;
  22364. }
  22365. _ACEOF
  22366. if ac_fn_c_try_link "$LINENO"; then :
  22367. ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
  22368. else
  22369. ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
  22370. fi
  22371. rm -f core conftest.err conftest.$ac_objext \
  22372. conftest$ac_exeext conftest.$ac_ext
  22373. LIBS=$ac_check_lib_save_LIBS
  22374. fi
  22375. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
  22376. $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
  22377. if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
  22378. ac_find_libraries="std"
  22379. fi
  22380. fi
  22381. fi
  22382. if test "x$ac_find_libraries" = "x"; then
  22383. { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
  22384. $as_echo_n "checking elsewhere... " >&6; }
  22385. ac_find_libraries=
  22386. for ac_dir in $SEARCH_LIB
  22387. do
  22388. for ac_extension in a so sl dylib dll.a; do
  22389. if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
  22390. ac_find_libraries=$ac_dir
  22391. break 2
  22392. fi
  22393. done
  22394. done
  22395. if test "x$ac_find_libraries" != "x"; then
  22396. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22397. $as_echo "yes" >&6; }
  22398. else
  22399. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22400. $as_echo "no" >&6; }
  22401. fi
  22402. fi
  22403. elif test $pkg_failed = untried; then
  22404. if test "x$ac_find_libraries" = "x"; then
  22405. if test "xXF86VidModeQueryExtension" != "x"; then
  22406. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XF86VidModeQueryExtension in -lXxf86vm" >&5
  22407. $as_echo_n "checking for XF86VidModeQueryExtension in -lXxf86vm... " >&6; }
  22408. if ${ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension+:} false; then :
  22409. $as_echo_n "(cached) " >&6
  22410. else
  22411. ac_check_lib_save_LIBS=$LIBS
  22412. LIBS="-lXxf86vm $LIBS"
  22413. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22414. /* end confdefs.h. */
  22415. /* Override any GCC internal prototype to avoid an error.
  22416. Use char because int might match the return type of a GCC
  22417. builtin and then its argument prototype would still apply. */
  22418. #ifdef __cplusplus
  22419. extern "C"
  22420. #endif
  22421. char XF86VidModeQueryExtension ();
  22422. int
  22423. main ()
  22424. {
  22425. return XF86VidModeQueryExtension ();
  22426. ;
  22427. return 0;
  22428. }
  22429. _ACEOF
  22430. if ac_fn_c_try_link "$LINENO"; then :
  22431. ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=yes
  22432. else
  22433. ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension=no
  22434. fi
  22435. rm -f core conftest.err conftest.$ac_objext \
  22436. conftest$ac_exeext conftest.$ac_ext
  22437. LIBS=$ac_check_lib_save_LIBS
  22438. fi
  22439. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&5
  22440. $as_echo "$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" >&6; }
  22441. if test "x$ac_cv_lib_Xxf86vm_XF86VidModeQueryExtension" = xyes; then :
  22442. ac_find_libraries="std"
  22443. fi
  22444. fi
  22445. fi
  22446. if test "x$ac_find_libraries" = "x"; then
  22447. { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
  22448. $as_echo_n "checking elsewhere... " >&6; }
  22449. ac_find_libraries=
  22450. for ac_dir in $SEARCH_LIB
  22451. do
  22452. for ac_extension in a so sl dylib dll.a; do
  22453. if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
  22454. ac_find_libraries=$ac_dir
  22455. break 2
  22456. fi
  22457. done
  22458. done
  22459. if test "x$ac_find_libraries" != "x"; then
  22460. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22461. $as_echo "yes" >&6; }
  22462. else
  22463. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22464. $as_echo "no" >&6; }
  22465. fi
  22466. fi
  22467. else
  22468. Xxf86vm_CFLAGS=$pkg_cv_Xxf86vm_CFLAGS
  22469. Xxf86vm_LIBS=$pkg_cv_Xxf86vm_LIBS
  22470. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22471. $as_echo "yes" >&6; }
  22472. ac_find_libraries="std"
  22473. eval ac_find_cflags=\$Xxf86vm_CFLAGS
  22474. eval fl_libs=\$Xxf86vm_LIBS
  22475. for fl_path in $fl_libs
  22476. do
  22477. if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
  22478. ac_find_libraries=`echo "$fl_path" | cut -c 3-`
  22479. fi
  22480. done
  22481. fi
  22482. if test "$ac_find_libraries" != "" ; then
  22483. for ac_header in X11/extensions/xf86vmode.h
  22484. do :
  22485. ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "
  22486. #if HAVE_X11_XLIB_H
  22487. #include <X11/Xlib.h>
  22488. #endif
  22489. "
  22490. if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes; then :
  22491. cat >>confdefs.h <<_ACEOF
  22492. #define HAVE_X11_EXTENSIONS_XF86VMODE_H 1
  22493. _ACEOF
  22494. GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
  22495. fi
  22496. done
  22497. fi
  22498. fi
  22499. fi
  22500. if test "$wxUSE_DETECT_SM" = "yes"; then
  22501. if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1; then
  22502. ac_find_libraries=
  22503. fl_pkgname=`echo "SM" | tr [:upper:] [:lower:]`
  22504. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  22505. if test -n "$ac_tool_prefix"; then
  22506. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  22507. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  22508. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22509. $as_echo_n "checking for $ac_word... " >&6; }
  22510. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  22511. $as_echo_n "(cached) " >&6
  22512. else
  22513. case $PKG_CONFIG in
  22514. [\\/]* | ?:[\\/]*)
  22515. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  22516. ;;
  22517. *)
  22518. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22519. for as_dir in $PATH
  22520. do
  22521. IFS=$as_save_IFS
  22522. test -z "$as_dir" && as_dir=.
  22523. for ac_exec_ext in '' $ac_executable_extensions; do
  22524. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  22525. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  22526. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22527. break 2
  22528. fi
  22529. done
  22530. done
  22531. IFS=$as_save_IFS
  22532. ;;
  22533. esac
  22534. fi
  22535. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  22536. if test -n "$PKG_CONFIG"; then
  22537. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  22538. $as_echo "$PKG_CONFIG" >&6; }
  22539. else
  22540. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22541. $as_echo "no" >&6; }
  22542. fi
  22543. fi
  22544. if test -z "$ac_cv_path_PKG_CONFIG"; then
  22545. ac_pt_PKG_CONFIG=$PKG_CONFIG
  22546. # Extract the first word of "pkg-config", so it can be a program name with args.
  22547. set dummy pkg-config; ac_word=$2
  22548. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22549. $as_echo_n "checking for $ac_word... " >&6; }
  22550. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  22551. $as_echo_n "(cached) " >&6
  22552. else
  22553. case $ac_pt_PKG_CONFIG in
  22554. [\\/]* | ?:[\\/]*)
  22555. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  22556. ;;
  22557. *)
  22558. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22559. for as_dir in $PATH
  22560. do
  22561. IFS=$as_save_IFS
  22562. test -z "$as_dir" && as_dir=.
  22563. for ac_exec_ext in '' $ac_executable_extensions; do
  22564. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  22565. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  22566. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22567. break 2
  22568. fi
  22569. done
  22570. done
  22571. IFS=$as_save_IFS
  22572. ;;
  22573. esac
  22574. fi
  22575. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  22576. if test -n "$ac_pt_PKG_CONFIG"; then
  22577. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  22578. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  22579. else
  22580. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22581. $as_echo "no" >&6; }
  22582. fi
  22583. if test "x$ac_pt_PKG_CONFIG" = x; then
  22584. PKG_CONFIG=""
  22585. else
  22586. case $cross_compiling:$ac_tool_warned in
  22587. yes:)
  22588. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  22589. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  22590. ac_tool_warned=yes ;;
  22591. esac
  22592. PKG_CONFIG=$ac_pt_PKG_CONFIG
  22593. fi
  22594. else
  22595. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  22596. fi
  22597. fi
  22598. if test -n "$PKG_CONFIG"; then
  22599. _pkg_min_version=0.9.0
  22600. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  22601. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  22602. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  22603. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22604. $as_echo "yes" >&6; }
  22605. else
  22606. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22607. $as_echo "no" >&6; }
  22608. PKG_CONFIG=""
  22609. fi
  22610. fi 6> /dev/null
  22611. pkg_failed=no
  22612. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SM" >&5
  22613. $as_echo_n "checking for SM... " >&6; }
  22614. if test -n "$PKG_CONFIG"; then
  22615. if test -n "$SM_CFLAGS"; then
  22616. pkg_cv_SM_CFLAGS="$SM_CFLAGS"
  22617. else
  22618. if test -n "$PKG_CONFIG" && \
  22619. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
  22620. ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
  22621. ac_status=$?
  22622. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  22623. test $ac_status = 0; }; then
  22624. pkg_cv_SM_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
  22625. else
  22626. pkg_failed=yes
  22627. fi
  22628. fi
  22629. else
  22630. pkg_failed=untried
  22631. fi
  22632. if test -n "$PKG_CONFIG"; then
  22633. if test -n "$SM_LIBS"; then
  22634. pkg_cv_SM_LIBS="$SM_LIBS"
  22635. else
  22636. if test -n "$PKG_CONFIG" && \
  22637. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
  22638. ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
  22639. ac_status=$?
  22640. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  22641. test $ac_status = 0; }; then
  22642. pkg_cv_SM_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
  22643. else
  22644. pkg_failed=yes
  22645. fi
  22646. fi
  22647. else
  22648. pkg_failed=untried
  22649. fi
  22650. if test $pkg_failed = yes; then
  22651. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  22652. _pkg_short_errors_supported=yes
  22653. else
  22654. _pkg_short_errors_supported=no
  22655. fi
  22656. if test $_pkg_short_errors_supported = yes; then
  22657. SM_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
  22658. else
  22659. SM_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
  22660. fi
  22661. # Put the nasty error message in config.log where it belongs
  22662. echo "$SM_PKG_ERRORS" >&5
  22663. if test "x$ac_find_libraries" = "x"; then
  22664. if test "xSmcOpenConnection" != "x"; then
  22665. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
  22666. $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
  22667. if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
  22668. $as_echo_n "(cached) " >&6
  22669. else
  22670. ac_check_lib_save_LIBS=$LIBS
  22671. LIBS="-lSM $LIBS"
  22672. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22673. /* end confdefs.h. */
  22674. /* Override any GCC internal prototype to avoid an error.
  22675. Use char because int might match the return type of a GCC
  22676. builtin and then its argument prototype would still apply. */
  22677. #ifdef __cplusplus
  22678. extern "C"
  22679. #endif
  22680. char SmcOpenConnection ();
  22681. int
  22682. main ()
  22683. {
  22684. return SmcOpenConnection ();
  22685. ;
  22686. return 0;
  22687. }
  22688. _ACEOF
  22689. if ac_fn_c_try_link "$LINENO"; then :
  22690. ac_cv_lib_SM_SmcOpenConnection=yes
  22691. else
  22692. ac_cv_lib_SM_SmcOpenConnection=no
  22693. fi
  22694. rm -f core conftest.err conftest.$ac_objext \
  22695. conftest$ac_exeext conftest.$ac_ext
  22696. LIBS=$ac_check_lib_save_LIBS
  22697. fi
  22698. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
  22699. $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
  22700. if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
  22701. ac_find_libraries="std"
  22702. fi
  22703. fi
  22704. fi
  22705. if test "x$ac_find_libraries" = "x"; then
  22706. { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
  22707. $as_echo_n "checking elsewhere... " >&6; }
  22708. ac_find_libraries=
  22709. for ac_dir in $SEARCH_LIB
  22710. do
  22711. for ac_extension in a so sl dylib dll.a; do
  22712. if test -f "$ac_dir/libSM.$ac_extension"; then
  22713. ac_find_libraries=$ac_dir
  22714. break 2
  22715. fi
  22716. done
  22717. done
  22718. if test "x$ac_find_libraries" != "x"; then
  22719. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22720. $as_echo "yes" >&6; }
  22721. else
  22722. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22723. $as_echo "no" >&6; }
  22724. fi
  22725. fi
  22726. elif test $pkg_failed = untried; then
  22727. if test "x$ac_find_libraries" = "x"; then
  22728. if test "xSmcOpenConnection" != "x"; then
  22729. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SmcOpenConnection in -lSM" >&5
  22730. $as_echo_n "checking for SmcOpenConnection in -lSM... " >&6; }
  22731. if ${ac_cv_lib_SM_SmcOpenConnection+:} false; then :
  22732. $as_echo_n "(cached) " >&6
  22733. else
  22734. ac_check_lib_save_LIBS=$LIBS
  22735. LIBS="-lSM $LIBS"
  22736. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  22737. /* end confdefs.h. */
  22738. /* Override any GCC internal prototype to avoid an error.
  22739. Use char because int might match the return type of a GCC
  22740. builtin and then its argument prototype would still apply. */
  22741. #ifdef __cplusplus
  22742. extern "C"
  22743. #endif
  22744. char SmcOpenConnection ();
  22745. int
  22746. main ()
  22747. {
  22748. return SmcOpenConnection ();
  22749. ;
  22750. return 0;
  22751. }
  22752. _ACEOF
  22753. if ac_fn_c_try_link "$LINENO"; then :
  22754. ac_cv_lib_SM_SmcOpenConnection=yes
  22755. else
  22756. ac_cv_lib_SM_SmcOpenConnection=no
  22757. fi
  22758. rm -f core conftest.err conftest.$ac_objext \
  22759. conftest$ac_exeext conftest.$ac_ext
  22760. LIBS=$ac_check_lib_save_LIBS
  22761. fi
  22762. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_SM_SmcOpenConnection" >&5
  22763. $as_echo "$ac_cv_lib_SM_SmcOpenConnection" >&6; }
  22764. if test "x$ac_cv_lib_SM_SmcOpenConnection" = xyes; then :
  22765. ac_find_libraries="std"
  22766. fi
  22767. fi
  22768. fi
  22769. if test "x$ac_find_libraries" = "x"; then
  22770. { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
  22771. $as_echo_n "checking elsewhere... " >&6; }
  22772. ac_find_libraries=
  22773. for ac_dir in $SEARCH_LIB
  22774. do
  22775. for ac_extension in a so sl dylib dll.a; do
  22776. if test -f "$ac_dir/libSM.$ac_extension"; then
  22777. ac_find_libraries=$ac_dir
  22778. break 2
  22779. fi
  22780. done
  22781. done
  22782. if test "x$ac_find_libraries" != "x"; then
  22783. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22784. $as_echo "yes" >&6; }
  22785. else
  22786. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22787. $as_echo "no" >&6; }
  22788. fi
  22789. fi
  22790. else
  22791. SM_CFLAGS=$pkg_cv_SM_CFLAGS
  22792. SM_LIBS=$pkg_cv_SM_LIBS
  22793. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22794. $as_echo "yes" >&6; }
  22795. ac_find_libraries="std"
  22796. eval ac_find_cflags=\$SM_CFLAGS
  22797. eval fl_libs=\$SM_LIBS
  22798. for fl_path in $fl_libs
  22799. do
  22800. if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
  22801. ac_find_libraries=`echo "$fl_path" | cut -c 3-`
  22802. fi
  22803. done
  22804. fi
  22805. if test "$ac_find_libraries" != "" ; then
  22806. if test "$ac_find_libraries" != "std" ; then
  22807. if test "$ac_find_libraries" = "default location"; then
  22808. ac_path_to_link=""
  22809. else
  22810. echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
  22811. result=$?
  22812. if test $result = 0; then
  22813. ac_path_to_link=""
  22814. else
  22815. ac_path_to_link=" -L$ac_find_libraries"
  22816. fi
  22817. fi
  22818. if test "$ac_path_to_link" != " -L/usr/lib" ; then
  22819. LDFLAGS="$LDFLAGS $ac_path_to_link"
  22820. fi
  22821. fi
  22822. GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
  22823. else
  22824. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libSM not found; disabling session management detection" >&5
  22825. $as_echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
  22826. wxUSE_DETECT_SM="no"
  22827. fi
  22828. else
  22829. wxUSE_DETECT_SM="no"
  22830. fi
  22831. fi
  22832. USE_OPENGL=0
  22833. if test "$wxUSE_OPENGL" = "yes" -o "$wxUSE_OPENGL" = "auto"; then
  22834. if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
  22835. OPENGL_LIBS="-framework OpenGL -framework AGL"
  22836. elif test "$wxUSE_MSW" = 1; then
  22837. OPENGL_LIBS="-lopengl32 -lglu32"
  22838. elif test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_GTK" = 1; then
  22839. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for OpenGL headers" >&5
  22840. $as_echo_n "checking for OpenGL headers... " >&6; }
  22841. ac_find_includes=
  22842. for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include
  22843. do
  22844. if test -f "$ac_dir/GL/gl.h"; then
  22845. ac_find_includes=$ac_dir
  22846. break
  22847. fi
  22848. done
  22849. if test "$ac_find_includes" != "" ; then
  22850. { $as_echo "$as_me:${as_lineno-$LINENO}: result: found in $ac_find_includes" >&5
  22851. $as_echo "found in $ac_find_includes" >&6; }
  22852. if test "x$ac_find_includes" = "x/usr/include"; then
  22853. ac_path_to_include=""
  22854. else
  22855. echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
  22856. result=$?
  22857. if test $result = 0; then
  22858. ac_path_to_include=""
  22859. else
  22860. ac_path_to_include=" -I$ac_find_includes"
  22861. fi
  22862. fi
  22863. CPPFLAGS="$ac_path_to_include $CPPFLAGS"
  22864. else
  22865. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  22866. $as_echo "not found" >&6; }
  22867. fi
  22868. ac_fn_c_check_header_compile "$LINENO" "GL/gl.h" "ac_cv_header_GL_gl_h" "
  22869. "
  22870. if test "x$ac_cv_header_GL_gl_h" = xyes; then :
  22871. ac_fn_c_check_header_compile "$LINENO" "GL/glu.h" "ac_cv_header_GL_glu_h" "
  22872. "
  22873. if test "x$ac_cv_header_GL_glu_h" = xyes; then :
  22874. found_gl=0
  22875. ac_find_libraries=
  22876. fl_pkgname=`echo "GL" | tr [:upper:] [:lower:]`
  22877. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  22878. if test -n "$ac_tool_prefix"; then
  22879. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  22880. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  22881. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22882. $as_echo_n "checking for $ac_word... " >&6; }
  22883. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  22884. $as_echo_n "(cached) " >&6
  22885. else
  22886. case $PKG_CONFIG in
  22887. [\\/]* | ?:[\\/]*)
  22888. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  22889. ;;
  22890. *)
  22891. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22892. for as_dir in $PATH
  22893. do
  22894. IFS=$as_save_IFS
  22895. test -z "$as_dir" && as_dir=.
  22896. for ac_exec_ext in '' $ac_executable_extensions; do
  22897. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  22898. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  22899. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22900. break 2
  22901. fi
  22902. done
  22903. done
  22904. IFS=$as_save_IFS
  22905. ;;
  22906. esac
  22907. fi
  22908. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  22909. if test -n "$PKG_CONFIG"; then
  22910. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  22911. $as_echo "$PKG_CONFIG" >&6; }
  22912. else
  22913. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22914. $as_echo "no" >&6; }
  22915. fi
  22916. fi
  22917. if test -z "$ac_cv_path_PKG_CONFIG"; then
  22918. ac_pt_PKG_CONFIG=$PKG_CONFIG
  22919. # Extract the first word of "pkg-config", so it can be a program name with args.
  22920. set dummy pkg-config; ac_word=$2
  22921. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  22922. $as_echo_n "checking for $ac_word... " >&6; }
  22923. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  22924. $as_echo_n "(cached) " >&6
  22925. else
  22926. case $ac_pt_PKG_CONFIG in
  22927. [\\/]* | ?:[\\/]*)
  22928. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  22929. ;;
  22930. *)
  22931. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  22932. for as_dir in $PATH
  22933. do
  22934. IFS=$as_save_IFS
  22935. test -z "$as_dir" && as_dir=.
  22936. for ac_exec_ext in '' $ac_executable_extensions; do
  22937. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  22938. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  22939. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  22940. break 2
  22941. fi
  22942. done
  22943. done
  22944. IFS=$as_save_IFS
  22945. ;;
  22946. esac
  22947. fi
  22948. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  22949. if test -n "$ac_pt_PKG_CONFIG"; then
  22950. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  22951. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  22952. else
  22953. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22954. $as_echo "no" >&6; }
  22955. fi
  22956. if test "x$ac_pt_PKG_CONFIG" = x; then
  22957. PKG_CONFIG=""
  22958. else
  22959. case $cross_compiling:$ac_tool_warned in
  22960. yes:)
  22961. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  22962. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  22963. ac_tool_warned=yes ;;
  22964. esac
  22965. PKG_CONFIG=$ac_pt_PKG_CONFIG
  22966. fi
  22967. else
  22968. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  22969. fi
  22970. fi
  22971. if test -n "$PKG_CONFIG"; then
  22972. _pkg_min_version=0.9.0
  22973. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  22974. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  22975. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  22976. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  22977. $as_echo "yes" >&6; }
  22978. else
  22979. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  22980. $as_echo "no" >&6; }
  22981. PKG_CONFIG=""
  22982. fi
  22983. fi 6> /dev/null
  22984. pkg_failed=no
  22985. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GL" >&5
  22986. $as_echo_n "checking for GL... " >&6; }
  22987. if test -n "$PKG_CONFIG"; then
  22988. if test -n "$GL_CFLAGS"; then
  22989. pkg_cv_GL_CFLAGS="$GL_CFLAGS"
  22990. else
  22991. if test -n "$PKG_CONFIG" && \
  22992. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
  22993. ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
  22994. ac_status=$?
  22995. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  22996. test $ac_status = 0; }; then
  22997. pkg_cv_GL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
  22998. else
  22999. pkg_failed=yes
  23000. fi
  23001. fi
  23002. else
  23003. pkg_failed=untried
  23004. fi
  23005. if test -n "$PKG_CONFIG"; then
  23006. if test -n "$GL_LIBS"; then
  23007. pkg_cv_GL_LIBS="$GL_LIBS"
  23008. else
  23009. if test -n "$PKG_CONFIG" && \
  23010. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
  23011. ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
  23012. ac_status=$?
  23013. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23014. test $ac_status = 0; }; then
  23015. pkg_cv_GL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
  23016. else
  23017. pkg_failed=yes
  23018. fi
  23019. fi
  23020. else
  23021. pkg_failed=untried
  23022. fi
  23023. if test $pkg_failed = yes; then
  23024. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  23025. _pkg_short_errors_supported=yes
  23026. else
  23027. _pkg_short_errors_supported=no
  23028. fi
  23029. if test $_pkg_short_errors_supported = yes; then
  23030. GL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
  23031. else
  23032. GL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
  23033. fi
  23034. # Put the nasty error message in config.log where it belongs
  23035. echo "$GL_PKG_ERRORS" >&5
  23036. if test "x$ac_find_libraries" = "x"; then
  23037. if test "xglBegin" != "x"; then
  23038. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
  23039. $as_echo_n "checking for glBegin in -lGL... " >&6; }
  23040. if ${ac_cv_lib_GL_glBegin+:} false; then :
  23041. $as_echo_n "(cached) " >&6
  23042. else
  23043. ac_check_lib_save_LIBS=$LIBS
  23044. LIBS="-lGL $LIBS"
  23045. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23046. /* end confdefs.h. */
  23047. /* Override any GCC internal prototype to avoid an error.
  23048. Use char because int might match the return type of a GCC
  23049. builtin and then its argument prototype would still apply. */
  23050. #ifdef __cplusplus
  23051. extern "C"
  23052. #endif
  23053. char glBegin ();
  23054. int
  23055. main ()
  23056. {
  23057. return glBegin ();
  23058. ;
  23059. return 0;
  23060. }
  23061. _ACEOF
  23062. if ac_fn_c_try_link "$LINENO"; then :
  23063. ac_cv_lib_GL_glBegin=yes
  23064. else
  23065. ac_cv_lib_GL_glBegin=no
  23066. fi
  23067. rm -f core conftest.err conftest.$ac_objext \
  23068. conftest$ac_exeext conftest.$ac_ext
  23069. LIBS=$ac_check_lib_save_LIBS
  23070. fi
  23071. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
  23072. $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
  23073. if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
  23074. ac_find_libraries="std"
  23075. fi
  23076. fi
  23077. fi
  23078. if test "x$ac_find_libraries" = "x"; then
  23079. { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
  23080. $as_echo_n "checking elsewhere... " >&6; }
  23081. ac_find_libraries=
  23082. for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
  23083. do
  23084. for ac_extension in a so sl dylib dll.a; do
  23085. if test -f "$ac_dir/libGL.$ac_extension"; then
  23086. ac_find_libraries=$ac_dir
  23087. break 2
  23088. fi
  23089. done
  23090. done
  23091. if test "x$ac_find_libraries" != "x"; then
  23092. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  23093. $as_echo "yes" >&6; }
  23094. else
  23095. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23096. $as_echo "no" >&6; }
  23097. fi
  23098. fi
  23099. elif test $pkg_failed = untried; then
  23100. if test "x$ac_find_libraries" = "x"; then
  23101. if test "xglBegin" != "x"; then
  23102. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glBegin in -lGL" >&5
  23103. $as_echo_n "checking for glBegin in -lGL... " >&6; }
  23104. if ${ac_cv_lib_GL_glBegin+:} false; then :
  23105. $as_echo_n "(cached) " >&6
  23106. else
  23107. ac_check_lib_save_LIBS=$LIBS
  23108. LIBS="-lGL $LIBS"
  23109. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23110. /* end confdefs.h. */
  23111. /* Override any GCC internal prototype to avoid an error.
  23112. Use char because int might match the return type of a GCC
  23113. builtin and then its argument prototype would still apply. */
  23114. #ifdef __cplusplus
  23115. extern "C"
  23116. #endif
  23117. char glBegin ();
  23118. int
  23119. main ()
  23120. {
  23121. return glBegin ();
  23122. ;
  23123. return 0;
  23124. }
  23125. _ACEOF
  23126. if ac_fn_c_try_link "$LINENO"; then :
  23127. ac_cv_lib_GL_glBegin=yes
  23128. else
  23129. ac_cv_lib_GL_glBegin=no
  23130. fi
  23131. rm -f core conftest.err conftest.$ac_objext \
  23132. conftest$ac_exeext conftest.$ac_ext
  23133. LIBS=$ac_check_lib_save_LIBS
  23134. fi
  23135. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GL_glBegin" >&5
  23136. $as_echo "$ac_cv_lib_GL_glBegin" >&6; }
  23137. if test "x$ac_cv_lib_GL_glBegin" = xyes; then :
  23138. ac_find_libraries="std"
  23139. fi
  23140. fi
  23141. fi
  23142. if test "x$ac_find_libraries" = "x"; then
  23143. { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
  23144. $as_echo_n "checking elsewhere... " >&6; }
  23145. ac_find_libraries=
  23146. for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
  23147. do
  23148. for ac_extension in a so sl dylib dll.a; do
  23149. if test -f "$ac_dir/libGL.$ac_extension"; then
  23150. ac_find_libraries=$ac_dir
  23151. break 2
  23152. fi
  23153. done
  23154. done
  23155. if test "x$ac_find_libraries" != "x"; then
  23156. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  23157. $as_echo "yes" >&6; }
  23158. else
  23159. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23160. $as_echo "no" >&6; }
  23161. fi
  23162. fi
  23163. else
  23164. GL_CFLAGS=$pkg_cv_GL_CFLAGS
  23165. GL_LIBS=$pkg_cv_GL_LIBS
  23166. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  23167. $as_echo "yes" >&6; }
  23168. ac_find_libraries="std"
  23169. eval ac_find_cflags=\$GL_CFLAGS
  23170. eval fl_libs=\$GL_LIBS
  23171. for fl_path in $fl_libs
  23172. do
  23173. if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
  23174. ac_find_libraries=`echo "$fl_path" | cut -c 3-`
  23175. fi
  23176. done
  23177. fi
  23178. if test "$ac_find_libraries" != "" ; then
  23179. if test "$ac_find_libraries" != "std" ; then
  23180. if test "$ac_find_libraries" = "default location"; then
  23181. ac_path_to_link=""
  23182. else
  23183. echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
  23184. result=$?
  23185. if test $result = 0; then
  23186. ac_path_to_link=""
  23187. else
  23188. ac_path_to_link=" -L$ac_find_libraries"
  23189. fi
  23190. fi
  23191. if test "$ac_path_to_link" != " -L/usr/lib" ; then
  23192. LDFLAGS_GL="$ac_path_to_link"
  23193. fi
  23194. fi
  23195. ac_find_libraries=
  23196. fl_pkgname=`echo "GLU" | tr [:upper:] [:lower:]`
  23197. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  23198. if test -n "$ac_tool_prefix"; then
  23199. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  23200. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  23201. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23202. $as_echo_n "checking for $ac_word... " >&6; }
  23203. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  23204. $as_echo_n "(cached) " >&6
  23205. else
  23206. case $PKG_CONFIG in
  23207. [\\/]* | ?:[\\/]*)
  23208. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  23209. ;;
  23210. *)
  23211. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23212. for as_dir in $PATH
  23213. do
  23214. IFS=$as_save_IFS
  23215. test -z "$as_dir" && as_dir=.
  23216. for ac_exec_ext in '' $ac_executable_extensions; do
  23217. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  23218. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  23219. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23220. break 2
  23221. fi
  23222. done
  23223. done
  23224. IFS=$as_save_IFS
  23225. ;;
  23226. esac
  23227. fi
  23228. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  23229. if test -n "$PKG_CONFIG"; then
  23230. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  23231. $as_echo "$PKG_CONFIG" >&6; }
  23232. else
  23233. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23234. $as_echo "no" >&6; }
  23235. fi
  23236. fi
  23237. if test -z "$ac_cv_path_PKG_CONFIG"; then
  23238. ac_pt_PKG_CONFIG=$PKG_CONFIG
  23239. # Extract the first word of "pkg-config", so it can be a program name with args.
  23240. set dummy pkg-config; ac_word=$2
  23241. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23242. $as_echo_n "checking for $ac_word... " >&6; }
  23243. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  23244. $as_echo_n "(cached) " >&6
  23245. else
  23246. case $ac_pt_PKG_CONFIG in
  23247. [\\/]* | ?:[\\/]*)
  23248. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  23249. ;;
  23250. *)
  23251. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23252. for as_dir in $PATH
  23253. do
  23254. IFS=$as_save_IFS
  23255. test -z "$as_dir" && as_dir=.
  23256. for ac_exec_ext in '' $ac_executable_extensions; do
  23257. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  23258. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  23259. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23260. break 2
  23261. fi
  23262. done
  23263. done
  23264. IFS=$as_save_IFS
  23265. ;;
  23266. esac
  23267. fi
  23268. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  23269. if test -n "$ac_pt_PKG_CONFIG"; then
  23270. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  23271. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  23272. else
  23273. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23274. $as_echo "no" >&6; }
  23275. fi
  23276. if test "x$ac_pt_PKG_CONFIG" = x; then
  23277. PKG_CONFIG=""
  23278. else
  23279. case $cross_compiling:$ac_tool_warned in
  23280. yes:)
  23281. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  23282. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  23283. ac_tool_warned=yes ;;
  23284. esac
  23285. PKG_CONFIG=$ac_pt_PKG_CONFIG
  23286. fi
  23287. else
  23288. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  23289. fi
  23290. fi
  23291. if test -n "$PKG_CONFIG"; then
  23292. _pkg_min_version=0.9.0
  23293. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  23294. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  23295. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  23296. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  23297. $as_echo "yes" >&6; }
  23298. else
  23299. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23300. $as_echo "no" >&6; }
  23301. PKG_CONFIG=""
  23302. fi
  23303. fi 6> /dev/null
  23304. pkg_failed=no
  23305. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GLU" >&5
  23306. $as_echo_n "checking for GLU... " >&6; }
  23307. if test -n "$PKG_CONFIG"; then
  23308. if test -n "$GLU_CFLAGS"; then
  23309. pkg_cv_GLU_CFLAGS="$GLU_CFLAGS"
  23310. else
  23311. if test -n "$PKG_CONFIG" && \
  23312. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
  23313. ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
  23314. ac_status=$?
  23315. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23316. test $ac_status = 0; }; then
  23317. pkg_cv_GLU_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
  23318. else
  23319. pkg_failed=yes
  23320. fi
  23321. fi
  23322. else
  23323. pkg_failed=untried
  23324. fi
  23325. if test -n "$PKG_CONFIG"; then
  23326. if test -n "$GLU_LIBS"; then
  23327. pkg_cv_GLU_LIBS="$GLU_LIBS"
  23328. else
  23329. if test -n "$PKG_CONFIG" && \
  23330. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
  23331. ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
  23332. ac_status=$?
  23333. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23334. test $ac_status = 0; }; then
  23335. pkg_cv_GLU_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
  23336. else
  23337. pkg_failed=yes
  23338. fi
  23339. fi
  23340. else
  23341. pkg_failed=untried
  23342. fi
  23343. if test $pkg_failed = yes; then
  23344. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  23345. _pkg_short_errors_supported=yes
  23346. else
  23347. _pkg_short_errors_supported=no
  23348. fi
  23349. if test $_pkg_short_errors_supported = yes; then
  23350. GLU_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
  23351. else
  23352. GLU_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
  23353. fi
  23354. # Put the nasty error message in config.log where it belongs
  23355. echo "$GLU_PKG_ERRORS" >&5
  23356. if test "x$ac_find_libraries" = "x"; then
  23357. if test "xgluBeginCurve" != "x"; then
  23358. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
  23359. $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
  23360. if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
  23361. $as_echo_n "(cached) " >&6
  23362. else
  23363. ac_check_lib_save_LIBS=$LIBS
  23364. LIBS="-lGLU $LIBS"
  23365. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23366. /* end confdefs.h. */
  23367. /* Override any GCC internal prototype to avoid an error.
  23368. Use char because int might match the return type of a GCC
  23369. builtin and then its argument prototype would still apply. */
  23370. #ifdef __cplusplus
  23371. extern "C"
  23372. #endif
  23373. char gluBeginCurve ();
  23374. int
  23375. main ()
  23376. {
  23377. return gluBeginCurve ();
  23378. ;
  23379. return 0;
  23380. }
  23381. _ACEOF
  23382. if ac_fn_c_try_link "$LINENO"; then :
  23383. ac_cv_lib_GLU_gluBeginCurve=yes
  23384. else
  23385. ac_cv_lib_GLU_gluBeginCurve=no
  23386. fi
  23387. rm -f core conftest.err conftest.$ac_objext \
  23388. conftest$ac_exeext conftest.$ac_ext
  23389. LIBS=$ac_check_lib_save_LIBS
  23390. fi
  23391. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
  23392. $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
  23393. if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
  23394. ac_find_libraries="std"
  23395. fi
  23396. fi
  23397. fi
  23398. if test "x$ac_find_libraries" = "x"; then
  23399. { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
  23400. $as_echo_n "checking elsewhere... " >&6; }
  23401. ac_find_libraries=
  23402. for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
  23403. do
  23404. for ac_extension in a so sl dylib dll.a; do
  23405. if test -f "$ac_dir/libGLU.$ac_extension"; then
  23406. ac_find_libraries=$ac_dir
  23407. break 2
  23408. fi
  23409. done
  23410. done
  23411. if test "x$ac_find_libraries" != "x"; then
  23412. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  23413. $as_echo "yes" >&6; }
  23414. else
  23415. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23416. $as_echo "no" >&6; }
  23417. fi
  23418. fi
  23419. elif test $pkg_failed = untried; then
  23420. if test "x$ac_find_libraries" = "x"; then
  23421. if test "xgluBeginCurve" != "x"; then
  23422. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gluBeginCurve in -lGLU" >&5
  23423. $as_echo_n "checking for gluBeginCurve in -lGLU... " >&6; }
  23424. if ${ac_cv_lib_GLU_gluBeginCurve+:} false; then :
  23425. $as_echo_n "(cached) " >&6
  23426. else
  23427. ac_check_lib_save_LIBS=$LIBS
  23428. LIBS="-lGLU $LIBS"
  23429. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23430. /* end confdefs.h. */
  23431. /* Override any GCC internal prototype to avoid an error.
  23432. Use char because int might match the return type of a GCC
  23433. builtin and then its argument prototype would still apply. */
  23434. #ifdef __cplusplus
  23435. extern "C"
  23436. #endif
  23437. char gluBeginCurve ();
  23438. int
  23439. main ()
  23440. {
  23441. return gluBeginCurve ();
  23442. ;
  23443. return 0;
  23444. }
  23445. _ACEOF
  23446. if ac_fn_c_try_link "$LINENO"; then :
  23447. ac_cv_lib_GLU_gluBeginCurve=yes
  23448. else
  23449. ac_cv_lib_GLU_gluBeginCurve=no
  23450. fi
  23451. rm -f core conftest.err conftest.$ac_objext \
  23452. conftest$ac_exeext conftest.$ac_ext
  23453. LIBS=$ac_check_lib_save_LIBS
  23454. fi
  23455. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_GLU_gluBeginCurve" >&5
  23456. $as_echo "$ac_cv_lib_GLU_gluBeginCurve" >&6; }
  23457. if test "x$ac_cv_lib_GLU_gluBeginCurve" = xyes; then :
  23458. ac_find_libraries="std"
  23459. fi
  23460. fi
  23461. fi
  23462. if test "x$ac_find_libraries" = "x"; then
  23463. { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
  23464. $as_echo_n "checking elsewhere... " >&6; }
  23465. ac_find_libraries=
  23466. for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
  23467. do
  23468. for ac_extension in a so sl dylib dll.a; do
  23469. if test -f "$ac_dir/libGLU.$ac_extension"; then
  23470. ac_find_libraries=$ac_dir
  23471. break 2
  23472. fi
  23473. done
  23474. done
  23475. if test "x$ac_find_libraries" != "x"; then
  23476. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  23477. $as_echo "yes" >&6; }
  23478. else
  23479. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23480. $as_echo "no" >&6; }
  23481. fi
  23482. fi
  23483. else
  23484. GLU_CFLAGS=$pkg_cv_GLU_CFLAGS
  23485. GLU_LIBS=$pkg_cv_GLU_LIBS
  23486. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  23487. $as_echo "yes" >&6; }
  23488. ac_find_libraries="std"
  23489. eval ac_find_cflags=\$GLU_CFLAGS
  23490. eval fl_libs=\$GLU_LIBS
  23491. for fl_path in $fl_libs
  23492. do
  23493. if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
  23494. ac_find_libraries=`echo "$fl_path" | cut -c 3-`
  23495. fi
  23496. done
  23497. fi
  23498. if test "$ac_find_libraries" != "" ; then
  23499. if test "$ac_find_libraries" != "std" ; then
  23500. if test "$ac_find_libraries" = "default location"; then
  23501. ac_path_to_link=""
  23502. else
  23503. echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
  23504. result=$?
  23505. if test $result = 0; then
  23506. ac_path_to_link=""
  23507. else
  23508. ac_path_to_link=" -L$ac_find_libraries"
  23509. fi
  23510. fi
  23511. if test "$ac_path_to_link" != " -L/usr/lib" -a \
  23512. "$ac_path_to_link" != "$LDFLAGS_GL" ; then
  23513. LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
  23514. fi
  23515. fi
  23516. found_gl=1
  23517. OPENGL_LIBS="-lGL -lGLU"
  23518. fi
  23519. fi
  23520. if test "$found_gl" != 1; then
  23521. ac_find_libraries=
  23522. fl_pkgname=`echo "MesaGL" | tr [:upper:] [:lower:]`
  23523. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  23524. if test -n "$ac_tool_prefix"; then
  23525. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  23526. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  23527. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23528. $as_echo_n "checking for $ac_word... " >&6; }
  23529. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  23530. $as_echo_n "(cached) " >&6
  23531. else
  23532. case $PKG_CONFIG in
  23533. [\\/]* | ?:[\\/]*)
  23534. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  23535. ;;
  23536. *)
  23537. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23538. for as_dir in $PATH
  23539. do
  23540. IFS=$as_save_IFS
  23541. test -z "$as_dir" && as_dir=.
  23542. for ac_exec_ext in '' $ac_executable_extensions; do
  23543. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  23544. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  23545. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23546. break 2
  23547. fi
  23548. done
  23549. done
  23550. IFS=$as_save_IFS
  23551. ;;
  23552. esac
  23553. fi
  23554. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  23555. if test -n "$PKG_CONFIG"; then
  23556. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  23557. $as_echo "$PKG_CONFIG" >&6; }
  23558. else
  23559. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23560. $as_echo "no" >&6; }
  23561. fi
  23562. fi
  23563. if test -z "$ac_cv_path_PKG_CONFIG"; then
  23564. ac_pt_PKG_CONFIG=$PKG_CONFIG
  23565. # Extract the first word of "pkg-config", so it can be a program name with args.
  23566. set dummy pkg-config; ac_word=$2
  23567. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  23568. $as_echo_n "checking for $ac_word... " >&6; }
  23569. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  23570. $as_echo_n "(cached) " >&6
  23571. else
  23572. case $ac_pt_PKG_CONFIG in
  23573. [\\/]* | ?:[\\/]*)
  23574. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  23575. ;;
  23576. *)
  23577. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  23578. for as_dir in $PATH
  23579. do
  23580. IFS=$as_save_IFS
  23581. test -z "$as_dir" && as_dir=.
  23582. for ac_exec_ext in '' $ac_executable_extensions; do
  23583. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  23584. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  23585. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  23586. break 2
  23587. fi
  23588. done
  23589. done
  23590. IFS=$as_save_IFS
  23591. ;;
  23592. esac
  23593. fi
  23594. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  23595. if test -n "$ac_pt_PKG_CONFIG"; then
  23596. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  23597. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  23598. else
  23599. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23600. $as_echo "no" >&6; }
  23601. fi
  23602. if test "x$ac_pt_PKG_CONFIG" = x; then
  23603. PKG_CONFIG=""
  23604. else
  23605. case $cross_compiling:$ac_tool_warned in
  23606. yes:)
  23607. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  23608. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  23609. ac_tool_warned=yes ;;
  23610. esac
  23611. PKG_CONFIG=$ac_pt_PKG_CONFIG
  23612. fi
  23613. else
  23614. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  23615. fi
  23616. fi
  23617. if test -n "$PKG_CONFIG"; then
  23618. _pkg_min_version=0.9.0
  23619. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  23620. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  23621. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  23622. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  23623. $as_echo "yes" >&6; }
  23624. else
  23625. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23626. $as_echo "no" >&6; }
  23627. PKG_CONFIG=""
  23628. fi
  23629. fi 6> /dev/null
  23630. pkg_failed=no
  23631. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for MesaGL" >&5
  23632. $as_echo_n "checking for MesaGL... " >&6; }
  23633. if test -n "$PKG_CONFIG"; then
  23634. if test -n "$MesaGL_CFLAGS"; then
  23635. pkg_cv_MesaGL_CFLAGS="$MesaGL_CFLAGS"
  23636. else
  23637. if test -n "$PKG_CONFIG" && \
  23638. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
  23639. ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
  23640. ac_status=$?
  23641. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23642. test $ac_status = 0; }; then
  23643. pkg_cv_MesaGL_CFLAGS=`$PKG_CONFIG --cflags "$fl_pkgname" 2>/dev/null`
  23644. else
  23645. pkg_failed=yes
  23646. fi
  23647. fi
  23648. else
  23649. pkg_failed=untried
  23650. fi
  23651. if test -n "$PKG_CONFIG"; then
  23652. if test -n "$MesaGL_LIBS"; then
  23653. pkg_cv_MesaGL_LIBS="$MesaGL_LIBS"
  23654. else
  23655. if test -n "$PKG_CONFIG" && \
  23656. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$fl_pkgname\""; } >&5
  23657. ($PKG_CONFIG --exists --print-errors "$fl_pkgname") 2>&5
  23658. ac_status=$?
  23659. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23660. test $ac_status = 0; }; then
  23661. pkg_cv_MesaGL_LIBS=`$PKG_CONFIG --libs "$fl_pkgname" 2>/dev/null`
  23662. else
  23663. pkg_failed=yes
  23664. fi
  23665. fi
  23666. else
  23667. pkg_failed=untried
  23668. fi
  23669. if test $pkg_failed = yes; then
  23670. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  23671. _pkg_short_errors_supported=yes
  23672. else
  23673. _pkg_short_errors_supported=no
  23674. fi
  23675. if test $_pkg_short_errors_supported = yes; then
  23676. MesaGL_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$fl_pkgname"`
  23677. else
  23678. MesaGL_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$fl_pkgname"`
  23679. fi
  23680. # Put the nasty error message in config.log where it belongs
  23681. echo "$MesaGL_PKG_ERRORS" >&5
  23682. if test "x$ac_find_libraries" = "x"; then
  23683. if test "xglEnable" != "x"; then
  23684. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
  23685. $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
  23686. if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
  23687. $as_echo_n "(cached) " >&6
  23688. else
  23689. ac_check_lib_save_LIBS=$LIBS
  23690. LIBS="-lMesaGL $LIBS"
  23691. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23692. /* end confdefs.h. */
  23693. /* Override any GCC internal prototype to avoid an error.
  23694. Use char because int might match the return type of a GCC
  23695. builtin and then its argument prototype would still apply. */
  23696. #ifdef __cplusplus
  23697. extern "C"
  23698. #endif
  23699. char glEnable ();
  23700. int
  23701. main ()
  23702. {
  23703. return glEnable ();
  23704. ;
  23705. return 0;
  23706. }
  23707. _ACEOF
  23708. if ac_fn_c_try_link "$LINENO"; then :
  23709. ac_cv_lib_MesaGL_glEnable=yes
  23710. else
  23711. ac_cv_lib_MesaGL_glEnable=no
  23712. fi
  23713. rm -f core conftest.err conftest.$ac_objext \
  23714. conftest$ac_exeext conftest.$ac_ext
  23715. LIBS=$ac_check_lib_save_LIBS
  23716. fi
  23717. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
  23718. $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
  23719. if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
  23720. ac_find_libraries="std"
  23721. fi
  23722. fi
  23723. fi
  23724. if test "x$ac_find_libraries" = "x"; then
  23725. { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
  23726. $as_echo_n "checking elsewhere... " >&6; }
  23727. ac_find_libraries=
  23728. for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
  23729. do
  23730. for ac_extension in a so sl dylib dll.a; do
  23731. if test -f "$ac_dir/libMesaGL.$ac_extension"; then
  23732. ac_find_libraries=$ac_dir
  23733. break 2
  23734. fi
  23735. done
  23736. done
  23737. if test "x$ac_find_libraries" != "x"; then
  23738. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  23739. $as_echo "yes" >&6; }
  23740. else
  23741. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23742. $as_echo "no" >&6; }
  23743. fi
  23744. fi
  23745. elif test $pkg_failed = untried; then
  23746. if test "x$ac_find_libraries" = "x"; then
  23747. if test "xglEnable" != "x"; then
  23748. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for glEnable in -lMesaGL" >&5
  23749. $as_echo_n "checking for glEnable in -lMesaGL... " >&6; }
  23750. if ${ac_cv_lib_MesaGL_glEnable+:} false; then :
  23751. $as_echo_n "(cached) " >&6
  23752. else
  23753. ac_check_lib_save_LIBS=$LIBS
  23754. LIBS="-lMesaGL $LIBS"
  23755. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23756. /* end confdefs.h. */
  23757. /* Override any GCC internal prototype to avoid an error.
  23758. Use char because int might match the return type of a GCC
  23759. builtin and then its argument prototype would still apply. */
  23760. #ifdef __cplusplus
  23761. extern "C"
  23762. #endif
  23763. char glEnable ();
  23764. int
  23765. main ()
  23766. {
  23767. return glEnable ();
  23768. ;
  23769. return 0;
  23770. }
  23771. _ACEOF
  23772. if ac_fn_c_try_link "$LINENO"; then :
  23773. ac_cv_lib_MesaGL_glEnable=yes
  23774. else
  23775. ac_cv_lib_MesaGL_glEnable=no
  23776. fi
  23777. rm -f core conftest.err conftest.$ac_objext \
  23778. conftest$ac_exeext conftest.$ac_ext
  23779. LIBS=$ac_check_lib_save_LIBS
  23780. fi
  23781. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_MesaGL_glEnable" >&5
  23782. $as_echo "$ac_cv_lib_MesaGL_glEnable" >&6; }
  23783. if test "x$ac_cv_lib_MesaGL_glEnable" = xyes; then :
  23784. ac_find_libraries="std"
  23785. fi
  23786. fi
  23787. fi
  23788. if test "x$ac_find_libraries" = "x"; then
  23789. { $as_echo "$as_me:${as_lineno-$LINENO}: checking elsewhere" >&5
  23790. $as_echo_n "checking elsewhere... " >&6; }
  23791. ac_find_libraries=
  23792. for ac_dir in /opt/graphics/OpenGL/lib $SEARCH_LIB
  23793. do
  23794. for ac_extension in a so sl dylib dll.a; do
  23795. if test -f "$ac_dir/libMesaGL.$ac_extension"; then
  23796. ac_find_libraries=$ac_dir
  23797. break 2
  23798. fi
  23799. done
  23800. done
  23801. if test "x$ac_find_libraries" != "x"; then
  23802. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  23803. $as_echo "yes" >&6; }
  23804. else
  23805. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  23806. $as_echo "no" >&6; }
  23807. fi
  23808. fi
  23809. else
  23810. MesaGL_CFLAGS=$pkg_cv_MesaGL_CFLAGS
  23811. MesaGL_LIBS=$pkg_cv_MesaGL_LIBS
  23812. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  23813. $as_echo "yes" >&6; }
  23814. ac_find_libraries="std"
  23815. eval ac_find_cflags=\$MesaGL_CFLAGS
  23816. eval fl_libs=\$MesaGL_LIBS
  23817. for fl_path in $fl_libs
  23818. do
  23819. if test `echo "$fl_path" | cut -c 1-2` = "-L"; then
  23820. ac_find_libraries=`echo "$fl_path" | cut -c 3-`
  23821. fi
  23822. done
  23823. fi
  23824. if test "$ac_find_libraries" != "" ; then
  23825. if test "$ac_find_libraries" != "std" ; then
  23826. if test "$ac_find_libraries" = "default location"; then
  23827. ac_path_to_link=""
  23828. else
  23829. echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
  23830. result=$?
  23831. if test $result = 0; then
  23832. ac_path_to_link=""
  23833. else
  23834. ac_path_to_link=" -L$ac_find_libraries"
  23835. fi
  23836. fi
  23837. if test "$ac_path_to_link" != " -L/usr/lib" ; then
  23838. LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
  23839. fi
  23840. fi
  23841. OPENGL_LIBS="-lMesaGL -lMesaGLU"
  23842. fi
  23843. fi
  23844. fi
  23845. fi
  23846. if test "x$OPENGL_LIBS" = "x"; then
  23847. if test "$wxUSE_OPENGL" = "yes"; then
  23848. as_fn_error $? "OpenGL libraries not available" "$LINENO" 5
  23849. else
  23850. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&5
  23851. $as_echo "$as_me: WARNING: OpenGL libraries not available, disabling support for OpenGL" >&2;}
  23852. wxUSE_OPENGL=no
  23853. USE_OPENGL=0
  23854. fi
  23855. fi
  23856. else
  23857. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
  23858. $as_echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
  23859. wxUSE_OPENGL="no"
  23860. fi
  23861. if test "$wxUSE_OPENGL" = "auto"; then
  23862. wxUSE_OPENGL=yes
  23863. fi
  23864. if test "$wxUSE_OPENGL" = "yes"; then
  23865. USE_OPENGL=1
  23866. $as_echo "#define wxUSE_OPENGL 1" >>confdefs.h
  23867. $as_echo "#define wxUSE_GLCANVAS 1" >>confdefs.h
  23868. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
  23869. fi
  23870. fi
  23871. if test -n "$TOOLKIT" ; then
  23872. TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
  23873. fi
  23874. if test "$wxUSE_SHARED" = "yes"; then
  23875. case "${host}" in
  23876. *-pc-msdosdjgpp )
  23877. wxUSE_SHARED=no
  23878. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Host system doesn't support shared libraries, disabling" >&5
  23879. $as_echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
  23880. ;;
  23881. esac
  23882. fi
  23883. if test "$wxUSE_SHARED" = "yes"; then
  23884. case "${host}" in
  23885. *-*-cygwin* | *-*-mingw* )
  23886. wx_cv_version_script=no
  23887. ;;
  23888. *)
  23889. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts --version-script" >&5
  23890. $as_echo_n "checking if the linker accepts --version-script... " >&6; }
  23891. if ${wx_cv_version_script+:} false; then :
  23892. $as_echo_n "(cached) " >&6
  23893. else
  23894. echo "VER_1 { *; };" >conftest.sym
  23895. echo "int main() { return 0; }" >conftest.cpp
  23896. if { ac_try='
  23897. $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
  23898. -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
  23899. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
  23900. (eval $ac_try) 2>&5
  23901. ac_status=$?
  23902. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23903. test $ac_status = 0; }; } ; then
  23904. if test -s conftest.stderr ; then
  23905. wx_cv_version_script=no
  23906. else
  23907. wx_cv_version_script=yes
  23908. fi
  23909. else
  23910. wx_cv_version_script=no
  23911. fi
  23912. if test $wx_cv_version_script = yes
  23913. then
  23914. echo "struct B { virtual ~B() { } }; \
  23915. struct D : public B { }; \
  23916. void F() { D d; }" > conftest.cpp
  23917. if { ac_try='
  23918. $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
  23919. -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
  23920. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
  23921. (eval $ac_try) 2>&5
  23922. ac_status=$?
  23923. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23924. test $ac_status = 0; }; } &&
  23925. { ac_try='
  23926. $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
  23927. -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
  23928. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
  23929. (eval $ac_try) 2>&5
  23930. ac_status=$?
  23931. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23932. test $ac_status = 0; }; }
  23933. then
  23934. if { ac_try='
  23935. $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
  23936. -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
  23937. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
  23938. (eval $ac_try) 2>&5
  23939. ac_status=$?
  23940. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  23941. test $ac_status = 0; }; }
  23942. then
  23943. wx_cv_version_script=yes
  23944. else
  23945. wx_cv_version_script=no
  23946. fi
  23947. fi
  23948. fi
  23949. rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
  23950. rm -f conftest1.output conftest2.output conftest3.output
  23951. fi
  23952. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_version_script" >&5
  23953. $as_echo "$wx_cv_version_script" >&6; }
  23954. if test $wx_cv_version_script = yes ; then
  23955. LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
  23956. fi
  23957. ;;
  23958. esac
  23959. if test "$wxUSE_VISIBILITY" != "no"; then
  23960. if test -n "$GCC"; then
  23961. CFLAGS_VISIBILITY="-fvisibility=hidden"
  23962. CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
  23963. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for symbols visibility support" >&5
  23964. $as_echo_n "checking for symbols visibility support... " >&6; }
  23965. if ${wx_cv_cc_visibility+:} false; then :
  23966. $as_echo_n "(cached) " >&6
  23967. else
  23968. wx_save_CXXFLAGS="$CXXFLAGS"
  23969. CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
  23970. ac_ext=cpp
  23971. ac_cpp='$CXXCPP $CPPFLAGS'
  23972. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  23973. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  23974. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  23975. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  23976. /* end confdefs.h. */
  23977. /* we need gcc >= 4.0, older versions with visibility support
  23978. didn't have class visibility: */
  23979. #if defined(__GNUC__) && __GNUC__ < 4
  23980. error this gcc is too old;
  23981. #endif
  23982. /* visibility only makes sense for ELF shared libs: */
  23983. #if !defined(__ELF__) && !defined(__APPLE__)
  23984. error this platform has no visibility;
  23985. #endif
  23986. /* at the time of Xcode 4.1 / Clang 3, Clang++ still didn't have the bugs sorted out: */
  23987. #if defined(__clang__)
  23988. clang compiler is still broken w.r.t. visibility;
  23989. #endif
  23990. extern __attribute__((__visibility__("hidden"))) int hiddenvar;
  23991. extern __attribute__((__visibility__("default"))) int exportedvar;
  23992. extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
  23993. extern __attribute__((__visibility__("default"))) int exportedfunc (void);
  23994. class __attribute__((__visibility__("default"))) Foo {
  23995. Foo() {}
  23996. };
  23997. int
  23998. main ()
  23999. {
  24000. ;
  24001. return 0;
  24002. }
  24003. _ACEOF
  24004. if ac_fn_cxx_try_compile "$LINENO"; then :
  24005. wx_cv_cc_visibility=yes
  24006. else
  24007. wx_cv_cc_visibility=no
  24008. fi
  24009. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24010. ac_ext=c
  24011. ac_cpp='$CPP $CPPFLAGS'
  24012. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24013. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24014. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  24015. CXXFLAGS="$wx_save_CXXFLAGS"
  24016. fi
  24017. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility" >&5
  24018. $as_echo "$wx_cv_cc_visibility" >&6; }
  24019. if test $wx_cv_cc_visibility = yes; then
  24020. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken libstdc++ visibility" >&5
  24021. $as_echo_n "checking for broken libstdc++ visibility... " >&6; }
  24022. if ${wx_cv_cc_broken_libstdcxx_visibility+:} false; then :
  24023. $as_echo_n "(cached) " >&6
  24024. else
  24025. wx_save_CXXFLAGS="$CXXFLAGS"
  24026. wx_save_LDFLAGS="$LDFLAGS"
  24027. CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
  24028. LDFLAGS="$LDFLAGS -shared -fPIC"
  24029. ac_ext=cpp
  24030. ac_cpp='$CXXCPP $CPPFLAGS'
  24031. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24032. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24033. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  24034. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24035. /* end confdefs.h. */
  24036. #include <string>
  24037. int
  24038. main ()
  24039. {
  24040. std::string s("hello");
  24041. return s.length();
  24042. ;
  24043. return 0;
  24044. }
  24045. _ACEOF
  24046. if ac_fn_cxx_try_link "$LINENO"; then :
  24047. wx_cv_cc_broken_libstdcxx_visibility=no
  24048. else
  24049. wx_cv_cc_broken_libstdcxx_visibility=yes
  24050. fi
  24051. rm -f core conftest.err conftest.$ac_objext \
  24052. conftest$ac_exeext conftest.$ac_ext
  24053. ac_ext=c
  24054. ac_cpp='$CPP $CPPFLAGS'
  24055. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24056. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24057. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  24058. CXXFLAGS="$wx_save_CXXFLAGS"
  24059. LDFLAGS="$wx_save_LDFLAGS"
  24060. fi
  24061. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
  24062. $as_echo "$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
  24063. if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
  24064. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can work around it" >&5
  24065. $as_echo_n "checking whether we can work around it... " >&6; }
  24066. if ${wx_cv_cc_visibility_workaround+:} false; then :
  24067. $as_echo_n "(cached) " >&6
  24068. else
  24069. ac_ext=cpp
  24070. ac_cpp='$CXXCPP $CPPFLAGS'
  24071. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24072. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24073. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  24074. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24075. /* end confdefs.h. */
  24076. #pragma GCC visibility push(default)
  24077. #include <string>
  24078. #pragma GCC visibility pop
  24079. int
  24080. main ()
  24081. {
  24082. std::string s("hello");
  24083. return s.length();
  24084. ;
  24085. return 0;
  24086. }
  24087. _ACEOF
  24088. if ac_fn_cxx_try_link "$LINENO"; then :
  24089. wx_cv_cc_visibility_workaround=no
  24090. else
  24091. wx_cv_cc_visibility_workaround=yes
  24092. fi
  24093. rm -f core conftest.err conftest.$ac_objext \
  24094. conftest$ac_exeext conftest.$ac_ext
  24095. ac_ext=c
  24096. ac_cpp='$CPP $CPPFLAGS'
  24097. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24098. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24099. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  24100. fi
  24101. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc_visibility_workaround" >&5
  24102. $as_echo "$wx_cv_cc_visibility_workaround" >&6; }
  24103. if test $wx_cv_cc_visibility_workaround = no; then
  24104. wx_cv_cc_visibility=no
  24105. fi
  24106. fi
  24107. fi
  24108. if test $wx_cv_cc_visibility = yes; then
  24109. $as_echo "#define HAVE_VISIBILITY 1" >>confdefs.h
  24110. if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
  24111. $as_echo "#define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1" >>confdefs.h
  24112. fi
  24113. else
  24114. CFLAGS_VISIBILITY=""
  24115. CXXFLAGS_VISIBILITY=""
  24116. fi
  24117. fi
  24118. fi
  24119. if test "x$SUNCXX" = xyes; then
  24120. SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
  24121. WXCONFIG_RPATH="-R\$libdir"
  24122. else
  24123. case "${host}" in
  24124. *-*-linux* | *-*-gnu* )
  24125. SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
  24126. WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
  24127. ;;
  24128. *-*-solaris2* )
  24129. CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
  24130. saveLdflags="$LDFLAGS"
  24131. LDFLAGS="$saveLdflags -Wl,-rpath,/"
  24132. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -rpath" >&5
  24133. $as_echo_n "checking if the linker accepts -rpath... " >&6; }
  24134. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24135. /* end confdefs.h. */
  24136. int
  24137. main ()
  24138. {
  24139. ;
  24140. return 0;
  24141. }
  24142. _ACEOF
  24143. if ac_fn_c_try_link "$LINENO"; then :
  24144. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  24145. $as_echo "yes" >&6; }
  24146. SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
  24147. WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
  24148. else
  24149. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24150. $as_echo "no" >&6; }
  24151. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the linker accepts -R" >&5
  24152. $as_echo_n "checking if the linker accepts -R... " >&6; }
  24153. LDFLAGS="$saveLdflags -Wl,-R,/"
  24154. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24155. /* end confdefs.h. */
  24156. int
  24157. main ()
  24158. {
  24159. ;
  24160. return 0;
  24161. }
  24162. _ACEOF
  24163. if ac_fn_c_try_link "$LINENO"; then :
  24164. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  24165. $as_echo "yes" >&6; }
  24166. SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
  24167. WXCONFIG_RPATH="-Wl,-R,\$libdir"
  24168. else
  24169. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24170. $as_echo "no" >&6; }
  24171. fi
  24172. rm -f core conftest.err conftest.$ac_objext \
  24173. conftest$ac_exeext conftest.$ac_ext
  24174. fi
  24175. rm -f core conftest.err conftest.$ac_objext \
  24176. conftest$ac_exeext conftest.$ac_ext
  24177. LDFLAGS="$saveLdflags"
  24178. ;;
  24179. *-*-darwin* )
  24180. install_name_tool=`which ${HOST_PREFIX}install_name_tool`
  24181. if test "$install_name_tool" -a -x "$install_name_tool"; then
  24182. DYLIB_RPATH_POSTLINK="${HOST_PREFIX}install_name_tool -id \$@ \$@"
  24183. cat <<EOF >change-install-names
  24184. #!/bin/sh
  24185. libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
  24186. changes=''
  24187. for dep in \${libnames} ; do
  24188. changes="\${changes} -change \${4}/\${dep} \${3}/\${dep}"
  24189. done
  24190. for i in \${libnames} ; do
  24191. ${HOST_PREFIX}install_name_tool \${changes} -id \${3}/\${i} \${1}/\${i}
  24192. done
  24193. EOF
  24194. chmod +x change-install-names
  24195. DYLIB_RPATH_INSTALL="\$(wx_top_builddir)/change-install-names \${DESTDIR}\${libdir} \${DESTDIR}\${bindir} \${libdir} \$(wx_top_builddir)/lib"
  24196. fi
  24197. HEADER_PAD_OPTION="-headerpad_max_install_names"
  24198. ;;
  24199. *-*-cygwin* | *-*-mingw32* )
  24200. ;;
  24201. *-*-hpux* )
  24202. SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
  24203. WXCONFIG_RPATH="-Wl,+b,\$libdir"
  24204. ;;
  24205. esac
  24206. fi
  24207. WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
  24208. if test $wxUSE_RPATH = "no"; then
  24209. SAMPLES_RPATH_FLAG=''
  24210. DYLIB_PATH_POSTLINK=''
  24211. WXCONFIG_RPATH=''
  24212. fi
  24213. SHARED=1
  24214. else
  24215. config_linkage_component="-static"
  24216. SHARED=0
  24217. fi
  24218. UNICODE=0
  24219. lib_unicode_suffix=
  24220. WX_CHARTYPE="ansi"
  24221. if test "$wxUSE_UNICODE" = "yes"; then
  24222. lib_unicode_suffix=u
  24223. WX_CHARTYPE="unicode"
  24224. UNICODE=1
  24225. fi
  24226. WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
  24227. WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
  24228. DEBUG_INFO=0
  24229. if test "$wxUSE_DEBUG_INFO" = "yes"; then
  24230. DEBUG_INFO=1
  24231. fi
  24232. WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
  24233. TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
  24234. TOOLCHAIN_FULLNAME="${HOST_PREFIX}${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
  24235. if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
  24236. WX_LIBRARY_BASENAME_NOGUI="wx_base${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
  24237. else
  24238. WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
  24239. fi
  24240. if test "${TOOLKIT_DIR}" = "os2"; then
  24241. WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
  24242. else
  24243. WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${WX_LIB_FLAVOUR}"
  24244. fi
  24245. if test "$wxUSE_OLD_COCOA" = 1; then
  24246. ac_ext=c
  24247. ac_cpp='$CPP $CPPFLAGS'
  24248. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24249. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24250. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  24251. ac_ext=m
  24252. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
  24253. $as_echo_n "checking if AppKit/NSEvent.h conflicts with CoreFoundation... " >&6; }
  24254. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24255. /* end confdefs.h. */
  24256. #include <AppKit/NSEvent.h>
  24257. #include <CoreFoundation/CoreFoundation.h>
  24258. int
  24259. main ()
  24260. {
  24261. ;
  24262. return 0;
  24263. }
  24264. _ACEOF
  24265. if ac_fn_c_try_compile "$LINENO"; then :
  24266. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24267. $as_echo "no" >&6; }
  24268. else
  24269. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  24270. $as_echo "yes" >&6; }
  24271. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if defining __Point__ will fix it" >&5
  24272. $as_echo_n "checking if defining __Point__ will fix it... " >&6; }
  24273. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24274. /* end confdefs.h. */
  24275. #define __Point__ 1
  24276. #include <AppKit/NSEvent.h>
  24277. #include <CoreFoundation/CoreFoundation.h>
  24278. int
  24279. main ()
  24280. {
  24281. ;
  24282. return 0;
  24283. }
  24284. _ACEOF
  24285. if ac_fn_c_try_compile "$LINENO"; then :
  24286. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  24287. $as_echo "yes" >&6; }
  24288. $as_echo "#define __Point__ 1" >>confdefs.h
  24289. else
  24290. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  24291. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  24292. as_fn_error $? "no
  24293. See \`config.log' for more details" "$LINENO" 5; }
  24294. fi
  24295. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24296. fi
  24297. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24298. ac_ext=c
  24299. ac_cpp='$CPP $CPPFLAGS'
  24300. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24301. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24302. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  24303. fi
  24304. ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
  24305. if test "x$ac_cv_type_mode_t" = xyes; then :
  24306. else
  24307. cat >>confdefs.h <<_ACEOF
  24308. #define mode_t int
  24309. _ACEOF
  24310. fi
  24311. ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
  24312. if test "x$ac_cv_type_off_t" = xyes; then :
  24313. else
  24314. cat >>confdefs.h <<_ACEOF
  24315. #define off_t long int
  24316. _ACEOF
  24317. fi
  24318. ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
  24319. if test "x$ac_cv_type_pid_t" = xyes; then :
  24320. else
  24321. cat >>confdefs.h <<_ACEOF
  24322. #define pid_t int
  24323. _ACEOF
  24324. fi
  24325. ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
  24326. if test "x$ac_cv_type_size_t" = xyes; then :
  24327. else
  24328. cat >>confdefs.h <<_ACEOF
  24329. #define size_t unsigned int
  24330. _ACEOF
  24331. fi
  24332. ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
  24333. if test "x$ac_cv_type_ssize_t" = xyes; then :
  24334. cat >>confdefs.h <<_ACEOF
  24335. #define HAVE_SSIZE_T 1
  24336. _ACEOF
  24337. fi
  24338. ac_ext=cpp
  24339. ac_cpp='$CXXCPP $CPPFLAGS'
  24340. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24341. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24342. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  24343. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned int" >&5
  24344. $as_echo_n "checking if size_t is unsigned int... " >&6; }
  24345. if ${wx_cv_size_t_is_uint+:} false; then :
  24346. $as_echo_n "(cached) " >&6
  24347. else
  24348. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24349. /* end confdefs.h. */
  24350. #include <stddef.h>
  24351. int
  24352. main ()
  24353. {
  24354. return 0; }
  24355. struct Foo { void foo(size_t); void foo(unsigned int); };
  24356. int bar() {
  24357. ;
  24358. return 0;
  24359. }
  24360. _ACEOF
  24361. if ac_fn_cxx_try_compile "$LINENO"; then :
  24362. wx_cv_size_t_is_uint=no
  24363. else
  24364. wx_cv_size_t_is_uint=yes
  24365. fi
  24366. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24367. fi
  24368. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_uint" >&5
  24369. $as_echo "$wx_cv_size_t_is_uint" >&6; }
  24370. if test "$wx_cv_size_t_is_uint" = "yes"; then
  24371. $as_echo "#define wxSIZE_T_IS_UINT 1" >>confdefs.h
  24372. else
  24373. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if size_t is unsigned long" >&5
  24374. $as_echo_n "checking if size_t is unsigned long... " >&6; }
  24375. if ${wx_cv_size_t_is_ulong+:} false; then :
  24376. $as_echo_n "(cached) " >&6
  24377. else
  24378. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24379. /* end confdefs.h. */
  24380. #include <stddef.h>
  24381. int
  24382. main ()
  24383. {
  24384. return 0; }
  24385. struct Foo { void foo(size_t); void foo(unsigned long); };
  24386. int bar() {
  24387. ;
  24388. return 0;
  24389. }
  24390. _ACEOF
  24391. if ac_fn_cxx_try_compile "$LINENO"; then :
  24392. wx_cv_size_t_is_ulong=no
  24393. else
  24394. wx_cv_size_t_is_ulong=yes
  24395. fi
  24396. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24397. fi
  24398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_size_t_is_ulong" >&5
  24399. $as_echo "$wx_cv_size_t_is_ulong" >&6; }
  24400. if test "$wx_cv_size_t_is_ulong" = "yes"; then
  24401. $as_echo "#define wxSIZE_T_IS_ULONG 1" >>confdefs.h
  24402. fi
  24403. fi
  24404. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if wchar_t is separate type" >&5
  24405. $as_echo_n "checking if wchar_t is separate type... " >&6; }
  24406. if ${wx_cv_wchar_t_is_separate_type+:} false; then :
  24407. $as_echo_n "(cached) " >&6
  24408. else
  24409. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24410. /* end confdefs.h. */
  24411. #include <wchar.h>
  24412. int
  24413. main ()
  24414. {
  24415. return 0; }
  24416. struct Foo { void foo(wchar_t);
  24417. void foo(unsigned short);
  24418. void foo(unsigned int);
  24419. void foo(unsigned long); };
  24420. int bar() {
  24421. ;
  24422. return 0;
  24423. }
  24424. _ACEOF
  24425. if ac_fn_cxx_try_compile "$LINENO"; then :
  24426. wx_cv_wchar_t_is_separate_type=yes
  24427. else
  24428. wx_cv_wchar_t_is_separate_type=no
  24429. fi
  24430. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24431. fi
  24432. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_wchar_t_is_separate_type" >&5
  24433. $as_echo "$wx_cv_wchar_t_is_separate_type" >&6; }
  24434. if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
  24435. $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 1" >>confdefs.h
  24436. else
  24437. $as_echo "#define wxWCHAR_T_IS_REAL_TYPE 0" >>confdefs.h
  24438. fi
  24439. ac_ext=c
  24440. ac_cpp='$CPP $CPPFLAGS'
  24441. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24442. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24443. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  24444. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pw_gecos in struct passwd" >&5
  24445. $as_echo_n "checking for pw_gecos in struct passwd... " >&6; }
  24446. if ${wx_cv_struct_pw_gecos+:} false; then :
  24447. $as_echo_n "(cached) " >&6
  24448. else
  24449. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24450. /* end confdefs.h. */
  24451. #include <pwd.h>
  24452. int
  24453. main ()
  24454. {
  24455. char *p;
  24456. struct passwd *pw;
  24457. p = pw->pw_gecos;
  24458. ;
  24459. return 0;
  24460. }
  24461. _ACEOF
  24462. if ac_fn_c_try_compile "$LINENO"; then :
  24463. wx_cv_struct_pw_gecos=yes
  24464. else
  24465. wx_cv_struct_pw_gecos=no
  24466. fi
  24467. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24468. fi
  24469. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_pw_gecos" >&5
  24470. $as_echo "$wx_cv_struct_pw_gecos" >&6; }
  24471. if test "$wx_cv_struct_pw_gecos" = "yes"; then
  24472. $as_echo "#define HAVE_PW_GECOS 1" >>confdefs.h
  24473. fi
  24474. WCSLEN_FOUND=0
  24475. WCHAR_LINK=
  24476. for ac_func in wcslen
  24477. do :
  24478. ac_fn_c_check_func "$LINENO" "wcslen" "ac_cv_func_wcslen"
  24479. if test "x$ac_cv_func_wcslen" = xyes; then :
  24480. cat >>confdefs.h <<_ACEOF
  24481. #define HAVE_WCSLEN 1
  24482. _ACEOF
  24483. WCSLEN_FOUND=1
  24484. fi
  24485. done
  24486. if test "$WCSLEN_FOUND" = 0; then
  24487. if test "$TOOLKIT" = "MSW"; then
  24488. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lmsvcrt" >&5
  24489. $as_echo_n "checking for wcslen in -lmsvcrt... " >&6; }
  24490. if ${ac_cv_lib_msvcrt_wcslen+:} false; then :
  24491. $as_echo_n "(cached) " >&6
  24492. else
  24493. ac_check_lib_save_LIBS=$LIBS
  24494. LIBS="-lmsvcrt $LIBS"
  24495. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24496. /* end confdefs.h. */
  24497. /* Override any GCC internal prototype to avoid an error.
  24498. Use char because int might match the return type of a GCC
  24499. builtin and then its argument prototype would still apply. */
  24500. #ifdef __cplusplus
  24501. extern "C"
  24502. #endif
  24503. char wcslen ();
  24504. int
  24505. main ()
  24506. {
  24507. return wcslen ();
  24508. ;
  24509. return 0;
  24510. }
  24511. _ACEOF
  24512. if ac_fn_c_try_link "$LINENO"; then :
  24513. ac_cv_lib_msvcrt_wcslen=yes
  24514. else
  24515. ac_cv_lib_msvcrt_wcslen=no
  24516. fi
  24517. rm -f core conftest.err conftest.$ac_objext \
  24518. conftest$ac_exeext conftest.$ac_ext
  24519. LIBS=$ac_check_lib_save_LIBS
  24520. fi
  24521. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_msvcrt_wcslen" >&5
  24522. $as_echo "$ac_cv_lib_msvcrt_wcslen" >&6; }
  24523. if test "x$ac_cv_lib_msvcrt_wcslen" = xyes; then :
  24524. WCHAR_OK=1
  24525. fi
  24526. else
  24527. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for wcslen in -lw" >&5
  24528. $as_echo_n "checking for wcslen in -lw... " >&6; }
  24529. if ${ac_cv_lib_w_wcslen+:} false; then :
  24530. $as_echo_n "(cached) " >&6
  24531. else
  24532. ac_check_lib_save_LIBS=$LIBS
  24533. LIBS="-lw $LIBS"
  24534. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24535. /* end confdefs.h. */
  24536. /* Override any GCC internal prototype to avoid an error.
  24537. Use char because int might match the return type of a GCC
  24538. builtin and then its argument prototype would still apply. */
  24539. #ifdef __cplusplus
  24540. extern "C"
  24541. #endif
  24542. char wcslen ();
  24543. int
  24544. main ()
  24545. {
  24546. return wcslen ();
  24547. ;
  24548. return 0;
  24549. }
  24550. _ACEOF
  24551. if ac_fn_c_try_link "$LINENO"; then :
  24552. ac_cv_lib_w_wcslen=yes
  24553. else
  24554. ac_cv_lib_w_wcslen=no
  24555. fi
  24556. rm -f core conftest.err conftest.$ac_objext \
  24557. conftest$ac_exeext conftest.$ac_ext
  24558. LIBS=$ac_check_lib_save_LIBS
  24559. fi
  24560. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_w_wcslen" >&5
  24561. $as_echo "$ac_cv_lib_w_wcslen" >&6; }
  24562. if test "x$ac_cv_lib_w_wcslen" = xyes; then :
  24563. WCHAR_LINK=" -lw"
  24564. WCSLEN_FOUND=1
  24565. fi
  24566. fi
  24567. fi
  24568. if test "$WCSLEN_FOUND" = 1; then
  24569. $as_echo "#define HAVE_WCSLEN 1" >>confdefs.h
  24570. fi
  24571. for ac_func in wcsftime
  24572. do :
  24573. ac_fn_c_check_func "$LINENO" "wcsftime" "ac_cv_func_wcsftime"
  24574. if test "x$ac_cv_func_wcsftime" = xyes; then :
  24575. cat >>confdefs.h <<_ACEOF
  24576. #define HAVE_WCSFTIME 1
  24577. _ACEOF
  24578. fi
  24579. done
  24580. if test "$wxUSE_MAC" != 1; then
  24581. for ac_func in strnlen wcsdup wcsnlen wcscasecmp wcsncasecmp
  24582. do :
  24583. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  24584. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  24585. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  24586. cat >>confdefs.h <<_ACEOF
  24587. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  24588. _ACEOF
  24589. fi
  24590. done
  24591. fi
  24592. if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
  24593. CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
  24594. fi
  24595. ac_fn_c_check_type "$LINENO" "mbstate_t" "ac_cv_type_mbstate_t" "#include <wchar.h>
  24596. "
  24597. if test "x$ac_cv_type_mbstate_t" = xyes; then :
  24598. cat >>confdefs.h <<_ACEOF
  24599. #define HAVE_MBSTATE_T 1
  24600. _ACEOF
  24601. for ac_func in wcsrtombs
  24602. do :
  24603. ac_fn_c_check_func "$LINENO" "wcsrtombs" "ac_cv_func_wcsrtombs"
  24604. if test "x$ac_cv_func_wcsrtombs" = xyes; then :
  24605. cat >>confdefs.h <<_ACEOF
  24606. #define HAVE_WCSRTOMBS 1
  24607. _ACEOF
  24608. fi
  24609. done
  24610. fi
  24611. for ac_func in snprintf vsnprintf vsscanf
  24612. do :
  24613. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  24614. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  24615. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  24616. cat >>confdefs.h <<_ACEOF
  24617. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  24618. _ACEOF
  24619. fi
  24620. done
  24621. ac_ext=cpp
  24622. ac_cpp='$CXXCPP $CPPFLAGS'
  24623. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24624. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24625. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  24626. if test "$ac_cv_func_vsnprintf" = "yes"; then
  24627. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsnprintf declaration" >&5
  24628. $as_echo_n "checking for vsnprintf declaration... " >&6; }
  24629. if ${wx_cv_func_vsnprintf_decl+:} false; then :
  24630. $as_echo_n "(cached) " >&6
  24631. else
  24632. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24633. /* end confdefs.h. */
  24634. #include <stdio.h>
  24635. #include <stdarg.h>
  24636. int
  24637. main ()
  24638. {
  24639. char *buf;
  24640. va_list ap;
  24641. vsnprintf(buf, 10u, "%s", ap);
  24642. ;
  24643. return 0;
  24644. }
  24645. _ACEOF
  24646. if ac_fn_cxx_try_compile "$LINENO"; then :
  24647. wx_cv_func_vsnprintf_decl=yes
  24648. else
  24649. wx_cv_func_vsnprintf_decl=no
  24650. fi
  24651. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24652. fi
  24653. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsnprintf_decl" >&5
  24654. $as_echo "$wx_cv_func_vsnprintf_decl" >&6; }
  24655. if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
  24656. $as_echo "#define HAVE_VSNPRINTF_DECL 1" >>confdefs.h
  24657. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsnprintf declaration is broken" >&5
  24658. $as_echo_n "checking if vsnprintf declaration is broken... " >&6; }
  24659. if ${wx_cv_func_broken_vsnprintf_decl+:} false; then :
  24660. $as_echo_n "(cached) " >&6
  24661. else
  24662. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24663. /* end confdefs.h. */
  24664. #include <stdio.h>
  24665. #include <stdarg.h>
  24666. #ifdef __MSL__
  24667. #if __MSL__ >= 0x6000
  24668. namespace std {}
  24669. using namespace std;
  24670. #endif
  24671. #endif
  24672. int
  24673. main ()
  24674. {
  24675. char *buf;
  24676. va_list ap;
  24677. const char *fmt = "%s";
  24678. vsnprintf(buf, 10u, fmt, ap);
  24679. ;
  24680. return 0;
  24681. }
  24682. _ACEOF
  24683. if ac_fn_cxx_try_compile "$LINENO"; then :
  24684. wx_cv_func_broken_vsnprintf_decl=no
  24685. else
  24686. wx_cv_func_broken_vsnprintf_decl=yes
  24687. fi
  24688. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24689. fi
  24690. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsnprintf_decl" >&5
  24691. $as_echo "$wx_cv_func_broken_vsnprintf_decl" >&6; }
  24692. if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
  24693. $as_echo "#define HAVE_BROKEN_VSNPRINTF_DECL 1" >>confdefs.h
  24694. fi
  24695. fi
  24696. fi
  24697. if test "$ac_cv_func_snprintf" = "yes"; then
  24698. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snprintf declaration" >&5
  24699. $as_echo_n "checking for snprintf declaration... " >&6; }
  24700. if ${wx_cv_func_snprintf_decl+:} false; then :
  24701. $as_echo_n "(cached) " >&6
  24702. else
  24703. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24704. /* end confdefs.h. */
  24705. #include <stdio.h>
  24706. #include <stdarg.h>
  24707. #ifdef __MSL__
  24708. #if __MSL__ >= 0x6000
  24709. namespace std {}
  24710. using namespace std;
  24711. #endif
  24712. #endif
  24713. int
  24714. main ()
  24715. {
  24716. char *buf;
  24717. snprintf(buf, 10u, "%s", "wx");
  24718. ;
  24719. return 0;
  24720. }
  24721. _ACEOF
  24722. if ac_fn_cxx_try_compile "$LINENO"; then :
  24723. wx_cv_func_snprintf_decl=yes
  24724. else
  24725. wx_cv_func_snprintf_decl=no
  24726. fi
  24727. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24728. fi
  24729. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_decl" >&5
  24730. $as_echo "$wx_cv_func_snprintf_decl" >&6; }
  24731. if test "$wx_cv_func_snprintf_decl" = "yes"; then
  24732. $as_echo "#define HAVE_SNPRINTF_DECL 1" >>confdefs.h
  24733. fi
  24734. if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
  24735. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if snprintf supports positional arguments" >&5
  24736. $as_echo_n "checking if snprintf supports positional arguments... " >&6; }
  24737. if ${wx_cv_func_snprintf_pos_params+:} false; then :
  24738. $as_echo_n "(cached) " >&6
  24739. else
  24740. if test "$cross_compiling" = yes; then :
  24741. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming Unix98 printf() is not available,
  24742. define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
  24743. $as_echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
  24744. define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
  24745. wx_cv_func_snprintf_pos_params=no
  24746. else
  24747. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24748. /* end confdefs.h. */
  24749. #include <stdio.h>
  24750. int main (void)
  24751. {
  24752. char buffer[128];
  24753. snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
  24754. if (strcmp ("2 3 1", buffer) == 0)
  24755. exit (0);
  24756. exit (1);
  24757. }
  24758. _ACEOF
  24759. if ac_fn_cxx_try_run "$LINENO"; then :
  24760. wx_cv_func_snprintf_pos_params=no
  24761. else
  24762. wx_cv_func_snprintf_pos_params=yes
  24763. fi
  24764. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  24765. conftest.$ac_objext conftest.beam conftest.$ac_ext
  24766. fi
  24767. fi
  24768. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_snprintf_pos_params" >&5
  24769. $as_echo "$wx_cv_func_snprintf_pos_params" >&6; }
  24770. if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
  24771. $as_echo "#define HAVE_UNIX98_PRINTF 1" >>confdefs.h
  24772. fi
  24773. fi
  24774. fi
  24775. if test "$ac_cv_func_vsscanf" = "yes"; then
  24776. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for vsscanf declaration" >&5
  24777. $as_echo_n "checking for vsscanf declaration... " >&6; }
  24778. if ${wx_cv_func_vsscanf_decl+:} false; then :
  24779. $as_echo_n "(cached) " >&6
  24780. else
  24781. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24782. /* end confdefs.h. */
  24783. #include <stdio.h>
  24784. #include <stdarg.h>
  24785. #ifdef __MSL__
  24786. #if __MSL__ >= 0x6000
  24787. namespace std {}
  24788. using namespace std;
  24789. #endif
  24790. #endif
  24791. int
  24792. main ()
  24793. {
  24794. char *buf;
  24795. va_list args;
  24796. vsscanf(buf, "%s", args);
  24797. ;
  24798. return 0;
  24799. }
  24800. _ACEOF
  24801. if ac_fn_cxx_try_compile "$LINENO"; then :
  24802. wx_cv_func_vsscanf_decl=yes
  24803. else
  24804. wx_cv_func_vsscanf_decl=no
  24805. fi
  24806. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24807. fi
  24808. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_vsscanf_decl" >&5
  24809. $as_echo "$wx_cv_func_vsscanf_decl" >&6; }
  24810. if test "$wx_cv_func_vsscanf_decl" = "yes"; then
  24811. $as_echo "#define HAVE_VSSCANF_DECL 1" >>confdefs.h
  24812. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if vsscanf() declaration is broken" >&5
  24813. $as_echo_n "checking if vsscanf() declaration is broken... " >&6; }
  24814. if ${wx_cv_func_broken_vsscanf_decl+:} false; then :
  24815. $as_echo_n "(cached) " >&6
  24816. else
  24817. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24818. /* end confdefs.h. */
  24819. #include <stdio.h>
  24820. #include <stdarg.h>
  24821. #ifdef __MSL__
  24822. #if __MSL__ >= 0x6000
  24823. namespace std {}
  24824. using namespace std;
  24825. #endif
  24826. #endif
  24827. int
  24828. main ()
  24829. {
  24830. const char *buf;
  24831. va_list args;
  24832. vsscanf(buf, "%s", args);
  24833. ;
  24834. return 0;
  24835. }
  24836. _ACEOF
  24837. if ac_fn_cxx_try_compile "$LINENO"; then :
  24838. wx_cv_func_broken_vsscanf_decl=no
  24839. else
  24840. wx_cv_func_broken_vsscanf_decl=yes
  24841. fi
  24842. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  24843. fi
  24844. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_broken_vsscanf_decl" >&5
  24845. $as_echo "$wx_cv_func_broken_vsscanf_decl" >&6; }
  24846. if test "$wx_cv_func_broken_vsscanf_decl" = "yes"; then
  24847. $as_echo "#define HAVE_BROKEN_VSSCANF_DECL 1" >>confdefs.h
  24848. fi
  24849. fi
  24850. fi
  24851. ac_ext=c
  24852. ac_cpp='$CPP $CPPFLAGS'
  24853. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24854. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24855. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  24856. wchar_headers="#include <stdio.h>
  24857. #include <wchar.h>"
  24858. case "${host}" in
  24859. *-*-solaris2* )
  24860. for ac_header in widec.h
  24861. do :
  24862. ac_fn_c_check_header_compile "$LINENO" "widec.h" "ac_cv_header_widec_h" "$ac_includes_default
  24863. "
  24864. if test "x$ac_cv_header_widec_h" = xyes; then :
  24865. cat >>confdefs.h <<_ACEOF
  24866. #define HAVE_WIDEC_H 1
  24867. _ACEOF
  24868. fi
  24869. done
  24870. if test "$ac_cv_header_widec_h" = "yes"; then
  24871. wchar_headers="$wchar_headers
  24872. #include <widec.h>"
  24873. fi
  24874. esac
  24875. for wx_func in putws fputws wprintf vswprintf vswscanf
  24876. do
  24877. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
  24878. $as_echo_n "checking for $wx_func... " >&6; }
  24879. if eval \${wx_cv_func_$wx_func+:} false; then :
  24880. $as_echo_n "(cached) " >&6
  24881. else
  24882. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24883. /* end confdefs.h. */
  24884. $wchar_headers
  24885. $ac_includes_default
  24886. int
  24887. main ()
  24888. {
  24889. #ifndef $wx_func
  24890. &$wx_func;
  24891. #endif
  24892. ;
  24893. return 0;
  24894. }
  24895. _ACEOF
  24896. if ac_fn_c_try_link "$LINENO"; then :
  24897. eval wx_cv_func_$wx_func=yes
  24898. else
  24899. eval wx_cv_func_$wx_func=no
  24900. fi
  24901. rm -f core conftest.err conftest.$ac_objext \
  24902. conftest$ac_exeext conftest.$ac_ext
  24903. fi
  24904. eval ac_res=\$wx_cv_func_$wx_func
  24905. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  24906. $as_echo "$ac_res" >&6; }
  24907. if eval test \$wx_cv_func_$wx_func = yes
  24908. then
  24909. cat >>confdefs.h <<_ACEOF
  24910. #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
  24911. _ACEOF
  24912. else
  24913. :
  24914. fi
  24915. done
  24916. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _vsnwprintf" >&5
  24917. $as_echo_n "checking for _vsnwprintf... " >&6; }
  24918. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24919. /* end confdefs.h. */
  24920. #include <wchar.h>
  24921. int
  24922. main ()
  24923. {
  24924. &_vsnwprintf;
  24925. ;
  24926. return 0;
  24927. }
  24928. _ACEOF
  24929. if ac_fn_c_try_compile "$LINENO"; then :
  24930. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  24931. $as_echo "yes" >&6; }
  24932. $as_echo "#define HAVE__VSNWPRINTF 1" >>confdefs.h
  24933. else
  24934. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  24935. $as_echo "no" >&6; }
  24936. fi
  24937. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
  24938. if test "$wxUSE_FILE" = "yes"; then
  24939. for wx_func in fsync
  24940. do
  24941. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
  24942. $as_echo_n "checking for $wx_func... " >&6; }
  24943. if eval \${wx_cv_func_$wx_func+:} false; then :
  24944. $as_echo_n "(cached) " >&6
  24945. else
  24946. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24947. /* end confdefs.h. */
  24948. $ac_includes_default
  24949. int
  24950. main ()
  24951. {
  24952. #ifndef $wx_func
  24953. &$wx_func;
  24954. #endif
  24955. ;
  24956. return 0;
  24957. }
  24958. _ACEOF
  24959. if ac_fn_c_try_link "$LINENO"; then :
  24960. eval wx_cv_func_$wx_func=yes
  24961. else
  24962. eval wx_cv_func_$wx_func=no
  24963. fi
  24964. rm -f core conftest.err conftest.$ac_objext \
  24965. conftest$ac_exeext conftest.$ac_ext
  24966. fi
  24967. eval ac_res=\$wx_cv_func_$wx_func
  24968. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  24969. $as_echo "$ac_res" >&6; }
  24970. if eval test \$wx_cv_func_$wx_func = yes
  24971. then
  24972. cat >>confdefs.h <<_ACEOF
  24973. #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
  24974. _ACEOF
  24975. else
  24976. :
  24977. fi
  24978. done
  24979. fi
  24980. ac_ext=cpp
  24981. ac_cpp='$CXXCPP $CPPFLAGS'
  24982. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  24983. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  24984. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  24985. for wx_func in round
  24986. do
  24987. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
  24988. $as_echo_n "checking for $wx_func... " >&6; }
  24989. if eval \${wx_cv_func_$wx_func+:} false; then :
  24990. $as_echo_n "(cached) " >&6
  24991. else
  24992. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  24993. /* end confdefs.h. */
  24994. #include <math.h>
  24995. $ac_includes_default
  24996. int
  24997. main ()
  24998. {
  24999. #ifndef $wx_func
  25000. &$wx_func;
  25001. #endif
  25002. ;
  25003. return 0;
  25004. }
  25005. _ACEOF
  25006. if ac_fn_cxx_try_link "$LINENO"; then :
  25007. eval wx_cv_func_$wx_func=yes
  25008. else
  25009. eval wx_cv_func_$wx_func=no
  25010. fi
  25011. rm -f core conftest.err conftest.$ac_objext \
  25012. conftest$ac_exeext conftest.$ac_ext
  25013. fi
  25014. eval ac_res=\$wx_cv_func_$wx_func
  25015. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  25016. $as_echo "$ac_res" >&6; }
  25017. if eval test \$wx_cv_func_$wx_func = yes
  25018. then
  25019. cat >>confdefs.h <<_ACEOF
  25020. #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
  25021. _ACEOF
  25022. else
  25023. :
  25024. fi
  25025. done
  25026. ac_ext=c
  25027. ac_cpp='$CPP $CPPFLAGS'
  25028. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25029. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25030. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  25031. if test "$TOOLKIT" != "MSW"; then
  25032. if test "$wxUSE_LIBICONV" != "no" ; then
  25033. # Check whether --with-libiconv-prefix was given.
  25034. if test "${with_libiconv_prefix+set}" = set; then :
  25035. withval=$with_libiconv_prefix;
  25036. for dir in `echo "$withval" | tr : ' '`; do
  25037. if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
  25038. if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
  25039. done
  25040. fi
  25041. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for iconv" >&5
  25042. $as_echo_n "checking for iconv... " >&6; }
  25043. if ${am_cv_func_iconv+:} false; then :
  25044. $as_echo_n "(cached) " >&6
  25045. else
  25046. am_cv_func_iconv="no, consider installing GNU libiconv"
  25047. am_cv_lib_iconv=no
  25048. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25049. /* end confdefs.h. */
  25050. #include <stdlib.h>
  25051. #include <iconv.h>
  25052. int
  25053. main ()
  25054. {
  25055. iconv_t cd = iconv_open("","");
  25056. iconv(cd,NULL,NULL,NULL,NULL);
  25057. iconv_close(cd);
  25058. ;
  25059. return 0;
  25060. }
  25061. _ACEOF
  25062. if ac_fn_c_try_link "$LINENO"; then :
  25063. am_cv_func_iconv=yes
  25064. fi
  25065. rm -f core conftest.err conftest.$ac_objext \
  25066. conftest$ac_exeext conftest.$ac_ext
  25067. if test "$am_cv_func_iconv" != yes; then
  25068. am_save_LIBS="$LIBS"
  25069. LIBS="$LIBS -liconv"
  25070. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25071. /* end confdefs.h. */
  25072. #include <stdlib.h>
  25073. #include <iconv.h>
  25074. int
  25075. main ()
  25076. {
  25077. iconv_t cd = iconv_open("","");
  25078. iconv(cd,NULL,NULL,NULL,NULL);
  25079. iconv_close(cd);
  25080. ;
  25081. return 0;
  25082. }
  25083. _ACEOF
  25084. if ac_fn_c_try_link "$LINENO"; then :
  25085. am_cv_lib_iconv=yes
  25086. am_cv_func_iconv=yes
  25087. fi
  25088. rm -f core conftest.err conftest.$ac_objext \
  25089. conftest$ac_exeext conftest.$ac_ext
  25090. LIBS="$am_save_LIBS"
  25091. fi
  25092. fi
  25093. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $am_cv_func_iconv" >&5
  25094. $as_echo "$am_cv_func_iconv" >&6; }
  25095. if test "$am_cv_func_iconv" = yes; then
  25096. $as_echo "#define HAVE_ICONV 1" >>confdefs.h
  25097. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if iconv needs const" >&5
  25098. $as_echo_n "checking if iconv needs const... " >&6; }
  25099. if ${wx_cv_func_iconv_const+:} false; then :
  25100. $as_echo_n "(cached) " >&6
  25101. else
  25102. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25103. /* end confdefs.h. */
  25104. #include <stdlib.h>
  25105. #include <iconv.h>
  25106. extern
  25107. #ifdef __cplusplus
  25108. "C"
  25109. #endif
  25110. #if defined(__STDC__) || defined(__cplusplus)
  25111. size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
  25112. #else
  25113. size_t iconv();
  25114. #endif
  25115. int
  25116. main ()
  25117. {
  25118. ;
  25119. return 0;
  25120. }
  25121. _ACEOF
  25122. if ac_fn_c_try_compile "$LINENO"; then :
  25123. wx_cv_func_iconv_const="no"
  25124. else
  25125. wx_cv_func_iconv_const="yes"
  25126. fi
  25127. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25128. fi
  25129. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_iconv_const" >&5
  25130. $as_echo "$wx_cv_func_iconv_const" >&6; }
  25131. iconv_const=
  25132. if test "x$wx_cv_func_iconv_const" = "xyes"; then
  25133. iconv_const="const"
  25134. fi
  25135. cat >>confdefs.h <<_ACEOF
  25136. #define ICONV_CONST $iconv_const
  25137. _ACEOF
  25138. fi
  25139. LIBICONV=
  25140. if test "$am_cv_lib_iconv" = yes; then
  25141. LIBICONV="-liconv"
  25142. fi
  25143. LIBS="$LIBICONV $LIBS"
  25144. fi
  25145. if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
  25146. for ac_func in sigaction
  25147. do :
  25148. ac_fn_c_check_func "$LINENO" "sigaction" "ac_cv_func_sigaction"
  25149. if test "x$ac_cv_func_sigaction" = xyes; then :
  25150. cat >>confdefs.h <<_ACEOF
  25151. #define HAVE_SIGACTION 1
  25152. _ACEOF
  25153. fi
  25154. done
  25155. if test "$ac_cv_func_sigaction" = "no"; then
  25156. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
  25157. $as_echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
  25158. wxUSE_ON_FATAL_EXCEPTION=no
  25159. fi
  25160. if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
  25161. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sa_handler type" >&5
  25162. $as_echo_n "checking for sa_handler type... " >&6; }
  25163. if ${wx_cv_type_sa_handler+:} false; then :
  25164. $as_echo_n "(cached) " >&6
  25165. else
  25166. ac_ext=cpp
  25167. ac_cpp='$CXXCPP $CPPFLAGS'
  25168. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25169. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25170. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  25171. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25172. /* end confdefs.h. */
  25173. #include <signal.h>
  25174. int
  25175. main ()
  25176. {
  25177. extern void testSigHandler(int);
  25178. struct sigaction sa;
  25179. sa.sa_handler = testSigHandler;
  25180. ;
  25181. return 0;
  25182. }
  25183. _ACEOF
  25184. if ac_fn_cxx_try_compile "$LINENO"; then :
  25185. wx_cv_type_sa_handler=int
  25186. else
  25187. wx_cv_type_sa_handler=void
  25188. fi
  25189. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25190. ac_ext=c
  25191. ac_cpp='$CPP $CPPFLAGS'
  25192. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25193. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25194. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  25195. fi
  25196. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sa_handler" >&5
  25197. $as_echo "$wx_cv_type_sa_handler" >&6; }
  25198. cat >>confdefs.h <<_ACEOF
  25199. #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
  25200. _ACEOF
  25201. fi
  25202. fi
  25203. if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
  25204. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for backtrace() in <execinfo.h>" >&5
  25205. $as_echo_n "checking for backtrace() in <execinfo.h>... " >&6; }
  25206. if ${wx_cv_func_backtrace+:} false; then :
  25207. $as_echo_n "(cached) " >&6
  25208. else
  25209. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing backtrace" >&5
  25210. $as_echo_n "checking for library containing backtrace... " >&6; }
  25211. if ${ac_cv_search_backtrace+:} false; then :
  25212. $as_echo_n "(cached) " >&6
  25213. else
  25214. ac_func_search_save_LIBS=$LIBS
  25215. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25216. /* end confdefs.h. */
  25217. /* Override any GCC internal prototype to avoid an error.
  25218. Use char because int might match the return type of a GCC
  25219. builtin and then its argument prototype would still apply. */
  25220. #ifdef __cplusplus
  25221. extern "C"
  25222. #endif
  25223. char backtrace ();
  25224. int
  25225. main ()
  25226. {
  25227. return backtrace ();
  25228. ;
  25229. return 0;
  25230. }
  25231. _ACEOF
  25232. for ac_lib in '' execinfo; do
  25233. if test -z "$ac_lib"; then
  25234. ac_res="none required"
  25235. else
  25236. ac_res=-l$ac_lib
  25237. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  25238. fi
  25239. if ac_fn_c_try_link "$LINENO"; then :
  25240. ac_cv_search_backtrace=$ac_res
  25241. fi
  25242. rm -f core conftest.err conftest.$ac_objext \
  25243. conftest$ac_exeext
  25244. if ${ac_cv_search_backtrace+:} false; then :
  25245. break
  25246. fi
  25247. done
  25248. if ${ac_cv_search_backtrace+:} false; then :
  25249. else
  25250. ac_cv_search_backtrace=no
  25251. fi
  25252. rm conftest.$ac_ext
  25253. LIBS=$ac_func_search_save_LIBS
  25254. fi
  25255. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_backtrace" >&5
  25256. $as_echo "$ac_cv_search_backtrace" >&6; }
  25257. ac_res=$ac_cv_search_backtrace
  25258. if test "$ac_res" != no; then :
  25259. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  25260. ac_ext=cpp
  25261. ac_cpp='$CXXCPP $CPPFLAGS'
  25262. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25263. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25264. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  25265. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25266. /* end confdefs.h. */
  25267. #include <execinfo.h>
  25268. int
  25269. main ()
  25270. {
  25271. void *trace[1];
  25272. char **messages;
  25273. backtrace(trace, 1);
  25274. messages = backtrace_symbols(trace, 1);
  25275. ;
  25276. return 0;
  25277. }
  25278. _ACEOF
  25279. if ac_fn_cxx_try_link "$LINENO"; then :
  25280. wx_cv_func_backtrace=yes
  25281. else
  25282. wx_cv_func_backtrace=no
  25283. fi
  25284. rm -f core conftest.err conftest.$ac_objext \
  25285. conftest$ac_exeext conftest.$ac_ext
  25286. ac_ext=c
  25287. ac_cpp='$CPP $CPPFLAGS'
  25288. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25289. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25290. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  25291. else
  25292. wx_cv_func_backtrace=no
  25293. fi
  25294. fi
  25295. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_backtrace" >&5
  25296. $as_echo "$wx_cv_func_backtrace" >&6; }
  25297. if test "$wx_cv_func_backtrace" = "no"; then
  25298. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
  25299. $as_echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
  25300. wxUSE_STACKWALKER=no
  25301. else
  25302. if test "$ac_cv_header_cxxabi_h" = "yes"; then
  25303. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __cxa_demangle() in <cxxabi.h>" >&5
  25304. $as_echo_n "checking for __cxa_demangle() in <cxxabi.h>... " >&6; }
  25305. if ${wx_cv_func_cxa_demangle+:} false; then :
  25306. $as_echo_n "(cached) " >&6
  25307. else
  25308. ac_ext=cpp
  25309. ac_cpp='$CXXCPP $CPPFLAGS'
  25310. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25311. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25312. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  25313. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25314. /* end confdefs.h. */
  25315. #include <cxxabi.h>
  25316. int
  25317. main ()
  25318. {
  25319. int rc;
  25320. __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
  25321. ;
  25322. return 0;
  25323. }
  25324. _ACEOF
  25325. if ac_fn_cxx_try_link "$LINENO"; then :
  25326. wx_cv_func_cxa_demangle=yes
  25327. else
  25328. wx_cv_func_cxa_demangle=no
  25329. fi
  25330. rm -f core conftest.err conftest.$ac_objext \
  25331. conftest$ac_exeext conftest.$ac_ext
  25332. ac_ext=c
  25333. ac_cpp='$CPP $CPPFLAGS'
  25334. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25335. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25336. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  25337. fi
  25338. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_cxa_demangle" >&5
  25339. $as_echo "$wx_cv_func_cxa_demangle" >&6; }
  25340. else
  25341. wx_cv_func_cxa_demangle=no
  25342. fi
  25343. if test "$wx_cv_func_cxa_demangle" = "yes"; then
  25344. $as_echo "#define HAVE_CXA_DEMANGLE 1" >>confdefs.h
  25345. fi
  25346. fi
  25347. fi
  25348. if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
  25349. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
  25350. $as_echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
  25351. wxUSE_STACKWALKER=no
  25352. fi
  25353. for ac_func in mkstemp mktemp
  25354. do :
  25355. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  25356. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  25357. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  25358. cat >>confdefs.h <<_ACEOF
  25359. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  25360. _ACEOF
  25361. break
  25362. fi
  25363. done
  25364. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs" >&5
  25365. $as_echo_n "checking for statfs... " >&6; }
  25366. if ${wx_cv_func_statfs+:} false; then :
  25367. $as_echo_n "(cached) " >&6
  25368. else
  25369. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25370. /* end confdefs.h. */
  25371. #if defined(__BSD__)
  25372. #include <sys/param.h>
  25373. #include <sys/mount.h>
  25374. #else
  25375. #include <sys/vfs.h>
  25376. #endif
  25377. int
  25378. main ()
  25379. {
  25380. long l;
  25381. struct statfs fs;
  25382. statfs("/", &fs);
  25383. l = fs.f_bsize;
  25384. l += fs.f_blocks;
  25385. l += fs.f_bavail;
  25386. ;
  25387. return 0;
  25388. }
  25389. _ACEOF
  25390. if ac_fn_c_try_compile "$LINENO"; then :
  25391. wx_cv_func_statfs=yes
  25392. else
  25393. wx_cv_func_statfs=no
  25394. fi
  25395. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25396. fi
  25397. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs" >&5
  25398. $as_echo "$wx_cv_func_statfs" >&6; }
  25399. if test "$wx_cv_func_statfs" = "yes"; then
  25400. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statfs declaration" >&5
  25401. $as_echo_n "checking for statfs declaration... " >&6; }
  25402. if ${wx_cv_func_statfs_decl+:} false; then :
  25403. $as_echo_n "(cached) " >&6
  25404. else
  25405. ac_ext=cpp
  25406. ac_cpp='$CXXCPP $CPPFLAGS'
  25407. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25408. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25409. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  25410. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25411. /* end confdefs.h. */
  25412. #if defined(__BSD__)
  25413. #include <sys/param.h>
  25414. #include <sys/mount.h>
  25415. #else
  25416. #include <sys/vfs.h>
  25417. #endif
  25418. int
  25419. main ()
  25420. {
  25421. struct statfs fs;
  25422. statfs("", &fs);
  25423. ;
  25424. return 0;
  25425. }
  25426. _ACEOF
  25427. if ac_fn_cxx_try_compile "$LINENO"; then :
  25428. wx_cv_func_statfs_decl=yes
  25429. else
  25430. wx_cv_func_statfs_decl=no
  25431. fi
  25432. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25433. ac_ext=c
  25434. ac_cpp='$CPP $CPPFLAGS'
  25435. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25436. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25437. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  25438. fi
  25439. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statfs_decl" >&5
  25440. $as_echo "$wx_cv_func_statfs_decl" >&6; }
  25441. if test "$wx_cv_func_statfs_decl" = "yes"; then
  25442. $as_echo "#define HAVE_STATFS_DECL 1" >>confdefs.h
  25443. fi
  25444. wx_cv_type_statvfs_t="struct statfs"
  25445. $as_echo "#define HAVE_STATFS 1" >>confdefs.h
  25446. else
  25447. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs" >&5
  25448. $as_echo_n "checking for statvfs... " >&6; }
  25449. if ${wx_cv_func_statvfs+:} false; then :
  25450. $as_echo_n "(cached) " >&6
  25451. else
  25452. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25453. /* end confdefs.h. */
  25454. #include <stddef.h>
  25455. #include <sys/statvfs.h>
  25456. int
  25457. main ()
  25458. {
  25459. statvfs("/", NULL);
  25460. ;
  25461. return 0;
  25462. }
  25463. _ACEOF
  25464. if ac_fn_c_try_compile "$LINENO"; then :
  25465. wx_cv_func_statvfs=yes
  25466. else
  25467. wx_cv_func_statvfs=no
  25468. fi
  25469. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25470. fi
  25471. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_statvfs" >&5
  25472. $as_echo "$wx_cv_func_statvfs" >&6; }
  25473. if test "$wx_cv_func_statvfs" = "yes"; then
  25474. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for statvfs argument type" >&5
  25475. $as_echo_n "checking for statvfs argument type... " >&6; }
  25476. if ${wx_cv_type_statvfs_t+:} false; then :
  25477. $as_echo_n "(cached) " >&6
  25478. else
  25479. ac_ext=cpp
  25480. ac_cpp='$CXXCPP $CPPFLAGS'
  25481. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25482. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25483. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  25484. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25485. /* end confdefs.h. */
  25486. #include <sys/statvfs.h>
  25487. int
  25488. main ()
  25489. {
  25490. long l;
  25491. statvfs_t fs;
  25492. statvfs("/", &fs);
  25493. l = fs.f_bsize;
  25494. l += fs.f_blocks;
  25495. l += fs.f_bavail;
  25496. ;
  25497. return 0;
  25498. }
  25499. _ACEOF
  25500. if ac_fn_cxx_try_compile "$LINENO"; then :
  25501. wx_cv_type_statvfs_t=statvfs_t
  25502. else
  25503. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25504. /* end confdefs.h. */
  25505. #include <sys/statvfs.h>
  25506. int
  25507. main ()
  25508. {
  25509. long l;
  25510. struct statvfs fs;
  25511. statvfs("/", &fs);
  25512. l = fs.f_bsize;
  25513. l += fs.f_blocks;
  25514. l += fs.f_bavail;
  25515. ;
  25516. return 0;
  25517. }
  25518. _ACEOF
  25519. if ac_fn_cxx_try_compile "$LINENO"; then :
  25520. wx_cv_type_statvfs_t="struct statvfs"
  25521. else
  25522. wx_cv_type_statvfs_t="unknown"
  25523. fi
  25524. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25525. fi
  25526. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  25527. ac_ext=c
  25528. ac_cpp='$CPP $CPPFLAGS'
  25529. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  25530. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  25531. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  25532. fi
  25533. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_statvfs_t" >&5
  25534. $as_echo "$wx_cv_type_statvfs_t" >&6; }
  25535. if test "$wx_cv_type_statvfs_t" != "unknown"; then
  25536. $as_echo "#define HAVE_STATVFS 1" >>confdefs.h
  25537. fi
  25538. else
  25539. wx_cv_type_statvfs_t="unknown"
  25540. fi
  25541. fi
  25542. if test "$wx_cv_type_statvfs_t" != "unknown"; then
  25543. cat >>confdefs.h <<_ACEOF
  25544. #define WX_STATFS_T $wx_cv_type_statvfs_t
  25545. _ACEOF
  25546. else
  25547. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
  25548. $as_echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
  25549. fi
  25550. if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
  25551. for ac_func in fcntl flock
  25552. do :
  25553. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  25554. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  25555. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  25556. cat >>confdefs.h <<_ACEOF
  25557. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  25558. _ACEOF
  25559. break
  25560. fi
  25561. done
  25562. if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
  25563. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSingleInstanceChecker not available" >&5
  25564. $as_echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
  25565. wxUSE_SNGLINST_CHECKER=no
  25566. fi
  25567. fi
  25568. for ac_func in setenv putenv
  25569. do :
  25570. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  25571. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  25572. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  25573. cat >>confdefs.h <<_ACEOF
  25574. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  25575. _ACEOF
  25576. break
  25577. fi
  25578. done
  25579. if test "$ac_cv_func_setenv" = "yes"; then
  25580. for ac_func in unsetenv
  25581. do :
  25582. ac_fn_c_check_func "$LINENO" "unsetenv" "ac_cv_func_unsetenv"
  25583. if test "x$ac_cv_func_unsetenv" = xyes; then :
  25584. cat >>confdefs.h <<_ACEOF
  25585. #define HAVE_UNSETENV 1
  25586. _ACEOF
  25587. fi
  25588. done
  25589. fi
  25590. HAVE_SOME_SLEEP_FUNC=0
  25591. if test "$USE_BEOS" = 1; then
  25592. $as_echo "#define HAVE_SLEEP 1" >>confdefs.h
  25593. HAVE_SOME_SLEEP_FUNC=1
  25594. fi
  25595. if test "$USE_DARWIN" = 1; then
  25596. $as_echo "#define HAVE_USLEEP 1" >>confdefs.h
  25597. HAVE_SOME_SLEEP_FUNC=1
  25598. fi
  25599. if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
  25600. POSIX4_LINK=
  25601. for ac_func in nanosleep
  25602. do :
  25603. ac_fn_c_check_func "$LINENO" "nanosleep" "ac_cv_func_nanosleep"
  25604. if test "x$ac_cv_func_nanosleep" = xyes; then :
  25605. cat >>confdefs.h <<_ACEOF
  25606. #define HAVE_NANOSLEEP 1
  25607. _ACEOF
  25608. $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
  25609. else
  25610. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for nanosleep in -lposix4" >&5
  25611. $as_echo_n "checking for nanosleep in -lposix4... " >&6; }
  25612. if ${ac_cv_lib_posix4_nanosleep+:} false; then :
  25613. $as_echo_n "(cached) " >&6
  25614. else
  25615. ac_check_lib_save_LIBS=$LIBS
  25616. LIBS="-lposix4 $LIBS"
  25617. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25618. /* end confdefs.h. */
  25619. /* Override any GCC internal prototype to avoid an error.
  25620. Use char because int might match the return type of a GCC
  25621. builtin and then its argument prototype would still apply. */
  25622. #ifdef __cplusplus
  25623. extern "C"
  25624. #endif
  25625. char nanosleep ();
  25626. int
  25627. main ()
  25628. {
  25629. return nanosleep ();
  25630. ;
  25631. return 0;
  25632. }
  25633. _ACEOF
  25634. if ac_fn_c_try_link "$LINENO"; then :
  25635. ac_cv_lib_posix4_nanosleep=yes
  25636. else
  25637. ac_cv_lib_posix4_nanosleep=no
  25638. fi
  25639. rm -f core conftest.err conftest.$ac_objext \
  25640. conftest$ac_exeext conftest.$ac_ext
  25641. LIBS=$ac_check_lib_save_LIBS
  25642. fi
  25643. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_nanosleep" >&5
  25644. $as_echo "$ac_cv_lib_posix4_nanosleep" >&6; }
  25645. if test "x$ac_cv_lib_posix4_nanosleep" = xyes; then :
  25646. $as_echo "#define HAVE_NANOSLEEP 1" >>confdefs.h
  25647. POSIX4_LINK=" -lposix4"
  25648. else
  25649. for wx_func in usleep
  25650. do
  25651. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
  25652. $as_echo_n "checking for $wx_func... " >&6; }
  25653. if eval \${wx_cv_func_$wx_func+:} false; then :
  25654. $as_echo_n "(cached) " >&6
  25655. else
  25656. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25657. /* end confdefs.h. */
  25658. $ac_includes_default
  25659. int
  25660. main ()
  25661. {
  25662. #ifndef $wx_func
  25663. &$wx_func;
  25664. #endif
  25665. ;
  25666. return 0;
  25667. }
  25668. _ACEOF
  25669. if ac_fn_c_try_link "$LINENO"; then :
  25670. eval wx_cv_func_$wx_func=yes
  25671. else
  25672. eval wx_cv_func_$wx_func=no
  25673. fi
  25674. rm -f core conftest.err conftest.$ac_objext \
  25675. conftest$ac_exeext conftest.$ac_ext
  25676. fi
  25677. eval ac_res=\$wx_cv_func_$wx_func
  25678. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  25679. $as_echo "$ac_res" >&6; }
  25680. if eval test \$wx_cv_func_$wx_func = yes
  25681. then
  25682. cat >>confdefs.h <<_ACEOF
  25683. #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
  25684. _ACEOF
  25685. else
  25686. :
  25687. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxSleep() function will not work" >&5
  25688. $as_echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
  25689. fi
  25690. done
  25691. fi
  25692. fi
  25693. done
  25694. fi
  25695. for wx_func in uname
  25696. do
  25697. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
  25698. $as_echo_n "checking for $wx_func... " >&6; }
  25699. if eval \${wx_cv_func_$wx_func+:} false; then :
  25700. $as_echo_n "(cached) " >&6
  25701. else
  25702. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25703. /* end confdefs.h. */
  25704. #include <sys/utsname.h>
  25705. $ac_includes_default
  25706. int
  25707. main ()
  25708. {
  25709. #ifndef $wx_func
  25710. &$wx_func;
  25711. #endif
  25712. ;
  25713. return 0;
  25714. }
  25715. _ACEOF
  25716. if ac_fn_c_try_link "$LINENO"; then :
  25717. eval wx_cv_func_$wx_func=yes
  25718. else
  25719. eval wx_cv_func_$wx_func=no
  25720. fi
  25721. rm -f core conftest.err conftest.$ac_objext \
  25722. conftest$ac_exeext conftest.$ac_ext
  25723. fi
  25724. eval ac_res=\$wx_cv_func_$wx_func
  25725. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  25726. $as_echo "$ac_res" >&6; }
  25727. if eval test \$wx_cv_func_$wx_func = yes
  25728. then
  25729. cat >>confdefs.h <<_ACEOF
  25730. #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
  25731. _ACEOF
  25732. else
  25733. :
  25734. fi
  25735. done
  25736. if test "$wx_cv_func_uname" != yes; then
  25737. for wx_func in gethostname
  25738. do
  25739. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
  25740. $as_echo_n "checking for $wx_func... " >&6; }
  25741. if eval \${wx_cv_func_$wx_func+:} false; then :
  25742. $as_echo_n "(cached) " >&6
  25743. else
  25744. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25745. /* end confdefs.h. */
  25746. $ac_includes_default
  25747. int
  25748. main ()
  25749. {
  25750. #ifndef $wx_func
  25751. &$wx_func;
  25752. #endif
  25753. ;
  25754. return 0;
  25755. }
  25756. _ACEOF
  25757. if ac_fn_c_try_link "$LINENO"; then :
  25758. eval wx_cv_func_$wx_func=yes
  25759. else
  25760. eval wx_cv_func_$wx_func=no
  25761. fi
  25762. rm -f core conftest.err conftest.$ac_objext \
  25763. conftest$ac_exeext conftest.$ac_ext
  25764. fi
  25765. eval ac_res=\$wx_cv_func_$wx_func
  25766. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  25767. $as_echo "$ac_res" >&6; }
  25768. if eval test \$wx_cv_func_$wx_func = yes
  25769. then
  25770. cat >>confdefs.h <<_ACEOF
  25771. #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
  25772. _ACEOF
  25773. else
  25774. :
  25775. fi
  25776. done
  25777. fi
  25778. for wx_func in strtok_r
  25779. do
  25780. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
  25781. $as_echo_n "checking for $wx_func... " >&6; }
  25782. if eval \${wx_cv_func_$wx_func+:} false; then :
  25783. $as_echo_n "(cached) " >&6
  25784. else
  25785. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25786. /* end confdefs.h. */
  25787. #define _REENTRANT
  25788. $ac_includes_default
  25789. int
  25790. main ()
  25791. {
  25792. #ifndef $wx_func
  25793. &$wx_func;
  25794. #endif
  25795. ;
  25796. return 0;
  25797. }
  25798. _ACEOF
  25799. if ac_fn_c_try_link "$LINENO"; then :
  25800. eval wx_cv_func_$wx_func=yes
  25801. else
  25802. eval wx_cv_func_$wx_func=no
  25803. fi
  25804. rm -f core conftest.err conftest.$ac_objext \
  25805. conftest$ac_exeext conftest.$ac_ext
  25806. fi
  25807. eval ac_res=\$wx_cv_func_$wx_func
  25808. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  25809. $as_echo "$ac_res" >&6; }
  25810. if eval test \$wx_cv_func_$wx_func = yes
  25811. then
  25812. cat >>confdefs.h <<_ACEOF
  25813. #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
  25814. _ACEOF
  25815. else
  25816. :
  25817. fi
  25818. done
  25819. INET_LINK=
  25820. for ac_func in inet_addr
  25821. do :
  25822. ac_fn_c_check_func "$LINENO" "inet_addr" "ac_cv_func_inet_addr"
  25823. if test "x$ac_cv_func_inet_addr" = xyes; then :
  25824. cat >>confdefs.h <<_ACEOF
  25825. #define HAVE_INET_ADDR 1
  25826. _ACEOF
  25827. $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
  25828. else
  25829. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lnsl" >&5
  25830. $as_echo_n "checking for inet_addr in -lnsl... " >&6; }
  25831. if ${ac_cv_lib_nsl_inet_addr+:} false; then :
  25832. $as_echo_n "(cached) " >&6
  25833. else
  25834. ac_check_lib_save_LIBS=$LIBS
  25835. LIBS="-lnsl $LIBS"
  25836. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25837. /* end confdefs.h. */
  25838. /* Override any GCC internal prototype to avoid an error.
  25839. Use char because int might match the return type of a GCC
  25840. builtin and then its argument prototype would still apply. */
  25841. #ifdef __cplusplus
  25842. extern "C"
  25843. #endif
  25844. char inet_addr ();
  25845. int
  25846. main ()
  25847. {
  25848. return inet_addr ();
  25849. ;
  25850. return 0;
  25851. }
  25852. _ACEOF
  25853. if ac_fn_c_try_link "$LINENO"; then :
  25854. ac_cv_lib_nsl_inet_addr=yes
  25855. else
  25856. ac_cv_lib_nsl_inet_addr=no
  25857. fi
  25858. rm -f core conftest.err conftest.$ac_objext \
  25859. conftest$ac_exeext conftest.$ac_ext
  25860. LIBS=$ac_check_lib_save_LIBS
  25861. fi
  25862. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_inet_addr" >&5
  25863. $as_echo "$ac_cv_lib_nsl_inet_addr" >&6; }
  25864. if test "x$ac_cv_lib_nsl_inet_addr" = xyes; then :
  25865. INET_LINK="nsl"
  25866. else
  25867. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lresolv" >&5
  25868. $as_echo_n "checking for inet_addr in -lresolv... " >&6; }
  25869. if ${ac_cv_lib_resolv_inet_addr+:} false; then :
  25870. $as_echo_n "(cached) " >&6
  25871. else
  25872. ac_check_lib_save_LIBS=$LIBS
  25873. LIBS="-lresolv $LIBS"
  25874. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25875. /* end confdefs.h. */
  25876. /* Override any GCC internal prototype to avoid an error.
  25877. Use char because int might match the return type of a GCC
  25878. builtin and then its argument prototype would still apply. */
  25879. #ifdef __cplusplus
  25880. extern "C"
  25881. #endif
  25882. char inet_addr ();
  25883. int
  25884. main ()
  25885. {
  25886. return inet_addr ();
  25887. ;
  25888. return 0;
  25889. }
  25890. _ACEOF
  25891. if ac_fn_c_try_link "$LINENO"; then :
  25892. ac_cv_lib_resolv_inet_addr=yes
  25893. else
  25894. ac_cv_lib_resolv_inet_addr=no
  25895. fi
  25896. rm -f core conftest.err conftest.$ac_objext \
  25897. conftest$ac_exeext conftest.$ac_ext
  25898. LIBS=$ac_check_lib_save_LIBS
  25899. fi
  25900. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_resolv_inet_addr" >&5
  25901. $as_echo "$ac_cv_lib_resolv_inet_addr" >&6; }
  25902. if test "x$ac_cv_lib_resolv_inet_addr" = xyes; then :
  25903. INET_LINK="resolv"
  25904. else
  25905. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_addr in -lsocket" >&5
  25906. $as_echo_n "checking for inet_addr in -lsocket... " >&6; }
  25907. if ${ac_cv_lib_socket_inet_addr+:} false; then :
  25908. $as_echo_n "(cached) " >&6
  25909. else
  25910. ac_check_lib_save_LIBS=$LIBS
  25911. LIBS="-lsocket $LIBS"
  25912. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25913. /* end confdefs.h. */
  25914. /* Override any GCC internal prototype to avoid an error.
  25915. Use char because int might match the return type of a GCC
  25916. builtin and then its argument prototype would still apply. */
  25917. #ifdef __cplusplus
  25918. extern "C"
  25919. #endif
  25920. char inet_addr ();
  25921. int
  25922. main ()
  25923. {
  25924. return inet_addr ();
  25925. ;
  25926. return 0;
  25927. }
  25928. _ACEOF
  25929. if ac_fn_c_try_link "$LINENO"; then :
  25930. ac_cv_lib_socket_inet_addr=yes
  25931. else
  25932. ac_cv_lib_socket_inet_addr=no
  25933. fi
  25934. rm -f core conftest.err conftest.$ac_objext \
  25935. conftest$ac_exeext conftest.$ac_ext
  25936. LIBS=$ac_check_lib_save_LIBS
  25937. fi
  25938. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_inet_addr" >&5
  25939. $as_echo "$ac_cv_lib_socket_inet_addr" >&6; }
  25940. if test "x$ac_cv_lib_socket_inet_addr" = xyes; then :
  25941. INET_LINK="socket"
  25942. fi
  25943. fi
  25944. fi
  25945. fi
  25946. done
  25947. for ac_func in inet_aton
  25948. do :
  25949. ac_fn_c_check_func "$LINENO" "inet_aton" "ac_cv_func_inet_aton"
  25950. if test "x$ac_cv_func_inet_aton" = xyes; then :
  25951. cat >>confdefs.h <<_ACEOF
  25952. #define HAVE_INET_ATON 1
  25953. _ACEOF
  25954. $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
  25955. else
  25956. as_ac_Lib=`$as_echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
  25957. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inet_aton in -l$INET_LINK" >&5
  25958. $as_echo_n "checking for inet_aton in -l$INET_LINK... " >&6; }
  25959. if eval \${$as_ac_Lib+:} false; then :
  25960. $as_echo_n "(cached) " >&6
  25961. else
  25962. ac_check_lib_save_LIBS=$LIBS
  25963. LIBS="-l$INET_LINK $LIBS"
  25964. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  25965. /* end confdefs.h. */
  25966. /* Override any GCC internal prototype to avoid an error.
  25967. Use char because int might match the return type of a GCC
  25968. builtin and then its argument prototype would still apply. */
  25969. #ifdef __cplusplus
  25970. extern "C"
  25971. #endif
  25972. char inet_aton ();
  25973. int
  25974. main ()
  25975. {
  25976. return inet_aton ();
  25977. ;
  25978. return 0;
  25979. }
  25980. _ACEOF
  25981. if ac_fn_c_try_link "$LINENO"; then :
  25982. eval "$as_ac_Lib=yes"
  25983. else
  25984. eval "$as_ac_Lib=no"
  25985. fi
  25986. rm -f core conftest.err conftest.$ac_objext \
  25987. conftest$ac_exeext conftest.$ac_ext
  25988. LIBS=$ac_check_lib_save_LIBS
  25989. fi
  25990. eval ac_res=\$$as_ac_Lib
  25991. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  25992. $as_echo "$ac_res" >&6; }
  25993. if eval test \"x\$"$as_ac_Lib"\" = x"yes"; then :
  25994. $as_echo "#define HAVE_INET_ATON 1" >>confdefs.h
  25995. fi
  25996. fi
  25997. done
  25998. if test "x$INET_LINK" != "x"; then
  25999. $as_echo "#define HAVE_INET_ADDR 1" >>confdefs.h
  26000. INET_LINK=" -l$INET_LINK"
  26001. fi
  26002. for wx_func in fdopen
  26003. do
  26004. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
  26005. $as_echo_n "checking for $wx_func... " >&6; }
  26006. if eval \${wx_cv_func_$wx_func+:} false; then :
  26007. $as_echo_n "(cached) " >&6
  26008. else
  26009. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26010. /* end confdefs.h. */
  26011. $ac_includes_default
  26012. int
  26013. main ()
  26014. {
  26015. #ifndef $wx_func
  26016. &$wx_func;
  26017. #endif
  26018. ;
  26019. return 0;
  26020. }
  26021. _ACEOF
  26022. if ac_fn_c_try_link "$LINENO"; then :
  26023. eval wx_cv_func_$wx_func=yes
  26024. else
  26025. eval wx_cv_func_$wx_func=no
  26026. fi
  26027. rm -f core conftest.err conftest.$ac_objext \
  26028. conftest$ac_exeext conftest.$ac_ext
  26029. fi
  26030. eval ac_res=\$wx_cv_func_$wx_func
  26031. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  26032. $as_echo "$ac_res" >&6; }
  26033. if eval test \$wx_cv_func_$wx_func = yes
  26034. then
  26035. cat >>confdefs.h <<_ACEOF
  26036. #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
  26037. _ACEOF
  26038. else
  26039. :
  26040. fi
  26041. done
  26042. if test "$wxUSE_TARSTREAM" = "yes"; then
  26043. for wx_func in sysconf
  26044. do
  26045. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
  26046. $as_echo_n "checking for $wx_func... " >&6; }
  26047. if eval \${wx_cv_func_$wx_func+:} false; then :
  26048. $as_echo_n "(cached) " >&6
  26049. else
  26050. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26051. /* end confdefs.h. */
  26052. $ac_includes_default
  26053. int
  26054. main ()
  26055. {
  26056. #ifndef $wx_func
  26057. &$wx_func;
  26058. #endif
  26059. ;
  26060. return 0;
  26061. }
  26062. _ACEOF
  26063. if ac_fn_c_try_link "$LINENO"; then :
  26064. eval wx_cv_func_$wx_func=yes
  26065. else
  26066. eval wx_cv_func_$wx_func=no
  26067. fi
  26068. rm -f core conftest.err conftest.$ac_objext \
  26069. conftest$ac_exeext conftest.$ac_ext
  26070. fi
  26071. eval ac_res=\$wx_cv_func_$wx_func
  26072. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  26073. $as_echo "$ac_res" >&6; }
  26074. if eval test \$wx_cv_func_$wx_func = yes
  26075. then
  26076. cat >>confdefs.h <<_ACEOF
  26077. #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
  26078. _ACEOF
  26079. else
  26080. :
  26081. fi
  26082. done
  26083. for wx_func in getpwuid_r
  26084. do
  26085. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
  26086. $as_echo_n "checking for $wx_func... " >&6; }
  26087. if eval \${wx_cv_func_$wx_func+:} false; then :
  26088. $as_echo_n "(cached) " >&6
  26089. else
  26090. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26091. /* end confdefs.h. */
  26092. #define _REENTRANT
  26093. #include <pwd.h>
  26094. $ac_includes_default
  26095. int
  26096. main ()
  26097. {
  26098. #ifndef $wx_func
  26099. &$wx_func;
  26100. #endif
  26101. struct passwd pw, *ppw;
  26102. char buf[1024];
  26103. getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
  26104. ;
  26105. return 0;
  26106. }
  26107. _ACEOF
  26108. if ac_fn_c_try_link "$LINENO"; then :
  26109. eval wx_cv_func_$wx_func=yes
  26110. else
  26111. eval wx_cv_func_$wx_func=no
  26112. fi
  26113. rm -f core conftest.err conftest.$ac_objext \
  26114. conftest$ac_exeext conftest.$ac_ext
  26115. fi
  26116. eval ac_res=\$wx_cv_func_$wx_func
  26117. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  26118. $as_echo "$ac_res" >&6; }
  26119. if eval test \$wx_cv_func_$wx_func = yes
  26120. then
  26121. cat >>confdefs.h <<_ACEOF
  26122. #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
  26123. _ACEOF
  26124. else
  26125. :
  26126. fi
  26127. done
  26128. for wx_func in getgrgid_r
  26129. do
  26130. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $wx_func" >&5
  26131. $as_echo_n "checking for $wx_func... " >&6; }
  26132. if eval \${wx_cv_func_$wx_func+:} false; then :
  26133. $as_echo_n "(cached) " >&6
  26134. else
  26135. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26136. /* end confdefs.h. */
  26137. #define _REENTRANT
  26138. #include <grp.h>
  26139. $ac_includes_default
  26140. int
  26141. main ()
  26142. {
  26143. #ifndef $wx_func
  26144. &$wx_func;
  26145. #endif
  26146. struct group grp, *pgrp;
  26147. char buf[1024];
  26148. getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
  26149. ;
  26150. return 0;
  26151. }
  26152. _ACEOF
  26153. if ac_fn_c_try_link "$LINENO"; then :
  26154. eval wx_cv_func_$wx_func=yes
  26155. else
  26156. eval wx_cv_func_$wx_func=no
  26157. fi
  26158. rm -f core conftest.err conftest.$ac_objext \
  26159. conftest$ac_exeext conftest.$ac_ext
  26160. fi
  26161. eval ac_res=\$wx_cv_func_$wx_func
  26162. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  26163. $as_echo "$ac_res" >&6; }
  26164. if eval test \$wx_cv_func_$wx_func = yes
  26165. then
  26166. cat >>confdefs.h <<_ACEOF
  26167. #define `$as_echo "HAVE_$wx_func" | $as_tr_cpp` 1
  26168. _ACEOF
  26169. else
  26170. :
  26171. fi
  26172. done
  26173. fi
  26174. fi
  26175. cat >confcache <<\_ACEOF
  26176. # This file is a shell script that caches the results of configure
  26177. # tests run on this system so they can be shared between configure
  26178. # scripts and configure runs, see configure's option --config-cache.
  26179. # It is not useful on other systems. If it contains results you don't
  26180. # want to keep, you may remove or edit it.
  26181. #
  26182. # config.status only pays attention to the cache file if you give it
  26183. # the --recheck option to rerun configure.
  26184. #
  26185. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  26186. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  26187. # following values.
  26188. _ACEOF
  26189. # The following way of writing the cache mishandles newlines in values,
  26190. # but we know of no workaround that is simple, portable, and efficient.
  26191. # So, we kill variables containing newlines.
  26192. # Ultrix sh set writes to stderr and can't be redirected directly,
  26193. # and sets the high bit in the cache file unless we assign to the vars.
  26194. (
  26195. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  26196. eval ac_val=\$$ac_var
  26197. case $ac_val in #(
  26198. *${as_nl}*)
  26199. case $ac_var in #(
  26200. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  26201. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  26202. esac
  26203. case $ac_var in #(
  26204. _ | IFS | as_nl) ;; #(
  26205. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  26206. *) { eval $ac_var=; unset $ac_var;} ;;
  26207. esac ;;
  26208. esac
  26209. done
  26210. (set) 2>&1 |
  26211. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  26212. *${as_nl}ac_space=\ *)
  26213. # `set' does not quote correctly, so add quotes: double-quote
  26214. # substitution turns \\\\ into \\, and sed turns \\ into \.
  26215. sed -n \
  26216. "s/'/'\\\\''/g;
  26217. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  26218. ;; #(
  26219. *)
  26220. # `set' quotes correctly as required by POSIX, so do not add quotes.
  26221. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  26222. ;;
  26223. esac |
  26224. sort
  26225. ) |
  26226. sed '
  26227. /^ac_cv_env_/b end
  26228. t clear
  26229. :clear
  26230. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  26231. t end
  26232. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  26233. :end' >>confcache
  26234. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  26235. if test -w "$cache_file"; then
  26236. if test "x$cache_file" != "x/dev/null"; then
  26237. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  26238. $as_echo "$as_me: updating cache $cache_file" >&6;}
  26239. if test ! -f "$cache_file" || test -h "$cache_file"; then
  26240. cat confcache >"$cache_file"
  26241. else
  26242. case $cache_file in #(
  26243. */* | ?:*)
  26244. mv -f confcache "$cache_file"$$ &&
  26245. mv -f "$cache_file"$$ "$cache_file" ;; #(
  26246. *)
  26247. mv -f confcache "$cache_file" ;;
  26248. esac
  26249. fi
  26250. fi
  26251. else
  26252. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  26253. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  26254. fi
  26255. fi
  26256. rm -f confcache
  26257. if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
  26258. THREADS_LINK=
  26259. THREADS_CFLAGS=
  26260. if test "$wxUSE_THREADS" = "yes" ; then
  26261. if test "$USE_BEOS" = 1; then
  26262. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: BeOS threads are not yet supported... disabled" >&5
  26263. $as_echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
  26264. wxUSE_THREADS="no"
  26265. fi
  26266. fi
  26267. if test "$wxUSE_THREADS" = "yes" ; then
  26268. THREAD_OPTS="-pthread"
  26269. if test "x$SUNCXX" = xyes; then
  26270. THREAD_OPTS="-mt lthread $THREAD_OPTS"
  26271. fi
  26272. case "${host}" in
  26273. *-*-solaris2* | *-*-sunos4* )
  26274. if test "x$GCC" = "xyes"; then
  26275. THREAD_OPTS="-pthreads $THREAD_OPTS"
  26276. fi
  26277. ;;
  26278. *-*-freebsd*)
  26279. THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
  26280. ;;
  26281. *-*-darwin* | *-*-cygwin* )
  26282. THREAD_OPTS=""
  26283. ;;
  26284. *-*-aix*)
  26285. THREAD_OPTS="pthreads"
  26286. ;;
  26287. *-hp-hpux* )
  26288. if test "x$GCC" = "xyes"; then
  26289. $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
  26290. THREAD_OPTS=""
  26291. else
  26292. THREAD_OPTS="-mt"
  26293. fi
  26294. ;;
  26295. *-*-irix* )
  26296. if test "x$GCC" = "xyes"; then
  26297. THREAD_OPTS=""
  26298. fi
  26299. ;;
  26300. *-*-qnx*)
  26301. THREAD_OPTS=""
  26302. ;;
  26303. *-*-*UnixWare*)
  26304. if test "x$GCC" != "xyes"; then
  26305. THREAD_OPTS="-Ethread"
  26306. fi
  26307. ;;
  26308. esac
  26309. case "${host}" in
  26310. *-*-qnx*)
  26311. THREAD_OPTS="none pthread"
  26312. ;;
  26313. *)
  26314. THREAD_OPTS="$THREAD_OPTS pthread none"
  26315. ;;
  26316. esac
  26317. THREADS_OK=no
  26318. for flag in $THREAD_OPTS; do
  26319. case $flag in
  26320. none)
  26321. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work without any flags" >&5
  26322. $as_echo_n "checking whether pthreads work without any flags... " >&6; }
  26323. ;;
  26324. -*)
  26325. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether pthreads work with $flag" >&5
  26326. $as_echo_n "checking whether pthreads work with $flag... " >&6; }
  26327. THREADS_CFLAGS="$flag"
  26328. ;;
  26329. *)
  26330. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the pthreads library -l$flag" >&5
  26331. $as_echo_n "checking for the pthreads library -l$flag... " >&6; }
  26332. THREADS_LINK="-l$flag"
  26333. ;;
  26334. esac
  26335. save_LIBS="$LIBS"
  26336. save_CFLAGS="$CFLAGS"
  26337. LIBS="$THREADS_LINK $LIBS"
  26338. CFLAGS="$THREADS_CFLAGS $CFLAGS"
  26339. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26340. /* end confdefs.h. */
  26341. #include <pthread.h>
  26342. int
  26343. main ()
  26344. {
  26345. pthread_create(0,0,0,0);
  26346. ;
  26347. return 0;
  26348. }
  26349. _ACEOF
  26350. if ac_fn_c_try_link "$LINENO"; then :
  26351. THREADS_OK=yes
  26352. fi
  26353. rm -f core conftest.err conftest.$ac_objext \
  26354. conftest$ac_exeext conftest.$ac_ext
  26355. LIBS="$save_LIBS"
  26356. CFLAGS="$save_CFLAGS"
  26357. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $THREADS_OK" >&5
  26358. $as_echo "$THREADS_OK" >&6; }
  26359. if test "x$THREADS_OK" = "xyes"; then
  26360. break;
  26361. fi
  26362. THREADS_LINK=""
  26363. THREADS_CFLAGS=""
  26364. done
  26365. if test "x$THREADS_OK" != "xyes"; then
  26366. wxUSE_THREADS=no
  26367. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: No thread support on this system... disabled" >&5
  26368. $as_echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
  26369. else
  26370. LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
  26371. WXCONFIG_LDFLAGS="$THREADS_CFLAGS $WXCONFIG_LDFLAGS"
  26372. LIBS="$THREADS_LINK $LIBS"
  26373. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if more special flags are required for pthreads" >&5
  26374. $as_echo_n "checking if more special flags are required for pthreads... " >&6; }
  26375. flag=no
  26376. case "${host}" in
  26377. *-aix*)
  26378. LDFLAGS="-L/usr/lib/threads $LDFLAGS"
  26379. WXCONFIG_LDFLAGS="-L/usr/lib/threads $WXCONFIG_LDFLAGS"
  26380. flag="-D_THREAD_SAFE"
  26381. ;;
  26382. *-freebsd*)
  26383. flag="-D_THREAD_SAFE"
  26384. ;;
  26385. *-hp-hpux* )
  26386. flag="-D_REENTRANT"
  26387. if test "x$GCC" != "xyes"; then
  26388. flag="$flag -D_RWSTD_MULTI_THREAD"
  26389. fi
  26390. ;;
  26391. *solaris* | alpha*-osf*)
  26392. flag="-D_REENTRANT"
  26393. ;;
  26394. esac
  26395. { $as_echo "$as_me:${as_lineno-$LINENO}: result: ${flag}" >&5
  26396. $as_echo "${flag}" >&6; }
  26397. if test "x$flag" != xno; then
  26398. THREADS_CFLAGS="$THREADS_CFLAGS $flag"
  26399. fi
  26400. WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
  26401. fi
  26402. fi
  26403. if test "$wxUSE_THREADS" = "yes" ; then
  26404. for ac_func in pthread_setconcurrency
  26405. do :
  26406. ac_fn_c_check_func "$LINENO" "pthread_setconcurrency" "ac_cv_func_pthread_setconcurrency"
  26407. if test "x$ac_cv_func_pthread_setconcurrency" = xyes; then :
  26408. cat >>confdefs.h <<_ACEOF
  26409. #define HAVE_PTHREAD_SETCONCURRENCY 1
  26410. _ACEOF
  26411. $as_echo "#define HAVE_PTHREAD_SET_CONCURRENCY 1" >>confdefs.h
  26412. else
  26413. for ac_func in thr_setconcurrency
  26414. do :
  26415. ac_fn_c_check_func "$LINENO" "thr_setconcurrency" "ac_cv_func_thr_setconcurrency"
  26416. if test "x$ac_cv_func_thr_setconcurrency" = xyes; then :
  26417. cat >>confdefs.h <<_ACEOF
  26418. #define HAVE_THR_SETCONCURRENCY 1
  26419. _ACEOF
  26420. $as_echo "#define HAVE_THR_SETCONCURRENCY 1" >>confdefs.h
  26421. else
  26422. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread concurrency will not work properly" >&5
  26423. $as_echo "$as_me: WARNING: Setting thread concurrency will not work properly" >&2;}
  26424. fi
  26425. done
  26426. fi
  26427. done
  26428. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_cleanup_push/pop" >&5
  26429. $as_echo_n "checking for pthread_cleanup_push/pop... " >&6; }
  26430. if ${wx_cv_func_pthread_cleanup+:} false; then :
  26431. $as_echo_n "(cached) " >&6
  26432. else
  26433. ac_ext=cpp
  26434. ac_cpp='$CXXCPP $CPPFLAGS'
  26435. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  26436. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  26437. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  26438. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26439. /* end confdefs.h. */
  26440. #include <pthread.h>
  26441. void ThreadCleanupFunc(void *p);
  26442. int
  26443. main ()
  26444. {
  26445. void *p;
  26446. pthread_cleanup_push(ThreadCleanupFunc, p);
  26447. pthread_cleanup_pop(0);
  26448. ;
  26449. return 0;
  26450. }
  26451. _ACEOF
  26452. if ac_fn_cxx_try_compile "$LINENO"; then :
  26453. wx_cv_func_pthread_cleanup=yes
  26454. else
  26455. wx_cv_func_pthread_cleanup=no
  26456. fi
  26457. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26458. ac_ext=c
  26459. ac_cpp='$CPP $CPPFLAGS'
  26460. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  26461. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  26462. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  26463. fi
  26464. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_cleanup" >&5
  26465. $as_echo "$wx_cv_func_pthread_cleanup" >&6; }
  26466. if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
  26467. $as_echo "#define wxHAVE_PTHREAD_CLEANUP 1" >>confdefs.h
  26468. fi
  26469. for ac_header in sched.h
  26470. do :
  26471. ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default
  26472. "
  26473. if test "x$ac_cv_header_sched_h" = xyes; then :
  26474. cat >>confdefs.h <<_ACEOF
  26475. #define HAVE_SCHED_H 1
  26476. _ACEOF
  26477. fi
  26478. done
  26479. if test "$ac_cv_header_sched_h" = "yes"; then
  26480. ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
  26481. if test "x$ac_cv_func_sched_yield" = xyes; then :
  26482. $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
  26483. else
  26484. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_yield in -lposix4" >&5
  26485. $as_echo_n "checking for sched_yield in -lposix4... " >&6; }
  26486. if ${ac_cv_lib_posix4_sched_yield+:} false; then :
  26487. $as_echo_n "(cached) " >&6
  26488. else
  26489. ac_check_lib_save_LIBS=$LIBS
  26490. LIBS="-lposix4 $LIBS"
  26491. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26492. /* end confdefs.h. */
  26493. /* Override any GCC internal prototype to avoid an error.
  26494. Use char because int might match the return type of a GCC
  26495. builtin and then its argument prototype would still apply. */
  26496. #ifdef __cplusplus
  26497. extern "C"
  26498. #endif
  26499. char sched_yield ();
  26500. int
  26501. main ()
  26502. {
  26503. return sched_yield ();
  26504. ;
  26505. return 0;
  26506. }
  26507. _ACEOF
  26508. if ac_fn_c_try_link "$LINENO"; then :
  26509. ac_cv_lib_posix4_sched_yield=yes
  26510. else
  26511. ac_cv_lib_posix4_sched_yield=no
  26512. fi
  26513. rm -f core conftest.err conftest.$ac_objext \
  26514. conftest$ac_exeext conftest.$ac_ext
  26515. LIBS=$ac_check_lib_save_LIBS
  26516. fi
  26517. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_yield" >&5
  26518. $as_echo "$ac_cv_lib_posix4_sched_yield" >&6; }
  26519. if test "x$ac_cv_lib_posix4_sched_yield" = xyes; then :
  26520. $as_echo "#define HAVE_SCHED_YIELD 1" >>confdefs.h
  26521. POSIX4_LINK=" -lposix4"
  26522. else
  26523. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Yield will not work properly" >&5
  26524. $as_echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
  26525. fi
  26526. fi
  26527. fi
  26528. HAVE_PRIOR_FUNCS=0
  26529. ac_fn_c_check_func "$LINENO" "pthread_attr_getschedpolicy" "ac_cv_func_pthread_attr_getschedpolicy"
  26530. if test "x$ac_cv_func_pthread_attr_getschedpolicy" = xyes; then :
  26531. ac_fn_c_check_func "$LINENO" "pthread_attr_setschedparam" "ac_cv_func_pthread_attr_setschedparam"
  26532. if test "x$ac_cv_func_pthread_attr_setschedparam" = xyes; then :
  26533. ac_fn_c_check_func "$LINENO" "sched_get_priority_max" "ac_cv_func_sched_get_priority_max"
  26534. if test "x$ac_cv_func_sched_get_priority_max" = xyes; then :
  26535. HAVE_PRIOR_FUNCS=1
  26536. else
  26537. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_get_priority_max in -lposix4" >&5
  26538. $as_echo_n "checking for sched_get_priority_max in -lposix4... " >&6; }
  26539. if ${ac_cv_lib_posix4_sched_get_priority_max+:} false; then :
  26540. $as_echo_n "(cached) " >&6
  26541. else
  26542. ac_check_lib_save_LIBS=$LIBS
  26543. LIBS="-lposix4 $LIBS"
  26544. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26545. /* end confdefs.h. */
  26546. /* Override any GCC internal prototype to avoid an error.
  26547. Use char because int might match the return type of a GCC
  26548. builtin and then its argument prototype would still apply. */
  26549. #ifdef __cplusplus
  26550. extern "C"
  26551. #endif
  26552. char sched_get_priority_max ();
  26553. int
  26554. main ()
  26555. {
  26556. return sched_get_priority_max ();
  26557. ;
  26558. return 0;
  26559. }
  26560. _ACEOF
  26561. if ac_fn_c_try_link "$LINENO"; then :
  26562. ac_cv_lib_posix4_sched_get_priority_max=yes
  26563. else
  26564. ac_cv_lib_posix4_sched_get_priority_max=no
  26565. fi
  26566. rm -f core conftest.err conftest.$ac_objext \
  26567. conftest$ac_exeext conftest.$ac_ext
  26568. LIBS=$ac_check_lib_save_LIBS
  26569. fi
  26570. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
  26571. $as_echo "$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
  26572. if test "x$ac_cv_lib_posix4_sched_get_priority_max" = xyes; then :
  26573. HAVE_PRIOR_FUNCS=1
  26574. POSIX4_LINK=" -lposix4"
  26575. fi
  26576. fi
  26577. fi
  26578. fi
  26579. if test "$HAVE_PRIOR_FUNCS" = 1; then
  26580. $as_echo "#define HAVE_THREAD_PRIORITY_FUNCTIONS 1" >>confdefs.h
  26581. else
  26582. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Setting thread priority will not work" >&5
  26583. $as_echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
  26584. fi
  26585. ac_fn_c_check_func "$LINENO" "pthread_cancel" "ac_cv_func_pthread_cancel"
  26586. if test "x$ac_cv_func_pthread_cancel" = xyes; then :
  26587. $as_echo "#define HAVE_PTHREAD_CANCEL 1" >>confdefs.h
  26588. else
  26589. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxThread::Kill() will not work properly" >&5
  26590. $as_echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
  26591. fi
  26592. ac_fn_c_check_func "$LINENO" "pthread_mutex_timedlock" "ac_cv_func_pthread_mutex_timedlock"
  26593. if test "x$ac_cv_func_pthread_mutex_timedlock" = xyes; then :
  26594. $as_echo "#define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1" >>confdefs.h
  26595. else
  26596. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex::LockTimeout() will not work" >&5
  26597. $as_echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
  26598. fi
  26599. ac_fn_c_check_func "$LINENO" "pthread_attr_setstacksize" "ac_cv_func_pthread_attr_setstacksize"
  26600. if test "x$ac_cv_func_pthread_attr_setstacksize" = xyes; then :
  26601. $as_echo "#define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1" >>confdefs.h
  26602. fi
  26603. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_t" >&5
  26604. $as_echo_n "checking for pthread_mutexattr_t... " >&6; }
  26605. if ${wx_cv_type_pthread_mutexattr_t+:} false; then :
  26606. $as_echo_n "(cached) " >&6
  26607. else
  26608. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26609. /* end confdefs.h. */
  26610. #include <pthread.h>
  26611. int
  26612. main ()
  26613. {
  26614. pthread_mutexattr_t attr;
  26615. pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
  26616. ;
  26617. return 0;
  26618. }
  26619. _ACEOF
  26620. if ac_fn_c_try_compile "$LINENO"; then :
  26621. wx_cv_type_pthread_mutexattr_t=yes
  26622. else
  26623. wx_cv_type_pthread_mutexattr_t=no
  26624. fi
  26625. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26626. fi
  26627. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_mutexattr_t" >&5
  26628. $as_echo "$wx_cv_type_pthread_mutexattr_t" >&6; }
  26629. if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
  26630. $as_echo "#define HAVE_PTHREAD_MUTEXATTR_T 1" >>confdefs.h
  26631. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_mutexattr_settype declaration" >&5
  26632. $as_echo_n "checking for pthread_mutexattr_settype declaration... " >&6; }
  26633. if ${wx_cv_func_pthread_mutexattr_settype_decl+:} false; then :
  26634. $as_echo_n "(cached) " >&6
  26635. else
  26636. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26637. /* end confdefs.h. */
  26638. #include <pthread.h>
  26639. int
  26640. main ()
  26641. {
  26642. pthread_mutexattr_t attr;
  26643. pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
  26644. ;
  26645. return 0;
  26646. }
  26647. _ACEOF
  26648. if ac_fn_c_try_compile "$LINENO"; then :
  26649. wx_cv_func_pthread_mutexattr_settype_decl=yes
  26650. else
  26651. wx_cv_func_pthread_mutexattr_settype_decl=no
  26652. fi
  26653. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26654. fi
  26655. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
  26656. $as_echo "$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
  26657. if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
  26658. $as_echo "#define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1" >>confdefs.h
  26659. fi
  26660. else
  26661. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
  26662. $as_echo_n "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... " >&6; }
  26663. if ${wx_cv_type_pthread_rec_mutex_init+:} false; then :
  26664. $as_echo_n "(cached) " >&6
  26665. else
  26666. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26667. /* end confdefs.h. */
  26668. #include <pthread.h>
  26669. int
  26670. main ()
  26671. {
  26672. pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
  26673. ;
  26674. return 0;
  26675. }
  26676. _ACEOF
  26677. if ac_fn_c_try_compile "$LINENO"; then :
  26678. wx_cv_type_pthread_rec_mutex_init=yes
  26679. else
  26680. wx_cv_type_pthread_rec_mutex_init=no
  26681. fi
  26682. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26683. fi
  26684. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_pthread_rec_mutex_init" >&5
  26685. $as_echo "$wx_cv_type_pthread_rec_mutex_init" >&6; }
  26686. if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
  26687. $as_echo "#define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1" >>confdefs.h
  26688. else
  26689. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMutex won't be recursive on this platform" >&5
  26690. $as_echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
  26691. fi
  26692. fi
  26693. if test "$wxUSE_COMPILER_TLS" = "auto"; then
  26694. if test "$USE_NETBSD" = 1; then
  26695. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&5
  26696. $as_echo "$as_me: WARNING: Disabling TLS under NetBSD, please contact wx-dev if it works now" >&2;}
  26697. wxUSE_COMPILER_TLS=no
  26698. else
  26699. wxUSE_COMPILER_TLS=yes
  26700. fi
  26701. fi
  26702. if test "$wxUSE_COMPILER_TLS" = "yes"; then
  26703. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __thread keyword" >&5
  26704. $as_echo_n "checking for __thread keyword... " >&6; }
  26705. if ${wx_cv_cc___thread+:} false; then :
  26706. $as_echo_n "(cached) " >&6
  26707. else
  26708. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26709. /* end confdefs.h. */
  26710. #include <pthread.h>
  26711. int
  26712. main ()
  26713. {
  26714. static __thread int n = 0;
  26715. static __thread int *p = 0;
  26716. ;
  26717. return 0;
  26718. }
  26719. _ACEOF
  26720. if ac_fn_c_try_compile "$LINENO"; then :
  26721. wx_cv_cc___thread=yes
  26722. else
  26723. wx_cv_cc___thread=no
  26724. fi
  26725. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26726. fi
  26727. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cc___thread" >&5
  26728. $as_echo "$wx_cv_cc___thread" >&6; }
  26729. if test "$wx_cv_cc___thread" = "yes"; then
  26730. GXX_VERSION=""
  26731. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if gcc accepts -dumpversion option" >&5
  26732. $as_echo_n "checking if gcc accepts -dumpversion option... " >&6; }
  26733. if test "x$GCC" = "xyes" ; then :
  26734. if test -z "" ; then :
  26735. ax_gcc_option_test="int main()
  26736. {
  26737. return 0;
  26738. }"
  26739. else
  26740. ax_gcc_option_test=""
  26741. fi
  26742. # Dump the test program to file
  26743. cat <<EOF > conftest.c
  26744. $ax_gcc_option_test
  26745. EOF
  26746. # Dump back the file to the log, useful for debugging purposes
  26747. { ac_try='cat conftest.c 1>&5'
  26748. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
  26749. (eval $ac_try) 2>&5
  26750. ac_status=$?
  26751. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  26752. test $ac_status = 0; }; }
  26753. if { ac_try='$CC -dumpversion -c conftest.c 1>&5'
  26754. { { eval echo "\"\$as_me\":${as_lineno-$LINENO}: \"$ac_try\""; } >&5
  26755. (eval $ac_try) 2>&5
  26756. ac_status=$?
  26757. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  26758. test $ac_status = 0; }; } ; then :
  26759. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  26760. $as_echo "yes" >&6; }
  26761. ax_gcc_version_option=yes
  26762. else
  26763. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  26764. $as_echo "no" >&6; }
  26765. ax_gcc_version_option=no
  26766. fi
  26767. else
  26768. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no gcc available" >&5
  26769. $as_echo "no gcc available" >&6; }
  26770. fi
  26771. if test "x$GXX" = "xyes"; then :
  26772. if test "x$ax_gxx_version_option" != "no"; then :
  26773. { $as_echo "$as_me:${as_lineno-$LINENO}: checking gxx version" >&5
  26774. $as_echo_n "checking gxx version... " >&6; }
  26775. if ${ax_cv_gxx_version+:} false; then :
  26776. $as_echo_n "(cached) " >&6
  26777. else
  26778. ax_cv_gxx_version="`$CXX -dumpversion`"
  26779. if test "x$ax_cv_gxx_version" = "x"; then :
  26780. ax_cv_gxx_version=""
  26781. fi
  26782. fi
  26783. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ax_cv_gxx_version" >&5
  26784. $as_echo "$ax_cv_gxx_version" >&6; }
  26785. GXX_VERSION=$ax_cv_gxx_version
  26786. fi
  26787. fi
  26788. if test -n "$ax_cv_gxx_version"; then
  26789. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether __thread support in g++ is usable" >&5
  26790. $as_echo_n "checking whether __thread support in g++ is usable... " >&6; }
  26791. case "$ax_cv_gxx_version" in
  26792. 1.* | 2.* | 3.* )
  26793. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, it's broken" >&5
  26794. $as_echo "no, it's broken" >&6; }
  26795. wx_cv_cc___thread=no
  26796. ;;
  26797. *)
  26798. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes, it works" >&5
  26799. $as_echo "yes, it works" >&6; }
  26800. ;;
  26801. esac
  26802. fi
  26803. fi
  26804. if test "$wx_cv_cc___thread" = "yes"; then
  26805. $as_echo "#define HAVE___THREAD_KEYWORD 1" >>confdefs.h
  26806. fi
  26807. fi
  26808. if test "$ac_cv_header_cxxabi_h" = "yes"; then
  26809. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for abi::__forced_unwind() in <cxxabi.h>" >&5
  26810. $as_echo_n "checking for abi::__forced_unwind() in <cxxabi.h>... " >&6; }
  26811. if ${wx_cv_type_abi_forced_unwind+:} false; then :
  26812. $as_echo_n "(cached) " >&6
  26813. else
  26814. ac_ext=cpp
  26815. ac_cpp='$CXXCPP $CPPFLAGS'
  26816. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  26817. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  26818. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  26819. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26820. /* end confdefs.h. */
  26821. #include <cxxabi.h>
  26822. int
  26823. main ()
  26824. {
  26825. void foo(abi::__forced_unwind&);
  26826. ;
  26827. return 0;
  26828. }
  26829. _ACEOF
  26830. if ac_fn_cxx_try_compile "$LINENO"; then :
  26831. wx_cv_type_abi_forced_unwind=yes
  26832. else
  26833. wx_cv_type_abi_forced_unwind=no
  26834. fi
  26835. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26836. ac_ext=c
  26837. ac_cpp='$CPP $CPPFLAGS'
  26838. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  26839. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  26840. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  26841. fi
  26842. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_abi_forced_unwind" >&5
  26843. $as_echo "$wx_cv_type_abi_forced_unwind" >&6; }
  26844. else
  26845. wx_cv_type_abi_forced_unwind=no
  26846. fi
  26847. if test "$wx_cv_type_abi_forced_unwind" = "yes"; then
  26848. $as_echo "#define HAVE_ABI_FORCEDUNWIND 1" >>confdefs.h
  26849. fi
  26850. fi
  26851. else
  26852. if test "$wxUSE_THREADS" = "yes" ; then
  26853. case "${host}" in
  26854. x86_64-*-mingw32* )
  26855. ;;
  26856. *-*-mingw32* )
  26857. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if compiler supports -mthreads" >&5
  26858. $as_echo_n "checking if compiler supports -mthreads... " >&6; }
  26859. if ${wx_cv_cflags_mthread+:} false; then :
  26860. $as_echo_n "(cached) " >&6
  26861. else
  26862. CFLAGS_OLD="$CFLAGS"
  26863. CFLAGS="-mthreads $CFLAGS"
  26864. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26865. /* end confdefs.h. */
  26866. int
  26867. main ()
  26868. {
  26869. ;
  26870. return 0;
  26871. }
  26872. _ACEOF
  26873. if ac_fn_c_try_compile "$LINENO"; then :
  26874. wx_cv_cflags_mthread=yes
  26875. else
  26876. wx_cv_cflags_mthread=no
  26877. fi
  26878. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26879. fi
  26880. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_cflags_mthread" >&5
  26881. $as_echo "$wx_cv_cflags_mthread" >&6; }
  26882. if test "$wx_cv_cflags_mthread" = "yes"; then
  26883. WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
  26884. LDFLAGS="$LDFLAGS -mthreads"
  26885. else
  26886. CFLAGS="$CFLAGS_OLD"
  26887. fi
  26888. ;;
  26889. *-pc-os2*emx )
  26890. WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
  26891. LDFLAGS="$LDFLAGS -Zmt"
  26892. ;;
  26893. esac
  26894. fi
  26895. fi
  26896. ac_fn_c_check_func "$LINENO" "localtime_r" "ac_cv_func_localtime_r"
  26897. if test "x$ac_cv_func_localtime_r" = xyes; then :
  26898. $as_echo "#define HAVE_LOCALTIME_R 1" >>confdefs.h
  26899. fi
  26900. ac_fn_c_check_func "$LINENO" "gmtime_r" "ac_cv_func_gmtime_r"
  26901. if test "x$ac_cv_func_gmtime_r" = xyes; then :
  26902. $as_echo "#define HAVE_GMTIME_R 1" >>confdefs.h
  26903. fi
  26904. ac_ext=c
  26905. ac_cpp='$CPP $CPPFLAGS'
  26906. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  26907. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  26908. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  26909. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments gethostbyname_r() takes" >&5
  26910. $as_echo_n "checking how many arguments gethostbyname_r() takes... " >&6; }
  26911. if ${ac_cv_func_which_gethostbyname_r+:} false; then :
  26912. $as_echo_n "(cached) " >&6
  26913. else
  26914. ################################################################
  26915. ac_cv_func_which_gethostbyname_r=unknown
  26916. #
  26917. # ONE ARGUMENT (sanity check)
  26918. #
  26919. # This should fail, as there is no variant of gethostbyname_r() that takes
  26920. # a single argument. If it actually compiles, then we can assume that
  26921. # netdb.h is not declaring the function, and the compiler is thereby
  26922. # assuming an implicit prototype. In which case, we're out of luck.
  26923. #
  26924. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26925. /* end confdefs.h. */
  26926. #include <netdb.h>
  26927. int
  26928. main ()
  26929. {
  26930. char *name = "www.gnu.org";
  26931. (void)gethostbyname_r(name) /* ; */
  26932. ;
  26933. return 0;
  26934. }
  26935. _ACEOF
  26936. if ac_fn_c_try_compile "$LINENO"; then :
  26937. ac_cv_func_which_gethostbyname_r=no
  26938. fi
  26939. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26940. #
  26941. # SIX ARGUMENTS
  26942. # (e.g. Linux)
  26943. #
  26944. if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
  26945. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26946. /* end confdefs.h. */
  26947. #include <netdb.h>
  26948. int
  26949. main ()
  26950. {
  26951. char *name = "www.gnu.org";
  26952. struct hostent ret, *retp;
  26953. char buf[1024];
  26954. int buflen = 1024;
  26955. int my_h_errno;
  26956. (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
  26957. ;
  26958. return 0;
  26959. }
  26960. _ACEOF
  26961. if ac_fn_c_try_compile "$LINENO"; then :
  26962. ac_cv_func_which_gethostbyname_r=six
  26963. fi
  26964. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26965. fi
  26966. #
  26967. # FIVE ARGUMENTS
  26968. # (e.g. Solaris)
  26969. #
  26970. if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
  26971. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26972. /* end confdefs.h. */
  26973. #include <netdb.h>
  26974. int
  26975. main ()
  26976. {
  26977. char *name = "www.gnu.org";
  26978. struct hostent ret;
  26979. char buf[1024];
  26980. int buflen = 1024;
  26981. int my_h_errno;
  26982. (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
  26983. ;
  26984. return 0;
  26985. }
  26986. _ACEOF
  26987. if ac_fn_c_try_compile "$LINENO"; then :
  26988. ac_cv_func_which_gethostbyname_r=five
  26989. fi
  26990. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  26991. fi
  26992. #
  26993. # THREE ARGUMENTS
  26994. # (e.g. AIX, HP-UX, Tru64)
  26995. #
  26996. if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
  26997. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  26998. /* end confdefs.h. */
  26999. #include <netdb.h>
  27000. int
  27001. main ()
  27002. {
  27003. char *name = "www.gnu.org";
  27004. struct hostent ret;
  27005. struct hostent_data data;
  27006. (void)gethostbyname_r(name, &ret, &data) /* ; */
  27007. ;
  27008. return 0;
  27009. }
  27010. _ACEOF
  27011. if ac_fn_c_try_compile "$LINENO"; then :
  27012. ac_cv_func_which_gethostbyname_r=three
  27013. fi
  27014. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27015. fi
  27016. ################################################################
  27017. fi
  27018. case "$ac_cv_func_which_gethostbyname_r" in
  27019. three)
  27020. { $as_echo "$as_me:${as_lineno-$LINENO}: result: three" >&5
  27021. $as_echo "three" >&6; }
  27022. $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_3 1" >>confdefs.h
  27023. ;;
  27024. five)
  27025. { $as_echo "$as_me:${as_lineno-$LINENO}: result: five" >&5
  27026. $as_echo "five" >&6; }
  27027. $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_5 1" >>confdefs.h
  27028. ;;
  27029. six)
  27030. { $as_echo "$as_me:${as_lineno-$LINENO}: result: six" >&5
  27031. $as_echo "six" >&6; }
  27032. $as_echo "#define HAVE_FUNC_GETHOSTBYNAME_R_6 1" >>confdefs.h
  27033. ;;
  27034. no)
  27035. { $as_echo "$as_me:${as_lineno-$LINENO}: result: cannot find function declaration in netdb.h" >&5
  27036. $as_echo "cannot find function declaration in netdb.h" >&6; }
  27037. ;;
  27038. unknown)
  27039. { $as_echo "$as_me:${as_lineno-$LINENO}: result: can't tell" >&5
  27040. $as_echo "can't tell" >&6; }
  27041. ;;
  27042. *)
  27043. as_fn_error $? "internal error" "$LINENO" 5
  27044. ;;
  27045. esac
  27046. ac_ext=c
  27047. ac_cpp='$CPP $CPPFLAGS'
  27048. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  27049. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  27050. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  27051. if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
  27052. "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
  27053. ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
  27054. if test "x$ac_cv_func_gethostbyname" = xyes; then :
  27055. $as_echo "#define HAVE_GETHOSTBYNAME 1" >>confdefs.h
  27056. fi
  27057. fi
  27058. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how many arguments getservbyname_r() takes" >&5
  27059. $as_echo_n "checking how many arguments getservbyname_r() takes... " >&6; }
  27060. if ${ac_cv_func_which_getservbyname_r+:} false; then :
  27061. $as_echo_n "(cached) " >&6
  27062. else
  27063. ac_ext=cpp
  27064. ac_cpp='$CXXCPP $CPPFLAGS'
  27065. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  27066. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  27067. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  27068. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27069. /* end confdefs.h. */
  27070. #include <netdb.h>
  27071. int
  27072. main ()
  27073. {
  27074. char *name;
  27075. char *proto;
  27076. struct servent *se, *res;
  27077. char buffer[2048];
  27078. int buflen = 2048;
  27079. (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
  27080. ;
  27081. return 0;
  27082. }
  27083. _ACEOF
  27084. if ac_fn_cxx_try_compile "$LINENO"; then :
  27085. ac_cv_func_which_getservbyname_r=six
  27086. else
  27087. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27088. /* end confdefs.h. */
  27089. #include <netdb.h>
  27090. int
  27091. main ()
  27092. {
  27093. char *name;
  27094. char *proto;
  27095. struct servent *se;
  27096. char buffer[2048];
  27097. int buflen = 2048;
  27098. (void) getservbyname_r(name, proto, se, buffer, buflen)
  27099. ;
  27100. return 0;
  27101. }
  27102. _ACEOF
  27103. if ac_fn_cxx_try_compile "$LINENO"; then :
  27104. ac_cv_func_which_getservbyname_r=five
  27105. else
  27106. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27107. /* end confdefs.h. */
  27108. #include <netdb.h>
  27109. int
  27110. main ()
  27111. {
  27112. char *name;
  27113. char *proto;
  27114. struct servent *se;
  27115. struct servent_data data;
  27116. (void) getservbyname_r(name, proto, se, &data);
  27117. ;
  27118. return 0;
  27119. }
  27120. _ACEOF
  27121. if ac_fn_cxx_try_compile "$LINENO"; then :
  27122. ac_cv_func_which_getservbyname_r=four
  27123. else
  27124. ac_cv_func_which_getservbyname_r=no
  27125. fi
  27126. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27127. fi
  27128. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27129. fi
  27130. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  27131. ac_ext=c
  27132. ac_cpp='$CPP $CPPFLAGS'
  27133. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  27134. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  27135. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  27136. fi
  27137. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_func_which_getservbyname_r" >&5
  27138. $as_echo "$ac_cv_func_which_getservbyname_r" >&6; }
  27139. if test $ac_cv_func_which_getservbyname_r = six; then
  27140. $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_6 1" >>confdefs.h
  27141. elif test $ac_cv_func_which_getservbyname_r = five; then
  27142. $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_5 1" >>confdefs.h
  27143. elif test $ac_cv_func_which_getservbyname_r = four; then
  27144. $as_echo "#define HAVE_FUNC_GETSERVBYNAME_R_4 1" >>confdefs.h
  27145. fi
  27146. if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
  27147. "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
  27148. for ac_func in getservbyname
  27149. do :
  27150. ac_fn_c_check_func "$LINENO" "getservbyname" "ac_cv_func_getservbyname"
  27151. if test "x$ac_cv_func_getservbyname" = xyes; then :
  27152. cat >>confdefs.h <<_ACEOF
  27153. #define HAVE_GETSERVBYNAME 1
  27154. _ACEOF
  27155. $as_echo "#define HAVE_GETSERVBYNAME 1" >>confdefs.h
  27156. fi
  27157. done
  27158. fi
  27159. $as_echo "#define wxUSE_COMPILER_TLS 1" >>confdefs.h
  27160. if test "$wxUSE_THREADS" = "yes"; then
  27161. $as_echo "#define wxUSE_THREADS 1" >>confdefs.h
  27162. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
  27163. else
  27164. if test "$wx_cv_func_strtok_r" = "yes"; then
  27165. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if -D_REENTRANT is needed" >&5
  27166. $as_echo_n "checking if -D_REENTRANT is needed... " >&6; }
  27167. if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
  27168. WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
  27169. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  27170. $as_echo "yes" >&6; }
  27171. else
  27172. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27173. $as_echo "no" >&6; }
  27174. fi
  27175. fi
  27176. fi
  27177. if test "$WXGTK3" = 1 ; then
  27178. cat >>confdefs.h <<_ACEOF
  27179. #define __WXGTK3__ 1
  27180. _ACEOF
  27181. WXGTK2=1
  27182. fi
  27183. if test "$WXGTK2" = 1 ; then
  27184. cat >>confdefs.h <<_ACEOF
  27185. #define __WXGTK20__ $WXGTK2
  27186. _ACEOF
  27187. fi
  27188. if test "$WXGTK127" = 1 ; then
  27189. cat >>confdefs.h <<_ACEOF
  27190. #define __WXGTK127__ $WXGTK127
  27191. _ACEOF
  27192. fi
  27193. if test "$WXGPE" = 1 ; then
  27194. cat >>confdefs.h <<_ACEOF
  27195. #define __WXGPE__ $WXGPE
  27196. _ACEOF
  27197. fi
  27198. DEBUG_CFLAGS=
  27199. if `echo $CXXFLAGS $CFLAGS | grep " -g" >/dev/null`; then
  27200. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&5
  27201. $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -g flag; ignoring the --enable-debug_info option" >&2;}
  27202. elif test "$wxUSE_DEBUG_INFO" = "yes" ; then
  27203. DEBUG_CFLAGS="-g"
  27204. fi
  27205. if test "$wxUSE_DEBUG_GDB" = "yes" ; then
  27206. wxUSE_DEBUG_INFO=yes
  27207. if test "$GCC" = yes; then
  27208. DEBUG_CFLAGS="-ggdb"
  27209. fi
  27210. fi
  27211. if test "$wxUSE_DEBUG_FLAG" = "no" ; then
  27212. WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -DwxDEBUG_LEVEL=0"
  27213. if test "$wxUSE_GTK" = 1 ; then
  27214. if test "$WXGTK2" = 1 ; then
  27215. CPPFLAGS="$CPPFLAGS -DG_DISABLE_CAST_CHECKS"
  27216. else
  27217. CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
  27218. fi
  27219. fi
  27220. fi
  27221. if test "$wxUSE_MEM_TRACING" = "yes" ; then
  27222. $as_echo "#define wxUSE_MEMORY_TRACING 1" >>confdefs.h
  27223. $as_echo "#define wxUSE_GLOBAL_MEMORY_OPERATORS 1" >>confdefs.h
  27224. $as_echo "#define wxUSE_DEBUG_NEW_ALWAYS 1" >>confdefs.h
  27225. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
  27226. fi
  27227. if test "$wxUSE_DMALLOC" = "yes" ; then
  27228. DMALLOC_LIBS="-ldmallocthcxx"
  27229. fi
  27230. PROFILE_FLAGS=
  27231. if test "$wxUSE_PROFILE" = "yes" ; then
  27232. PROFILE_FLAGS=" -pg"
  27233. fi
  27234. if test "$GCC" = "yes" ; then
  27235. if test "$wxUSE_NO_RTTI" = "yes" ; then
  27236. WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -DwxNO_RTTI -fno-rtti"
  27237. fi
  27238. if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
  27239. WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
  27240. fi
  27241. if test "$wxUSE_PERMISSIVE" = "yes" ; then
  27242. WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
  27243. fi
  27244. case "${host}" in
  27245. powerpc*-*-aix* )
  27246. WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
  27247. ;;
  27248. *-hppa* )
  27249. WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
  27250. ;;
  27251. esac
  27252. fi
  27253. OPTIMISE_CFLAGS=
  27254. if `echo $CXXFLAGS $CFLAGS | grep " -O" >/dev/null`; then
  27255. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&5
  27256. $as_echo "$as_me: WARNING: CXXFLAGS/CFLAGS already contains -O flag; ignoring the --disable-optimise option" >&2;}
  27257. else
  27258. if test "$wxUSE_OPTIMISE" = "no" ; then
  27259. if test "$GCC" = yes ; then
  27260. OPTIMISE_CFLAGS="-O0"
  27261. fi
  27262. else
  27263. if test "$GCC" = yes ; then
  27264. case "${host}" in
  27265. *-pc-os2_emx | *-pc-os2-emx )
  27266. OPTIMISE_CFLAGS="-O2"
  27267. ;;
  27268. *)
  27269. OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
  27270. ;;
  27271. esac
  27272. else
  27273. OPTIMISE_CFLAGS="-O"
  27274. fi
  27275. fi
  27276. fi
  27277. if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
  27278. $as_echo "#define WXWIN_COMPATIBILITY_2_6 1" >>confdefs.h
  27279. WXWIN_COMPATIBILITY_2_8="yes"
  27280. fi
  27281. if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
  27282. $as_echo "#define WXWIN_COMPATIBILITY_2_8 1" >>confdefs.h
  27283. fi
  27284. if test "$wxUSE_GUI" = "yes"; then
  27285. $as_echo "#define wxUSE_GUI 1" >>confdefs.h
  27286. fi
  27287. if test "$wxUSE_UNIX" = "yes"; then
  27288. $as_echo "#define wxUSE_UNIX 1" >>confdefs.h
  27289. fi
  27290. if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
  27291. HAVE_DL_FUNCS=0
  27292. HAVE_SHL_FUNCS=0
  27293. if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
  27294. if test "$USE_DOS" = 1; then
  27295. HAVE_DL_FUNCS=0
  27296. else
  27297. for ac_func in dlopen
  27298. do :
  27299. ac_fn_c_check_func "$LINENO" "dlopen" "ac_cv_func_dlopen"
  27300. if test "x$ac_cv_func_dlopen" = xyes; then :
  27301. cat >>confdefs.h <<_ACEOF
  27302. #define HAVE_DLOPEN 1
  27303. _ACEOF
  27304. $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
  27305. HAVE_DL_FUNCS=1
  27306. else
  27307. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  27308. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  27309. if ${ac_cv_lib_dl_dlopen+:} false; then :
  27310. $as_echo_n "(cached) " >&6
  27311. else
  27312. ac_check_lib_save_LIBS=$LIBS
  27313. LIBS="-ldl $LIBS"
  27314. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27315. /* end confdefs.h. */
  27316. /* Override any GCC internal prototype to avoid an error.
  27317. Use char because int might match the return type of a GCC
  27318. builtin and then its argument prototype would still apply. */
  27319. #ifdef __cplusplus
  27320. extern "C"
  27321. #endif
  27322. char dlopen ();
  27323. int
  27324. main ()
  27325. {
  27326. return dlopen ();
  27327. ;
  27328. return 0;
  27329. }
  27330. _ACEOF
  27331. if ac_fn_c_try_link "$LINENO"; then :
  27332. ac_cv_lib_dl_dlopen=yes
  27333. else
  27334. ac_cv_lib_dl_dlopen=no
  27335. fi
  27336. rm -f core conftest.err conftest.$ac_objext \
  27337. conftest$ac_exeext conftest.$ac_ext
  27338. LIBS=$ac_check_lib_save_LIBS
  27339. fi
  27340. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  27341. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  27342. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  27343. $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
  27344. HAVE_DL_FUNCS=1
  27345. DL_LINK=" -ldl$DL_LINK"
  27346. else
  27347. for ac_func in shl_load
  27348. do :
  27349. ac_fn_c_check_func "$LINENO" "shl_load" "ac_cv_func_shl_load"
  27350. if test "x$ac_cv_func_shl_load" = xyes; then :
  27351. cat >>confdefs.h <<_ACEOF
  27352. #define HAVE_SHL_LOAD 1
  27353. _ACEOF
  27354. $as_echo "#define HAVE_SHL_LOAD 1" >>confdefs.h
  27355. HAVE_SHL_FUNCS=1
  27356. else
  27357. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dld in -lshl_load" >&5
  27358. $as_echo_n "checking for dld in -lshl_load... " >&6; }
  27359. if ${ac_cv_lib_shl_load_dld+:} false; then :
  27360. $as_echo_n "(cached) " >&6
  27361. else
  27362. ac_check_lib_save_LIBS=$LIBS
  27363. LIBS="-lshl_load $LIBS"
  27364. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27365. /* end confdefs.h. */
  27366. /* Override any GCC internal prototype to avoid an error.
  27367. Use char because int might match the return type of a GCC
  27368. builtin and then its argument prototype would still apply. */
  27369. #ifdef __cplusplus
  27370. extern "C"
  27371. #endif
  27372. char dld ();
  27373. int
  27374. main ()
  27375. {
  27376. return dld ();
  27377. ;
  27378. return 0;
  27379. }
  27380. _ACEOF
  27381. if ac_fn_c_try_link "$LINENO"; then :
  27382. ac_cv_lib_shl_load_dld=yes
  27383. else
  27384. ac_cv_lib_shl_load_dld=no
  27385. fi
  27386. rm -f core conftest.err conftest.$ac_objext \
  27387. conftest$ac_exeext conftest.$ac_ext
  27388. LIBS=$ac_check_lib_save_LIBS
  27389. fi
  27390. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_shl_load_dld" >&5
  27391. $as_echo "$ac_cv_lib_shl_load_dld" >&6; }
  27392. if test "x$ac_cv_lib_shl_load_dld" = xyes; then :
  27393. HAVE_SHL_FUNCS=1
  27394. DL_LINK=" -ldld$DL_LINK"
  27395. fi
  27396. fi
  27397. done
  27398. fi
  27399. fi
  27400. done
  27401. if test "$HAVE_DL_FUNCS" = 1; then
  27402. for ac_func in dlerror
  27403. do :
  27404. ac_fn_c_check_func "$LINENO" "dlerror" "ac_cv_func_dlerror"
  27405. if test "x$ac_cv_func_dlerror" = xyes; then :
  27406. cat >>confdefs.h <<_ACEOF
  27407. #define HAVE_DLERROR 1
  27408. _ACEOF
  27409. $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
  27410. else
  27411. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlerror in -ldl" >&5
  27412. $as_echo_n "checking for dlerror in -ldl... " >&6; }
  27413. if ${ac_cv_lib_dl_dlerror+:} false; then :
  27414. $as_echo_n "(cached) " >&6
  27415. else
  27416. ac_check_lib_save_LIBS=$LIBS
  27417. LIBS="-ldl $LIBS"
  27418. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27419. /* end confdefs.h. */
  27420. /* Override any GCC internal prototype to avoid an error.
  27421. Use char because int might match the return type of a GCC
  27422. builtin and then its argument prototype would still apply. */
  27423. #ifdef __cplusplus
  27424. extern "C"
  27425. #endif
  27426. char dlerror ();
  27427. int
  27428. main ()
  27429. {
  27430. return dlerror ();
  27431. ;
  27432. return 0;
  27433. }
  27434. _ACEOF
  27435. if ac_fn_c_try_link "$LINENO"; then :
  27436. ac_cv_lib_dl_dlerror=yes
  27437. else
  27438. ac_cv_lib_dl_dlerror=no
  27439. fi
  27440. rm -f core conftest.err conftest.$ac_objext \
  27441. conftest$ac_exeext conftest.$ac_ext
  27442. LIBS=$ac_check_lib_save_LIBS
  27443. fi
  27444. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlerror" >&5
  27445. $as_echo "$ac_cv_lib_dl_dlerror" >&6; }
  27446. if test "x$ac_cv_lib_dl_dlerror" = xyes; then :
  27447. $as_echo "#define HAVE_DLERROR 1" >>confdefs.h
  27448. fi
  27449. fi
  27450. done
  27451. fi
  27452. fi
  27453. if test "$USE_DARWIN" = 1; then
  27454. HAVE_DL_FUNCS=1
  27455. fi
  27456. if test "$HAVE_DL_FUNCS" = 0; then
  27457. if test "$HAVE_SHL_FUNCS" = 0; then
  27458. if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
  27459. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Missing dynamic loading support, several features will be disabled" >&5
  27460. $as_echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
  27461. wxUSE_DYNAMIC_LOADER=no
  27462. wxUSE_DYNLIB_CLASS=no
  27463. else
  27464. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Assuming wxLibrary class works on this platform" >&5
  27465. $as_echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
  27466. fi
  27467. fi
  27468. fi
  27469. fi
  27470. fi
  27471. if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
  27472. $as_echo "#define wxUSE_DYNAMIC_LOADER 1" >>confdefs.h
  27473. fi
  27474. if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
  27475. $as_echo "#define wxUSE_DYNLIB_CLASS 1" >>confdefs.h
  27476. fi
  27477. if test "$wxUSE_PLUGINS" = "yes" ; then
  27478. if test "$wxUSE_SHARED" = "no" ; then
  27479. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins supported only in shared build, disabling" >&5
  27480. $as_echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
  27481. wxUSE_PLUGINS=no
  27482. fi
  27483. if test "$wxUSE_MONOLITHIC" = "yes" ; then
  27484. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins not supported monolithic build, disabling" >&5
  27485. $as_echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
  27486. wxUSE_PLUGINS=no
  27487. fi
  27488. if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
  27489. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: plugins require wxDynamicLibrary, disabling" >&5
  27490. $as_echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
  27491. wxUSE_PLUGINS=no
  27492. fi
  27493. if test "$wxUSE_PLUGINS" = "yes" ; then
  27494. $as_echo "#define wxUSE_PLUGINS 1" >>confdefs.h
  27495. fi
  27496. fi
  27497. if test "$wxUSE_FSWATCHER" = "yes"; then
  27498. if test "$wxUSE_MSW" != "1"; then
  27499. if test "$wxUSE_UNIX" = "yes"; then
  27500. for ac_header in sys/inotify.h
  27501. do :
  27502. ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default
  27503. "
  27504. if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
  27505. cat >>confdefs.h <<_ACEOF
  27506. #define HAVE_SYS_INOTIFY_H 1
  27507. _ACEOF
  27508. fi
  27509. done
  27510. if test "$ac_cv_header_sys_inotify_h" = "yes"; then
  27511. $as_echo "#define wxHAS_INOTIFY 1" >>confdefs.h
  27512. else
  27513. for ac_header in sys/event.h
  27514. do :
  27515. ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default
  27516. "
  27517. if test "x$ac_cv_header_sys_event_h" = xyes; then :
  27518. cat >>confdefs.h <<_ACEOF
  27519. #define HAVE_SYS_EVENT_H 1
  27520. _ACEOF
  27521. fi
  27522. done
  27523. if test "$ac_cv_header_sys_event_h" = "yes"; then
  27524. $as_echo "#define wxHAS_KQUEUE 1" >>confdefs.h
  27525. else
  27526. wxUSE_FSWATCHER=no
  27527. fi
  27528. fi
  27529. else
  27530. wxUSE_FSWATCHER=no
  27531. fi
  27532. else
  27533. if test "$wxUSE_THREADS" != "yes"; then
  27534. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&5
  27535. $as_echo "$as_me: WARNING: wxFileSystemWatcher disabled due to --disable-threads" >&2;}
  27536. wxUSE_FSWATCHER=no
  27537. fi
  27538. fi
  27539. if test "$wxUSE_FSWATCHER" = "yes"; then
  27540. $as_echo "#define wxUSE_FSWATCHER 1" >>confdefs.h
  27541. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS fswatcher"
  27542. else
  27543. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystemWatcher won't be available on this platform" >&5
  27544. $as_echo "$as_me: WARNING: wxFileSystemWatcher won't be available on this platform" >&2;}
  27545. fi
  27546. fi
  27547. if test "$wxUSE_STL" = "yes"; then
  27548. $as_echo "#define wxUSE_STL 1" >>confdefs.h
  27549. fi
  27550. if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
  27551. $as_echo "#define wxUSE_EXTENDED_RTTI 1" >>confdefs.h
  27552. fi
  27553. if test "$wxUSE_ANY" = "yes"; then
  27554. $as_echo "#define wxUSE_ANY 1" >>confdefs.h
  27555. fi
  27556. if test "$wxUSE_APPLE_IEEE" = "yes"; then
  27557. $as_echo "#define wxUSE_APPLE_IEEE 1" >>confdefs.h
  27558. fi
  27559. if test "$wxUSE_TIMER" = "yes"; then
  27560. $as_echo "#define wxUSE_TIMER 1" >>confdefs.h
  27561. fi
  27562. if test "$USE_UNIX" = 1 ; then
  27563. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
  27564. $as_echo_n "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... " >&6; }
  27565. if ${ac_cv_header_sys_soundcard+:} false; then :
  27566. $as_echo_n "(cached) " >&6
  27567. else
  27568. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27569. /* end confdefs.h. */
  27570. #include <sys/ioctl.h>
  27571. #include <sys/soundcard.h>
  27572. int
  27573. main ()
  27574. {
  27575. ioctl(0, SNDCTL_DSP_SPEED, 0);
  27576. ;
  27577. return 0;
  27578. }
  27579. _ACEOF
  27580. if ac_fn_c_try_link "$LINENO"; then :
  27581. ac_cv_header_sys_soundcard=yes
  27582. else
  27583. saveLibs="$LIBS"
  27584. LIBS="$saveLibs -lossaudio"
  27585. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27586. /* end confdefs.h. */
  27587. #include <sys/ioctl.h>
  27588. #include <sys/soundcard.h>
  27589. int
  27590. main ()
  27591. {
  27592. ioctl(0, SNDCTL_DSP_SPEED, 0);
  27593. ;
  27594. return 0;
  27595. }
  27596. _ACEOF
  27597. if ac_fn_c_try_link "$LINENO"; then :
  27598. ac_cv_header_sys_soundcard=yes
  27599. else
  27600. LIBS="$saveLibs"
  27601. ac_cv_header_sys_soundcard=no
  27602. fi
  27603. rm -f core conftest.err conftest.$ac_objext \
  27604. conftest$ac_exeext conftest.$ac_ext
  27605. fi
  27606. rm -f core conftest.err conftest.$ac_objext \
  27607. conftest$ac_exeext conftest.$ac_ext
  27608. fi
  27609. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_sys_soundcard" >&5
  27610. $as_echo "$ac_cv_header_sys_soundcard" >&6; }
  27611. if test "$ac_cv_header_sys_soundcard" = "yes"; then
  27612. $as_echo "#define HAVE_SYS_SOUNDCARD_H 1" >>confdefs.h
  27613. fi
  27614. fi
  27615. WITH_PLUGIN_SDL=0
  27616. if test "$wxUSE_SOUND" = "yes"; then
  27617. if test "$USE_UNIX" = 1 ; then
  27618. if test "$wxUSE_LIBSDL" != "no"; then
  27619. # Check whether --with-sdl-prefix was given.
  27620. if test "${with_sdl_prefix+set}" = set; then :
  27621. withval=$with_sdl_prefix; sdl_prefix="$withval"
  27622. else
  27623. sdl_prefix=""
  27624. fi
  27625. # Check whether --with-sdl-exec-prefix was given.
  27626. if test "${with_sdl_exec_prefix+set}" = set; then :
  27627. withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
  27628. else
  27629. sdl_exec_prefix=""
  27630. fi
  27631. # Check whether --enable-sdltest was given.
  27632. if test "${enable_sdltest+set}" = set; then :
  27633. enableval=$enable_sdltest;
  27634. else
  27635. enable_sdltest=yes
  27636. fi
  27637. if test x$sdl_exec_prefix != x ; then
  27638. sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
  27639. if test x${SDL_CONFIG+set} != xset ; then
  27640. SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
  27641. fi
  27642. fi
  27643. if test x$sdl_prefix != x ; then
  27644. sdl_args="$sdl_args --prefix=$sdl_prefix"
  27645. if test x${SDL_CONFIG+set} != xset ; then
  27646. SDL_CONFIG=$sdl_prefix/bin/sdl-config
  27647. fi
  27648. fi
  27649. if test "x$prefix" != xNONE; then
  27650. PATH="$prefix/bin:$prefix/usr/bin:$PATH"
  27651. fi
  27652. # Extract the first word of "sdl-config", so it can be a program name with args.
  27653. set dummy sdl-config; ac_word=$2
  27654. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27655. $as_echo_n "checking for $ac_word... " >&6; }
  27656. if ${ac_cv_path_SDL_CONFIG+:} false; then :
  27657. $as_echo_n "(cached) " >&6
  27658. else
  27659. case $SDL_CONFIG in
  27660. [\\/]* | ?:[\\/]*)
  27661. ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
  27662. ;;
  27663. *)
  27664. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27665. for as_dir in $PATH
  27666. do
  27667. IFS=$as_save_IFS
  27668. test -z "$as_dir" && as_dir=.
  27669. for ac_exec_ext in '' $ac_executable_extensions; do
  27670. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27671. ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  27672. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27673. break 2
  27674. fi
  27675. done
  27676. done
  27677. IFS=$as_save_IFS
  27678. test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
  27679. ;;
  27680. esac
  27681. fi
  27682. SDL_CONFIG=$ac_cv_path_SDL_CONFIG
  27683. if test -n "$SDL_CONFIG"; then
  27684. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SDL_CONFIG" >&5
  27685. $as_echo "$SDL_CONFIG" >&6; }
  27686. else
  27687. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27688. $as_echo "no" >&6; }
  27689. fi
  27690. min_sdl_version=1.2.0
  27691. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for SDL - version >= $min_sdl_version" >&5
  27692. $as_echo_n "checking for SDL - version >= $min_sdl_version... " >&6; }
  27693. no_sdl=""
  27694. if test "$SDL_CONFIG" = "no" ; then
  27695. no_sdl=yes
  27696. else
  27697. SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
  27698. SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
  27699. sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
  27700. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
  27701. sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
  27702. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
  27703. sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
  27704. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
  27705. if test "x$enable_sdltest" = "xyes" ; then
  27706. ac_save_CFLAGS="$CFLAGS"
  27707. ac_save_CXXFLAGS="$CXXFLAGS"
  27708. ac_save_LIBS="$LIBS"
  27709. CFLAGS="$CFLAGS $SDL_CFLAGS"
  27710. CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
  27711. LIBS="$LIBS $SDL_LIBS"
  27712. rm -f conf.sdltest
  27713. if test "$cross_compiling" = yes; then :
  27714. echo $ac_n "cross compiling; assumed OK... $ac_c"
  27715. else
  27716. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27717. /* end confdefs.h. */
  27718. #include <stdio.h>
  27719. #include <stdlib.h>
  27720. #include <string.h>
  27721. #include "SDL.h"
  27722. char*
  27723. my_strdup (char *str)
  27724. {
  27725. char *new_str;
  27726. if (str)
  27727. {
  27728. new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
  27729. strcpy (new_str, str);
  27730. }
  27731. else
  27732. new_str = NULL;
  27733. return new_str;
  27734. }
  27735. int main (int argc, char *argv[])
  27736. {
  27737. int major, minor, micro;
  27738. char *tmp_version;
  27739. /* This hangs on some systems (?)
  27740. system ("touch conf.sdltest");
  27741. */
  27742. { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
  27743. /* HP/UX 9 (%@#!) writes to sscanf strings */
  27744. tmp_version = my_strdup("$min_sdl_version");
  27745. if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
  27746. printf("%s, bad version string\n", "$min_sdl_version");
  27747. exit(1);
  27748. }
  27749. if (($sdl_major_version > major) ||
  27750. (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
  27751. (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
  27752. {
  27753. return 0;
  27754. }
  27755. else
  27756. {
  27757. printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
  27758. printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
  27759. printf("*** best to upgrade to the required version.\n");
  27760. printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
  27761. printf("*** to point to the correct copy of sdl-config, and remove the file\n");
  27762. printf("*** config.cache before re-running configure\n");
  27763. return 1;
  27764. }
  27765. }
  27766. _ACEOF
  27767. if ac_fn_c_try_run "$LINENO"; then :
  27768. else
  27769. no_sdl=yes
  27770. fi
  27771. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  27772. conftest.$ac_objext conftest.beam conftest.$ac_ext
  27773. fi
  27774. CFLAGS="$ac_save_CFLAGS"
  27775. CXXFLAGS="$ac_save_CXXFLAGS"
  27776. LIBS="$ac_save_LIBS"
  27777. fi
  27778. fi
  27779. if test "x$no_sdl" = x ; then
  27780. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  27781. $as_echo "yes" >&6; }
  27782. EXTRALIBS_SDL="$SDL_LIBS"
  27783. CFLAGS="$SDL_CFLAGS $CFLAGS"
  27784. CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
  27785. $as_echo "#define wxUSE_LIBSDL 1" >>confdefs.h
  27786. else
  27787. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27788. $as_echo "no" >&6; }
  27789. if test "$SDL_CONFIG" = "no" ; then
  27790. echo "*** The sdl-config script installed by SDL could not be found"
  27791. echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
  27792. echo "*** your path, or set the SDL_CONFIG environment variable to the"
  27793. echo "*** full path to sdl-config."
  27794. else
  27795. if test -f conf.sdltest ; then
  27796. :
  27797. else
  27798. echo "*** Could not run SDL test program, checking why..."
  27799. CFLAGS="$CFLAGS $SDL_CFLAGS"
  27800. CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
  27801. LIBS="$LIBS $SDL_LIBS"
  27802. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  27803. /* end confdefs.h. */
  27804. #include <stdio.h>
  27805. #include "SDL.h"
  27806. int main(int argc, char *argv[])
  27807. { return 0; }
  27808. #undef main
  27809. #define main K_and_R_C_main
  27810. int
  27811. main ()
  27812. {
  27813. return 0;
  27814. ;
  27815. return 0;
  27816. }
  27817. _ACEOF
  27818. if ac_fn_c_try_link "$LINENO"; then :
  27819. echo "*** The test program compiled, but did not run. This usually means"
  27820. echo "*** that the run-time linker is not finding SDL or finding the wrong"
  27821. echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
  27822. echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
  27823. echo "*** to the installed location Also, make sure you have run ldconfig if that"
  27824. echo "*** is required on your system"
  27825. echo "***"
  27826. echo "*** If you have an old version installed, it is best to remove it, although"
  27827. echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
  27828. else
  27829. echo "*** The test program failed to compile or link. See the file config.log for the"
  27830. echo "*** exact error that occurred. This usually means SDL was incorrectly installed"
  27831. echo "*** or that you have moved SDL since it was installed. In the latter case, you"
  27832. echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
  27833. fi
  27834. rm -f core conftest.err conftest.$ac_objext \
  27835. conftest$ac_exeext conftest.$ac_ext
  27836. CFLAGS="$ac_save_CFLAGS"
  27837. CXXFLAGS="$ac_save_CXXFLAGS"
  27838. LIBS="$ac_save_LIBS"
  27839. fi
  27840. fi
  27841. SDL_CFLAGS=""
  27842. SDL_LIBS=""
  27843. wxUSE_LIBSDL="no"
  27844. fi
  27845. rm -f conf.sdltest
  27846. if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
  27847. WITH_PLUGIN_SDL=1
  27848. fi
  27849. fi
  27850. fi
  27851. fi
  27852. if test "$wxUSE_SOUND" = "yes"; then
  27853. $as_echo "#define wxUSE_SOUND 1" >>confdefs.h
  27854. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
  27855. fi
  27856. if test "$WXGTK2" = 1; then
  27857. if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
  27858. if test -n "$ac_tool_prefix"; then
  27859. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  27860. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  27861. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27862. $as_echo_n "checking for $ac_word... " >&6; }
  27863. if ${ac_cv_path_PKG_CONFIG+:} false; then :
  27864. $as_echo_n "(cached) " >&6
  27865. else
  27866. case $PKG_CONFIG in
  27867. [\\/]* | ?:[\\/]*)
  27868. ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
  27869. ;;
  27870. *)
  27871. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27872. for as_dir in $PATH
  27873. do
  27874. IFS=$as_save_IFS
  27875. test -z "$as_dir" && as_dir=.
  27876. for ac_exec_ext in '' $ac_executable_extensions; do
  27877. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27878. ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  27879. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27880. break 2
  27881. fi
  27882. done
  27883. done
  27884. IFS=$as_save_IFS
  27885. ;;
  27886. esac
  27887. fi
  27888. PKG_CONFIG=$ac_cv_path_PKG_CONFIG
  27889. if test -n "$PKG_CONFIG"; then
  27890. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  27891. $as_echo "$PKG_CONFIG" >&6; }
  27892. else
  27893. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27894. $as_echo "no" >&6; }
  27895. fi
  27896. fi
  27897. if test -z "$ac_cv_path_PKG_CONFIG"; then
  27898. ac_pt_PKG_CONFIG=$PKG_CONFIG
  27899. # Extract the first word of "pkg-config", so it can be a program name with args.
  27900. set dummy pkg-config; ac_word=$2
  27901. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  27902. $as_echo_n "checking for $ac_word... " >&6; }
  27903. if ${ac_cv_path_ac_pt_PKG_CONFIG+:} false; then :
  27904. $as_echo_n "(cached) " >&6
  27905. else
  27906. case $ac_pt_PKG_CONFIG in
  27907. [\\/]* | ?:[\\/]*)
  27908. ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
  27909. ;;
  27910. *)
  27911. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  27912. for as_dir in $PATH
  27913. do
  27914. IFS=$as_save_IFS
  27915. test -z "$as_dir" && as_dir=.
  27916. for ac_exec_ext in '' $ac_executable_extensions; do
  27917. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  27918. ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  27919. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  27920. break 2
  27921. fi
  27922. done
  27923. done
  27924. IFS=$as_save_IFS
  27925. ;;
  27926. esac
  27927. fi
  27928. ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
  27929. if test -n "$ac_pt_PKG_CONFIG"; then
  27930. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_pt_PKG_CONFIG" >&5
  27931. $as_echo "$ac_pt_PKG_CONFIG" >&6; }
  27932. else
  27933. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27934. $as_echo "no" >&6; }
  27935. fi
  27936. if test "x$ac_pt_PKG_CONFIG" = x; then
  27937. PKG_CONFIG=""
  27938. else
  27939. case $cross_compiling:$ac_tool_warned in
  27940. yes:)
  27941. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  27942. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  27943. ac_tool_warned=yes ;;
  27944. esac
  27945. PKG_CONFIG=$ac_pt_PKG_CONFIG
  27946. fi
  27947. else
  27948. PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
  27949. fi
  27950. fi
  27951. if test -n "$PKG_CONFIG"; then
  27952. _pkg_min_version=0.9.0
  27953. { $as_echo "$as_me:${as_lineno-$LINENO}: checking pkg-config is at least version $_pkg_min_version" >&5
  27954. $as_echo_n "checking pkg-config is at least version $_pkg_min_version... " >&6; }
  27955. if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
  27956. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  27957. $as_echo "yes" >&6; }
  27958. else
  27959. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  27960. $as_echo "no" >&6; }
  27961. PKG_CONFIG=""
  27962. fi
  27963. fi
  27964. if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
  27965. if test "$wxUSE_GTKPRINT" = "yes" ; then
  27966. if test "$WXGTK3" = 1; then
  27967. gtk_unix_print="gtk+-unix-print-3.0"
  27968. else
  27969. gtk_unix_print="gtk+-unix-print-2.0 >= 2.10"
  27970. fi
  27971. pkg_failed=no
  27972. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GTKPRINT" >&5
  27973. $as_echo_n "checking for GTKPRINT... " >&6; }
  27974. if test -n "$PKG_CONFIG"; then
  27975. if test -n "$GTKPRINT_CFLAGS"; then
  27976. pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
  27977. else
  27978. if test -n "$PKG_CONFIG" && \
  27979. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
  27980. ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
  27981. ac_status=$?
  27982. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  27983. test $ac_status = 0; }; then
  27984. pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "$gtk_unix_print" 2>/dev/null`
  27985. else
  27986. pkg_failed=yes
  27987. fi
  27988. fi
  27989. else
  27990. pkg_failed=untried
  27991. fi
  27992. if test -n "$PKG_CONFIG"; then
  27993. if test -n "$GTKPRINT_LIBS"; then
  27994. pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
  27995. else
  27996. if test -n "$PKG_CONFIG" && \
  27997. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$gtk_unix_print\""; } >&5
  27998. ($PKG_CONFIG --exists --print-errors "$gtk_unix_print") 2>&5
  27999. ac_status=$?
  28000. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  28001. test $ac_status = 0; }; then
  28002. pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "$gtk_unix_print" 2>/dev/null`
  28003. else
  28004. pkg_failed=yes
  28005. fi
  28006. fi
  28007. else
  28008. pkg_failed=untried
  28009. fi
  28010. if test $pkg_failed = yes; then
  28011. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  28012. _pkg_short_errors_supported=yes
  28013. else
  28014. _pkg_short_errors_supported=no
  28015. fi
  28016. if test $_pkg_short_errors_supported = yes; then
  28017. GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$gtk_unix_print"`
  28018. else
  28019. GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$gtk_unix_print"`
  28020. fi
  28021. # Put the nasty error message in config.log where it belongs
  28022. echo "$GTKPRINT_PKG_ERRORS" >&5
  28023. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
  28024. $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
  28025. wxUSE_GTKPRINT="no"
  28026. elif test $pkg_failed = untried; then
  28027. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
  28028. $as_echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
  28029. wxUSE_GTKPRINT="no"
  28030. else
  28031. GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
  28032. GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
  28033. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28034. $as_echo "yes" >&6; }
  28035. GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GTKPRINT_LIBS"
  28036. CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
  28037. CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
  28038. $as_echo "#define wxUSE_GTKPRINT 1" >>confdefs.h
  28039. fi
  28040. fi
  28041. fi
  28042. if test "$wxUSE_MIMETYPE" = "yes" ; then
  28043. if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
  28044. pkg_failed=no
  28045. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GNOMEVFS" >&5
  28046. $as_echo_n "checking for GNOMEVFS... " >&6; }
  28047. if test -n "$PKG_CONFIG"; then
  28048. if test -n "$GNOMEVFS_CFLAGS"; then
  28049. pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
  28050. else
  28051. if test -n "$PKG_CONFIG" && \
  28052. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
  28053. ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
  28054. ac_status=$?
  28055. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  28056. test $ac_status = 0; }; then
  28057. pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
  28058. else
  28059. pkg_failed=yes
  28060. fi
  28061. fi
  28062. else
  28063. pkg_failed=untried
  28064. fi
  28065. if test -n "$PKG_CONFIG"; then
  28066. if test -n "$GNOMEVFS_LIBS"; then
  28067. pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
  28068. else
  28069. if test -n "$PKG_CONFIG" && \
  28070. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\""; } >&5
  28071. ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
  28072. ac_status=$?
  28073. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  28074. test $ac_status = 0; }; then
  28075. pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
  28076. else
  28077. pkg_failed=yes
  28078. fi
  28079. fi
  28080. else
  28081. pkg_failed=untried
  28082. fi
  28083. if test $pkg_failed = yes; then
  28084. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  28085. _pkg_short_errors_supported=yes
  28086. else
  28087. _pkg_short_errors_supported=no
  28088. fi
  28089. if test $_pkg_short_errors_supported = yes; then
  28090. GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
  28091. else
  28092. GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
  28093. fi
  28094. # Put the nasty error message in config.log where it belongs
  28095. echo "$GNOMEVFS_PKG_ERRORS" >&5
  28096. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
  28097. $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
  28098. wxUSE_LIBGNOMEVFS="no"
  28099. elif test $pkg_failed = untried; then
  28100. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
  28101. $as_echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
  28102. wxUSE_LIBGNOMEVFS="no"
  28103. else
  28104. GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
  28105. GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
  28106. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28107. $as_echo "yes" >&6; }
  28108. GUI_TK_LIBRARY="$GUI_TK_LIBRARY $GNOMEVFS_LIBS"
  28109. CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
  28110. CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
  28111. $as_echo "#define wxUSE_LIBGNOMEVFS 1" >>confdefs.h
  28112. fi
  28113. fi
  28114. fi
  28115. if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes" ; then
  28116. if test "$wxUSE_LIBNOTIFY" = "yes" ; then
  28117. HAVE_LIBNOTIFY=0
  28118. pkg_failed=no
  28119. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
  28120. $as_echo_n "checking for LIBNOTIFY... " >&6; }
  28121. if test -n "$PKG_CONFIG"; then
  28122. if test -n "$LIBNOTIFY_CFLAGS"; then
  28123. pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
  28124. else
  28125. if test -n "$PKG_CONFIG" && \
  28126. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
  28127. ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
  28128. ac_status=$?
  28129. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  28130. test $ac_status = 0; }; then
  28131. pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.7" 2>/dev/null`
  28132. else
  28133. pkg_failed=yes
  28134. fi
  28135. fi
  28136. else
  28137. pkg_failed=untried
  28138. fi
  28139. if test -n "$PKG_CONFIG"; then
  28140. if test -n "$LIBNOTIFY_LIBS"; then
  28141. pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
  28142. else
  28143. if test -n "$PKG_CONFIG" && \
  28144. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.7\""; } >&5
  28145. ($PKG_CONFIG --exists --print-errors "libnotify >= 0.7") 2>&5
  28146. ac_status=$?
  28147. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  28148. test $ac_status = 0; }; then
  28149. pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.7" 2>/dev/null`
  28150. else
  28151. pkg_failed=yes
  28152. fi
  28153. fi
  28154. else
  28155. pkg_failed=untried
  28156. fi
  28157. if test $pkg_failed = yes; then
  28158. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  28159. _pkg_short_errors_supported=yes
  28160. else
  28161. _pkg_short_errors_supported=no
  28162. fi
  28163. if test $_pkg_short_errors_supported = yes; then
  28164. LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.7"`
  28165. else
  28166. LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.7"`
  28167. fi
  28168. # Put the nasty error message in config.log where it belongs
  28169. echo "$LIBNOTIFY_PKG_ERRORS" >&5
  28170. pkg_failed=no
  28171. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
  28172. $as_echo_n "checking for LIBNOTIFY... " >&6; }
  28173. if test -n "$PKG_CONFIG"; then
  28174. if test -n "$LIBNOTIFY_CFLAGS"; then
  28175. pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
  28176. else
  28177. if test -n "$PKG_CONFIG" && \
  28178. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
  28179. ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
  28180. ac_status=$?
  28181. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  28182. test $ac_status = 0; }; then
  28183. pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
  28184. else
  28185. pkg_failed=yes
  28186. fi
  28187. fi
  28188. else
  28189. pkg_failed=untried
  28190. fi
  28191. if test -n "$PKG_CONFIG"; then
  28192. if test -n "$LIBNOTIFY_LIBS"; then
  28193. pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
  28194. else
  28195. if test -n "$PKG_CONFIG" && \
  28196. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
  28197. ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
  28198. ac_status=$?
  28199. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  28200. test $ac_status = 0; }; then
  28201. pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
  28202. else
  28203. pkg_failed=yes
  28204. fi
  28205. fi
  28206. else
  28207. pkg_failed=untried
  28208. fi
  28209. if test $pkg_failed = yes; then
  28210. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  28211. _pkg_short_errors_supported=yes
  28212. else
  28213. _pkg_short_errors_supported=no
  28214. fi
  28215. if test $_pkg_short_errors_supported = yes; then
  28216. LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
  28217. else
  28218. LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
  28219. fi
  28220. # Put the nasty error message in config.log where it belongs
  28221. echo "$LIBNOTIFY_PKG_ERRORS" >&5
  28222. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
  28223. $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
  28224. elif test $pkg_failed = untried; then
  28225. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
  28226. $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
  28227. else
  28228. LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
  28229. LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
  28230. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28231. $as_echo "yes" >&6; }
  28232. HAVE_LIBNOTIFY=1
  28233. fi
  28234. elif test $pkg_failed = untried; then
  28235. pkg_failed=no
  28236. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for LIBNOTIFY" >&5
  28237. $as_echo_n "checking for LIBNOTIFY... " >&6; }
  28238. if test -n "$PKG_CONFIG"; then
  28239. if test -n "$LIBNOTIFY_CFLAGS"; then
  28240. pkg_cv_LIBNOTIFY_CFLAGS="$LIBNOTIFY_CFLAGS"
  28241. else
  28242. if test -n "$PKG_CONFIG" && \
  28243. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
  28244. ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
  28245. ac_status=$?
  28246. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  28247. test $ac_status = 0; }; then
  28248. pkg_cv_LIBNOTIFY_CFLAGS=`$PKG_CONFIG --cflags "libnotify >= 0.4" 2>/dev/null`
  28249. else
  28250. pkg_failed=yes
  28251. fi
  28252. fi
  28253. else
  28254. pkg_failed=untried
  28255. fi
  28256. if test -n "$PKG_CONFIG"; then
  28257. if test -n "$LIBNOTIFY_LIBS"; then
  28258. pkg_cv_LIBNOTIFY_LIBS="$LIBNOTIFY_LIBS"
  28259. else
  28260. if test -n "$PKG_CONFIG" && \
  28261. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"libnotify >= 0.4\""; } >&5
  28262. ($PKG_CONFIG --exists --print-errors "libnotify >= 0.4") 2>&5
  28263. ac_status=$?
  28264. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  28265. test $ac_status = 0; }; then
  28266. pkg_cv_LIBNOTIFY_LIBS=`$PKG_CONFIG --libs "libnotify >= 0.4" 2>/dev/null`
  28267. else
  28268. pkg_failed=yes
  28269. fi
  28270. fi
  28271. else
  28272. pkg_failed=untried
  28273. fi
  28274. if test $pkg_failed = yes; then
  28275. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  28276. _pkg_short_errors_supported=yes
  28277. else
  28278. _pkg_short_errors_supported=no
  28279. fi
  28280. if test $_pkg_short_errors_supported = yes; then
  28281. LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libnotify >= 0.4"`
  28282. else
  28283. LIBNOTIFY_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libnotify >= 0.4"`
  28284. fi
  28285. # Put the nasty error message in config.log where it belongs
  28286. echo "$LIBNOTIFY_PKG_ERRORS" >&5
  28287. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
  28288. $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
  28289. elif test $pkg_failed = untried; then
  28290. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&5
  28291. $as_echo "$as_me: WARNING: libnotify not found, wxNotificationMessage will use generic implementation." >&2;}
  28292. else
  28293. LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
  28294. LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
  28295. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28296. $as_echo "yes" >&6; }
  28297. HAVE_LIBNOTIFY=1
  28298. fi
  28299. else
  28300. LIBNOTIFY_CFLAGS=$pkg_cv_LIBNOTIFY_CFLAGS
  28301. LIBNOTIFY_LIBS=$pkg_cv_LIBNOTIFY_LIBS
  28302. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28303. $as_echo "yes" >&6; }
  28304. HAVE_LIBNOTIFY=1
  28305. $as_echo "#define wxUSE_LIBNOTIFY_0_7 1" >>confdefs.h
  28306. fi
  28307. if test "$HAVE_LIBNOTIFY" = "1" ; then
  28308. GUI_TK_LIBRARY="$GUI_TK_LIBRARY $LIBNOTIFY_LIBS"
  28309. CFLAGS="$LIBNOTIFY_CFLAGS $CFLAGS"
  28310. CXXFLAGS="$LIBNOTIFY_CFLAGS $CXXFLAGS"
  28311. $as_echo "#define wxUSE_LIBNOTIFY 1" >>confdefs.h
  28312. fi
  28313. fi
  28314. fi
  28315. if test "$wxUSE_LIBHILDON" = "yes" ; then
  28316. pkg_failed=no
  28317. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON" >&5
  28318. $as_echo_n "checking for HILDON... " >&6; }
  28319. if test -n "$PKG_CONFIG"; then
  28320. if test -n "$HILDON_CFLAGS"; then
  28321. pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
  28322. else
  28323. if test -n "$PKG_CONFIG" && \
  28324. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
  28325. ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
  28326. ac_status=$?
  28327. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  28328. test $ac_status = 0; }; then
  28329. pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
  28330. else
  28331. pkg_failed=yes
  28332. fi
  28333. fi
  28334. else
  28335. pkg_failed=untried
  28336. fi
  28337. if test -n "$PKG_CONFIG"; then
  28338. if test -n "$HILDON_LIBS"; then
  28339. pkg_cv_HILDON_LIBS="$HILDON_LIBS"
  28340. else
  28341. if test -n "$PKG_CONFIG" && \
  28342. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\""; } >&5
  28343. ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
  28344. ac_status=$?
  28345. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  28346. test $ac_status = 0; }; then
  28347. pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
  28348. else
  28349. pkg_failed=yes
  28350. fi
  28351. fi
  28352. else
  28353. pkg_failed=untried
  28354. fi
  28355. if test $pkg_failed = yes; then
  28356. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  28357. _pkg_short_errors_supported=yes
  28358. else
  28359. _pkg_short_errors_supported=no
  28360. fi
  28361. if test $_pkg_short_errors_supported = yes; then
  28362. HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
  28363. else
  28364. HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
  28365. fi
  28366. # Put the nasty error message in config.log where it belongs
  28367. echo "$HILDON_PKG_ERRORS" >&5
  28368. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
  28369. $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
  28370. wxUSE_LIBHILDON="no"
  28371. ac_hildon_lgpl=0
  28372. elif test $pkg_failed = untried; then
  28373. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_lgpl not found" >&5
  28374. $as_echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
  28375. wxUSE_LIBHILDON="no"
  28376. ac_hildon_lgpl=0
  28377. else
  28378. HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
  28379. HILDON_LIBS=$pkg_cv_HILDON_LIBS
  28380. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28381. $as_echo "yes" >&6; }
  28382. GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON_LIBS"
  28383. CFLAGS="$CFLAGS $HILDON_CFLAGS"
  28384. CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
  28385. $as_echo "#define wxUSE_LIBHILDON 1" >>confdefs.h
  28386. ac_hildon_lgpl=1
  28387. fi
  28388. if test "$ac_hildon_lgpl" = 0 ; then
  28389. pkg_failed=no
  28390. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for HILDON2" >&5
  28391. $as_echo_n "checking for HILDON2... " >&6; }
  28392. if test -n "$PKG_CONFIG"; then
  28393. if test -n "$HILDON2_CFLAGS"; then
  28394. pkg_cv_HILDON2_CFLAGS="$HILDON2_CFLAGS"
  28395. else
  28396. if test -n "$PKG_CONFIG" && \
  28397. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
  28398. ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
  28399. ac_status=$?
  28400. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  28401. test $ac_status = 0; }; then
  28402. pkg_cv_HILDON2_CFLAGS=`$PKG_CONFIG --cflags "hildon-1 >= 1.99" 2>/dev/null`
  28403. else
  28404. pkg_failed=yes
  28405. fi
  28406. fi
  28407. else
  28408. pkg_failed=untried
  28409. fi
  28410. if test -n "$PKG_CONFIG"; then
  28411. if test -n "$HILDON2_LIBS"; then
  28412. pkg_cv_HILDON2_LIBS="$HILDON2_LIBS"
  28413. else
  28414. if test -n "$PKG_CONFIG" && \
  28415. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"hildon-1 >= 1.99\""; } >&5
  28416. ($PKG_CONFIG --exists --print-errors "hildon-1 >= 1.99") 2>&5
  28417. ac_status=$?
  28418. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  28419. test $ac_status = 0; }; then
  28420. pkg_cv_HILDON2_LIBS=`$PKG_CONFIG --libs "hildon-1 >= 1.99" 2>/dev/null`
  28421. else
  28422. pkg_failed=yes
  28423. fi
  28424. fi
  28425. else
  28426. pkg_failed=untried
  28427. fi
  28428. if test $pkg_failed = yes; then
  28429. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  28430. _pkg_short_errors_supported=yes
  28431. else
  28432. _pkg_short_errors_supported=no
  28433. fi
  28434. if test $_pkg_short_errors_supported = yes; then
  28435. HILDON2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
  28436. else
  28437. HILDON2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-1 >= 1.99"`
  28438. fi
  28439. # Put the nasty error message in config.log where it belongs
  28440. echo "$HILDON2_PKG_ERRORS" >&5
  28441. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
  28442. $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
  28443. wxUSE_LIBHILDON2="no"
  28444. elif test $pkg_failed = untried; then
  28445. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: libhildon_1 not found" >&5
  28446. $as_echo "$as_me: WARNING: libhildon_1 not found" >&2;}
  28447. wxUSE_LIBHILDON2="no"
  28448. else
  28449. HILDON2_CFLAGS=$pkg_cv_HILDON2_CFLAGS
  28450. HILDON2_LIBS=$pkg_cv_HILDON2_LIBS
  28451. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  28452. $as_echo "yes" >&6; }
  28453. GUI_TK_LIBRARY="$GUI_TK_LIBRARY $HILDON2_LIBS"
  28454. CFLAGS="$CFLAGS $HILDON2_CFLAGS"
  28455. CXXFLAGS="$CXXFLAGS $HILDON2_CFLAGS"
  28456. $as_echo "#define wxUSE_LIBHILDON2 1" >>confdefs.h
  28457. fi
  28458. fi
  28459. fi
  28460. fi
  28461. if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
  28462. $as_echo "#define wxUSE_CMDLINE_PARSER 1" >>confdefs.h
  28463. fi
  28464. if test "$wxUSE_STOPWATCH" = "yes"; then
  28465. $as_echo "#define wxUSE_STOPWATCH 1" >>confdefs.h
  28466. fi
  28467. if test "$wxUSE_DATETIME" = "yes"; then
  28468. $as_echo "#define wxUSE_DATETIME 1" >>confdefs.h
  28469. fi
  28470. if test "$wxUSE_FILE" = "yes"; then
  28471. $as_echo "#define wxUSE_FILE 1" >>confdefs.h
  28472. fi
  28473. if test "$wxUSE_FFILE" = "yes"; then
  28474. $as_echo "#define wxUSE_FFILE 1" >>confdefs.h
  28475. fi
  28476. if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
  28477. if test "$wxUSE_STREAMS" != yes; then
  28478. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchive requires wxStreams... disabled" >&5
  28479. $as_echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
  28480. wxUSE_ARCHIVE_STREAMS=no
  28481. else
  28482. $as_echo "#define wxUSE_ARCHIVE_STREAMS 1" >>confdefs.h
  28483. fi
  28484. fi
  28485. if test "$wxUSE_ZIPSTREAM" = "yes"; then
  28486. if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
  28487. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxArchive... disabled" >&5
  28488. $as_echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
  28489. elif test "$wxUSE_ZLIB" = "no"; then
  28490. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZip requires wxZlib... disabled" >&5
  28491. $as_echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
  28492. else
  28493. $as_echo "#define wxUSE_ZIPSTREAM 1" >>confdefs.h
  28494. fi
  28495. fi
  28496. if test "$wxUSE_TARSTREAM" = "yes"; then
  28497. if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
  28498. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTar requires wxArchive... disabled" >&5
  28499. $as_echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
  28500. else
  28501. $as_echo "#define wxUSE_TARSTREAM 1" >>confdefs.h
  28502. fi
  28503. fi
  28504. if test "$wxUSE_FILE_HISTORY" = "yes"; then
  28505. $as_echo "#define wxUSE_FILE_HISTORY 1" >>confdefs.h
  28506. fi
  28507. if test "$wxUSE_FILESYSTEM" = "yes"; then
  28508. if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
  28509. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
  28510. $as_echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
  28511. wxUSE_FILESYSTEM=no
  28512. else
  28513. $as_echo "#define wxUSE_FILESYSTEM 1" >>confdefs.h
  28514. fi
  28515. fi
  28516. if test "$wxUSE_FS_ARCHIVE" = "yes"; then
  28517. if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
  28518. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
  28519. $as_echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
  28520. else
  28521. $as_echo "#define wxUSE_FS_ARCHIVE 1" >>confdefs.h
  28522. fi
  28523. fi
  28524. if test "$wxUSE_FS_ZIP" = "yes"; then
  28525. if test "$wxUSE_FS_ARCHIVE" != yes; then
  28526. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
  28527. $as_echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
  28528. else
  28529. $as_echo "#define wxUSE_FS_ZIP 1" >>confdefs.h
  28530. fi
  28531. fi
  28532. if test "$wxUSE_FSVOLUME" = "yes"; then
  28533. $as_echo "#define wxUSE_FSVOLUME 1" >>confdefs.h
  28534. fi
  28535. if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
  28536. if test "$USE_UNIX" != 1; then
  28537. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
  28538. $as_echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
  28539. wxUSE_ON_FATAL_EXCEPTION=no
  28540. else
  28541. $as_echo "#define wxUSE_ON_FATAL_EXCEPTION 1" >>confdefs.h
  28542. fi
  28543. fi
  28544. if test "$wxUSE_STACKWALKER" = "yes"; then
  28545. $as_echo "#define wxUSE_STACKWALKER 1" >>confdefs.h
  28546. fi
  28547. if test "$wxUSE_DEBUGREPORT" = "yes"; then
  28548. if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
  28549. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
  28550. $as_echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
  28551. wxUSE_DEBUGREPORT=no
  28552. else
  28553. $as_echo "#define wxUSE_DEBUGREPORT 1" >>confdefs.h
  28554. if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
  28555. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
  28556. fi
  28557. fi
  28558. fi
  28559. if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
  28560. $as_echo "#define wxUSE_SNGLINST_CHECKER 1" >>confdefs.h
  28561. fi
  28562. if test "$wxUSE_BUSYINFO" = "yes"; then
  28563. $as_echo "#define wxUSE_BUSYINFO 1" >>confdefs.h
  28564. fi
  28565. if test "$wxUSE_HOTKEY" = "yes"; then
  28566. if test "$wxUSE_MSW" != 1 -a "$wxUSE_OSX_COCOA" != 1 -a "$wxUSE_OSX_CARBON" != 1; then
  28567. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Hot keys not supported by the current toolkit, disabled" >&5
  28568. $as_echo "$as_me: WARNING: Hot keys not supported by the current toolkit, disabled" >&2;}
  28569. wxUSE_HOTKEY=no
  28570. fi
  28571. elif test "$wxUSE_HOTKEY" = "auto"; then
  28572. if test "$wxUSE_MSW" = 1 -o "$wxUSE_OSX_COCOA" = 1 -o "$wxUSE_OSX_CARBON" = 1; then
  28573. wxUSE_HOTKEY=yes
  28574. fi
  28575. fi
  28576. if test "$wxUSE_HOTKEY" = "yes"; then
  28577. $as_echo "#define wxUSE_HOTKEY 1" >>confdefs.h
  28578. fi
  28579. if test "$wxUSE_STD_CONTAINERS" = "yes"; then
  28580. $as_echo "#define wxUSE_STD_CONTAINERS 1" >>confdefs.h
  28581. fi
  28582. if test "$wxUSE_STD_IOSTREAM" = "yes"; then
  28583. $as_echo "#define wxUSE_STD_IOSTREAM 1" >>confdefs.h
  28584. fi
  28585. if test "$wxUSE_STD_STRING" = "yes"; then
  28586. $as_echo "#define wxUSE_STD_STRING 1" >>confdefs.h
  28587. fi
  28588. if test "$wxUSE_STD_STRING_CONV_IN_WXSTRING" = "yes"; then
  28589. $as_echo "#define wxUSE_STD_STRING_CONV_IN_WXSTRING 1" >>confdefs.h
  28590. fi
  28591. if test "$wxUSE_STDPATHS" = "yes"; then
  28592. $as_echo "#define wxUSE_STDPATHS 1" >>confdefs.h
  28593. fi
  28594. if test "$wxUSE_TEXTBUFFER" = "yes"; then
  28595. $as_echo "#define wxUSE_TEXTBUFFER 1" >>confdefs.h
  28596. fi
  28597. if test "$wxUSE_TEXTFILE" = "yes"; then
  28598. if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
  28599. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
  28600. $as_echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
  28601. else
  28602. $as_echo "#define wxUSE_TEXTFILE 1" >>confdefs.h
  28603. fi
  28604. fi
  28605. if test "$wxUSE_CONFIG" = "yes" ; then
  28606. if test "$wxUSE_TEXTFILE" != "yes"; then
  28607. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxConfig requires wxTextFile... disabled" >&5
  28608. $as_echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
  28609. else
  28610. $as_echo "#define wxUSE_CONFIG 1" >>confdefs.h
  28611. $as_echo "#define wxUSE_CONFIG_NATIVE 1" >>confdefs.h
  28612. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
  28613. fi
  28614. fi
  28615. if test "$wxUSE_INTL" = "yes" ; then
  28616. if test "$wxUSE_FILE" != "yes"; then
  28617. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: I18n code requires wxFile... disabled" >&5
  28618. $as_echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
  28619. else
  28620. $as_echo "#define wxUSE_INTL 1" >>confdefs.h
  28621. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
  28622. GUIDIST="$GUIDIST INTL_DIST"
  28623. fi
  28624. fi
  28625. if test "$wxUSE_XLOCALE" = "yes" ; then
  28626. $as_echo "#define wxUSE_XLOCALE 1" >>confdefs.h
  28627. ac_fn_c_check_type "$LINENO" "locale_t" "ac_cv_type_locale_t" "#include <xlocale.h>
  28628. #include <locale.h>
  28629. "
  28630. if test "x$ac_cv_type_locale_t" = xyes; then :
  28631. cat >>confdefs.h <<_ACEOF
  28632. #define HAVE_LOCALE_T 1
  28633. _ACEOF
  28634. fi
  28635. fi
  28636. if test "$wxUSE_LOG" = "yes"; then
  28637. $as_echo "#define wxUSE_LOG 1" >>confdefs.h
  28638. if test "$wxUSE_LOGGUI" = "yes"; then
  28639. $as_echo "#define wxUSE_LOGGUI 1" >>confdefs.h
  28640. fi
  28641. if test "$wxUSE_LOGWINDOW" = "yes"; then
  28642. $as_echo "#define wxUSE_LOGWINDOW 1" >>confdefs.h
  28643. fi
  28644. if test "$wxUSE_LOGDIALOG" = "yes"; then
  28645. $as_echo "#define wxUSE_LOG_DIALOG 1" >>confdefs.h
  28646. fi
  28647. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
  28648. fi
  28649. if test "$wxUSE_LONGLONG" = "yes"; then
  28650. $as_echo "#define wxUSE_LONGLONG 1" >>confdefs.h
  28651. fi
  28652. if test "$wxUSE_GEOMETRY" = "yes"; then
  28653. $as_echo "#define wxUSE_GEOMETRY 1" >>confdefs.h
  28654. fi
  28655. if test "$wxUSE_BASE64" = "yes"; then
  28656. $as_echo "#define wxUSE_BASE64 1" >>confdefs.h
  28657. fi
  28658. if test "$wxUSE_STREAMS" = "yes" ; then
  28659. $as_echo "#define wxUSE_STREAMS 1" >>confdefs.h
  28660. fi
  28661. if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
  28662. $as_echo "#define wxUSE_PRINTF_POS_PARAMS 1" >>confdefs.h
  28663. fi
  28664. if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
  28665. $as_echo "#define wxUSE_OBJC_UNIQUIFYING 1" >>confdefs.h
  28666. fi
  28667. if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
  28668. $as_echo "#define wxUSE_CONSOLE_EVENTLOOP 1" >>confdefs.h
  28669. if test "$wxUSE_UNIX" = "yes"; then
  28670. if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
  28671. $as_echo "#define wxUSE_SELECT_DISPATCHER 1" >>confdefs.h
  28672. fi
  28673. if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
  28674. for ac_header in sys/epoll.h
  28675. do :
  28676. ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default
  28677. "
  28678. if test "x$ac_cv_header_sys_epoll_h" = xyes; then :
  28679. cat >>confdefs.h <<_ACEOF
  28680. #define HAVE_SYS_EPOLL_H 1
  28681. _ACEOF
  28682. fi
  28683. done
  28684. if test "$ac_cv_header_sys_epoll_h" = "yes"; then
  28685. $as_echo "#define wxUSE_EPOLL_DISPATCHER 1" >>confdefs.h
  28686. else
  28687. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
  28688. $as_echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
  28689. fi
  28690. fi
  28691. fi
  28692. fi
  28693. for ac_func in gettimeofday ftime
  28694. do :
  28695. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  28696. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  28697. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  28698. cat >>confdefs.h <<_ACEOF
  28699. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  28700. _ACEOF
  28701. break
  28702. fi
  28703. done
  28704. if test "$ac_cv_func_gettimeofday" = "yes"; then
  28705. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gettimeofday takes two arguments" >&5
  28706. $as_echo_n "checking whether gettimeofday takes two arguments... " >&6; }
  28707. if ${wx_cv_func_gettimeofday_has_2_args+:} false; then :
  28708. $as_echo_n "(cached) " >&6
  28709. else
  28710. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28711. /* end confdefs.h. */
  28712. #include <sys/time.h>
  28713. #include <unistd.h>
  28714. int
  28715. main ()
  28716. {
  28717. struct timeval tv;
  28718. gettimeofday(&tv, NULL);
  28719. ;
  28720. return 0;
  28721. }
  28722. _ACEOF
  28723. if ac_fn_c_try_compile "$LINENO"; then :
  28724. wx_cv_func_gettimeofday_has_2_args=yes
  28725. else
  28726. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28727. /* end confdefs.h. */
  28728. #include <sys/time.h>
  28729. #include <unistd.h>
  28730. int
  28731. main ()
  28732. {
  28733. struct timeval tv;
  28734. gettimeofday(&tv);
  28735. ;
  28736. return 0;
  28737. }
  28738. _ACEOF
  28739. if ac_fn_c_try_compile "$LINENO"; then :
  28740. wx_cv_func_gettimeofday_has_2_args=no
  28741. else
  28742. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: failed to determine number of gettimeofday() arguments" >&5
  28743. $as_echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
  28744. wx_cv_func_gettimeofday_has_2_args=unknown
  28745. fi
  28746. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  28747. fi
  28748. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  28749. fi
  28750. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_func_gettimeofday_has_2_args" >&5
  28751. $as_echo "$wx_cv_func_gettimeofday_has_2_args" >&6; }
  28752. if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
  28753. $as_echo "#define WX_GETTIMEOFDAY_NO_TZ 1" >>confdefs.h
  28754. fi
  28755. fi
  28756. if test "$wxUSE_DATETIME" = "yes"; then
  28757. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable in <time.h>" >&5
  28758. $as_echo_n "checking for timezone variable in <time.h>... " >&6; }
  28759. if ${wx_cv_var_timezone+:} false; then :
  28760. $as_echo_n "(cached) " >&6
  28761. else
  28762. ac_ext=cpp
  28763. ac_cpp='$CXXCPP $CPPFLAGS'
  28764. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  28765. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  28766. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  28767. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28768. /* end confdefs.h. */
  28769. #include <time.h>
  28770. int
  28771. main ()
  28772. {
  28773. int tz;
  28774. tz = timezone;
  28775. ;
  28776. return 0;
  28777. }
  28778. _ACEOF
  28779. if ac_fn_cxx_try_compile "$LINENO"; then :
  28780. wx_cv_var_timezone=timezone
  28781. else
  28782. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28783. /* end confdefs.h. */
  28784. #include <time.h>
  28785. int
  28786. main ()
  28787. {
  28788. int tz;
  28789. tz = _timezone;
  28790. ;
  28791. return 0;
  28792. }
  28793. _ACEOF
  28794. if ac_fn_cxx_try_compile "$LINENO"; then :
  28795. wx_cv_var_timezone=_timezone
  28796. else
  28797. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28798. /* end confdefs.h. */
  28799. #include <time.h>
  28800. int
  28801. main ()
  28802. {
  28803. int tz;
  28804. tz = __timezone;
  28805. ;
  28806. return 0;
  28807. }
  28808. _ACEOF
  28809. if ac_fn_cxx_try_compile "$LINENO"; then :
  28810. wx_cv_var_timezone=__timezone
  28811. else
  28812. if test "$USE_DOS" = 0 ; then
  28813. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no timezone variable" >&5
  28814. $as_echo "$as_me: WARNING: no timezone variable" >&2;}
  28815. fi
  28816. fi
  28817. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  28818. fi
  28819. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  28820. fi
  28821. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  28822. ac_ext=c
  28823. ac_cpp='$CPP $CPPFLAGS'
  28824. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  28825. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  28826. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  28827. fi
  28828. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_var_timezone" >&5
  28829. $as_echo "$wx_cv_var_timezone" >&6; }
  28830. if test "x$wx_cv_var_timezone" != x ; then
  28831. cat >>confdefs.h <<_ACEOF
  28832. #define WX_TIMEZONE $wx_cv_var_timezone
  28833. _ACEOF
  28834. fi
  28835. for ac_func in localtime
  28836. do :
  28837. ac_fn_c_check_func "$LINENO" "localtime" "ac_cv_func_localtime"
  28838. if test "x$ac_cv_func_localtime" = xyes; then :
  28839. cat >>confdefs.h <<_ACEOF
  28840. #define HAVE_LOCALTIME 1
  28841. _ACEOF
  28842. fi
  28843. done
  28844. if test "$ac_cv_func_localtime" = "yes"; then
  28845. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for tm_gmtoff in struct tm" >&5
  28846. $as_echo_n "checking for tm_gmtoff in struct tm... " >&6; }
  28847. if ${wx_cv_struct_tm_has_gmtoff+:} false; then :
  28848. $as_echo_n "(cached) " >&6
  28849. else
  28850. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28851. /* end confdefs.h. */
  28852. #include <time.h>
  28853. int
  28854. main ()
  28855. {
  28856. struct tm tm;
  28857. tm.tm_gmtoff++;
  28858. ;
  28859. return 0;
  28860. }
  28861. _ACEOF
  28862. if ac_fn_c_try_compile "$LINENO"; then :
  28863. wx_cv_struct_tm_has_gmtoff=yes
  28864. else
  28865. wx_cv_struct_tm_has_gmtoff=no
  28866. fi
  28867. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  28868. fi
  28869. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_struct_tm_has_gmtoff" >&5
  28870. $as_echo "$wx_cv_struct_tm_has_gmtoff" >&6; }
  28871. fi
  28872. if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
  28873. $as_echo "#define WX_GMTOFF_IN_TM 1" >>confdefs.h
  28874. fi
  28875. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
  28876. fi
  28877. for ac_func in setpriority
  28878. do :
  28879. ac_fn_c_check_func "$LINENO" "setpriority" "ac_cv_func_setpriority"
  28880. if test "x$ac_cv_func_setpriority" = xyes; then :
  28881. cat >>confdefs.h <<_ACEOF
  28882. #define HAVE_SETPRIORITY 1
  28883. _ACEOF
  28884. fi
  28885. done
  28886. if test "$wxUSE_SOCKETS" = "yes"; then
  28887. if test "$TOOLKIT" != "MSW"; then
  28888. ac_fn_c_check_func "$LINENO" "socket" "ac_cv_func_socket"
  28889. if test "x$ac_cv_func_socket" = xyes; then :
  28890. else
  28891. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for socket in -lsocket" >&5
  28892. $as_echo_n "checking for socket in -lsocket... " >&6; }
  28893. if ${ac_cv_lib_socket_socket+:} false; then :
  28894. $as_echo_n "(cached) " >&6
  28895. else
  28896. ac_check_lib_save_LIBS=$LIBS
  28897. LIBS="-lsocket $LIBS"
  28898. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28899. /* end confdefs.h. */
  28900. /* Override any GCC internal prototype to avoid an error.
  28901. Use char because int might match the return type of a GCC
  28902. builtin and then its argument prototype would still apply. */
  28903. #ifdef __cplusplus
  28904. extern "C"
  28905. #endif
  28906. char socket ();
  28907. int
  28908. main ()
  28909. {
  28910. return socket ();
  28911. ;
  28912. return 0;
  28913. }
  28914. _ACEOF
  28915. if ac_fn_c_try_link "$LINENO"; then :
  28916. ac_cv_lib_socket_socket=yes
  28917. else
  28918. ac_cv_lib_socket_socket=no
  28919. fi
  28920. rm -f core conftest.err conftest.$ac_objext \
  28921. conftest$ac_exeext conftest.$ac_ext
  28922. LIBS=$ac_check_lib_save_LIBS
  28923. fi
  28924. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_socket" >&5
  28925. $as_echo "$ac_cv_lib_socket_socket" >&6; }
  28926. if test "x$ac_cv_lib_socket_socket" = xyes; then :
  28927. if test "$INET_LINK" != " -lsocket"; then
  28928. INET_LINK="$INET_LINK -lsocket"
  28929. fi
  28930. else
  28931. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: socket library not found - sockets will be disabled" >&5
  28932. $as_echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
  28933. wxUSE_SOCKETS=no
  28934. fi
  28935. fi
  28936. fi
  28937. fi
  28938. if test "$wxUSE_SOCKETS" = "yes" ; then
  28939. if test "$TOOLKIT" != "MSW"; then
  28940. { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the third argument of getsockname" >&5
  28941. $as_echo_n "checking what is the type of the third argument of getsockname... " >&6; }
  28942. if ${wx_cv_type_getsockname3+:} false; then :
  28943. $as_echo_n "(cached) " >&6
  28944. else
  28945. ac_ext=cpp
  28946. ac_cpp='$CXXCPP $CPPFLAGS'
  28947. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  28948. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  28949. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  28950. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28951. /* end confdefs.h. */
  28952. #include <sys/types.h>
  28953. #include <sys/socket.h>
  28954. int
  28955. main ()
  28956. {
  28957. socklen_t len;
  28958. getsockname(0, 0, &len);
  28959. ;
  28960. return 0;
  28961. }
  28962. _ACEOF
  28963. if ac_fn_cxx_try_compile "$LINENO"; then :
  28964. wx_cv_type_getsockname3=socklen_t
  28965. else
  28966. CFLAGS_OLD="$CFLAGS"
  28967. if test "$GCC" = yes ; then
  28968. CFLAGS="-Werror $CFLAGS"
  28969. fi
  28970. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28971. /* end confdefs.h. */
  28972. #include <sys/types.h>
  28973. #include <sys/socket.h>
  28974. int
  28975. main ()
  28976. {
  28977. size_t len;
  28978. getsockname(0, 0, &len);
  28979. ;
  28980. return 0;
  28981. }
  28982. _ACEOF
  28983. if ac_fn_cxx_try_compile "$LINENO"; then :
  28984. wx_cv_type_getsockname3=size_t
  28985. else
  28986. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  28987. /* end confdefs.h. */
  28988. #include <sys/types.h>
  28989. #include <sys/socket.h>
  28990. int
  28991. main ()
  28992. {
  28993. int len;
  28994. getsockname(0, 0, &len);
  28995. ;
  28996. return 0;
  28997. }
  28998. _ACEOF
  28999. if ac_fn_cxx_try_compile "$LINENO"; then :
  29000. wx_cv_type_getsockname3=int
  29001. else
  29002. wx_cv_type_getsockname3=unknown
  29003. fi
  29004. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29005. fi
  29006. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29007. CFLAGS="$CFLAGS_OLD"
  29008. fi
  29009. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29010. ac_ext=c
  29011. ac_cpp='$CPP $CPPFLAGS'
  29012. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  29013. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  29014. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  29015. fi
  29016. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockname3" >&5
  29017. $as_echo "$wx_cv_type_getsockname3" >&6; }
  29018. if test "$wx_cv_type_getsockname3" = "unknown"; then
  29019. wxUSE_SOCKETS=no
  29020. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
  29021. $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
  29022. else
  29023. cat >>confdefs.h <<_ACEOF
  29024. #define WX_SOCKLEN_T $wx_cv_type_getsockname3
  29025. _ACEOF
  29026. fi
  29027. { $as_echo "$as_me:${as_lineno-$LINENO}: checking what is the type of the fifth argument of getsockopt" >&5
  29028. $as_echo_n "checking what is the type of the fifth argument of getsockopt... " >&6; }
  29029. if ${wx_cv_type_getsockopt5+:} false; then :
  29030. $as_echo_n "(cached) " >&6
  29031. else
  29032. ac_ext=cpp
  29033. ac_cpp='$CXXCPP $CPPFLAGS'
  29034. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  29035. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  29036. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  29037. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29038. /* end confdefs.h. */
  29039. #include <sys/types.h>
  29040. #include <sys/socket.h>
  29041. int
  29042. main ()
  29043. {
  29044. socklen_t len;
  29045. getsockopt(0, 0, 0, 0, &len);
  29046. ;
  29047. return 0;
  29048. }
  29049. _ACEOF
  29050. if ac_fn_cxx_try_compile "$LINENO"; then :
  29051. wx_cv_type_getsockopt5=socklen_t
  29052. else
  29053. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29054. /* end confdefs.h. */
  29055. #include <sys/types.h>
  29056. #include <sys/socket.h>
  29057. int
  29058. main ()
  29059. {
  29060. size_t len;
  29061. getsockopt(0, 0, 0, 0, &len);
  29062. ;
  29063. return 0;
  29064. }
  29065. _ACEOF
  29066. if ac_fn_cxx_try_compile "$LINENO"; then :
  29067. wx_cv_type_getsockopt5=size_t
  29068. else
  29069. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29070. /* end confdefs.h. */
  29071. #include <sys/types.h>
  29072. #include <sys/socket.h>
  29073. int
  29074. main ()
  29075. {
  29076. int len;
  29077. getsockopt(0, 0, 0, 0, &len);
  29078. ;
  29079. return 0;
  29080. }
  29081. _ACEOF
  29082. if ac_fn_cxx_try_compile "$LINENO"; then :
  29083. wx_cv_type_getsockopt5=int
  29084. else
  29085. wx_cv_type_getsockopt5=unknown
  29086. fi
  29087. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29088. fi
  29089. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29090. fi
  29091. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29092. ac_ext=c
  29093. ac_cpp='$CPP $CPPFLAGS'
  29094. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  29095. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  29096. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  29097. fi
  29098. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_getsockopt5" >&5
  29099. $as_echo "$wx_cv_type_getsockopt5" >&6; }
  29100. if test "$wx_cv_type_getsockopt5" = "unknown"; then
  29101. wxUSE_SOCKETS=no
  29102. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Couldn't find socklen_t synonym for this system" >&5
  29103. $as_echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
  29104. else
  29105. cat >>confdefs.h <<_ACEOF
  29106. #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
  29107. _ACEOF
  29108. fi
  29109. fi
  29110. fi
  29111. if test "$wxUSE_SOCKETS" = "yes" ; then
  29112. if test "$wxUSE_IPV6" = "yes"; then
  29113. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we have sockaddr_in6" >&5
  29114. $as_echo_n "checking whether we have sockaddr_in6... " >&6; }
  29115. if ${wx_cv_type_sockaddr_in6+:} false; then :
  29116. $as_echo_n "(cached) " >&6
  29117. else
  29118. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29119. /* end confdefs.h. */
  29120. #include <sys/types.h>
  29121. #include <sys/socket.h>
  29122. #include <netinet/in.h>
  29123. int
  29124. main ()
  29125. {
  29126. struct sockaddr_in6 sa6;
  29127. ;
  29128. return 0;
  29129. }
  29130. _ACEOF
  29131. if ac_fn_c_try_compile "$LINENO"; then :
  29132. wx_cv_type_sockaddr_in6=yes
  29133. else
  29134. wx_cv_type_sockaddr_in6=no
  29135. fi
  29136. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29137. fi
  29138. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_type_sockaddr_in6" >&5
  29139. $as_echo "$wx_cv_type_sockaddr_in6" >&6; }
  29140. if test "$wx_cv_type_sockaddr_in6"="yes"; then
  29141. $as_echo "#define wxUSE_IPV6 1" >>confdefs.h
  29142. else
  29143. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: IPv6 support not available... disabled" >&5
  29144. $as_echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
  29145. fi
  29146. fi
  29147. $as_echo "#define wxUSE_SOCKETS 1" >>confdefs.h
  29148. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
  29149. fi
  29150. if test "$wxUSE_PROTOCOL" = "yes"; then
  29151. if test "$wxUSE_SOCKETS" != "yes"; then
  29152. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Protocol classes require sockets... disabled" >&5
  29153. $as_echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
  29154. wxUSE_PROTOCOL=no
  29155. fi
  29156. fi
  29157. if test "$wxUSE_PROTOCOL" = "yes"; then
  29158. $as_echo "#define wxUSE_PROTOCOL 1" >>confdefs.h
  29159. if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
  29160. $as_echo "#define wxUSE_PROTOCOL_HTTP 1" >>confdefs.h
  29161. fi
  29162. if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
  29163. $as_echo "#define wxUSE_PROTOCOL_FTP 1" >>confdefs.h
  29164. fi
  29165. if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
  29166. $as_echo "#define wxUSE_PROTOCOL_FILE 1" >>confdefs.h
  29167. fi
  29168. else
  29169. if test "$wxUSE_FS_INET" = "yes"; then
  29170. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: HTTP filesystem require protocol classes... disabled" >&5
  29171. $as_echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
  29172. wxUSE_FS_INET="no"
  29173. fi
  29174. fi
  29175. if test "$wxUSE_URL" = "yes"; then
  29176. if test "$wxUSE_PROTOCOL" != "yes"; then
  29177. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxURL class requires wxProtocol... disabled" >&5
  29178. $as_echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
  29179. wxUSE_URL=no
  29180. fi
  29181. if test "$wxUSE_URL" = "yes"; then
  29182. $as_echo "#define wxUSE_URL 1" >>confdefs.h
  29183. fi
  29184. fi
  29185. if test "$wxUSE_VARIANT" = "yes"; then
  29186. $as_echo "#define wxUSE_VARIANT 1" >>confdefs.h
  29187. fi
  29188. if test "$wxUSE_FS_INET" = "yes"; then
  29189. $as_echo "#define wxUSE_FS_INET 1" >>confdefs.h
  29190. fi
  29191. if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
  29192. wxUSE_JOYSTICK=no
  29193. if test "$TOOLKIT" = "MSW"; then
  29194. wxUSE_JOYSTICK=yes
  29195. elif test "$TOOLKIT" = "OSX_COCOA" -o "$TOOLKIT" = "COCOA"; then
  29196. if test "$USE_DARWIN" = 1; then
  29197. { $as_echo "$as_me:${as_lineno-$LINENO}: checking headers have declarations needed for joystick support" >&5
  29198. $as_echo_n "checking headers have declarations needed for joystick support... " >&6; }
  29199. ac_ext=cpp
  29200. ac_cpp='$CXXCPP $CPPFLAGS'
  29201. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  29202. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  29203. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  29204. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29205. /* end confdefs.h. */
  29206. #include <IOKit/hid/IOHIDLib.h>
  29207. int
  29208. main ()
  29209. {
  29210. IOHIDQueueInterface *qi = NULL;
  29211. IOHIDCallbackFunction cb = NULL;
  29212. qi->setEventCallout(NULL, cb, NULL, NULL);
  29213. ;
  29214. return 0;
  29215. }
  29216. _ACEOF
  29217. if ac_fn_cxx_try_compile "$LINENO"; then :
  29218. wxUSE_JOYSTICK=yes
  29219. fi
  29220. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29221. ac_ext=c
  29222. ac_cpp='$CPP $CPPFLAGS'
  29223. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  29224. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  29225. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  29226. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wxUSE_JOYSTICK" >&5
  29227. $as_echo "$wxUSE_JOYSTICK" >&6; }
  29228. fi
  29229. else
  29230. for ac_header in linux/joystick.h
  29231. do :
  29232. ac_fn_c_check_header_compile "$LINENO" "linux/joystick.h" "ac_cv_header_linux_joystick_h" "$ac_includes_default
  29233. "
  29234. if test "x$ac_cv_header_linux_joystick_h" = xyes; then :
  29235. cat >>confdefs.h <<_ACEOF
  29236. #define HAVE_LINUX_JOYSTICK_H 1
  29237. _ACEOF
  29238. wxUSE_JOYSTICK=yes
  29239. fi
  29240. done
  29241. fi
  29242. if test "$wxUSE_JOYSTICK" = "yes"; then
  29243. $as_echo "#define wxUSE_JOYSTICK 1" >>confdefs.h
  29244. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
  29245. else
  29246. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Joystick not supported by this system... disabled" >&5
  29247. $as_echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
  29248. fi
  29249. fi
  29250. if test "$wxUSE_FONTENUM" = "yes" ; then
  29251. $as_echo "#define wxUSE_FONTENUM 1" >>confdefs.h
  29252. fi
  29253. if test "$wxUSE_FONTMAP" = "yes" ; then
  29254. $as_echo "#define wxUSE_FONTMAP 1" >>confdefs.h
  29255. fi
  29256. if test "$wxUSE_UNICODE" = "yes" ; then
  29257. $as_echo "#define wxUSE_UNICODE 1" >>confdefs.h
  29258. if test "$USE_WIN32" != 1; then
  29259. wxUSE_UNICODE_MSLU=no
  29260. fi
  29261. if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
  29262. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for main in -lunicows" >&5
  29263. $as_echo_n "checking for main in -lunicows... " >&6; }
  29264. if ${ac_cv_lib_unicows_main+:} false; then :
  29265. $as_echo_n "(cached) " >&6
  29266. else
  29267. ac_check_lib_save_LIBS=$LIBS
  29268. LIBS="-lunicows $LIBS"
  29269. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29270. /* end confdefs.h. */
  29271. int
  29272. main ()
  29273. {
  29274. return main ();
  29275. ;
  29276. return 0;
  29277. }
  29278. _ACEOF
  29279. if ac_fn_c_try_link "$LINENO"; then :
  29280. ac_cv_lib_unicows_main=yes
  29281. else
  29282. ac_cv_lib_unicows_main=no
  29283. fi
  29284. rm -f core conftest.err conftest.$ac_objext \
  29285. conftest$ac_exeext conftest.$ac_ext
  29286. LIBS=$ac_check_lib_save_LIBS
  29287. fi
  29288. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_unicows_main" >&5
  29289. $as_echo "$ac_cv_lib_unicows_main" >&6; }
  29290. if test "x$ac_cv_lib_unicows_main" = xyes; then :
  29291. $as_echo "#define wxUSE_UNICODE_MSLU 1" >>confdefs.h
  29292. else
  29293. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
  29294. Applications will only run on Windows NT/2000/XP!" >&5
  29295. $as_echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
  29296. Applications will only run on Windows NT/2000/XP!" >&2;}
  29297. wxUSE_UNICODE_MSLU=no
  29298. fi
  29299. fi
  29300. fi
  29301. if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
  29302. $as_echo "#define wxUSE_UNICODE_UTF8 1" >>confdefs.h
  29303. if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
  29304. $as_echo "#define wxUSE_UTF8_LOCALE_ONLY 1" >>confdefs.h
  29305. fi
  29306. fi
  29307. if test "$wxUSE_CONSTRAINTS" = "yes"; then
  29308. $as_echo "#define wxUSE_CONSTRAINTS 1" >>confdefs.h
  29309. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
  29310. fi
  29311. if test "$wxUSE_MDI" = "yes"; then
  29312. $as_echo "#define wxUSE_MDI 1" >>confdefs.h
  29313. if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
  29314. $as_echo "#define wxUSE_MDI_ARCHITECTURE 1" >>confdefs.h
  29315. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
  29316. fi
  29317. fi
  29318. if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
  29319. $as_echo "#define wxUSE_DOC_VIEW_ARCHITECTURE 1" >>confdefs.h
  29320. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
  29321. fi
  29322. if test "$wxUSE_HELP" = "yes"; then
  29323. $as_echo "#define wxUSE_HELP 1" >>confdefs.h
  29324. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
  29325. if test "$wxUSE_MSW" = 1; then
  29326. if test "$wxUSE_MS_HTML_HELP" = "yes"; then
  29327. $as_echo "#define wxUSE_MS_HTML_HELP 1" >>confdefs.h
  29328. fi
  29329. fi
  29330. if test "$wxUSE_WXHTML_HELP" = "yes"; then
  29331. if test "$wxUSE_HTML" = "yes"; then
  29332. $as_echo "#define wxUSE_WXHTML_HELP 1" >>confdefs.h
  29333. else
  29334. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
  29335. $as_echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
  29336. wxUSE_WXHTML_HELP=no
  29337. fi
  29338. fi
  29339. fi
  29340. if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
  29341. $as_echo "#define wxUSE_PRINTING_ARCHITECTURE 1" >>confdefs.h
  29342. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
  29343. fi
  29344. if test "$wxUSE_POSTSCRIPT" = "yes" ; then
  29345. $as_echo "#define wxUSE_POSTSCRIPT 1" >>confdefs.h
  29346. fi
  29347. $as_echo "#define wxUSE_AFM_FOR_POSTSCRIPT 1" >>confdefs.h
  29348. if test "$wxUSE_SVG" = "yes"; then
  29349. $as_echo "#define wxUSE_SVG 1" >>confdefs.h
  29350. fi
  29351. if test "$wxUSE_METAFILE" = "yes"; then
  29352. if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
  29353. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxMetafile is not available on this system... disabled" >&5
  29354. $as_echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
  29355. wxUSE_METAFILE=no
  29356. fi
  29357. elif test "$wxUSE_METAFILE" = "auto"; then
  29358. if test "$wxUSE_MSW" = 1 -o "$wxUSE_MAC" = 1 -o "$wxUSE_PM" = 1; then
  29359. wxUSE_METAFILE=yes
  29360. fi
  29361. fi
  29362. if test "$wxUSE_METAFILE" = "yes"; then
  29363. $as_echo "#define wxUSE_METAFILE 1" >>confdefs.h
  29364. if test "$wxUSE_MSW" = 1; then
  29365. $as_echo "#define wxUSE_ENH_METAFILE 1" >>confdefs.h
  29366. fi
  29367. fi
  29368. if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
  29369. -o "$wxUSE_CLIPBOARD" = "yes" \
  29370. -o "$wxUSE_OLE" = "yes" \
  29371. -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
  29372. ac_fn_c_check_header_compile "$LINENO" "ole2.h" "ac_cv_header_ole2_h" "
  29373. "
  29374. if test "x$ac_cv_header_ole2_h" = xyes; then :
  29375. fi
  29376. if test "$ac_cv_header_ole2_h" = "yes" ; then
  29377. if test "$GCC" = yes ; then
  29378. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if g++ requires -fvtable-thunks" >&5
  29379. $as_echo_n "checking if g++ requires -fvtable-thunks... " >&6; }
  29380. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  29381. /* end confdefs.h. */
  29382. #include <windows.h>
  29383. #include <ole2.h>
  29384. int
  29385. main ()
  29386. {
  29387. ;
  29388. return 0;
  29389. }
  29390. _ACEOF
  29391. if ac_fn_c_try_compile "$LINENO"; then :
  29392. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29393. $as_echo "no" >&6; }
  29394. else
  29395. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  29396. $as_echo "yes" >&6; }
  29397. WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
  29398. fi
  29399. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  29400. LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
  29401. if test "$wxUSE_OLE" = "yes" ; then
  29402. $as_echo "#define wxUSE_OLE 1" >>confdefs.h
  29403. $as_echo "#define wxUSE_OLE_AUTOMATION 1" >>confdefs.h
  29404. $as_echo "#define wxUSE_ACTIVEX 1" >>confdefs.h
  29405. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
  29406. fi
  29407. fi
  29408. if test "$wxUSE_DATAOBJ" = "yes" ; then
  29409. $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
  29410. fi
  29411. else
  29412. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Some features disabled because OLE headers not found" >&5
  29413. $as_echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
  29414. wxUSE_CLIPBOARD=no
  29415. wxUSE_DRAG_AND_DROP=no
  29416. wxUSE_DATAOBJ=no
  29417. wxUSE_OLE=no
  29418. fi
  29419. fi
  29420. if test "$wxUSE_IPC" = "yes"; then
  29421. if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
  29422. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
  29423. $as_echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
  29424. wxUSE_IPC=no
  29425. fi
  29426. if test "$wxUSE_IPC" = "yes"; then
  29427. $as_echo "#define wxUSE_IPC 1" >>confdefs.h
  29428. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
  29429. fi
  29430. fi
  29431. if test "$wxUSE_DATAOBJ" = "yes"; then
  29432. if test "$wxUSE_DFB" = 1; then
  29433. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
  29434. $as_echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
  29435. wxUSE_DATAOBJ=no
  29436. else
  29437. $as_echo "#define wxUSE_DATAOBJ 1" >>confdefs.h
  29438. fi
  29439. else
  29440. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
  29441. $as_echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
  29442. wxUSE_CLIPBOARD=no
  29443. wxUSE_DRAG_AND_DROP=no
  29444. fi
  29445. if test "$wxUSE_CLIPBOARD" = "yes"; then
  29446. if test "$wxUSE_DFB" = 1; then
  29447. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
  29448. $as_echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
  29449. wxUSE_CLIPBOARD=no
  29450. fi
  29451. if test "$wxUSE_CLIPBOARD" = "yes"; then
  29452. $as_echo "#define wxUSE_CLIPBOARD 1" >>confdefs.h
  29453. fi
  29454. fi
  29455. if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
  29456. if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_DFB" = 1; then
  29457. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
  29458. $as_echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
  29459. wxUSE_DRAG_AND_DROP=no
  29460. fi
  29461. if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
  29462. $as_echo "#define wxUSE_DRAG_AND_DROP 1" >>confdefs.h
  29463. fi
  29464. fi
  29465. if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
  29466. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
  29467. fi
  29468. if test "$wxUSE_CLIPBOARD" = "yes"; then
  29469. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS clipboard"
  29470. fi
  29471. if test "$wxUSE_SPLINES" = "yes" ; then
  29472. $as_echo "#define wxUSE_SPLINES 1" >>confdefs.h
  29473. fi
  29474. if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
  29475. $as_echo "#define wxUSE_MOUSEWHEEL 1" >>confdefs.h
  29476. fi
  29477. if test "$wxUSE_UIACTIONSIMULATOR" = "yes" ; then
  29478. $as_echo "#define wxUSE_UIACTIONSIMULATOR 1" >>confdefs.h
  29479. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS uiaction"
  29480. fi
  29481. if test "$wxUSE_DC_TRANSFORM_MATRIX" = "yes" ; then
  29482. $as_echo "#define wxUSE_DC_TRANSFORM_MATRIX 1" >>confdefs.h
  29483. fi
  29484. USES_CONTROLS=0
  29485. if test "$wxUSE_CONTROLS" = "yes"; then
  29486. USES_CONTROLS=1
  29487. fi
  29488. if test "$wxUSE_MARKUP" = "yes"; then
  29489. $as_echo "#define wxUSE_MARKUP 1" >>confdefs.h
  29490. fi
  29491. if test "$wxUSE_ACCEL" = "yes"; then
  29492. $as_echo "#define wxUSE_ACCEL 1" >>confdefs.h
  29493. USES_CONTROLS=1
  29494. fi
  29495. if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
  29496. $as_echo "#define wxUSE_ANIMATIONCTRL 1" >>confdefs.h
  29497. USES_CONTROLS=1
  29498. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
  29499. fi
  29500. if test "$wxUSE_BANNERWINDOW" = "yes"; then
  29501. $as_echo "#define wxUSE_BANNERWINDOW 1" >>confdefs.h
  29502. fi
  29503. if test "$wxUSE_BUTTON" = "yes"; then
  29504. $as_echo "#define wxUSE_BUTTON 1" >>confdefs.h
  29505. USES_CONTROLS=1
  29506. fi
  29507. if test "$wxUSE_BMPBUTTON" = "yes"; then
  29508. $as_echo "#define wxUSE_BMPBUTTON 1" >>confdefs.h
  29509. USES_CONTROLS=1
  29510. fi
  29511. if test "$wxUSE_CALCTRL" = "yes"; then
  29512. $as_echo "#define wxUSE_CALENDARCTRL 1" >>confdefs.h
  29513. USES_CONTROLS=1
  29514. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
  29515. fi
  29516. if test "$wxUSE_CARET" = "yes"; then
  29517. $as_echo "#define wxUSE_CARET 1" >>confdefs.h
  29518. USES_CONTROLS=1
  29519. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
  29520. fi
  29521. if test "$wxUSE_COLLPANE" = "yes"; then
  29522. $as_echo "#define wxUSE_COLLPANE 1" >>confdefs.h
  29523. USES_CONTROLS=1
  29524. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
  29525. fi
  29526. if test "$wxUSE_COMBOBOX" = "yes"; then
  29527. $as_echo "#define wxUSE_COMBOBOX 1" >>confdefs.h
  29528. USES_CONTROLS=1
  29529. fi
  29530. if test "$wxUSE_COMBOCTRL" = "yes"; then
  29531. $as_echo "#define wxUSE_COMBOCTRL 1" >>confdefs.h
  29532. USES_CONTROLS=1
  29533. fi
  29534. if test "$wxUSE_COMMANDLINKBUTTON" = "yes"; then
  29535. $as_echo "#define wxUSE_COMMANDLINKBUTTON 1" >>confdefs.h
  29536. USES_CONTROLS=1
  29537. fi
  29538. if test "$wxUSE_CHOICE" = "yes"; then
  29539. $as_echo "#define wxUSE_CHOICE 1" >>confdefs.h
  29540. USES_CONTROLS=1
  29541. fi
  29542. if test "$wxUSE_CHOICEBOOK" = "yes"; then
  29543. $as_echo "#define wxUSE_CHOICEBOOK 1" >>confdefs.h
  29544. USES_CONTROLS=1
  29545. fi
  29546. if test "$wxUSE_CHECKBOX" = "yes"; then
  29547. $as_echo "#define wxUSE_CHECKBOX 1" >>confdefs.h
  29548. USES_CONTROLS=1
  29549. fi
  29550. if test "$wxUSE_CHECKLST" = "yes"; then
  29551. $as_echo "#define wxUSE_CHECKLISTBOX 1" >>confdefs.h
  29552. USES_CONTROLS=1
  29553. fi
  29554. if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
  29555. $as_echo "#define wxUSE_COLOURPICKERCTRL 1" >>confdefs.h
  29556. USES_CONTROLS=1
  29557. fi
  29558. if test "$wxUSE_DATEPICKCTRL" = "yes"; then
  29559. $as_echo "#define wxUSE_DATEPICKCTRL 1" >>confdefs.h
  29560. USES_CONTROLS=1
  29561. fi
  29562. if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
  29563. $as_echo "#define wxUSE_DIRPICKERCTRL 1" >>confdefs.h
  29564. USES_CONTROLS=1
  29565. fi
  29566. if test "$wxUSE_FILECTRL" = "yes"; then
  29567. $as_echo "#define wxUSE_FILECTRL 1" >>confdefs.h
  29568. USES_CONTROLS=1
  29569. fi
  29570. if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
  29571. $as_echo "#define wxUSE_FILEPICKERCTRL 1" >>confdefs.h
  29572. USES_CONTROLS=1
  29573. fi
  29574. if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
  29575. $as_echo "#define wxUSE_FONTPICKERCTRL 1" >>confdefs.h
  29576. USES_CONTROLS=1
  29577. fi
  29578. if test "$wxUSE_DISPLAY" = "yes"; then
  29579. if test "$wxUSE_DFB" = 1; then
  29580. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
  29581. $as_echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
  29582. wxUSE_DISPLAY=no
  29583. else
  29584. $as_echo "#define wxUSE_DISPLAY 1" >>confdefs.h
  29585. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
  29586. fi
  29587. fi
  29588. if test "$wxUSE_DETECT_SM" = "yes"; then
  29589. $as_echo "#define wxUSE_DETECT_SM 1" >>confdefs.h
  29590. fi
  29591. if test "$wxUSE_GAUGE" = "yes"; then
  29592. $as_echo "#define wxUSE_GAUGE 1" >>confdefs.h
  29593. USES_CONTROLS=1
  29594. fi
  29595. if test "$wxUSE_GRID" = "yes"; then
  29596. $as_echo "#define wxUSE_GRID 1" >>confdefs.h
  29597. USES_CONTROLS=1
  29598. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
  29599. fi
  29600. if test "$wxUSE_HEADERCTRL" = "yes"; then
  29601. $as_echo "#define wxUSE_HEADERCTRL 1" >>confdefs.h
  29602. USES_CONTROLS=1
  29603. fi
  29604. if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
  29605. $as_echo "#define wxUSE_HYPERLINKCTRL 1" >>confdefs.h
  29606. USES_CONTROLS=1
  29607. fi
  29608. if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
  29609. $as_echo "#define wxUSE_BITMAPCOMBOBOX 1" >>confdefs.h
  29610. USES_CONTROLS=1
  29611. fi
  29612. if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
  29613. $as_echo "#define wxUSE_DATAVIEWCTRL 1" >>confdefs.h
  29614. USES_CONTROLS=1
  29615. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
  29616. fi
  29617. if test "$wxUSE_IMAGLIST" = "yes"; then
  29618. $as_echo "#define wxUSE_IMAGLIST 1" >>confdefs.h
  29619. fi
  29620. if test "$wxUSE_INFOBAR" = "yes"; then
  29621. $as_echo "#define wxUSE_INFOBAR 1" >>confdefs.h
  29622. fi
  29623. if test "$wxUSE_LISTBOOK" = "yes"; then
  29624. $as_echo "#define wxUSE_LISTBOOK 1" >>confdefs.h
  29625. USES_CONTROLS=1
  29626. fi
  29627. if test "$wxUSE_LISTBOX" = "yes"; then
  29628. $as_echo "#define wxUSE_LISTBOX 1" >>confdefs.h
  29629. USES_CONTROLS=1
  29630. fi
  29631. if test "$wxUSE_LISTCTRL" = "yes"; then
  29632. if test "$wxUSE_IMAGLIST" = "yes"; then
  29633. $as_echo "#define wxUSE_LISTCTRL 1" >>confdefs.h
  29634. USES_CONTROLS=1
  29635. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
  29636. else
  29637. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
  29638. $as_echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
  29639. fi
  29640. fi
  29641. if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
  29642. $as_echo "#define wxUSE_EDITABLELISTBOX 1" >>confdefs.h
  29643. USES_CONTROLS=1
  29644. fi
  29645. if test "$wxUSE_NOTEBOOK" = "yes"; then
  29646. $as_echo "#define wxUSE_NOTEBOOK 1" >>confdefs.h
  29647. USES_CONTROLS=1
  29648. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
  29649. fi
  29650. if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
  29651. $as_echo "#define wxUSE_NOTIFICATION_MESSAGE 1" >>confdefs.h
  29652. fi
  29653. if test "$wxUSE_ODCOMBOBOX" = "yes"; then
  29654. $as_echo "#define wxUSE_ODCOMBOBOX 1" >>confdefs.h
  29655. USES_CONTROLS=1
  29656. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
  29657. fi
  29658. if test "$wxUSE_RADIOBOX" = "yes"; then
  29659. $as_echo "#define wxUSE_RADIOBOX 1" >>confdefs.h
  29660. USES_CONTROLS=1
  29661. fi
  29662. if test "$wxUSE_RADIOBTN" = "yes"; then
  29663. $as_echo "#define wxUSE_RADIOBTN 1" >>confdefs.h
  29664. USES_CONTROLS=1
  29665. fi
  29666. if test "$wxUSE_REARRANGECTRL" = "yes"; then
  29667. $as_echo "#define wxUSE_REARRANGECTRL 1" >>confdefs.h
  29668. fi
  29669. if test "$wxUSE_RICHMSGDLG" = "yes"; then
  29670. $as_echo "#define wxUSE_RICHMSGDLG 1" >>confdefs.h
  29671. fi
  29672. if test "$wxUSE_RICHTOOLTIP" = "yes"; then
  29673. $as_echo "#define wxUSE_RICHTOOLTIP 1" >>confdefs.h
  29674. fi
  29675. if test "$wxUSE_SASH" = "yes"; then
  29676. $as_echo "#define wxUSE_SASH 1" >>confdefs.h
  29677. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
  29678. fi
  29679. if test "$wxUSE_SCROLLBAR" = "yes"; then
  29680. $as_echo "#define wxUSE_SCROLLBAR 1" >>confdefs.h
  29681. USES_CONTROLS=1
  29682. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll"
  29683. fi
  29684. if test "$wxUSE_SEARCHCTRL" = "yes"; then
  29685. $as_echo "#define wxUSE_SEARCHCTRL 1" >>confdefs.h
  29686. USES_CONTROLS=1
  29687. fi
  29688. if test "$wxUSE_SLIDER" = "yes"; then
  29689. $as_echo "#define wxUSE_SLIDER 1" >>confdefs.h
  29690. USES_CONTROLS=1
  29691. fi
  29692. if test "$wxUSE_SPINBTN" = "yes"; then
  29693. $as_echo "#define wxUSE_SPINBTN 1" >>confdefs.h
  29694. USES_CONTROLS=1
  29695. fi
  29696. if test "$wxUSE_SPINCTRL" = "yes"; then
  29697. $as_echo "#define wxUSE_SPINCTRL 1" >>confdefs.h
  29698. USES_CONTROLS=1
  29699. fi
  29700. if test "$wxUSE_SPLITTER" = "yes"; then
  29701. $as_echo "#define wxUSE_SPLITTER 1" >>confdefs.h
  29702. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
  29703. fi
  29704. if test "$wxUSE_STATBMP" = "yes"; then
  29705. $as_echo "#define wxUSE_STATBMP 1" >>confdefs.h
  29706. USES_CONTROLS=1
  29707. fi
  29708. if test "$wxUSE_STATBOX" = "yes"; then
  29709. $as_echo "#define wxUSE_STATBOX 1" >>confdefs.h
  29710. USES_CONTROLS=1
  29711. fi
  29712. if test "$wxUSE_STATTEXT" = "yes"; then
  29713. $as_echo "#define wxUSE_STATTEXT 1" >>confdefs.h
  29714. USES_CONTROLS=1
  29715. fi
  29716. if test "$wxUSE_STATLINE" = "yes"; then
  29717. $as_echo "#define wxUSE_STATLINE 1" >>confdefs.h
  29718. USES_CONTROLS=1
  29719. fi
  29720. if test "$wxUSE_STATUSBAR" = "yes"; then
  29721. $as_echo "#define wxUSE_NATIVE_STATUSBAR 1" >>confdefs.h
  29722. $as_echo "#define wxUSE_STATUSBAR 1" >>confdefs.h
  29723. USES_CONTROLS=1
  29724. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
  29725. fi
  29726. if test "$wxUSE_TEXTCTRL" = "yes"; then
  29727. $as_echo "#define wxUSE_TEXTCTRL 1" >>confdefs.h
  29728. USES_CONTROLS=1
  29729. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
  29730. $as_echo "#define wxUSE_RICHEDIT 1" >>confdefs.h
  29731. $as_echo "#define wxUSE_RICHEDIT2 1" >>confdefs.h
  29732. fi
  29733. if test "$wxUSE_TIMEPICKCTRL" = "yes"; then
  29734. $as_echo "#define wxUSE_TIMEPICKCTRL 1" >>confdefs.h
  29735. USES_CONTROLS=1
  29736. fi
  29737. if test "$wxUSE_TOGGLEBTN" = "yes"; then
  29738. if test "$wxUSE_OLD_COCOA" = 1 ; then
  29739. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
  29740. $as_echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
  29741. wxUSE_TOGGLEBTN=no
  29742. fi
  29743. if test "$wxUSE_TOGGLEBTN" = "yes"; then
  29744. $as_echo "#define wxUSE_TOGGLEBTN 1" >>confdefs.h
  29745. USES_CONTROLS=1
  29746. fi
  29747. fi
  29748. if test "$wxUSE_TOOLBAR" = "yes"; then
  29749. $as_echo "#define wxUSE_TOOLBAR 1" >>confdefs.h
  29750. USES_CONTROLS=1
  29751. if test "$wxUSE_UNIVERSAL" = "yes"; then
  29752. wxUSE_TOOLBAR_NATIVE="no"
  29753. else
  29754. wxUSE_TOOLBAR_NATIVE="yes"
  29755. $as_echo "#define wxUSE_TOOLBAR_NATIVE 1" >>confdefs.h
  29756. fi
  29757. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
  29758. fi
  29759. if test "$wxUSE_TOOLTIPS" = "yes"; then
  29760. if test "$wxUSE_MOTIF" = 1; then
  29761. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
  29762. $as_echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
  29763. else
  29764. if test "$wxUSE_UNIVERSAL" = "yes"; then
  29765. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
  29766. $as_echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
  29767. else
  29768. $as_echo "#define wxUSE_TOOLTIPS 1" >>confdefs.h
  29769. fi
  29770. fi
  29771. fi
  29772. if test "$wxUSE_TREEBOOK" = "yes"; then
  29773. $as_echo "#define wxUSE_TREEBOOK 1" >>confdefs.h
  29774. USES_CONTROLS=1
  29775. fi
  29776. if test "$wxUSE_TOOLBOOK" = "yes"; then
  29777. $as_echo "#define wxUSE_TOOLBOOK 1" >>confdefs.h
  29778. USES_CONTROLS=1
  29779. fi
  29780. if test "$wxUSE_TREECTRL" = "yes"; then
  29781. if test "$wxUSE_IMAGLIST" = "yes"; then
  29782. $as_echo "#define wxUSE_TREECTRL 1" >>confdefs.h
  29783. USES_CONTROLS=1
  29784. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
  29785. else
  29786. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
  29787. $as_echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
  29788. fi
  29789. fi
  29790. if test "$wxUSE_TREELISTCTRL" = "yes"; then
  29791. $as_echo "#define wxUSE_TREELISTCTRL 1" >>confdefs.h
  29792. USES_CONTROLS=1
  29793. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treelist"
  29794. fi
  29795. if test "$wxUSE_POPUPWIN" = "yes"; then
  29796. if test "$wxUSE_OLD_COCOA" = 1 ; then
  29797. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
  29798. $as_echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
  29799. else
  29800. if test "$wxUSE_PM" = 1; then
  29801. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
  29802. $as_echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
  29803. else
  29804. $as_echo "#define wxUSE_POPUPWIN 1" >>confdefs.h
  29805. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
  29806. USES_CONTROLS=1
  29807. fi
  29808. fi
  29809. fi
  29810. if test "$wxUSE_PREFERENCES_EDITOR" = "yes"; then
  29811. $as_echo "#define wxUSE_PREFERENCES_EDITOR 1" >>confdefs.h
  29812. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS prefseditor"
  29813. fi
  29814. if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
  29815. if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
  29816. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Dialup manager not supported on this platform... disabled" >&5
  29817. $as_echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
  29818. else
  29819. $as_echo "#define wxUSE_DIALUP_MANAGER 1" >>confdefs.h
  29820. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
  29821. fi
  29822. fi
  29823. if test "$wxUSE_TIPWINDOW" = "yes"; then
  29824. if test "$wxUSE_PM" = 1; then
  29825. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
  29826. $as_echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
  29827. else
  29828. $as_echo "#define wxUSE_TIPWINDOW 1" >>confdefs.h
  29829. fi
  29830. fi
  29831. if test "$USES_CONTROLS" = 1; then
  29832. $as_echo "#define wxUSE_CONTROLS 1" >>confdefs.h
  29833. fi
  29834. if test "$wxUSE_ACCESSIBILITY" = "yes"; then
  29835. $as_echo "#define wxUSE_ACCESSIBILITY 1" >>confdefs.h
  29836. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
  29837. fi
  29838. if test "$wxUSE_ARTPROVIDER_STD" = "yes"; then
  29839. $as_echo "#define wxUSE_ARTPROVIDER_STD 1" >>confdefs.h
  29840. fi
  29841. if test "$wxUSE_ARTPROVIDER_TANGO" = "auto"; then
  29842. if test "$wxUSE_GTK" != 1; then
  29843. if test "$wxUSE_LIBPNG" != no -a \
  29844. "$wxUSE_IMAGE" = yes -a \
  29845. "$wxUSE_STREAMS" = yes; then
  29846. wxUSE_ARTPROVIDER_TANGO="yes"
  29847. fi
  29848. fi
  29849. fi
  29850. if test "$wxUSE_ARTPROVIDER_TANGO" = "yes"; then
  29851. $as_echo "#define wxUSE_ARTPROVIDER_TANGO 1" >>confdefs.h
  29852. fi
  29853. if test "$wxUSE_DRAGIMAGE" = "yes"; then
  29854. $as_echo "#define wxUSE_DRAGIMAGE 1" >>confdefs.h
  29855. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
  29856. fi
  29857. if test "$wxUSE_EXCEPTIONS" = "yes"; then
  29858. if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
  29859. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
  29860. $as_echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
  29861. else
  29862. $as_echo "#define wxUSE_EXCEPTIONS 1" >>confdefs.h
  29863. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
  29864. fi
  29865. fi
  29866. USE_HTML=0
  29867. if test "$wxUSE_HTML" = "yes"; then
  29868. $as_echo "#define wxUSE_HTML 1" >>confdefs.h
  29869. USE_HTML=1
  29870. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
  29871. fi
  29872. if test "$wxUSE_WEBKIT" = "yes"; then
  29873. if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
  29874. old_CPPFLAGS="$CPPFLAGS"
  29875. CPPFLAGS="-x objective-c++ $CPPFLAGS"
  29876. ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
  29877. #include <Carbon/Carbon.h>
  29878. #include <WebKit/WebKit.h>
  29879. "
  29880. if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
  29881. $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
  29882. WEBKIT_LINK="-framework WebKit"
  29883. else
  29884. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found; disabling wxWebKit" >&5
  29885. $as_echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
  29886. wxUSE_WEBKIT=no
  29887. fi
  29888. CPPFLAGS="$old_CPPFLAGS"
  29889. elif test "$wxUSE_OLD_COCOA" = 1; then
  29890. $as_echo "#define wxUSE_WEBKIT 1" >>confdefs.h
  29891. else
  29892. wxUSE_WEBKIT=no
  29893. fi
  29894. if test "$wxUSE_WEBKIT" = "yes"; then
  29895. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
  29896. fi
  29897. fi
  29898. USE_XRC=0
  29899. if test "$wxUSE_XRC" = "yes"; then
  29900. if test "$wxUSE_XML" != "yes"; then
  29901. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: XML library not built, XRC resources disabled" >&5
  29902. $as_echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
  29903. wxUSE_XRC=no
  29904. else
  29905. $as_echo "#define wxUSE_XRC 1" >>confdefs.h
  29906. USE_XRC=1
  29907. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
  29908. echo "${HOST_PREFIX}install_name_tool \${changes} \${2}/wxrc-${WX_RELEASE}" >> change-install-names
  29909. fi
  29910. fi
  29911. USE_AUI=0
  29912. if test "$wxUSE_AUI" = "yes"; then
  29913. $as_echo "#define wxUSE_AUI 1" >>confdefs.h
  29914. USE_AUI=1
  29915. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
  29916. fi
  29917. USE_PROPGRID=0
  29918. if test "$wxUSE_PROPGRID" = "yes"; then
  29919. $as_echo "#define wxUSE_PROPGRID 1" >>confdefs.h
  29920. USE_PROPGRID=1
  29921. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS propgrid"
  29922. fi
  29923. USE_RIBBON=0
  29924. if test "$wxUSE_RIBBON" = "yes"; then
  29925. $as_echo "#define wxUSE_RIBBON 1" >>confdefs.h
  29926. USE_RIBBON=1
  29927. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ribbon"
  29928. fi
  29929. USE_STC=0
  29930. if test "$wxUSE_STC" = "yes"; then
  29931. $as_echo "#define wxUSE_STC 1" >>confdefs.h
  29932. USE_STC=1
  29933. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
  29934. # Extract the first word of "python", so it can be a program name with args.
  29935. set dummy python; ac_word=$2
  29936. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  29937. $as_echo_n "checking for $ac_word... " >&6; }
  29938. if ${ac_cv_path_PYTHON+:} false; then :
  29939. $as_echo_n "(cached) " >&6
  29940. else
  29941. case $PYTHON in
  29942. [\\/]* | ?:[\\/]*)
  29943. ac_cv_path_PYTHON="$PYTHON" # Let the user override the test with a path.
  29944. ;;
  29945. *)
  29946. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  29947. for as_dir in $PATH
  29948. do
  29949. IFS=$as_save_IFS
  29950. test -z "$as_dir" && as_dir=.
  29951. for ac_exec_ext in '' $ac_executable_extensions; do
  29952. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  29953. ac_cv_path_PYTHON="$as_dir/$ac_word$ac_exec_ext"
  29954. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  29955. break 2
  29956. fi
  29957. done
  29958. done
  29959. IFS=$as_save_IFS
  29960. ;;
  29961. esac
  29962. fi
  29963. PYTHON=$ac_cv_path_PYTHON
  29964. if test -n "$PYTHON"; then
  29965. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PYTHON" >&5
  29966. $as_echo "$PYTHON" >&6; }
  29967. else
  29968. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  29969. $as_echo "no" >&6; }
  29970. fi
  29971. if test "x$PYTHON" = "x"; then
  29972. COND_PYTHON="#"
  29973. fi
  29974. fi
  29975. if test "$wxUSE_MENUS" = "yes"; then
  29976. $as_echo "#define wxUSE_MENUS 1" >>confdefs.h
  29977. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
  29978. fi
  29979. if test "$wxUSE_MIMETYPE" = "yes"; then
  29980. $as_echo "#define wxUSE_MIMETYPE 1" >>confdefs.h
  29981. fi
  29982. if test "$wxUSE_MINIFRAME" = "yes"; then
  29983. $as_echo "#define wxUSE_MINIFRAME 1" >>confdefs.h
  29984. fi
  29985. if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
  29986. $as_echo "#define wxUSE_SYSTEM_OPTIONS 1" >>confdefs.h
  29987. fi
  29988. if test "$wxUSE_TASKBARICON" = "yes"; then
  29989. $as_echo "#define wxUSE_TASKBARICON 1" >>confdefs.h
  29990. $as_echo "#define wxUSE_TASKBARICON_BALLOONS 1" >>confdefs.h
  29991. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
  29992. fi
  29993. if test "$wxUSE_VALIDATORS" = "yes"; then
  29994. $as_echo "#define wxUSE_VALIDATORS 1" >>confdefs.h
  29995. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
  29996. fi
  29997. if test "$wxUSE_PALETTE" = "yes" ; then
  29998. if test "$wxUSE_DFB" = 1; then
  29999. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxPalette not yet supported under DFB... disabled" >&5
  30000. $as_echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
  30001. wxUSE_PALETTE=no
  30002. else
  30003. $as_echo "#define wxUSE_PALETTE 1" >>confdefs.h
  30004. fi
  30005. fi
  30006. if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
  30007. LIBS=" -lunicows $LIBS"
  30008. fi
  30009. USE_RICHTEXT=0
  30010. if test "$wxUSE_RICHTEXT" = "yes"; then
  30011. $as_echo "#define wxUSE_RICHTEXT 1" >>confdefs.h
  30012. USE_RICHTEXT=1
  30013. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
  30014. fi
  30015. if test "$wxUSE_WEBVIEW" = "yes"; then
  30016. USE_WEBVIEW_WEBKIT=0
  30017. if test "$wxUSE_WEBVIEW_WEBKIT" = "yes"; then
  30018. if test "$wxUSE_GTK" = 1; then
  30019. webkitgtk=webkit-1.0
  30020. if test "$WXGTK3" = 1; then
  30021. webkitgtk=webkitgtk-3.0
  30022. fi
  30023. pkg_failed=no
  30024. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for WEBKIT" >&5
  30025. $as_echo_n "checking for WEBKIT... " >&6; }
  30026. if test -n "$PKG_CONFIG"; then
  30027. if test -n "$WEBKIT_CFLAGS"; then
  30028. pkg_cv_WEBKIT_CFLAGS="$WEBKIT_CFLAGS"
  30029. else
  30030. if test -n "$PKG_CONFIG" && \
  30031. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
  30032. ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
  30033. ac_status=$?
  30034. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30035. test $ac_status = 0; }; then
  30036. pkg_cv_WEBKIT_CFLAGS=`$PKG_CONFIG --cflags "$webkitgtk >= 1.3.1" 2>/dev/null`
  30037. else
  30038. pkg_failed=yes
  30039. fi
  30040. fi
  30041. else
  30042. pkg_failed=untried
  30043. fi
  30044. if test -n "$PKG_CONFIG"; then
  30045. if test -n "$WEBKIT_LIBS"; then
  30046. pkg_cv_WEBKIT_LIBS="$WEBKIT_LIBS"
  30047. else
  30048. if test -n "$PKG_CONFIG" && \
  30049. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"\$webkitgtk >= 1.3.1\""; } >&5
  30050. ($PKG_CONFIG --exists --print-errors "$webkitgtk >= 1.3.1") 2>&5
  30051. ac_status=$?
  30052. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30053. test $ac_status = 0; }; then
  30054. pkg_cv_WEBKIT_LIBS=`$PKG_CONFIG --libs "$webkitgtk >= 1.3.1" 2>/dev/null`
  30055. else
  30056. pkg_failed=yes
  30057. fi
  30058. fi
  30059. else
  30060. pkg_failed=untried
  30061. fi
  30062. if test $pkg_failed = yes; then
  30063. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  30064. _pkg_short_errors_supported=yes
  30065. else
  30066. _pkg_short_errors_supported=no
  30067. fi
  30068. if test $_pkg_short_errors_supported = yes; then
  30069. WEBKIT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
  30070. else
  30071. WEBKIT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "$webkitgtk >= 1.3.1"`
  30072. fi
  30073. # Put the nasty error message in config.log where it belongs
  30074. echo "$WEBKIT_PKG_ERRORS" >&5
  30075. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
  30076. $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
  30077. elif test $pkg_failed = untried; then
  30078. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: webkitgtk not found." >&5
  30079. $as_echo "$as_me: WARNING: webkitgtk not found." >&2;}
  30080. else
  30081. WEBKIT_CFLAGS=$pkg_cv_WEBKIT_CFLAGS
  30082. WEBKIT_LIBS=$pkg_cv_WEBKIT_LIBS
  30083. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30084. $as_echo "yes" >&6; }
  30085. USE_WEBVIEW_WEBKIT=1
  30086. CPPFLAGS="$CPPFLAGS $WEBKIT_CFLAGS"
  30087. GUI_TK_LIBRARY="$GUI_TK_LIBRARY $WEBKIT_LIBS"
  30088. fi
  30089. elif test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
  30090. old_CPPFLAGS="$CPPFLAGS"
  30091. CPPFLAGS="-x objective-c++ $CPPFLAGS"
  30092. ac_fn_c_check_header_compile "$LINENO" "WebKit/HIWebView.h" "ac_cv_header_WebKit_HIWebView_h" "
  30093. #include <Carbon/Carbon.h>
  30094. #include <WebKit/WebKit.h>
  30095. "
  30096. if test "x$ac_cv_header_WebKit_HIWebView_h" = xyes; then :
  30097. USE_WEBVIEW_WEBKIT=1
  30098. WEBKIT_LINK="-framework WebKit"
  30099. else
  30100. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit headers not found" >&5
  30101. $as_echo "$as_me: WARNING: WebKit headers not found" >&2;}
  30102. fi
  30103. CPPFLAGS="$old_CPPFLAGS"
  30104. fi
  30105. fi
  30106. wxUSE_WEBVIEW="no"
  30107. if test "$wxUSE_GTK" = 1 -o "$wxUSE_MAC" = 1; then
  30108. if test "$USE_WEBVIEW_WEBKIT" = 1; then
  30109. wxUSE_WEBVIEW="yes"
  30110. $as_echo "#define wxUSE_WEBVIEW_WEBKIT 1" >>confdefs.h
  30111. else
  30112. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: WebKit not available, disabling wxWebView" >&5
  30113. $as_echo "$as_me: WARNING: WebKit not available, disabling wxWebView" >&2;}
  30114. fi
  30115. elif test "$wxUSE_MSW" = 1; then
  30116. if test "$wxUSE_WEBVIEW_IE" = "yes"; then
  30117. wxUSE_WEBVIEW="yes"
  30118. $as_echo "#define wxUSE_WEBVIEW_IE 1" >>confdefs.h
  30119. fi
  30120. fi
  30121. fi
  30122. if test "$wxUSE_WEBVIEW" = "yes"; then
  30123. USE_WEBVIEW=1
  30124. $as_echo "#define wxUSE_WEBVIEW 1" >>confdefs.h
  30125. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS webview"
  30126. else
  30127. USE_WEBVIEW=0
  30128. fi
  30129. if test "$wxUSE_IMAGE" = "yes" ; then
  30130. $as_echo "#define wxUSE_IMAGE 1" >>confdefs.h
  30131. if test "$wxUSE_GIF" = "yes" ; then
  30132. $as_echo "#define wxUSE_GIF 1" >>confdefs.h
  30133. fi
  30134. if test "$wxUSE_PCX" = "yes" ; then
  30135. $as_echo "#define wxUSE_PCX 1" >>confdefs.h
  30136. fi
  30137. if test "$wxUSE_TGA" = "yes" ; then
  30138. $as_echo "#define wxUSE_TGA 1" >>confdefs.h
  30139. fi
  30140. if test "$wxUSE_IFF" = "yes" ; then
  30141. $as_echo "#define wxUSE_IFF 1" >>confdefs.h
  30142. fi
  30143. if test "$wxUSE_PNM" = "yes" ; then
  30144. $as_echo "#define wxUSE_PNM 1" >>confdefs.h
  30145. fi
  30146. if test "$wxUSE_XPM" = "yes" ; then
  30147. $as_echo "#define wxUSE_XPM 1" >>confdefs.h
  30148. fi
  30149. if test "$wxUSE_ICO_CUR" = "yes" ; then
  30150. $as_echo "#define wxUSE_ICO_CUR 1" >>confdefs.h
  30151. fi
  30152. fi
  30153. if test "$wxUSE_ABOUTDLG" = "yes"; then
  30154. $as_echo "#define wxUSE_ABOUTDLG 1" >>confdefs.h
  30155. fi
  30156. if test "$wxUSE_CHOICEDLG" = "yes"; then
  30157. $as_echo "#define wxUSE_CHOICEDLG 1" >>confdefs.h
  30158. fi
  30159. if test "$wxUSE_COLOURDLG" = "yes"; then
  30160. $as_echo "#define wxUSE_COLOURDLG 1" >>confdefs.h
  30161. fi
  30162. if test "$wxUSE_FILEDLG" = "yes"; then
  30163. $as_echo "#define wxUSE_FILEDLG 1" >>confdefs.h
  30164. fi
  30165. if test "$wxUSE_FINDREPLDLG" = "yes"; then
  30166. $as_echo "#define wxUSE_FINDREPLDLG 1" >>confdefs.h
  30167. fi
  30168. if test "$wxUSE_FONTDLG" = "yes"; then
  30169. $as_echo "#define wxUSE_FONTDLG 1" >>confdefs.h
  30170. fi
  30171. if test "$wxUSE_DIRDLG" = "yes"; then
  30172. if test "$wxUSE_TREECTRL" != "yes"; then
  30173. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
  30174. $as_echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
  30175. else
  30176. $as_echo "#define wxUSE_DIRDLG 1" >>confdefs.h
  30177. fi
  30178. fi
  30179. if test "$wxUSE_MSGDLG" = "yes"; then
  30180. $as_echo "#define wxUSE_MSGDLG 1" >>confdefs.h
  30181. fi
  30182. if test "$wxUSE_NUMBERDLG" = "yes"; then
  30183. $as_echo "#define wxUSE_NUMBERDLG 1" >>confdefs.h
  30184. fi
  30185. if test "$wxUSE_PROGRESSDLG" = "yes"; then
  30186. $as_echo "#define wxUSE_PROGRESSDLG 1" >>confdefs.h
  30187. fi
  30188. if test "$wxUSE_SPLASH" = "yes"; then
  30189. $as_echo "#define wxUSE_SPLASH 1" >>confdefs.h
  30190. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
  30191. fi
  30192. if test "$wxUSE_STARTUP_TIPS" = "yes"; then
  30193. $as_echo "#define wxUSE_STARTUP_TIPS 1" >>confdefs.h
  30194. fi
  30195. if test "$wxUSE_TEXTDLG" = "yes"; then
  30196. $as_echo "#define wxUSE_TEXTDLG 1" >>confdefs.h
  30197. fi
  30198. if test "$wxUSE_WIZARDDLG" = "yes"; then
  30199. $as_echo "#define wxUSE_WIZARDDLG 1" >>confdefs.h
  30200. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
  30201. fi
  30202. if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
  30203. if test "$wxUSE_OWNER_DRAWN" = "yes"; then
  30204. $as_echo "#define wxUSE_OWNER_DRAWN 1" >>confdefs.h
  30205. fi
  30206. fi
  30207. if test "$wxUSE_MSW" = 1 ; then
  30208. if test "$wxUSE_DC_CACHEING" = "yes"; then
  30209. $as_echo "#define wxUSE_DC_CACHEING 1" >>confdefs.h
  30210. fi
  30211. if test "$wxUSE_DIB" = "yes"; then
  30212. $as_echo "#define wxUSE_WXDIB 1" >>confdefs.h
  30213. fi
  30214. if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
  30215. $as_echo "#define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1" >>confdefs.h
  30216. fi
  30217. if test "$wxUSE_UXTHEME" = "yes"; then
  30218. $as_echo "#define wxUSE_UXTHEME 1" >>confdefs.h
  30219. fi
  30220. fi
  30221. if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
  30222. $as_echo "#define wxUSE_AUTOID_MANAGEMENT 1" >>confdefs.h
  30223. fi
  30224. if test "$USE_WIN32" = 1 ; then
  30225. if test "$wxUSE_INICONF" = "yes"; then
  30226. $as_echo "#define wxUSE_INICONF 1" >>confdefs.h
  30227. fi
  30228. if test "$wxUSE_REGKEY" = "yes"; then
  30229. $as_echo "#define wxUSE_REGKEY 1" >>confdefs.h
  30230. fi
  30231. fi
  30232. if test "$wxUSE_MAC" = 1; then
  30233. wxUSE_GRAPHICS_CONTEXT="yes"
  30234. fi
  30235. if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
  30236. wx_has_graphics=0
  30237. if test "$wxUSE_MSW" = 1; then
  30238. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if GDI+ is available" >&5
  30239. $as_echo_n "checking if GDI+ is available... " >&6; }
  30240. if ${wx_cv_lib_gdiplus+:} false; then :
  30241. $as_echo_n "(cached) " >&6
  30242. else
  30243. ac_ext=cpp
  30244. ac_cpp='$CXXCPP $CPPFLAGS'
  30245. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  30246. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30247. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  30248. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30249. /* end confdefs.h. */
  30250. #include <windows.h>
  30251. #include <gdiplus.h>
  30252. int
  30253. main ()
  30254. {
  30255. using namespace Gdiplus;
  30256. ;
  30257. return 0;
  30258. }
  30259. _ACEOF
  30260. if ac_fn_cxx_try_compile "$LINENO"; then :
  30261. wx_cv_lib_gdiplus=yes
  30262. else
  30263. wx_cv_lib_gdiplus=no
  30264. fi
  30265. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  30266. ac_ext=c
  30267. ac_cpp='$CPP $CPPFLAGS'
  30268. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  30269. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30270. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  30271. fi
  30272. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_lib_gdiplus" >&5
  30273. $as_echo "$wx_cv_lib_gdiplus" >&6; }
  30274. if test "$wx_cv_lib_gdiplus" = "yes"; then
  30275. wx_has_graphics=1
  30276. fi
  30277. elif test "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
  30278. pkg_failed=no
  30279. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for CAIRO" >&5
  30280. $as_echo_n "checking for CAIRO... " >&6; }
  30281. if test -n "$PKG_CONFIG"; then
  30282. if test -n "$CAIRO_CFLAGS"; then
  30283. pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
  30284. else
  30285. if test -n "$PKG_CONFIG" && \
  30286. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
  30287. ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
  30288. ac_status=$?
  30289. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30290. test $ac_status = 0; }; then
  30291. pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
  30292. else
  30293. pkg_failed=yes
  30294. fi
  30295. fi
  30296. else
  30297. pkg_failed=untried
  30298. fi
  30299. if test -n "$PKG_CONFIG"; then
  30300. if test -n "$CAIRO_LIBS"; then
  30301. pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
  30302. else
  30303. if test -n "$PKG_CONFIG" && \
  30304. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"cairo\""; } >&5
  30305. ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
  30306. ac_status=$?
  30307. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30308. test $ac_status = 0; }; then
  30309. pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
  30310. else
  30311. pkg_failed=yes
  30312. fi
  30313. fi
  30314. else
  30315. pkg_failed=untried
  30316. fi
  30317. if test $pkg_failed = yes; then
  30318. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  30319. _pkg_short_errors_supported=yes
  30320. else
  30321. _pkg_short_errors_supported=no
  30322. fi
  30323. if test $_pkg_short_errors_supported = yes; then
  30324. CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
  30325. else
  30326. CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
  30327. fi
  30328. # Put the nasty error message in config.log where it belongs
  30329. echo "$CAIRO_PKG_ERRORS" >&5
  30330. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
  30331. $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
  30332. elif test $pkg_failed = untried; then
  30333. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library not found" >&5
  30334. $as_echo "$as_me: WARNING: Cairo library not found" >&2;}
  30335. else
  30336. CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
  30337. CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
  30338. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30339. $as_echo "yes" >&6; }
  30340. wx_has_graphics=1
  30341. fi
  30342. if test "$wx_has_graphics" = 1; then
  30343. save_LIBS="$LIBS"
  30344. LIBS="$LIBS $CAIRO_LIBS"
  30345. for ac_func in cairo_push_group
  30346. do :
  30347. ac_fn_c_check_func "$LINENO" "cairo_push_group" "ac_cv_func_cairo_push_group"
  30348. if test "x$ac_cv_func_cairo_push_group" = xyes; then :
  30349. cat >>confdefs.h <<_ACEOF
  30350. #define HAVE_CAIRO_PUSH_GROUP 1
  30351. _ACEOF
  30352. fi
  30353. done
  30354. LIBS="$save_LIBS"
  30355. if test "$ac_cv_func_cairo_push_group" = "no"; then
  30356. wx_has_graphics=0
  30357. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: Cairo library is too old and misses cairo_push_group()" >&5
  30358. $as_echo "$as_me: WARNING: Cairo library is too old and misses cairo_push_group()" >&2;}
  30359. else
  30360. $as_echo "#define wxUSE_CAIRO 1" >>confdefs.h
  30361. if test "$wxUSE_GTK" != 1; then
  30362. CPPFLAGS="$CAIRO_CFLAGS $CPPFLAGS"
  30363. GUI_TK_LIBRARY="$GUI_TK_LIBRARY $CAIRO_LIBS"
  30364. fi
  30365. fi
  30366. fi
  30367. else
  30368. wx_has_graphics=1
  30369. fi
  30370. if test "$wx_has_graphics" = 1; then
  30371. $as_echo "#define wxUSE_GRAPHICS_CONTEXT 1" >>confdefs.h
  30372. else
  30373. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: wxGraphicsContext won't be available" >&5
  30374. $as_echo "$as_me: WARNING: wxGraphicsContext won't be available" >&2;}
  30375. fi
  30376. fi
  30377. USE_MEDIA=0
  30378. if test "$wxUSE_MEDIACTRL" = "yes" -o "$wxUSE_MEDIACTRL" = "auto"; then
  30379. USE_MEDIA=1
  30380. if test "$wxUSE_GTK" = 1; then
  30381. wxUSE_GSTREAMER="no"
  30382. GST_VERSION_MAJOR=0
  30383. GST_VERSION_MINOR=10
  30384. GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
  30385. if test "$wxUSE_GSTREAMER8" = "no"; then
  30386. pkg_failed=no
  30387. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
  30388. $as_echo_n "checking for GST... " >&6; }
  30389. if test -n "$PKG_CONFIG"; then
  30390. if test -n "$GST_CFLAGS"; then
  30391. pkg_cv_GST_CFLAGS="$GST_CFLAGS"
  30392. else
  30393. if test -n "$PKG_CONFIG" && \
  30394. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
  30395. ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
  30396. ac_status=$?
  30397. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30398. test $ac_status = 0; }; then
  30399. pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
  30400. else
  30401. pkg_failed=yes
  30402. fi
  30403. fi
  30404. else
  30405. pkg_failed=untried
  30406. fi
  30407. if test -n "$PKG_CONFIG"; then
  30408. if test -n "$GST_LIBS"; then
  30409. pkg_cv_GST_LIBS="$GST_LIBS"
  30410. else
  30411. if test -n "$PKG_CONFIG" && \
  30412. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION\""; } >&5
  30413. ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION") 2>&5
  30414. ac_status=$?
  30415. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30416. test $ac_status = 0; }; then
  30417. pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION" 2>/dev/null`
  30418. else
  30419. pkg_failed=yes
  30420. fi
  30421. fi
  30422. else
  30423. pkg_failed=untried
  30424. fi
  30425. if test $pkg_failed = yes; then
  30426. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  30427. _pkg_short_errors_supported=yes
  30428. else
  30429. _pkg_short_errors_supported=no
  30430. fi
  30431. if test $_pkg_short_errors_supported = yes; then
  30432. GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
  30433. else
  30434. GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION"`
  30435. fi
  30436. # Put the nasty error message in config.log where it belongs
  30437. echo "$GST_PKG_ERRORS" >&5
  30438. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
  30439. $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
  30440. GST_VERSION_MINOR=8
  30441. elif test $pkg_failed = untried; then
  30442. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
  30443. $as_echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
  30444. GST_VERSION_MINOR=8
  30445. else
  30446. GST_CFLAGS=$pkg_cv_GST_CFLAGS
  30447. GST_LIBS=$pkg_cv_GST_LIBS
  30448. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30449. $as_echo "yes" >&6; }
  30450. wxUSE_GSTREAMER="yes"
  30451. GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
  30452. fi
  30453. else
  30454. GST_VERSION_MINOR=8
  30455. fi
  30456. if test $GST_VERSION_MINOR = "8"; then
  30457. GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
  30458. pkg_failed=no
  30459. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for GST" >&5
  30460. $as_echo_n "checking for GST... " >&6; }
  30461. if test -n "$PKG_CONFIG"; then
  30462. if test -n "$GST_CFLAGS"; then
  30463. pkg_cv_GST_CFLAGS="$GST_CFLAGS"
  30464. else
  30465. if test -n "$PKG_CONFIG" && \
  30466. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
  30467. ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
  30468. ac_status=$?
  30469. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30470. test $ac_status = 0; }; then
  30471. pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
  30472. else
  30473. pkg_failed=yes
  30474. fi
  30475. fi
  30476. else
  30477. pkg_failed=untried
  30478. fi
  30479. if test -n "$PKG_CONFIG"; then
  30480. if test -n "$GST_LIBS"; then
  30481. pkg_cv_GST_LIBS="$GST_LIBS"
  30482. else
  30483. if test -n "$PKG_CONFIG" && \
  30484. { { $as_echo "$as_me:${as_lineno-$LINENO}: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\""; } >&5
  30485. ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
  30486. ac_status=$?
  30487. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30488. test $ac_status = 0; }; then
  30489. pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
  30490. else
  30491. pkg_failed=yes
  30492. fi
  30493. fi
  30494. else
  30495. pkg_failed=untried
  30496. fi
  30497. if test $pkg_failed = yes; then
  30498. if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
  30499. _pkg_short_errors_supported=yes
  30500. else
  30501. _pkg_short_errors_supported=no
  30502. fi
  30503. if test $_pkg_short_errors_supported = yes; then
  30504. GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
  30505. else
  30506. GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
  30507. fi
  30508. # Put the nasty error message in config.log where it belongs
  30509. echo "$GST_PKG_ERRORS" >&5
  30510. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
  30511. $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
  30512. elif test $pkg_failed = untried; then
  30513. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer 0.8/0.10 not available." >&5
  30514. $as_echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
  30515. else
  30516. GST_CFLAGS=$pkg_cv_GST_CFLAGS
  30517. GST_LIBS=$pkg_cv_GST_LIBS
  30518. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  30519. $as_echo "yes" >&6; }
  30520. wxUSE_GSTREAMER="yes"
  30521. fi
  30522. fi
  30523. if test "$wxUSE_GSTREAMER" = "yes"; then
  30524. CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
  30525. EXTRALIBS_MEDIA="$GST_LIBS"
  30526. $as_echo "#define wxUSE_GSTREAMER 1" >>confdefs.h
  30527. else
  30528. USE_MEDIA=0
  30529. fi
  30530. elif test "$wxUSE_MAC" = 1; then
  30531. GST_LIBS="-framework QTKit"
  30532. fi
  30533. if test $USE_MEDIA = 1; then
  30534. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
  30535. $as_echo "#define wxUSE_MEDIACTRL 1" >>confdefs.h
  30536. else
  30537. if test "$wxUSE_MEDIACTRL" = "yes"; then
  30538. as_fn_error $? "GStreamer not available" "$LINENO" 5
  30539. else
  30540. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: GStreamer not available... disabling wxMediaCtrl" >&5
  30541. $as_echo "$as_me: WARNING: GStreamer not available... disabling wxMediaCtrl" >&2;}
  30542. fi
  30543. fi
  30544. fi
  30545. if test "$cross_compiling" != "no"; then
  30546. OSINFO="\"$host\""
  30547. else
  30548. OSINFO=`uname -s -r -m`
  30549. OSINFO="\"$OSINFO\""
  30550. fi
  30551. cat >>confdefs.h <<_ACEOF
  30552. #define WXWIN_OS_DESCRIPTION $OSINFO
  30553. _ACEOF
  30554. if test "x$prefix" != "xNONE"; then
  30555. wxPREFIX=$prefix
  30556. else
  30557. wxPREFIX=$ac_default_prefix
  30558. fi
  30559. cat >>confdefs.h <<_ACEOF
  30560. #define wxINSTALL_PREFIX "$wxPREFIX"
  30561. _ACEOF
  30562. STD_BASE_LIBS="base"
  30563. STD_GUI_LIBS=""
  30564. BUILT_WX_LIBS="base"
  30565. ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
  30566. if test "$wxUSE_SOCKETS" = "yes" ; then
  30567. STD_BASE_LIBS="net $STD_BASE_LIBS"
  30568. BUILT_WX_LIBS="net $BUILT_WX_LIBS"
  30569. fi
  30570. if test "$wxUSE_XML" = "yes" ; then
  30571. STD_BASE_LIBS="xml $STD_BASE_LIBS"
  30572. BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
  30573. fi
  30574. if test "$wxUSE_GUI" = "yes"; then
  30575. STD_GUI_LIBS="adv core"
  30576. BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
  30577. if test "$wxUSE_DEBUGREPORT" = "yes" ; then
  30578. STD_GUI_LIBS="qa $STD_GUI_LIBS"
  30579. BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
  30580. fi
  30581. if test "$wxUSE_HTML" = "yes" ; then
  30582. STD_GUI_LIBS="html $STD_GUI_LIBS"
  30583. BUILT_WX_LIBS="html $BUILT_WX_LIBS"
  30584. fi
  30585. if test "$wxUSE_MEDIACTRL" = "yes" ; then
  30586. BUILT_WX_LIBS="media $BUILT_WX_LIBS"
  30587. fi
  30588. if test "$wxUSE_OPENGL" = "yes" ; then
  30589. BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
  30590. fi
  30591. if test "$wxUSE_AUI" = "yes" ; then
  30592. BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
  30593. fi
  30594. if test "$wxUSE_PROPGRID" = "yes" ; then
  30595. BUILT_WX_LIBS="propgrid $BUILT_WX_LIBS"
  30596. fi
  30597. if test "$wxUSE_RIBBON" = "yes" ; then
  30598. BUILT_WX_LIBS="ribbon $BUILT_WX_LIBS"
  30599. fi
  30600. if test "$wxUSE_RICHTEXT" = "yes" ; then
  30601. BUILT_WX_LIBS="richtext $BUILT_WX_LIBS"
  30602. fi
  30603. if test "$wxUSE_STC" = "yes" ; then
  30604. BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
  30605. fi
  30606. if test "$wxUSE_WEBVIEW" = "yes" ; then
  30607. STD_GUI_LIBS="webview $STD_GUI_LIBS"
  30608. BUILT_WX_LIBS="webview $BUILT_WX_LIBS"
  30609. fi
  30610. if test "$wxUSE_XRC" = "yes" ; then
  30611. STD_GUI_LIBS="xrc $STD_GUI_LIBS"
  30612. BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
  30613. fi
  30614. fi
  30615. EXTRA_FRAMEWORKS=
  30616. if test "$wxUSE_MAC" = 1 ; then
  30617. if test "$USE_DARWIN" = 1; then
  30618. if test "$wxUSE_OSX_IPHONE" = 1; then
  30619. EXTRA_FRAMEWORKS="-framework IOKit -framework UIKit -framework CFNetwork -framework AudioToolbox -framework CoreFoundation -framework CoreGraphics -framework OpenGLES -framework Foundation -framework QuartzCore"
  30620. else
  30621. EXTRA_FRAMEWORKS="-framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System -framework OpenGL"
  30622. if test "$wxUSE_OSX_CARBON" = 1 -o "$wxUSE_MEDIACTRL" = "yes"; then
  30623. if test "$cross_compiling" != "no"; then
  30624. wx_cv_target_x86_64=no
  30625. else
  30626. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if we target only x86_64" >&5
  30627. $as_echo_n "checking if we target only x86_64... " >&6; }
  30628. if ${wx_cv_target_x86_64+:} false; then :
  30629. $as_echo_n "(cached) " >&6
  30630. else
  30631. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30632. /* end confdefs.h. */
  30633. int main() { return 0; }
  30634. _ACEOF
  30635. if ac_fn_c_try_link "$LINENO"; then :
  30636. if file conftest$ac_exeext|grep -q 'i386\|ppc'; then
  30637. wx_cv_target_x86_64=no
  30638. else
  30639. wx_cv_target_x86_64=yes
  30640. fi
  30641. fi
  30642. rm -f core conftest.err conftest.$ac_objext \
  30643. conftest$ac_exeext conftest.$ac_ext
  30644. fi
  30645. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_target_x86_64" >&5
  30646. $as_echo "$wx_cv_target_x86_64" >&6; }
  30647. fi
  30648. if test "$wx_cv_target_x86_64" != "yes"; then
  30649. EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
  30650. fi
  30651. fi
  30652. fi
  30653. fi
  30654. fi
  30655. if test "$wxUSE_OLD_COCOA" = 1 ; then
  30656. EXTRA_FRAMEWORKS="-framework IOKit -framework Cocoa"
  30657. if test "$wxUSE_MEDIACTRL" = "yes"; then
  30658. EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework QuickTime"
  30659. fi
  30660. fi
  30661. if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_OLD_COCOA" != 1 ; then
  30662. EXTRA_FRAMEWORKS="$EXTRA_FRAMEWORKS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
  30663. fi
  30664. LDFLAGS="$LDFLAGS $EXTRA_FRAMEWORKS"
  30665. WXCONFIG_LDFLAGS="$WXCONFIG_LDFLAGS $EXTRA_FRAMEWORKS"
  30666. LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
  30667. if test "$wxUSE_GUI" = "yes"; then
  30668. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
  30669. erase event exec font image minimal render \
  30670. shaped svg taborder vscroll widgets wrapsizer"
  30671. if test "$wxUSE_MONOLITHIC" != "yes"; then
  30672. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
  30673. fi
  30674. if test "$TOOLKIT" = "MSW"; then
  30675. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
  30676. if test "$wxUSE_UNIVERSAL" != "yes"; then
  30677. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg dll"
  30678. fi
  30679. fi
  30680. if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
  30681. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
  30682. fi
  30683. else
  30684. SAMPLES_SUBDIRS="console"
  30685. if test "$wxUSE_SOCKETS" = "yes" ; then
  30686. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
  30687. fi
  30688. if test "$wxUSE_IPC" = "yes" ; then
  30689. SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
  30690. fi
  30691. fi
  30692. if test "x$INTELCC" = "xyes" ; then
  30693. CWARNINGS="-Wall -wd810,869,981,1418,1572,1684,2259"
  30694. elif test "$GCC" = yes ; then
  30695. CWARNINGS="-Wall -Wundef"
  30696. fi
  30697. if test "x$INTELCXX" = "xyes" ; then
  30698. CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419,1881,2259"
  30699. elif test "$GXX" = yes ; then
  30700. CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
  30701. { $as_echo "$as_me:${as_lineno-$LINENO}: checking CXXWARNINGS for gcc -Woverloaded-virtual" >&5
  30702. $as_echo_n "checking CXXWARNINGS for gcc -Woverloaded-virtual... " >&6; }
  30703. if ${ac_cv_cxxflags_gcc_option__Woverloaded_virtual+:} false; then :
  30704. $as_echo_n "(cached) " >&6
  30705. else
  30706. ac_cv_cxxflags_gcc_option__Woverloaded_virtual="no, unknown"
  30707. ac_ext=cpp
  30708. ac_cpp='$CXXCPP $CPPFLAGS'
  30709. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  30710. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30711. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  30712. ac_save_CXXFLAGS="$CXXFLAGS"
  30713. for ac_arg in "-pedantic -Werror % -Woverloaded-virtual" "-pedantic % -Woverloaded-virtual %% no, obsolete" #
  30714. do CXXFLAGS="$ac_save_CXXFLAGS "`echo $ac_arg | sed -e 's,%%.*,,' -e 's,%,,'`
  30715. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  30716. /* end confdefs.h. */
  30717. int
  30718. main ()
  30719. {
  30720. return 0;
  30721. ;
  30722. return 0;
  30723. }
  30724. _ACEOF
  30725. if ac_fn_cxx_try_compile "$LINENO"; then :
  30726. ac_cv_cxxflags_gcc_option__Woverloaded_virtual=`echo $ac_arg | sed -e 's,.*% *,,'` ; break
  30727. fi
  30728. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  30729. done
  30730. CXXFLAGS="$ac_save_CXXFLAGS"
  30731. ac_ext=c
  30732. ac_cpp='$CPP $CPPFLAGS'
  30733. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  30734. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  30735. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  30736. fi
  30737. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&5
  30738. $as_echo "$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" >&6; }
  30739. case ".$ac_cv_cxxflags_gcc_option__Woverloaded_virtual" in
  30740. .ok|.ok,*) ;;
  30741. .|.no|.no,*) ;;
  30742. *)
  30743. if echo " $CXXWARNINGS " | grep " $ac_cv_cxxflags_gcc_option__Woverloaded_virtual " 2>&1 >/dev/null
  30744. then { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS does contain \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual"; } >&5
  30745. (: CXXWARNINGS does contain $ac_cv_cxxflags_gcc_option__Woverloaded_virtual) 2>&5
  30746. ac_status=$?
  30747. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30748. test $ac_status = 0; }
  30749. else { { $as_echo "$as_me:${as_lineno-$LINENO}: : CXXWARNINGS=\"\$CXXWARNINGS \$ac_cv_cxxflags_gcc_option__Woverloaded_virtual\""; } >&5
  30750. (: CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual") 2>&5
  30751. ac_status=$?
  30752. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  30753. test $ac_status = 0; }
  30754. CXXWARNINGS="$CXXWARNINGS $ac_cv_cxxflags_gcc_option__Woverloaded_virtual"
  30755. fi
  30756. ;;
  30757. esac
  30758. if test "$wxUSE_MAC" = 1 ; then
  30759. CXXWARNINGS="$CXXWARNINGS -Wno-deprecated-declarations"
  30760. fi
  30761. fi
  30762. WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
  30763. WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
  30764. CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
  30765. -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
  30766. -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
  30767. $CPPFLAGS `
  30768. C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
  30769. CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
  30770. CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
  30771. OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
  30772. OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
  30773. WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
  30774. if test "x$MWCC" = "xyes"; then
  30775. CC="$CC -cwd source -I-"
  30776. CXX="$CXX -cwd source -I-"
  30777. fi
  30778. LIBS=`echo $LIBS`
  30779. EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
  30780. EXTRALIBS_XML="$EXPAT_LINK"
  30781. EXTRALIBS_HTML="$MSPACK_LINK"
  30782. EXTRALIBS_MEDIA="$GST_LIBS"
  30783. EXTRALIBS_STC="-lwxscintilla${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
  30784. if test "$wxUSE_GUI" = "yes"; then
  30785. EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK`
  30786. fi
  30787. if test "$wxUSE_OPENGL" = "yes"; then
  30788. EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
  30789. fi
  30790. LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
  30791. WXCONFIG_LIBS="$LIBS"
  30792. if test "$wxUSE_REGEX" = "builtin" ; then
  30793. wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
  30794. fi
  30795. if test "$wxUSE_EXPAT" = "builtin" ; then
  30796. wxconfig_3rdparty="expat $wxconfig_3rdparty"
  30797. fi
  30798. if test "$wxUSE_LIBTIFF" = "builtin" ; then
  30799. wxconfig_3rdparty="tiff $wxconfig_3rdparty"
  30800. fi
  30801. if test "$wxUSE_LIBJPEG" = "builtin" ; then
  30802. wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
  30803. fi
  30804. if test "$wxUSE_LIBPNG" = "builtin" ; then
  30805. wxconfig_3rdparty="png $wxconfig_3rdparty"
  30806. fi
  30807. if test "$wxUSE_ZLIB" = "builtin" ; then
  30808. wxconfig_3rdparty="zlib $wxconfig_3rdparty"
  30809. fi
  30810. for i in $wxconfig_3rdparty ; do
  30811. WXCONFIG_LIBS="-lwx${i}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
  30812. done
  30813. if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
  30814. WXUNIV=1
  30815. case "$wxUNIV_THEMES" in
  30816. ''|all)
  30817. $as_echo "#define wxUSE_ALL_THEMES 1" >>confdefs.h
  30818. ;;
  30819. *)
  30820. for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
  30821. cat >>confdefs.h <<_ACEOF
  30822. #define wxUSE_THEME_$t 1
  30823. _ACEOF
  30824. done
  30825. esac
  30826. else
  30827. WXUNIV=0
  30828. fi
  30829. if test $wxUSE_MONOLITHIC = "yes" ; then
  30830. MONOLITHIC=1
  30831. else
  30832. MONOLITHIC=0
  30833. fi
  30834. if test $wxUSE_PLUGINS = "yes" ; then
  30835. USE_PLUGINS=1
  30836. else
  30837. USE_PLUGINS=0
  30838. fi
  30839. if test "$wxUSE_DEBUGREPORT" = "yes" ; then
  30840. USE_QA=1
  30841. else
  30842. USE_QA=0
  30843. fi
  30844. if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
  30845. OFFICIAL_BUILD=1
  30846. else
  30847. OFFICIAL_BUILD=0
  30848. fi
  30849. TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
  30850. case "$TOOLKIT" in
  30851. GTK)
  30852. TOOLKIT_DESC="GTK+"
  30853. if test "$WXGTK2" = 1; then
  30854. if test "$WXGTK3" = 1; then
  30855. TOOLKIT_DESC="$TOOLKIT_DESC 3"
  30856. else
  30857. TOOLKIT_DESC="$TOOLKIT_DESC 2"
  30858. fi
  30859. if test "$wxUSE_GTKPRINT" = "yes" ; then
  30860. TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
  30861. fi
  30862. if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
  30863. TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
  30864. fi
  30865. if test "$wxUSE_LIBNOTIFY" = "yes" ; then
  30866. TOOLKIT_EXTRA="$TOOLKIT_EXTRA libnotify"
  30867. fi
  30868. if test "$wxUSE_LIBHILDON" = "yes"; then
  30869. TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
  30870. fi
  30871. if test "$wxUSE_LIBHILDON2" = "yes"; then
  30872. TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
  30873. fi
  30874. if test "$TOOLKIT_EXTRA" != ""; then
  30875. TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
  30876. fi
  30877. fi
  30878. ;;
  30879. ?*)
  30880. TOOLKIT_DESC=$TOOLKIT_LOWERCASE
  30881. ;;
  30882. *)
  30883. TOOLKIT_DESC="base only"
  30884. ;;
  30885. esac
  30886. if test "$wxUSE_WINE" = "yes"; then
  30887. BAKEFILE_FORCE_PLATFORM=win32
  30888. fi
  30889. if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
  30890. then
  30891. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc precompiled header bug" >&5
  30892. $as_echo_n "checking for gcc precompiled header bug... " >&6; }
  30893. if ${wx_cv_gcc_pch_bug+:} false; then :
  30894. $as_echo_n "(cached) " >&6
  30895. else
  30896. echo '#include <stdio.h>
  30897. const wchar_t test_var[] = L"awidetest";' > conftest.h
  30898. echo '#include "conftest.h"
  30899. int main()
  30900. {
  30901. printf("%ls", test_var);
  30902. return 0;
  30903. }' > conftest.cpp
  30904. wx_cv_gcc_pch_bug="pch not supported"
  30905. if $CXX conftest.h >/dev/null 2>&1
  30906. then
  30907. wx_cv_gcc_pch_bug=
  30908. if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
  30909. then
  30910. if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
  30911. grep awidetest >/dev/null
  30912. then
  30913. wx_cv_gcc_pch_bug=no
  30914. else
  30915. wx_cv_gcc_pch_bug=yes
  30916. fi
  30917. fi
  30918. fi
  30919. rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
  30920. fi
  30921. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wx_cv_gcc_pch_bug" >&5
  30922. $as_echo "$wx_cv_gcc_pch_bug" >&6; }
  30923. if test "$wx_cv_gcc_pch_bug" = yes; then
  30924. bk_use_pch=no
  30925. fi
  30926. fi
  30927. # Find a good install program. We prefer a C program (faster),
  30928. # so one script is as good as another. But avoid the broken or
  30929. # incompatible versions:
  30930. # SysV /etc/install, /usr/sbin/install
  30931. # SunOS /usr/etc/install
  30932. # IRIX /sbin/install
  30933. # AIX /bin/install
  30934. # AmigaOS /C/install, which installs bootblocks on floppy discs
  30935. # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
  30936. # AFS /usr/afsws/bin/install, which mishandles nonexistent args
  30937. # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
  30938. # OS/2's system install, which has a completely different semantic
  30939. # ./install, which can be erroneously created by make from ./install.sh.
  30940. # Reject install programs that cannot install multiple files.
  30941. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for a BSD-compatible install" >&5
  30942. $as_echo_n "checking for a BSD-compatible install... " >&6; }
  30943. if test -z "$INSTALL"; then
  30944. if ${ac_cv_path_install+:} false; then :
  30945. $as_echo_n "(cached) " >&6
  30946. else
  30947. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  30948. for as_dir in $PATH
  30949. do
  30950. IFS=$as_save_IFS
  30951. test -z "$as_dir" && as_dir=.
  30952. # Account for people who put trailing slashes in PATH elements.
  30953. case $as_dir/ in #((
  30954. ./ | .// | /[cC]/* | \
  30955. /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
  30956. ?:[\\/]os2[\\/]install[\\/]* | ?:[\\/]OS2[\\/]INSTALL[\\/]* | \
  30957. /usr/ucb/* ) ;;
  30958. *)
  30959. # OSF1 and SCO ODT 3.0 have their own names for install.
  30960. # Don't use installbsd from OSF since it installs stuff as root
  30961. # by default.
  30962. for ac_prog in ginstall scoinst install; do
  30963. for ac_exec_ext in '' $ac_executable_extensions; do
  30964. if as_fn_executable_p "$as_dir/$ac_prog$ac_exec_ext"; then
  30965. if test $ac_prog = install &&
  30966. grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  30967. # AIX install. It has an incompatible calling convention.
  30968. :
  30969. elif test $ac_prog = install &&
  30970. grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
  30971. # program-specific install script used by HP pwplus--don't use.
  30972. :
  30973. else
  30974. rm -rf conftest.one conftest.two conftest.dir
  30975. echo one > conftest.one
  30976. echo two > conftest.two
  30977. mkdir conftest.dir
  30978. if "$as_dir/$ac_prog$ac_exec_ext" -c conftest.one conftest.two "`pwd`/conftest.dir" &&
  30979. test -s conftest.one && test -s conftest.two &&
  30980. test -s conftest.dir/conftest.one &&
  30981. test -s conftest.dir/conftest.two
  30982. then
  30983. ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
  30984. break 3
  30985. fi
  30986. fi
  30987. fi
  30988. done
  30989. done
  30990. ;;
  30991. esac
  30992. done
  30993. IFS=$as_save_IFS
  30994. rm -rf conftest.one conftest.two conftest.dir
  30995. fi
  30996. if test "${ac_cv_path_install+set}" = set; then
  30997. INSTALL=$ac_cv_path_install
  30998. else
  30999. # As a last resort, use the slow shell script. Don't cache a
  31000. # value for INSTALL within a source directory, because that will
  31001. # break other packages using the cache if that directory is
  31002. # removed, or if the value is a relative name.
  31003. INSTALL=$ac_install_sh
  31004. fi
  31005. fi
  31006. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $INSTALL" >&5
  31007. $as_echo "$INSTALL" >&6; }
  31008. # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
  31009. # It thinks the first close brace ends the variable substitution.
  31010. test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
  31011. test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
  31012. test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
  31013. if test "x$BAKEFILE_HOST" = "x"; then
  31014. if test "x${host}" = "x" ; then
  31015. as_fn_error $? "You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." "$LINENO" 5
  31016. fi
  31017. BAKEFILE_HOST="${host}"
  31018. fi
  31019. if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
  31020. if test -n "$ac_tool_prefix"; then
  31021. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  31022. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  31023. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31024. $as_echo_n "checking for $ac_word... " >&6; }
  31025. if ${ac_cv_prog_RANLIB+:} false; then :
  31026. $as_echo_n "(cached) " >&6
  31027. else
  31028. if test -n "$RANLIB"; then
  31029. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  31030. else
  31031. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31032. for as_dir in $PATH
  31033. do
  31034. IFS=$as_save_IFS
  31035. test -z "$as_dir" && as_dir=.
  31036. for ac_exec_ext in '' $ac_executable_extensions; do
  31037. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31038. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  31039. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31040. break 2
  31041. fi
  31042. done
  31043. done
  31044. IFS=$as_save_IFS
  31045. fi
  31046. fi
  31047. RANLIB=$ac_cv_prog_RANLIB
  31048. if test -n "$RANLIB"; then
  31049. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  31050. $as_echo "$RANLIB" >&6; }
  31051. else
  31052. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31053. $as_echo "no" >&6; }
  31054. fi
  31055. fi
  31056. if test -z "$ac_cv_prog_RANLIB"; then
  31057. ac_ct_RANLIB=$RANLIB
  31058. # Extract the first word of "ranlib", so it can be a program name with args.
  31059. set dummy ranlib; ac_word=$2
  31060. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31061. $as_echo_n "checking for $ac_word... " >&6; }
  31062. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  31063. $as_echo_n "(cached) " >&6
  31064. else
  31065. if test -n "$ac_ct_RANLIB"; then
  31066. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  31067. else
  31068. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31069. for as_dir in $PATH
  31070. do
  31071. IFS=$as_save_IFS
  31072. test -z "$as_dir" && as_dir=.
  31073. for ac_exec_ext in '' $ac_executable_extensions; do
  31074. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31075. ac_cv_prog_ac_ct_RANLIB="ranlib"
  31076. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31077. break 2
  31078. fi
  31079. done
  31080. done
  31081. IFS=$as_save_IFS
  31082. fi
  31083. fi
  31084. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  31085. if test -n "$ac_ct_RANLIB"; then
  31086. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  31087. $as_echo "$ac_ct_RANLIB" >&6; }
  31088. else
  31089. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31090. $as_echo "no" >&6; }
  31091. fi
  31092. if test "x$ac_ct_RANLIB" = x; then
  31093. RANLIB=":"
  31094. else
  31095. case $cross_compiling:$ac_tool_warned in
  31096. yes:)
  31097. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31098. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31099. ac_tool_warned=yes ;;
  31100. esac
  31101. RANLIB=$ac_ct_RANLIB
  31102. fi
  31103. else
  31104. RANLIB="$ac_cv_prog_RANLIB"
  31105. fi
  31106. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  31107. $as_echo_n "checking whether ln -s works... " >&6; }
  31108. LN_S=$as_ln_s
  31109. if test "$LN_S" = "ln -s"; then
  31110. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  31111. $as_echo "yes" >&6; }
  31112. else
  31113. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  31114. $as_echo "no, using $LN_S" >&6; }
  31115. fi
  31116. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  31117. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  31118. set x ${MAKE-make}
  31119. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  31120. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  31121. $as_echo_n "(cached) " >&6
  31122. else
  31123. cat >conftest.make <<\_ACEOF
  31124. SHELL = /bin/sh
  31125. all:
  31126. @echo '@@@%%%=$(MAKE)=@@@%%%'
  31127. _ACEOF
  31128. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  31129. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  31130. *@@@%%%=?*=@@@%%%*)
  31131. eval ac_cv_prog_make_${ac_make}_set=yes;;
  31132. *)
  31133. eval ac_cv_prog_make_${ac_make}_set=no;;
  31134. esac
  31135. rm -f conftest.make
  31136. fi
  31137. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  31138. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  31139. $as_echo "yes" >&6; }
  31140. SET_MAKE=
  31141. else
  31142. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31143. $as_echo "no" >&6; }
  31144. SET_MAKE="MAKE=${MAKE-make}"
  31145. fi
  31146. if test "x$SUNCXX" = "xyes"; then
  31147. AR=$CXX
  31148. AROPTIONS="-xar -o"
  31149. elif test "x$SGICC" = "xyes"; then
  31150. AR=$CXX
  31151. AROPTIONS="-ar -o"
  31152. else
  31153. if test -n "$ac_tool_prefix"; then
  31154. # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
  31155. set dummy ${ac_tool_prefix}ar; ac_word=$2
  31156. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31157. $as_echo_n "checking for $ac_word... " >&6; }
  31158. if ${ac_cv_prog_AR+:} false; then :
  31159. $as_echo_n "(cached) " >&6
  31160. else
  31161. if test -n "$AR"; then
  31162. ac_cv_prog_AR="$AR" # Let the user override the test.
  31163. else
  31164. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31165. for as_dir in $PATH
  31166. do
  31167. IFS=$as_save_IFS
  31168. test -z "$as_dir" && as_dir=.
  31169. for ac_exec_ext in '' $ac_executable_extensions; do
  31170. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31171. ac_cv_prog_AR="${ac_tool_prefix}ar"
  31172. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31173. break 2
  31174. fi
  31175. done
  31176. done
  31177. IFS=$as_save_IFS
  31178. fi
  31179. fi
  31180. AR=$ac_cv_prog_AR
  31181. if test -n "$AR"; then
  31182. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  31183. $as_echo "$AR" >&6; }
  31184. else
  31185. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31186. $as_echo "no" >&6; }
  31187. fi
  31188. fi
  31189. if test -z "$ac_cv_prog_AR"; then
  31190. ac_ct_AR=$AR
  31191. # Extract the first word of "ar", so it can be a program name with args.
  31192. set dummy ar; ac_word=$2
  31193. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31194. $as_echo_n "checking for $ac_word... " >&6; }
  31195. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  31196. $as_echo_n "(cached) " >&6
  31197. else
  31198. if test -n "$ac_ct_AR"; then
  31199. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  31200. else
  31201. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31202. for as_dir in $PATH
  31203. do
  31204. IFS=$as_save_IFS
  31205. test -z "$as_dir" && as_dir=.
  31206. for ac_exec_ext in '' $ac_executable_extensions; do
  31207. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31208. ac_cv_prog_ac_ct_AR="ar"
  31209. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31210. break 2
  31211. fi
  31212. done
  31213. done
  31214. IFS=$as_save_IFS
  31215. fi
  31216. fi
  31217. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  31218. if test -n "$ac_ct_AR"; then
  31219. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  31220. $as_echo "$ac_ct_AR" >&6; }
  31221. else
  31222. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31223. $as_echo "no" >&6; }
  31224. fi
  31225. if test "x$ac_ct_AR" = x; then
  31226. AR="ar"
  31227. else
  31228. case $cross_compiling:$ac_tool_warned in
  31229. yes:)
  31230. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31231. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31232. ac_tool_warned=yes ;;
  31233. esac
  31234. AR=$ac_ct_AR
  31235. fi
  31236. else
  31237. AR="$ac_cv_prog_AR"
  31238. fi
  31239. AROPTIONS=rcu
  31240. fi
  31241. if test -n "$ac_tool_prefix"; then
  31242. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  31243. set dummy ${ac_tool_prefix}strip; ac_word=$2
  31244. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31245. $as_echo_n "checking for $ac_word... " >&6; }
  31246. if ${ac_cv_prog_STRIP+:} false; then :
  31247. $as_echo_n "(cached) " >&6
  31248. else
  31249. if test -n "$STRIP"; then
  31250. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  31251. else
  31252. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31253. for as_dir in $PATH
  31254. do
  31255. IFS=$as_save_IFS
  31256. test -z "$as_dir" && as_dir=.
  31257. for ac_exec_ext in '' $ac_executable_extensions; do
  31258. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31259. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  31260. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31261. break 2
  31262. fi
  31263. done
  31264. done
  31265. IFS=$as_save_IFS
  31266. fi
  31267. fi
  31268. STRIP=$ac_cv_prog_STRIP
  31269. if test -n "$STRIP"; then
  31270. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  31271. $as_echo "$STRIP" >&6; }
  31272. else
  31273. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31274. $as_echo "no" >&6; }
  31275. fi
  31276. fi
  31277. if test -z "$ac_cv_prog_STRIP"; then
  31278. ac_ct_STRIP=$STRIP
  31279. # Extract the first word of "strip", so it can be a program name with args.
  31280. set dummy strip; ac_word=$2
  31281. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31282. $as_echo_n "checking for $ac_word... " >&6; }
  31283. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  31284. $as_echo_n "(cached) " >&6
  31285. else
  31286. if test -n "$ac_ct_STRIP"; then
  31287. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  31288. else
  31289. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31290. for as_dir in $PATH
  31291. do
  31292. IFS=$as_save_IFS
  31293. test -z "$as_dir" && as_dir=.
  31294. for ac_exec_ext in '' $ac_executable_extensions; do
  31295. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31296. ac_cv_prog_ac_ct_STRIP="strip"
  31297. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31298. break 2
  31299. fi
  31300. done
  31301. done
  31302. IFS=$as_save_IFS
  31303. fi
  31304. fi
  31305. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  31306. if test -n "$ac_ct_STRIP"; then
  31307. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  31308. $as_echo "$ac_ct_STRIP" >&6; }
  31309. else
  31310. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31311. $as_echo "no" >&6; }
  31312. fi
  31313. if test "x$ac_ct_STRIP" = x; then
  31314. STRIP=":"
  31315. else
  31316. case $cross_compiling:$ac_tool_warned in
  31317. yes:)
  31318. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31319. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31320. ac_tool_warned=yes ;;
  31321. esac
  31322. STRIP=$ac_ct_STRIP
  31323. fi
  31324. else
  31325. STRIP="$ac_cv_prog_STRIP"
  31326. fi
  31327. if test -n "$ac_tool_prefix"; then
  31328. # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
  31329. set dummy ${ac_tool_prefix}nm; ac_word=$2
  31330. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31331. $as_echo_n "checking for $ac_word... " >&6; }
  31332. if ${ac_cv_prog_NM+:} false; then :
  31333. $as_echo_n "(cached) " >&6
  31334. else
  31335. if test -n "$NM"; then
  31336. ac_cv_prog_NM="$NM" # Let the user override the test.
  31337. else
  31338. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31339. for as_dir in $PATH
  31340. do
  31341. IFS=$as_save_IFS
  31342. test -z "$as_dir" && as_dir=.
  31343. for ac_exec_ext in '' $ac_executable_extensions; do
  31344. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31345. ac_cv_prog_NM="${ac_tool_prefix}nm"
  31346. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31347. break 2
  31348. fi
  31349. done
  31350. done
  31351. IFS=$as_save_IFS
  31352. fi
  31353. fi
  31354. NM=$ac_cv_prog_NM
  31355. if test -n "$NM"; then
  31356. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $NM" >&5
  31357. $as_echo "$NM" >&6; }
  31358. else
  31359. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31360. $as_echo "no" >&6; }
  31361. fi
  31362. fi
  31363. if test -z "$ac_cv_prog_NM"; then
  31364. ac_ct_NM=$NM
  31365. # Extract the first word of "nm", so it can be a program name with args.
  31366. set dummy nm; ac_word=$2
  31367. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31368. $as_echo_n "checking for $ac_word... " >&6; }
  31369. if ${ac_cv_prog_ac_ct_NM+:} false; then :
  31370. $as_echo_n "(cached) " >&6
  31371. else
  31372. if test -n "$ac_ct_NM"; then
  31373. ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
  31374. else
  31375. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31376. for as_dir in $PATH
  31377. do
  31378. IFS=$as_save_IFS
  31379. test -z "$as_dir" && as_dir=.
  31380. for ac_exec_ext in '' $ac_executable_extensions; do
  31381. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31382. ac_cv_prog_ac_ct_NM="nm"
  31383. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31384. break 2
  31385. fi
  31386. done
  31387. done
  31388. IFS=$as_save_IFS
  31389. fi
  31390. fi
  31391. ac_ct_NM=$ac_cv_prog_ac_ct_NM
  31392. if test -n "$ac_ct_NM"; then
  31393. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_NM" >&5
  31394. $as_echo "$ac_ct_NM" >&6; }
  31395. else
  31396. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31397. $as_echo "no" >&6; }
  31398. fi
  31399. if test "x$ac_ct_NM" = x; then
  31400. NM=":"
  31401. else
  31402. case $cross_compiling:$ac_tool_warned in
  31403. yes:)
  31404. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  31405. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  31406. ac_tool_warned=yes ;;
  31407. esac
  31408. NM=$ac_ct_NM
  31409. fi
  31410. else
  31411. NM="$ac_cv_prog_NM"
  31412. fi
  31413. INSTALL_DIR="mkdir -p"
  31414. LDFLAGS_GUI=
  31415. case ${BAKEFILE_HOST} in
  31416. *-*-cygwin* | *-*-mingw32* )
  31417. LDFLAGS_GUI="-mwindows"
  31418. esac
  31419. fi
  31420. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if make is GNU make" >&5
  31421. $as_echo_n "checking if make is GNU make... " >&6; }
  31422. if ${bakefile_cv_prog_makeisgnu+:} false; then :
  31423. $as_echo_n "(cached) " >&6
  31424. else
  31425. if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
  31426. egrep -s GNU > /dev/null); then
  31427. bakefile_cv_prog_makeisgnu="yes"
  31428. else
  31429. bakefile_cv_prog_makeisgnu="no"
  31430. fi
  31431. fi
  31432. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_prog_makeisgnu" >&5
  31433. $as_echo "$bakefile_cv_prog_makeisgnu" >&6; }
  31434. if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
  31435. IF_GNU_MAKE=""
  31436. else
  31437. IF_GNU_MAKE="#"
  31438. fi
  31439. PLATFORM_UNIX=0
  31440. PLATFORM_WIN32=0
  31441. PLATFORM_MSDOS=0
  31442. PLATFORM_MAC=0
  31443. PLATFORM_MACOS=0
  31444. PLATFORM_MACOSX=0
  31445. PLATFORM_OS2=0
  31446. PLATFORM_BEOS=0
  31447. if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
  31448. case "${BAKEFILE_HOST}" in
  31449. *-*-mingw32* )
  31450. PLATFORM_WIN32=1
  31451. ;;
  31452. *-pc-msdosdjgpp )
  31453. PLATFORM_MSDOS=1
  31454. ;;
  31455. *-pc-os2_emx | *-pc-os2-emx )
  31456. PLATFORM_OS2=1
  31457. ;;
  31458. *-*-darwin* )
  31459. PLATFORM_MAC=1
  31460. PLATFORM_MACOSX=1
  31461. ;;
  31462. *-*-beos* )
  31463. PLATFORM_BEOS=1
  31464. ;;
  31465. powerpc-apple-macos* )
  31466. PLATFORM_MAC=1
  31467. PLATFORM_MACOS=1
  31468. ;;
  31469. * )
  31470. PLATFORM_UNIX=1
  31471. ;;
  31472. esac
  31473. else
  31474. case "$BAKEFILE_FORCE_PLATFORM" in
  31475. win32 )
  31476. PLATFORM_WIN32=1
  31477. ;;
  31478. msdos )
  31479. PLATFORM_MSDOS=1
  31480. ;;
  31481. os2 )
  31482. PLATFORM_OS2=1
  31483. ;;
  31484. darwin )
  31485. PLATFORM_MAC=1
  31486. PLATFORM_MACOSX=1
  31487. ;;
  31488. unix )
  31489. PLATFORM_UNIX=1
  31490. ;;
  31491. beos )
  31492. PLATFORM_BEOS=1
  31493. ;;
  31494. * )
  31495. as_fn_error $? "Unknown platform: $BAKEFILE_FORCE_PLATFORM" "$LINENO" 5
  31496. ;;
  31497. esac
  31498. fi
  31499. # Check whether --enable-omf was given.
  31500. if test "${enable_omf+set}" = set; then :
  31501. enableval=$enable_omf; bk_os2_use_omf="$enableval"
  31502. fi
  31503. case "${BAKEFILE_HOST}" in
  31504. *-*-darwin* )
  31505. if test "x$GCC" = "xyes"; then
  31506. CFLAGS="$CFLAGS -fno-common"
  31507. CXXFLAGS="$CXXFLAGS -fno-common"
  31508. fi
  31509. if test "x$XLCC" = "xyes"; then
  31510. CFLAGS="$CFLAGS -qnocommon"
  31511. CXXFLAGS="$CXXFLAGS -qnocommon"
  31512. fi
  31513. ;;
  31514. *-pc-os2_emx | *-pc-os2-emx )
  31515. if test "x$bk_os2_use_omf" = "xyes" ; then
  31516. AR=emxomfar
  31517. RANLIB=:
  31518. LDFLAGS="-Zomf $LDFLAGS"
  31519. CFLAGS="-Zomf $CFLAGS"
  31520. CXXFLAGS="-Zomf $CXXFLAGS"
  31521. OS2_LIBEXT="lib"
  31522. else
  31523. OS2_LIBEXT="a"
  31524. fi
  31525. ;;
  31526. i*86-*-beos* )
  31527. LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
  31528. ;;
  31529. esac
  31530. SO_SUFFIX="so"
  31531. SO_SUFFIX_MODULE="so"
  31532. EXEEXT=""
  31533. LIBPREFIX="lib"
  31534. LIBEXT=".a"
  31535. DLLPREFIX="lib"
  31536. DLLPREFIX_MODULE=""
  31537. DLLIMP_SUFFIX=""
  31538. dlldir="$libdir"
  31539. case "${BAKEFILE_HOST}" in
  31540. ia64-hp-hpux* )
  31541. ;;
  31542. *-hp-hpux* )
  31543. SO_SUFFIX="sl"
  31544. SO_SUFFIX_MODULE="sl"
  31545. ;;
  31546. *-*-aix* )
  31547. SO_SUFFIX="a"
  31548. SO_SUFFIX_MODULE="a"
  31549. ;;
  31550. *-*-cygwin* )
  31551. SO_SUFFIX="dll"
  31552. SO_SUFFIX_MODULE="dll"
  31553. DLLIMP_SUFFIX="dll.a"
  31554. EXEEXT=".exe"
  31555. DLLPREFIX="cyg"
  31556. dlldir="$bindir"
  31557. ;;
  31558. *-*-mingw32* )
  31559. SO_SUFFIX="dll"
  31560. SO_SUFFIX_MODULE="dll"
  31561. DLLIMP_SUFFIX="dll.a"
  31562. EXEEXT=".exe"
  31563. DLLPREFIX=""
  31564. dlldir="$bindir"
  31565. ;;
  31566. *-pc-msdosdjgpp )
  31567. EXEEXT=".exe"
  31568. DLLPREFIX=""
  31569. dlldir="$bindir"
  31570. ;;
  31571. *-pc-os2_emx | *-pc-os2-emx )
  31572. SO_SUFFIX="dll"
  31573. SO_SUFFIX_MODULE="dll"
  31574. DLLIMP_SUFFIX=$OS2_LIBEXT
  31575. EXEEXT=".exe"
  31576. DLLPREFIX=""
  31577. LIBPREFIX=""
  31578. LIBEXT=".$OS2_LIBEXT"
  31579. dlldir="$bindir"
  31580. ;;
  31581. *-*-darwin* )
  31582. SO_SUFFIX="dylib"
  31583. SO_SUFFIX_MODULE="bundle"
  31584. ;;
  31585. esac
  31586. if test "x$DLLIMP_SUFFIX" = "x" ; then
  31587. DLLIMP_SUFFIX="$SO_SUFFIX"
  31588. fi
  31589. PIC_FLAG=""
  31590. if test "x$GCC" = "xyes"; then
  31591. PIC_FLAG="-fPIC"
  31592. fi
  31593. SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
  31594. SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
  31595. WINDOWS_IMPLIB=0
  31596. case "${BAKEFILE_HOST}" in
  31597. *-hp-hpux* )
  31598. if test "x$GCC" != "xyes"; then
  31599. LDFLAGS="$LDFLAGS -L/usr/lib"
  31600. SHARED_LD_CC="${CC} -b -o"
  31601. SHARED_LD_CXX="${CXX} -b -o"
  31602. PIC_FLAG="+Z"
  31603. fi
  31604. ;;
  31605. *-*-linux* )
  31606. if test "$INTELCC" = "yes" -a "$INTELCC8" != "yes"; then
  31607. PIC_FLAG="-KPIC"
  31608. elif test "x$SUNCXX" = "xyes"; then
  31609. SHARED_LD_CC="${CC} -G -o"
  31610. SHARED_LD_CXX="${CXX} -G -o"
  31611. PIC_FLAG="-KPIC"
  31612. fi
  31613. ;;
  31614. *-*-solaris2* )
  31615. if test "x$SUNCXX" = xyes ; then
  31616. SHARED_LD_CC="${CC} -G -o"
  31617. SHARED_LD_CXX="${CXX} -G -o"
  31618. PIC_FLAG="-KPIC"
  31619. fi
  31620. ;;
  31621. *-*-darwin* )
  31622. D='$'
  31623. cat <<EOF >shared-ld-sh
  31624. #!/bin/sh
  31625. #-----------------------------------------------------------------------------
  31626. #-- Name: distrib/mac/shared-ld-sh
  31627. #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
  31628. #-- Author: Gilles Depeyrot
  31629. #-- Copyright: (c) 2002 Gilles Depeyrot
  31630. #-- Licence: any use permitted
  31631. #-----------------------------------------------------------------------------
  31632. verbose=0
  31633. args=""
  31634. objects=""
  31635. linking_flag="-dynamiclib"
  31636. ldargs="-r -keep_private_externs -nostdlib"
  31637. if test "x${D}CXX" = "x"; then
  31638. CXX="c++"
  31639. fi
  31640. while test ${D}# -gt 0; do
  31641. case ${D}1 in
  31642. -v)
  31643. verbose=1
  31644. ;;
  31645. -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
  31646. # collect these options and values
  31647. args="${D}{args} ${D}1 ${D}2"
  31648. shift
  31649. ;;
  31650. -arch|-isysroot)
  31651. # collect these options and values
  31652. ldargs="${D}{ldargs} ${D}1 ${D}2"
  31653. shift
  31654. ;;
  31655. -s|-Wl,*)
  31656. # collect these load args
  31657. ldargs="${D}{ldargs} ${D}1"
  31658. ;;
  31659. -l*|-L*|-flat_namespace|-headerpad_max_install_names)
  31660. # collect these options
  31661. args="${D}{args} ${D}1"
  31662. ;;
  31663. -dynamiclib|-bundle)
  31664. linking_flag="${D}1"
  31665. ;;
  31666. -*)
  31667. echo "shared-ld: unhandled option '${D}1'"
  31668. exit 1
  31669. ;;
  31670. *.o | *.a | *.dylib)
  31671. # collect object files
  31672. objects="${D}{objects} ${D}1"
  31673. ;;
  31674. *)
  31675. echo "shared-ld: unhandled argument '${D}1'"
  31676. exit 1
  31677. ;;
  31678. esac
  31679. shift
  31680. done
  31681. status=0
  31682. #
  31683. # Link one module containing all the others
  31684. #
  31685. if test ${D}{verbose} = 1; then
  31686. echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
  31687. fi
  31688. ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
  31689. status=${D}?
  31690. #
  31691. # Link the shared library from the single module created, but only if the
  31692. # previous command didn't fail:
  31693. #
  31694. if test ${D}{status} = 0; then
  31695. if test ${D}{verbose} = 1; then
  31696. echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
  31697. fi
  31698. ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
  31699. status=${D}?
  31700. fi
  31701. #
  31702. # Remove intermediate module
  31703. #
  31704. rm -f master.${D}${D}.o
  31705. exit ${D}status
  31706. EOF
  31707. chmod +x shared-ld-sh
  31708. SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
  31709. SHARED_LD_MODULE_CXX="CXX=\"\$(CXX)\" $SHARED_LD_MODULE_CC"
  31710. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc 3.1 or later" >&5
  31711. $as_echo_n "checking for gcc 3.1 or later... " >&6; }
  31712. if ${bakefile_cv_gcc31+:} false; then :
  31713. $as_echo_n "(cached) " >&6
  31714. else
  31715. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  31716. /* end confdefs.h. */
  31717. int
  31718. main ()
  31719. {
  31720. #if (__GNUC__ < 3) || \
  31721. ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
  31722. This is old gcc
  31723. #endif
  31724. ;
  31725. return 0;
  31726. }
  31727. _ACEOF
  31728. if ac_fn_c_try_compile "$LINENO"; then :
  31729. bakefile_cv_gcc31=yes
  31730. else
  31731. bakefile_cv_gcc31=no
  31732. fi
  31733. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  31734. fi
  31735. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $bakefile_cv_gcc31" >&5
  31736. $as_echo "$bakefile_cv_gcc31" >&6; }
  31737. if test "$bakefile_cv_gcc31" = "no"; then
  31738. SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
  31739. SHARED_LD_CXX="$SHARED_LD_CC"
  31740. else
  31741. SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
  31742. SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
  31743. fi
  31744. if test "x$GCC" == "xyes"; then
  31745. PIC_FLAG="-dynamic -fPIC"
  31746. fi
  31747. if test "x$XLCC" = "xyes"; then
  31748. PIC_FLAG="-dynamic -DPIC"
  31749. fi
  31750. ;;
  31751. *-*-aix* )
  31752. if test "x$GCC" = "xyes"; then
  31753. PIC_FLAG=""
  31754. case "${BAKEFILE_HOST}" in
  31755. *-*-aix5* )
  31756. LD_EXPFULL="-Wl,-bexpfull"
  31757. ;;
  31758. esac
  31759. SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
  31760. SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
  31761. else
  31762. # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
  31763. set dummy makeC++SharedLib; ac_word=$2
  31764. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  31765. $as_echo_n "checking for $ac_word... " >&6; }
  31766. if ${ac_cv_prog_AIX_CXX_LD+:} false; then :
  31767. $as_echo_n "(cached) " >&6
  31768. else
  31769. if test -n "$AIX_CXX_LD"; then
  31770. ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
  31771. else
  31772. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  31773. for as_dir in $PATH
  31774. do
  31775. IFS=$as_save_IFS
  31776. test -z "$as_dir" && as_dir=.
  31777. for ac_exec_ext in '' $ac_executable_extensions; do
  31778. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  31779. ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
  31780. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  31781. break 2
  31782. fi
  31783. done
  31784. done
  31785. IFS=$as_save_IFS
  31786. test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
  31787. fi
  31788. fi
  31789. AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
  31790. if test -n "$AIX_CXX_LD"; then
  31791. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AIX_CXX_LD" >&5
  31792. $as_echo "$AIX_CXX_LD" >&6; }
  31793. else
  31794. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  31795. $as_echo "no" >&6; }
  31796. fi
  31797. SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
  31798. SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
  31799. fi
  31800. ;;
  31801. *-*-beos* )
  31802. SHARED_LD_CC="${LD} -nostart -o"
  31803. SHARED_LD_CXX="${LD} -nostart -o"
  31804. ;;
  31805. *-*-irix* )
  31806. if test "x$GCC" != "xyes"; then
  31807. PIC_FLAG="-KPIC"
  31808. fi
  31809. ;;
  31810. *-*-cygwin* | *-*-mingw32* )
  31811. PIC_FLAG=""
  31812. SHARED_LD_CC="\$(CC) -shared -o"
  31813. SHARED_LD_CXX="\$(CXX) -shared -o"
  31814. WINDOWS_IMPLIB=1
  31815. ;;
  31816. *-pc-os2_emx | *-pc-os2-emx )
  31817. SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
  31818. SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
  31819. PIC_FLAG=""
  31820. D='$'
  31821. cat <<EOF >dllar.sh
  31822. #!/bin/sh
  31823. #
  31824. # dllar - a tool to build both a .dll and an .a file
  31825. # from a set of object (.o) files for EMX/OS2.
  31826. #
  31827. # Written by Andrew Zabolotny, bit@freya.etu.ru
  31828. # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
  31829. #
  31830. # This script will accept a set of files on the command line.
  31831. # All the public symbols from the .o files will be exported into
  31832. # a .DEF file, then linker will be run (through gcc) against them to
  31833. # build a shared library consisting of all given .o files. All libraries
  31834. # (.a) will be first decompressed into component .o files then act as
  31835. # described above. You can optionally give a description (-d "description")
  31836. # which will be put into .DLL. To see the list of accepted options (as well
  31837. # as command-line format) simply run this program without options. The .DLL
  31838. # is built to be imported by name (there is no guarantee that new versions
  31839. # of the library you build will have same ordinals for same symbols).
  31840. #
  31841. # dllar is free software; you can redistribute it and/or modify
  31842. # it under the terms of the GNU General Public License as published by
  31843. # the Free Software Foundation; either version 2, or (at your option)
  31844. # any later version.
  31845. #
  31846. # dllar is distributed in the hope that it will be useful,
  31847. # but WITHOUT ANY WARRANTY; without even the implied warranty of
  31848. # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  31849. # GNU General Public License for more details.
  31850. #
  31851. # You should have received a copy of the GNU General Public License
  31852. # along with dllar; see the file COPYING. If not, write to the Free
  31853. # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
  31854. # 02111-1307, USA.
  31855. # To successfuly run this program you will need:
  31856. # - Current drive should have LFN support (HPFS, ext2, network, etc)
  31857. # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
  31858. # - gcc
  31859. # (used to build the .dll)
  31860. # - emxexp
  31861. # (used to create .def file from .o files)
  31862. # - emximp
  31863. # (used to create .a file from .def file)
  31864. # - GNU text utilites (cat, sort, uniq)
  31865. # used to process emxexp output
  31866. # - GNU file utilities (mv, rm)
  31867. # - GNU sed
  31868. # - lxlite (optional, see flag below)
  31869. # (used for general .dll cleanup)
  31870. #
  31871. flag_USE_LXLITE=1;
  31872. #
  31873. # helper functions
  31874. # basnam, variant of basename, which does _not_ remove the path, _iff_
  31875. # second argument (suffix to remove) is given
  31876. basnam(){
  31877. case ${D}# in
  31878. 1)
  31879. echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
  31880. ;;
  31881. 2)
  31882. echo ${D}1 | sed 's/'${D}2'${D}//'
  31883. ;;
  31884. *)
  31885. echo "error in basnam ${D}*"
  31886. exit 8
  31887. ;;
  31888. esac
  31889. }
  31890. # Cleanup temporary files and output
  31891. CleanUp() {
  31892. cd ${D}curDir
  31893. for i in ${D}inputFiles ; do
  31894. case ${D}i in
  31895. *!)
  31896. rm -rf \`basnam ${D}i !\`
  31897. ;;
  31898. *)
  31899. ;;
  31900. esac
  31901. done
  31902. # Kill result in case of failure as there is just to many stupid make/nmake
  31903. # things out there which doesn't do this.
  31904. if [ ${D}# -eq 0 ]; then
  31905. rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
  31906. fi
  31907. }
  31908. # Print usage and exit script with rc=1.
  31909. PrintHelp() {
  31910. echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
  31911. echo ' [-name-mangler-script script.sh]'
  31912. echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
  31913. echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
  31914. echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
  31915. echo ' [*.o] [*.a]'
  31916. echo '*> "output_file" should have no extension.'
  31917. echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
  31918. echo ' The import library name is derived from this and is set to "name".a,'
  31919. echo ' unless overridden by -import'
  31920. echo '*> "importlib_name" should have no extension.'
  31921. echo ' If it has the .o, or .a extension, it is automatically removed.'
  31922. echo ' This name is used as the import library name and may be longer and'
  31923. echo ' more descriptive than the DLL name which has to follow the old '
  31924. echo ' 8.3 convention of FAT.'
  31925. echo '*> "script.sh may be given to override the output_file name by a'
  31926. echo ' different name. It is mainly useful if the regular make process'
  31927. echo ' of some package does not take into account OS/2 restriction of'
  31928. echo ' DLL name lengths. It takes the importlib name as input and is'
  31929. echo ' supposed to procude a shorter name as output. The script should'
  31930. echo ' expect to get importlib_name without extension and should produce'
  31931. echo ' a (max.) 8 letter name without extension.'
  31932. echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
  31933. echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
  31934. echo ' These flags will be put at the start of GCC command line.'
  31935. echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
  31936. echo '*> -ex[clude] defines symbols which will not be exported. You can define'
  31937. echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
  31938. echo ' If the last character of a symbol is "*", all symbols beginning'
  31939. echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
  31940. echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
  31941. echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
  31942. echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
  31943. echo ' C runtime DLLs.'
  31944. echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
  31945. echo '*> All other switches (for example -L./ or -lmylib) will be passed'
  31946. echo ' unchanged to GCC at the end of command line.'
  31947. echo '*> If you create a DLL from a library and you do not specify -o,'
  31948. echo ' the basename for DLL and import library will be set to library name,'
  31949. echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
  31950. echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
  31951. echo ' library will be renamed into gcc_s.a.'
  31952. echo '--------'
  31953. echo 'Example:'
  31954. echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
  31955. echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
  31956. CleanUp
  31957. exit 1
  31958. }
  31959. # Execute a command.
  31960. # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
  31961. # @Uses Whatever CleanUp() uses.
  31962. doCommand() {
  31963. echo "${D}*"
  31964. eval ${D}*
  31965. rcCmd=${D}?
  31966. if [ ${D}rcCmd -ne 0 ]; then
  31967. echo "command failed, exit code="${D}rcCmd
  31968. CleanUp
  31969. exit ${D}rcCmd
  31970. fi
  31971. }
  31972. # main routine
  31973. # setup globals
  31974. cmdLine=${D}*
  31975. outFile=""
  31976. outimpFile=""
  31977. inputFiles=""
  31978. renameScript=""
  31979. description=""
  31980. CC=gcc.exe
  31981. CFLAGS="-s -Zcrtdll"
  31982. EXTRA_CFLAGS=""
  31983. EXPORT_BY_ORDINALS=0
  31984. exclude_symbols=""
  31985. library_flags=""
  31986. curDir=\`pwd\`
  31987. curDirS=curDir
  31988. case ${D}curDirS in
  31989. */)
  31990. ;;
  31991. *)
  31992. curDirS=${D}{curDirS}"/"
  31993. ;;
  31994. esac
  31995. # Parse commandline
  31996. libsToLink=0
  31997. omfLinking=0
  31998. while [ ${D}1 ]; do
  31999. case ${D}1 in
  32000. -ord*)
  32001. EXPORT_BY_ORDINALS=1;
  32002. ;;
  32003. -o*)
  32004. shift
  32005. outFile=${D}1
  32006. ;;
  32007. -i*)
  32008. shift
  32009. outimpFile=${D}1
  32010. ;;
  32011. -name-mangler-script)
  32012. shift
  32013. renameScript=${D}1
  32014. ;;
  32015. -d*)
  32016. shift
  32017. description=${D}1
  32018. ;;
  32019. -f*)
  32020. shift
  32021. CFLAGS=${D}1
  32022. ;;
  32023. -c*)
  32024. shift
  32025. CC=${D}1
  32026. ;;
  32027. -h*)
  32028. PrintHelp
  32029. ;;
  32030. -ex*)
  32031. shift
  32032. exclude_symbols=${D}{exclude_symbols}${D}1" "
  32033. ;;
  32034. -libf*)
  32035. shift
  32036. library_flags=${D}{library_flags}${D}1" "
  32037. ;;
  32038. -nocrt*)
  32039. CFLAGS="-s"
  32040. ;;
  32041. -nolxl*)
  32042. flag_USE_LXLITE=0
  32043. ;;
  32044. -* | /*)
  32045. case ${D}1 in
  32046. -L* | -l*)
  32047. libsToLink=1
  32048. ;;
  32049. -Zomf)
  32050. omfLinking=1
  32051. ;;
  32052. *)
  32053. ;;
  32054. esac
  32055. EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
  32056. ;;
  32057. *.dll)
  32058. EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
  32059. if [ ${D}omfLinking -eq 1 ]; then
  32060. EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
  32061. else
  32062. EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
  32063. fi
  32064. ;;
  32065. *)
  32066. found=0;
  32067. if [ ${D}libsToLink -ne 0 ]; then
  32068. EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
  32069. else
  32070. for file in ${D}1 ; do
  32071. if [ -f ${D}file ]; then
  32072. inputFiles="${D}{inputFiles} ${D}file"
  32073. found=1
  32074. fi
  32075. done
  32076. if [ ${D}found -eq 0 ]; then
  32077. echo "ERROR: No file(s) found: "${D}1
  32078. exit 8
  32079. fi
  32080. fi
  32081. ;;
  32082. esac
  32083. shift
  32084. done # iterate cmdline words
  32085. #
  32086. if [ -z "${D}inputFiles" ]; then
  32087. echo "dllar: no input files"
  32088. PrintHelp
  32089. fi
  32090. # Now extract all .o files from .a files
  32091. newInputFiles=""
  32092. for file in ${D}inputFiles ; do
  32093. case ${D}file in
  32094. *.a | *.lib)
  32095. case ${D}file in
  32096. *.a)
  32097. suffix=".a"
  32098. AR="ar"
  32099. ;;
  32100. *.lib)
  32101. suffix=".lib"
  32102. AR="emxomfar"
  32103. EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
  32104. ;;
  32105. *)
  32106. ;;
  32107. esac
  32108. dirname=\`basnam ${D}file ${D}suffix\`"_%"
  32109. mkdir ${D}dirname
  32110. if [ ${D}? -ne 0 ]; then
  32111. echo "Failed to create subdirectory ./${D}dirname"
  32112. CleanUp
  32113. exit 8;
  32114. fi
  32115. # Append '!' to indicate archive
  32116. newInputFiles="${D}newInputFiles ${D}{dirname}!"
  32117. doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
  32118. cd ${D}curDir
  32119. found=0;
  32120. for subfile in ${D}dirname/*.o* ; do
  32121. if [ -f ${D}subfile ]; then
  32122. found=1
  32123. if [ -s ${D}subfile ]; then
  32124. # FIXME: This should be: is file size > 32 byte, _not_ > 0!
  32125. newInputFiles="${D}newInputFiles ${D}subfile"
  32126. fi
  32127. fi
  32128. done
  32129. if [ ${D}found -eq 0 ]; then
  32130. echo "WARNING: there are no files in archive \\'${D}file\\'"
  32131. fi
  32132. ;;
  32133. *)
  32134. newInputFiles="${D}{newInputFiles} ${D}file"
  32135. ;;
  32136. esac
  32137. done
  32138. inputFiles="${D}newInputFiles"
  32139. # Output filename(s).
  32140. do_backup=0;
  32141. if [ -z ${D}outFile ]; then
  32142. do_backup=1;
  32143. set outFile ${D}inputFiles; outFile=${D}2
  32144. fi
  32145. # If it is an archive, remove the '!' and the '_%' suffixes
  32146. case ${D}outFile in
  32147. *_%!)
  32148. outFile=\`basnam ${D}outFile _%!\`
  32149. ;;
  32150. *)
  32151. ;;
  32152. esac
  32153. case ${D}outFile in
  32154. *.dll)
  32155. outFile=\`basnam ${D}outFile .dll\`
  32156. ;;
  32157. *.DLL)
  32158. outFile=\`basnam ${D}outFile .DLL\`
  32159. ;;
  32160. *.o)
  32161. outFile=\`basnam ${D}outFile .o\`
  32162. ;;
  32163. *.obj)
  32164. outFile=\`basnam ${D}outFile .obj\`
  32165. ;;
  32166. *.a)
  32167. outFile=\`basnam ${D}outFile .a\`
  32168. ;;
  32169. *.lib)
  32170. outFile=\`basnam ${D}outFile .lib\`
  32171. ;;
  32172. *)
  32173. ;;
  32174. esac
  32175. case ${D}outimpFile in
  32176. *.a)
  32177. outimpFile=\`basnam ${D}outimpFile .a\`
  32178. ;;
  32179. *.lib)
  32180. outimpFile=\`basnam ${D}outimpFile .lib\`
  32181. ;;
  32182. *)
  32183. ;;
  32184. esac
  32185. if [ -z ${D}outimpFile ]; then
  32186. outimpFile=${D}outFile
  32187. fi
  32188. defFile="${D}{outFile}.def"
  32189. arcFile="${D}{outimpFile}.a"
  32190. arcFile2="${D}{outimpFile}.lib"
  32191. #create ${D}dllFile as something matching 8.3 restrictions,
  32192. if [ -z ${D}renameScript ] ; then
  32193. dllFile="${D}outFile"
  32194. else
  32195. dllFile=\`${D}renameScript ${D}outimpFile\`
  32196. fi
  32197. if [ ${D}do_backup -ne 0 ] ; then
  32198. if [ -f ${D}arcFile ] ; then
  32199. doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
  32200. fi
  32201. if [ -f ${D}arcFile2 ] ; then
  32202. doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
  32203. fi
  32204. fi
  32205. # Extract public symbols from all the object files.
  32206. tmpdefFile=${D}{defFile}_%
  32207. rm -f ${D}tmpdefFile
  32208. for file in ${D}inputFiles ; do
  32209. case ${D}file in
  32210. *!)
  32211. ;;
  32212. *)
  32213. doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
  32214. ;;
  32215. esac
  32216. done
  32217. # Create the def file.
  32218. rm -f ${D}defFile
  32219. echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
  32220. dllFile="${D}{dllFile}.dll"
  32221. if [ ! -z ${D}description ]; then
  32222. echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
  32223. fi
  32224. echo "EXPORTS" >> ${D}defFile
  32225. doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
  32226. grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
  32227. # Checks if the export is ok or not.
  32228. for word in ${D}exclude_symbols; do
  32229. grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
  32230. mv ${D}{tmpdefFile}% ${D}tmpdefFile
  32231. done
  32232. if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
  32233. sed "=" < ${D}tmpdefFile | \\
  32234. sed '
  32235. N
  32236. : loop
  32237. s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
  32238. t loop
  32239. ' > ${D}{tmpdefFile}%
  32240. grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
  32241. else
  32242. rm -f ${D}{tmpdefFile}%
  32243. fi
  32244. cat ${D}tmpdefFile >> ${D}defFile
  32245. rm -f ${D}tmpdefFile
  32246. # Do linking, create implib, and apply lxlite.
  32247. gccCmdl="";
  32248. for file in ${D}inputFiles ; do
  32249. case ${D}file in
  32250. *!)
  32251. ;;
  32252. *)
  32253. gccCmdl="${D}gccCmdl ${D}file"
  32254. ;;
  32255. esac
  32256. done
  32257. doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
  32258. touch "${D}{outFile}.dll"
  32259. doCommand "emximp -o ${D}arcFile ${D}defFile"
  32260. if [ ${D}flag_USE_LXLITE -ne 0 ]; then
  32261. add_flags="";
  32262. if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
  32263. add_flags="-ynd"
  32264. fi
  32265. doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
  32266. fi
  32267. doCommand "emxomf -s -l ${D}arcFile"
  32268. # Successful exit.
  32269. CleanUp 1
  32270. exit 0
  32271. EOF
  32272. chmod +x dllar.sh
  32273. ;;
  32274. powerpc-apple-macos* | \
  32275. *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-gnu* | *-*-k*bsd*-gnu | \
  32276. *-*-mirbsd* | \
  32277. *-*-sunos4* | \
  32278. *-*-osf* | \
  32279. *-*-dgux5* | \
  32280. *-*-sysv5* | \
  32281. *-pc-msdosdjgpp )
  32282. ;;
  32283. *)
  32284. as_fn_error $? "unknown system type $BAKEFILE_HOST." "$LINENO" 5
  32285. esac
  32286. if test "x$PIC_FLAG" != "x" ; then
  32287. PIC_FLAG="$PIC_FLAG -DPIC"
  32288. fi
  32289. if test "x$SHARED_LD_MODULE_CC" = "x" ; then
  32290. SHARED_LD_MODULE_CC="$SHARED_LD_CC"
  32291. fi
  32292. if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
  32293. SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
  32294. fi
  32295. USE_SOVERSION=0
  32296. USE_SOVERLINUX=0
  32297. USE_SOVERSOLARIS=0
  32298. USE_SOVERCYGWIN=0
  32299. USE_SOTWOSYMLINKS=0
  32300. USE_MACVERSION=0
  32301. SONAME_FLAG=
  32302. case "${BAKEFILE_HOST}" in
  32303. *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
  32304. *-*-k*bsd*-gnu | *-*-mirbsd* | *-*-gnu* )
  32305. if test "x$SUNCXX" = "xyes"; then
  32306. SONAME_FLAG="-h "
  32307. else
  32308. SONAME_FLAG="-Wl,-soname,"
  32309. fi
  32310. USE_SOVERSION=1
  32311. USE_SOVERLINUX=1
  32312. USE_SOTWOSYMLINKS=1
  32313. ;;
  32314. *-*-solaris2* )
  32315. SONAME_FLAG="-h "
  32316. USE_SOVERSION=1
  32317. USE_SOVERSOLARIS=1
  32318. ;;
  32319. *-*-darwin* )
  32320. USE_MACVERSION=1
  32321. USE_SOVERSION=1
  32322. USE_SOTWOSYMLINKS=1
  32323. ;;
  32324. *-*-cygwin* )
  32325. USE_SOVERSION=1
  32326. USE_SOVERCYGWIN=1
  32327. ;;
  32328. esac
  32329. # Check whether --enable-dependency-tracking was given.
  32330. if test "${enable_dependency_tracking+set}" = set; then :
  32331. enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
  32332. fi
  32333. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dependency tracking method" >&5
  32334. $as_echo_n "checking for dependency tracking method... " >&6; }
  32335. BK_DEPS=""
  32336. if test "x$bk_use_trackdeps" = "xno" ; then
  32337. DEPS_TRACKING=0
  32338. { $as_echo "$as_me:${as_lineno-$LINENO}: result: disabled" >&5
  32339. $as_echo "disabled" >&6; }
  32340. else
  32341. DEPS_TRACKING=1
  32342. if test "x$GCC" = "xyes"; then
  32343. DEPSMODE=gcc
  32344. DEPSFLAG="-MMD"
  32345. { $as_echo "$as_me:${as_lineno-$LINENO}: result: gcc" >&5
  32346. $as_echo "gcc" >&6; }
  32347. elif test "x$MWCC" = "xyes"; then
  32348. DEPSMODE=mwcc
  32349. DEPSFLAG="-MM"
  32350. { $as_echo "$as_me:${as_lineno-$LINENO}: result: mwcc" >&5
  32351. $as_echo "mwcc" >&6; }
  32352. elif test "x$SUNCC" = "xyes"; then
  32353. DEPSMODE=unixcc
  32354. DEPSFLAG="-xM1"
  32355. { $as_echo "$as_me:${as_lineno-$LINENO}: result: Sun cc" >&5
  32356. $as_echo "Sun cc" >&6; }
  32357. elif test "x$SGICC" = "xyes"; then
  32358. DEPSMODE=unixcc
  32359. DEPSFLAG="-M"
  32360. { $as_echo "$as_me:${as_lineno-$LINENO}: result: SGI cc" >&5
  32361. $as_echo "SGI cc" >&6; }
  32362. elif test "x$HPCC" = "xyes"; then
  32363. DEPSMODE=unixcc
  32364. DEPSFLAG="+make"
  32365. { $as_echo "$as_me:${as_lineno-$LINENO}: result: HP cc" >&5
  32366. $as_echo "HP cc" >&6; }
  32367. elif test "x$COMPAQCC" = "xyes"; then
  32368. DEPSMODE=gcc
  32369. DEPSFLAG="-MD"
  32370. { $as_echo "$as_me:${as_lineno-$LINENO}: result: Compaq cc" >&5
  32371. $as_echo "Compaq cc" >&6; }
  32372. else
  32373. DEPS_TRACKING=0
  32374. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none" >&5
  32375. $as_echo "none" >&6; }
  32376. fi
  32377. if test $DEPS_TRACKING = 1 ; then
  32378. D='$'
  32379. cat <<EOF >bk-deps
  32380. #!/bin/sh
  32381. # This script is part of Bakefile (http://www.bakefile.org) autoconf
  32382. # script. It is used to track C/C++ files dependencies in portable way.
  32383. #
  32384. # Permission is given to use this file in any way.
  32385. DEPSMODE=${DEPSMODE}
  32386. DEPSFLAG="${DEPSFLAG}"
  32387. DEPSDIRBASE=.deps
  32388. if test ${D}DEPSMODE = gcc ; then
  32389. ${D}* ${D}{DEPSFLAG}
  32390. status=${D}?
  32391. # determine location of created files:
  32392. while test ${D}# -gt 0; do
  32393. case "${D}1" in
  32394. -o )
  32395. shift
  32396. objfile=${D}1
  32397. ;;
  32398. -* )
  32399. ;;
  32400. * )
  32401. srcfile=${D}1
  32402. ;;
  32403. esac
  32404. shift
  32405. done
  32406. objfilebase=\`basename ${D}objfile\`
  32407. builddir=\`dirname ${D}objfile\`
  32408. depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
  32409. depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
  32410. depsdir=${D}builddir/${D}DEPSDIRBASE
  32411. mkdir -p ${D}depsdir
  32412. # if the compiler failed, we're done:
  32413. if test ${D}{status} != 0 ; then
  32414. rm -f ${D}depfile
  32415. exit ${D}{status}
  32416. fi
  32417. # move created file to the location we want it in:
  32418. if test -f ${D}depfile ; then
  32419. sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
  32420. rm -f ${D}depfile
  32421. else
  32422. # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
  32423. depfile=\`echo "${D}objfile" | sed -e 's/\\..*${D}/.d/g'\`
  32424. if test ! -f ${D}depfile ; then
  32425. # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
  32426. depfile="${D}objfile.d"
  32427. fi
  32428. if test -f ${D}depfile ; then
  32429. sed -e "\\,^${D}objfile,!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{depsdir}/${D}{objfilebase}.d
  32430. rm -f ${D}depfile
  32431. fi
  32432. fi
  32433. exit 0
  32434. elif test ${D}DEPSMODE = mwcc ; then
  32435. ${D}* || exit ${D}?
  32436. # Run mwcc again with -MM and redirect into the dep file we want
  32437. # NOTE: We can't use shift here because we need ${D}* to be valid
  32438. prevarg=
  32439. for arg in ${D}* ; do
  32440. if test "${D}prevarg" = "-o"; then
  32441. objfile=${D}arg
  32442. else
  32443. case "${D}arg" in
  32444. -* )
  32445. ;;
  32446. * )
  32447. srcfile=${D}arg
  32448. ;;
  32449. esac
  32450. fi
  32451. prevarg="${D}arg"
  32452. done
  32453. objfilebase=\`basename ${D}objfile\`
  32454. builddir=\`dirname ${D}objfile\`
  32455. depsdir=${D}builddir/${D}DEPSDIRBASE
  32456. mkdir -p ${D}depsdir
  32457. ${D}* ${D}DEPSFLAG >${D}{depsdir}/${D}{objfilebase}.d
  32458. exit 0
  32459. elif test ${D}DEPSMODE = unixcc; then
  32460. ${D}* || exit ${D}?
  32461. # Run compiler again with deps flag and redirect into the dep file.
  32462. # It doesn't work if the '-o FILE' option is used, but without it the
  32463. # dependency file will contain the wrong name for the object. So it is
  32464. # removed from the command line, and the dep file is fixed with sed.
  32465. cmd=""
  32466. while test ${D}# -gt 0; do
  32467. case "${D}1" in
  32468. -o )
  32469. shift
  32470. objfile=${D}1
  32471. ;;
  32472. * )
  32473. eval arg${D}#=\\${D}1
  32474. cmd="${D}cmd \\${D}arg${D}#"
  32475. ;;
  32476. esac
  32477. shift
  32478. done
  32479. objfilebase=\`basename ${D}objfile\`
  32480. builddir=\`dirname ${D}objfile\`
  32481. depsdir=${D}builddir/${D}DEPSDIRBASE
  32482. mkdir -p ${D}depsdir
  32483. eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{depsdir}/${D}{objfilebase}.d
  32484. exit 0
  32485. else
  32486. ${D}*
  32487. exit ${D}?
  32488. fi
  32489. EOF
  32490. chmod +x bk-deps
  32491. BK_DEPS="`pwd`/bk-deps"
  32492. fi
  32493. fi
  32494. case ${BAKEFILE_HOST} in
  32495. *-*-cygwin* | *-*-mingw32* )
  32496. if test -n "$ac_tool_prefix"; then
  32497. # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
  32498. set dummy ${ac_tool_prefix}windres; ac_word=$2
  32499. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  32500. $as_echo_n "checking for $ac_word... " >&6; }
  32501. if ${ac_cv_prog_WINDRES+:} false; then :
  32502. $as_echo_n "(cached) " >&6
  32503. else
  32504. if test -n "$WINDRES"; then
  32505. ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
  32506. else
  32507. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  32508. for as_dir in $PATH
  32509. do
  32510. IFS=$as_save_IFS
  32511. test -z "$as_dir" && as_dir=.
  32512. for ac_exec_ext in '' $ac_executable_extensions; do
  32513. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  32514. ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
  32515. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  32516. break 2
  32517. fi
  32518. done
  32519. done
  32520. IFS=$as_save_IFS
  32521. fi
  32522. fi
  32523. WINDRES=$ac_cv_prog_WINDRES
  32524. if test -n "$WINDRES"; then
  32525. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $WINDRES" >&5
  32526. $as_echo "$WINDRES" >&6; }
  32527. else
  32528. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32529. $as_echo "no" >&6; }
  32530. fi
  32531. fi
  32532. if test -z "$ac_cv_prog_WINDRES"; then
  32533. ac_ct_WINDRES=$WINDRES
  32534. # Extract the first word of "windres", so it can be a program name with args.
  32535. set dummy windres; ac_word=$2
  32536. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  32537. $as_echo_n "checking for $ac_word... " >&6; }
  32538. if ${ac_cv_prog_ac_ct_WINDRES+:} false; then :
  32539. $as_echo_n "(cached) " >&6
  32540. else
  32541. if test -n "$ac_ct_WINDRES"; then
  32542. ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
  32543. else
  32544. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  32545. for as_dir in $PATH
  32546. do
  32547. IFS=$as_save_IFS
  32548. test -z "$as_dir" && as_dir=.
  32549. for ac_exec_ext in '' $ac_executable_extensions; do
  32550. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  32551. ac_cv_prog_ac_ct_WINDRES="windres"
  32552. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  32553. break 2
  32554. fi
  32555. done
  32556. done
  32557. IFS=$as_save_IFS
  32558. fi
  32559. fi
  32560. ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
  32561. if test -n "$ac_ct_WINDRES"; then
  32562. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_WINDRES" >&5
  32563. $as_echo "$ac_ct_WINDRES" >&6; }
  32564. else
  32565. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32566. $as_echo "no" >&6; }
  32567. fi
  32568. if test "x$ac_ct_WINDRES" = x; then
  32569. WINDRES=""
  32570. else
  32571. case $cross_compiling:$ac_tool_warned in
  32572. yes:)
  32573. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  32574. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  32575. ac_tool_warned=yes ;;
  32576. esac
  32577. WINDRES=$ac_ct_WINDRES
  32578. fi
  32579. else
  32580. WINDRES="$ac_cv_prog_WINDRES"
  32581. fi
  32582. ;;
  32583. *-*-darwin* | powerpc-apple-macos* )
  32584. # Extract the first word of "Rez", so it can be a program name with args.
  32585. set dummy Rez; ac_word=$2
  32586. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  32587. $as_echo_n "checking for $ac_word... " >&6; }
  32588. if ${ac_cv_prog_REZ+:} false; then :
  32589. $as_echo_n "(cached) " >&6
  32590. else
  32591. if test -n "$REZ"; then
  32592. ac_cv_prog_REZ="$REZ" # Let the user override the test.
  32593. else
  32594. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  32595. for as_dir in $PATH
  32596. do
  32597. IFS=$as_save_IFS
  32598. test -z "$as_dir" && as_dir=.
  32599. for ac_exec_ext in '' $ac_executable_extensions; do
  32600. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  32601. ac_cv_prog_REZ="Rez"
  32602. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  32603. break 2
  32604. fi
  32605. done
  32606. done
  32607. IFS=$as_save_IFS
  32608. test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
  32609. fi
  32610. fi
  32611. REZ=$ac_cv_prog_REZ
  32612. if test -n "$REZ"; then
  32613. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $REZ" >&5
  32614. $as_echo "$REZ" >&6; }
  32615. else
  32616. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32617. $as_echo "no" >&6; }
  32618. fi
  32619. # Extract the first word of "SetFile", so it can be a program name with args.
  32620. set dummy SetFile; ac_word=$2
  32621. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  32622. $as_echo_n "checking for $ac_word... " >&6; }
  32623. if ${ac_cv_prog_SETFILE+:} false; then :
  32624. $as_echo_n "(cached) " >&6
  32625. else
  32626. if test -n "$SETFILE"; then
  32627. ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
  32628. else
  32629. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  32630. for as_dir in $PATH
  32631. do
  32632. IFS=$as_save_IFS
  32633. test -z "$as_dir" && as_dir=.
  32634. for ac_exec_ext in '' $ac_executable_extensions; do
  32635. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  32636. ac_cv_prog_SETFILE="SetFile"
  32637. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  32638. break 2
  32639. fi
  32640. done
  32641. done
  32642. IFS=$as_save_IFS
  32643. test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
  32644. fi
  32645. fi
  32646. SETFILE=$ac_cv_prog_SETFILE
  32647. if test -n "$SETFILE"; then
  32648. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $SETFILE" >&5
  32649. $as_echo "$SETFILE" >&6; }
  32650. else
  32651. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32652. $as_echo "no" >&6; }
  32653. fi
  32654. ;;
  32655. esac
  32656. BAKEFILE_BAKEFILE_M4_VERSION="0.2.9"
  32657. BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.9"
  32658. # Check whether --enable-precomp-headers was given.
  32659. if test "${enable_precomp_headers+set}" = set; then :
  32660. enableval=$enable_precomp_headers; bk_use_pch="$enableval"
  32661. fi
  32662. GCC_PCH=0
  32663. ICC_PCH=0
  32664. USE_PCH=0
  32665. BK_MAKE_PCH=""
  32666. case ${BAKEFILE_HOST} in
  32667. *-*-cygwin* )
  32668. bk_use_pch="no"
  32669. ;;
  32670. esac
  32671. if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
  32672. if test "x$GCC" = "xyes"; then
  32673. { $as_echo "$as_me:${as_lineno-$LINENO}: checking if the compiler supports precompiled headers" >&5
  32674. $as_echo_n "checking if the compiler supports precompiled headers... " >&6; }
  32675. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  32676. /* end confdefs.h. */
  32677. int
  32678. main ()
  32679. {
  32680. #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
  32681. There is no PCH support
  32682. #endif
  32683. #if (__GNUC__ < 3)
  32684. There is no PCH support
  32685. #endif
  32686. #if (__GNUC__ == 3) && \
  32687. ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
  32688. ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
  32689. ( defined(__INTEL_COMPILER) )
  32690. There is no PCH support
  32691. #endif
  32692. ;
  32693. return 0;
  32694. }
  32695. _ACEOF
  32696. if ac_fn_c_try_compile "$LINENO"; then :
  32697. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  32698. $as_echo "yes" >&6; }
  32699. GCC_PCH=1
  32700. else
  32701. if test "$INTELCXX8" = "yes"; then
  32702. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  32703. $as_echo "yes" >&6; }
  32704. ICC_PCH=1
  32705. if test "$INTELCXX10" = "yes"; then
  32706. ICC_PCH_CREATE_SWITCH="-pch-create"
  32707. ICC_PCH_USE_SWITCH="-pch-use"
  32708. else
  32709. ICC_PCH_CREATE_SWITCH="-create-pch"
  32710. ICC_PCH_USE_SWITCH="-use-pch"
  32711. fi
  32712. else
  32713. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  32714. $as_echo "no" >&6; }
  32715. fi
  32716. fi
  32717. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  32718. if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
  32719. USE_PCH=1
  32720. D='$'
  32721. cat <<EOF >bk-make-pch
  32722. #!/bin/sh
  32723. # This script is part of Bakefile (http://www.bakefile.org) autoconf
  32724. # script. It is used to generated precompiled headers.
  32725. #
  32726. # Permission is given to use this file in any way.
  32727. outfile="${D}{1}"
  32728. header="${D}{2}"
  32729. shift
  32730. shift
  32731. builddir=\`echo ${D}outfile | sed -e 's,/\\.pch/.*${D},,g'\`
  32732. compiler=""
  32733. headerfile=""
  32734. while test ${D}{#} -gt 0; do
  32735. add_to_cmdline=1
  32736. case "${D}{1}" in
  32737. -I* )
  32738. incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
  32739. if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
  32740. headerfile="${D}{incdir}/${D}{header}"
  32741. fi
  32742. ;;
  32743. -use-pch|-use_pch|-pch-use )
  32744. shift
  32745. add_to_cmdline=0
  32746. ;;
  32747. esac
  32748. if test ${D}add_to_cmdline = 1 ; then
  32749. compiler="${D}{compiler} ${D}{1}"
  32750. fi
  32751. shift
  32752. done
  32753. if test "x${D}{headerfile}" = "x" ; then
  32754. echo "error: can't find header ${D}{header} in include paths" >&2
  32755. else
  32756. if test -f ${D}{outfile} ; then
  32757. rm -f ${D}{outfile}
  32758. else
  32759. mkdir -p \`dirname ${D}{outfile}\`
  32760. fi
  32761. depsfile="${D}{builddir}/.deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
  32762. mkdir -p ${D}{builddir}/.deps
  32763. if test "x${GCC_PCH}" = "x1" ; then
  32764. # can do this because gcc is >= 3.4:
  32765. ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
  32766. elif test "x${ICC_PCH}" = "x1" ; then
  32767. filename=pch_gen-${D}${D}
  32768. file=${D}{filename}.c
  32769. dfile=${D}{filename}.d
  32770. cat > ${D}file <<EOT
  32771. #include "${D}header"
  32772. EOT
  32773. # using -MF icc complains about differing command lines in creation/use
  32774. ${D}compiler -c ${ICC_PCH_CREATE_SWITCH} ${D}outfile -MMD ${D}file && \\
  32775. sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
  32776. rm -f ${D}file ${D}dfile ${D}{filename}.o
  32777. fi
  32778. exit ${D}{?}
  32779. fi
  32780. EOF
  32781. chmod +x bk-make-pch
  32782. BK_MAKE_PCH="`pwd`/bk-make-pch"
  32783. fi
  32784. fi
  32785. fi
  32786. COND_BUILD_debug="#"
  32787. if test "x$BUILD" = "xdebug" ; then
  32788. COND_BUILD_debug=""
  32789. fi
  32790. COND_BUILD_debug_DEBUG_INFO_default="#"
  32791. if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
  32792. COND_BUILD_debug_DEBUG_INFO_default=""
  32793. fi
  32794. COND_BUILD_release="#"
  32795. if test "x$BUILD" = "xrelease" ; then
  32796. COND_BUILD_release=""
  32797. fi
  32798. COND_BUILD_release_DEBUG_INFO_default="#"
  32799. if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
  32800. COND_BUILD_release_DEBUG_INFO_default=""
  32801. fi
  32802. COND_DEBUG_FLAG_0="#"
  32803. if test "x$DEBUG_FLAG" = "x0" ; then
  32804. COND_DEBUG_FLAG_0=""
  32805. fi
  32806. COND_DEBUG_INFO_0="#"
  32807. if test "x$DEBUG_INFO" = "x0" ; then
  32808. COND_DEBUG_INFO_0=""
  32809. fi
  32810. COND_DEBUG_INFO_1="#"
  32811. if test "x$DEBUG_INFO" = "x1" ; then
  32812. COND_DEBUG_INFO_1=""
  32813. fi
  32814. COND_DEPS_TRACKING_0="#"
  32815. if test "x$DEPS_TRACKING" = "x0" ; then
  32816. COND_DEPS_TRACKING_0=""
  32817. fi
  32818. COND_DEPS_TRACKING_1="#"
  32819. if test "x$DEPS_TRACKING" = "x1" ; then
  32820. COND_DEPS_TRACKING_1=""
  32821. fi
  32822. COND_GCC_PCH_1="#"
  32823. if test "x$GCC_PCH" = "x1" ; then
  32824. COND_GCC_PCH_1=""
  32825. fi
  32826. COND_ICC_PCH_1="#"
  32827. if test "x$ICC_PCH" = "x1" ; then
  32828. COND_ICC_PCH_1=""
  32829. fi
  32830. COND_MONOLITHIC_0="#"
  32831. if test "x$MONOLITHIC" = "x0" ; then
  32832. COND_MONOLITHIC_0=""
  32833. fi
  32834. COND_MONOLITHIC_0_SHARED_0="#"
  32835. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
  32836. COND_MONOLITHIC_0_SHARED_0=""
  32837. fi
  32838. COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
  32839. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
  32840. COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
  32841. fi
  32842. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
  32843. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
  32844. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
  32845. fi
  32846. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
  32847. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
  32848. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
  32849. fi
  32850. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
  32851. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
  32852. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
  32853. fi
  32854. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
  32855. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
  32856. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
  32857. fi
  32858. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1="#"
  32859. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
  32860. COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_WEBVIEW_1=""
  32861. fi
  32862. COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1="#"
  32863. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
  32864. COND_MONOLITHIC_0_SHARED_0_USE_PROPGRID_1=""
  32865. fi
  32866. COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1="#"
  32867. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RIBBON" = "x1" ; then
  32868. COND_MONOLITHIC_0_SHARED_0_USE_RIBBON_1=""
  32869. fi
  32870. COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
  32871. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
  32872. COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
  32873. fi
  32874. COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
  32875. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
  32876. COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
  32877. fi
  32878. COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
  32879. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
  32880. COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
  32881. fi
  32882. COND_MONOLITHIC_0_SHARED_1="#"
  32883. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
  32884. COND_MONOLITHIC_0_SHARED_1=""
  32885. fi
  32886. COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
  32887. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
  32888. COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
  32889. fi
  32890. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
  32891. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
  32892. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
  32893. fi
  32894. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
  32895. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
  32896. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
  32897. fi
  32898. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
  32899. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
  32900. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
  32901. fi
  32902. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
  32903. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
  32904. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
  32905. fi
  32906. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1="#"
  32907. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_WEBVIEW" = "x1" ; then
  32908. COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_WEBVIEW_1=""
  32909. fi
  32910. COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1="#"
  32911. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_PROPGRID" = "x1" ; then
  32912. COND_MONOLITHIC_0_SHARED_1_USE_PROPGRID_1=""
  32913. fi
  32914. COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1="#"
  32915. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RIBBON" = "x1" ; then
  32916. COND_MONOLITHIC_0_SHARED_1_USE_RIBBON_1=""
  32917. fi
  32918. COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
  32919. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
  32920. COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
  32921. fi
  32922. COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
  32923. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
  32924. COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
  32925. fi
  32926. COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
  32927. if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
  32928. COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
  32929. fi
  32930. COND_MONOLITHIC_0_USE_AUI_1="#"
  32931. if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
  32932. COND_MONOLITHIC_0_USE_AUI_1=""
  32933. fi
  32934. COND_MONOLITHIC_0_USE_GUI_1="#"
  32935. if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
  32936. COND_MONOLITHIC_0_USE_GUI_1=""
  32937. fi
  32938. COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
  32939. if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
  32940. COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
  32941. fi
  32942. COND_MONOLITHIC_0_USE_HTML_1="#"
  32943. if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
  32944. COND_MONOLITHIC_0_USE_HTML_1=""
  32945. fi
  32946. COND_MONOLITHIC_0_USE_MEDIA_1="#"
  32947. if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
  32948. COND_MONOLITHIC_0_USE_MEDIA_1=""
  32949. fi
  32950. COND_MONOLITHIC_0_USE_PROPGRID_1="#"
  32951. if test "x$MONOLITHIC" = "x0" -a "x$USE_PROPGRID" = "x1" ; then
  32952. COND_MONOLITHIC_0_USE_PROPGRID_1=""
  32953. fi
  32954. COND_MONOLITHIC_0_USE_QA_1="#"
  32955. if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
  32956. COND_MONOLITHIC_0_USE_QA_1=""
  32957. fi
  32958. COND_MONOLITHIC_0_USE_RIBBON_1="#"
  32959. if test "x$MONOLITHIC" = "x0" -a "x$USE_RIBBON" = "x1" ; then
  32960. COND_MONOLITHIC_0_USE_RIBBON_1=""
  32961. fi
  32962. COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
  32963. if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
  32964. COND_MONOLITHIC_0_USE_RICHTEXT_1=""
  32965. fi
  32966. COND_MONOLITHIC_0_USE_STC_1="#"
  32967. if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
  32968. COND_MONOLITHIC_0_USE_STC_1=""
  32969. fi
  32970. COND_MONOLITHIC_0_USE_WEBVIEW_1="#"
  32971. if test "x$MONOLITHIC" = "x0" -a "x$USE_WEBVIEW" = "x1" ; then
  32972. COND_MONOLITHIC_0_USE_WEBVIEW_1=""
  32973. fi
  32974. COND_MONOLITHIC_0_USE_XRC_1="#"
  32975. if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
  32976. COND_MONOLITHIC_0_USE_XRC_1=""
  32977. fi
  32978. COND_MONOLITHIC_1="#"
  32979. if test "x$MONOLITHIC" = "x1" ; then
  32980. COND_MONOLITHIC_1=""
  32981. fi
  32982. COND_MONOLITHIC_1_SHARED_0="#"
  32983. if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
  32984. COND_MONOLITHIC_1_SHARED_0=""
  32985. fi
  32986. COND_MONOLITHIC_1_SHARED_1="#"
  32987. if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
  32988. COND_MONOLITHIC_1_SHARED_1=""
  32989. fi
  32990. COND_MONOLITHIC_1_USE_STC_1="#"
  32991. if test "x$MONOLITHIC" = "x1" -a "x$USE_STC" = "x1" ; then
  32992. COND_MONOLITHIC_1_USE_STC_1=""
  32993. fi
  32994. COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
  32995. if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
  32996. COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
  32997. fi
  32998. COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
  32999. if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
  33000. COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
  33001. fi
  33002. COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
  33003. if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
  33004. COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
  33005. fi
  33006. COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
  33007. if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
  33008. COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
  33009. fi
  33010. COND_PLATFORM_MACOSX_1="#"
  33011. if test "x$PLATFORM_MACOSX" = "x1" ; then
  33012. COND_PLATFORM_MACOSX_1=""
  33013. fi
  33014. COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
  33015. if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
  33016. COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
  33017. fi
  33018. COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0="#"
  33019. if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
  33020. COND_PLATFORM_MACOSX_1_PLATFORM_WIN32_1_SHARED_0=""
  33021. fi
  33022. COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
  33023. if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
  33024. COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
  33025. fi
  33026. COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
  33027. if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
  33028. COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
  33029. fi
  33030. COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
  33031. if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
  33032. COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
  33033. fi
  33034. COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
  33035. if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
  33036. COND_PLATFORM_MACOSX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
  33037. fi
  33038. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
  33039. if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
  33040. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1=""
  33041. fi
  33042. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0="#"
  33043. if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
  33044. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_CARBON_USE_GUI_1_WXUNIV_0=""
  33045. fi
  33046. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
  33047. if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
  33048. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1=""
  33049. fi
  33050. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0="#"
  33051. if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
  33052. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_COCOA_USE_GUI_1_WXUNIV_0=""
  33053. fi
  33054. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
  33055. if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
  33056. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
  33057. fi
  33058. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
  33059. if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
  33060. COND_PLATFORM_MACOSX_1_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
  33061. fi
  33062. COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
  33063. if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
  33064. COND_PLATFORM_MACOSX_1_USE_GUI_1=""
  33065. fi
  33066. COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
  33067. if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
  33068. COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
  33069. fi
  33070. COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
  33071. if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
  33072. COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
  33073. fi
  33074. COND_PLATFORM_MAC_0="#"
  33075. if test "x$PLATFORM_MAC" = "x0" ; then
  33076. COND_PLATFORM_MAC_0=""
  33077. fi
  33078. COND_PLATFORM_MAC_1="#"
  33079. if test "x$PLATFORM_MAC" = "x1" ; then
  33080. COND_PLATFORM_MAC_1=""
  33081. fi
  33082. COND_PLATFORM_MSDOS_0="#"
  33083. if test "x$PLATFORM_MSDOS" = "x0" ; then
  33084. COND_PLATFORM_MSDOS_0=""
  33085. fi
  33086. COND_PLATFORM_MSDOS_1="#"
  33087. if test "x$PLATFORM_MSDOS" = "x1" ; then
  33088. COND_PLATFORM_MSDOS_1=""
  33089. fi
  33090. COND_PLATFORM_OS2_1="#"
  33091. if test "x$PLATFORM_OS2" = "x1" ; then
  33092. COND_PLATFORM_OS2_1=""
  33093. fi
  33094. COND_PLATFORM_UNIX_0="#"
  33095. if test "x$PLATFORM_UNIX" = "x0" ; then
  33096. COND_PLATFORM_UNIX_0=""
  33097. fi
  33098. COND_PLATFORM_UNIX_1="#"
  33099. if test "x$PLATFORM_UNIX" = "x1" ; then
  33100. COND_PLATFORM_UNIX_1=""
  33101. fi
  33102. COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
  33103. if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
  33104. COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
  33105. fi
  33106. COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
  33107. if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
  33108. COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
  33109. fi
  33110. COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
  33111. if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
  33112. COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
  33113. fi
  33114. COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
  33115. if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
  33116. COND_PLATFORM_UNIX_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
  33117. fi
  33118. COND_PLATFORM_UNIX_1_USE_GUI_1="#"
  33119. if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
  33120. COND_PLATFORM_UNIX_1_USE_GUI_1=""
  33121. fi
  33122. COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
  33123. if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
  33124. COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
  33125. fi
  33126. COND_PLATFORM_WIN32_0="#"
  33127. if test "x$PLATFORM_WIN32" = "x0" ; then
  33128. COND_PLATFORM_WIN32_0=""
  33129. fi
  33130. COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
  33131. if test "x$PLATFORM_WIN32" = "x0" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
  33132. COND_PLATFORM_WIN32_0_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
  33133. fi
  33134. COND_PLATFORM_WIN32_1="#"
  33135. if test "x$PLATFORM_WIN32" = "x1" ; then
  33136. COND_PLATFORM_WIN32_1=""
  33137. fi
  33138. COND_PLATFORM_WIN32_1_SHARED_0="#"
  33139. if test "x$PLATFORM_WIN32" = "x1" -a "x$SHARED" = "x0" ; then
  33140. COND_PLATFORM_WIN32_1_SHARED_0=""
  33141. fi
  33142. COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
  33143. if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
  33144. COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
  33145. fi
  33146. COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
  33147. if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
  33148. COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
  33149. fi
  33150. COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
  33151. if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
  33152. COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
  33153. fi
  33154. COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
  33155. if test "x$PLATFORM_WIN32" = "x1" -a "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
  33156. COND_PLATFORM_WIN32_1_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
  33157. fi
  33158. COND_SHARED_0="#"
  33159. if test "x$SHARED" = "x0" ; then
  33160. COND_SHARED_0=""
  33161. fi
  33162. COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
  33163. if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
  33164. COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
  33165. fi
  33166. COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
  33167. if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
  33168. COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
  33169. fi
  33170. COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
  33171. if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
  33172. COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
  33173. fi
  33174. COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
  33175. if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
  33176. COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
  33177. fi
  33178. COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
  33179. if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
  33180. COND_SHARED_0_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
  33181. fi
  33182. COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
  33183. if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
  33184. COND_SHARED_0_USE_GUI_1_wxUSE_LIBPNG_builtin=""
  33185. fi
  33186. COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
  33187. if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
  33188. COND_SHARED_0_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
  33189. fi
  33190. COND_SHARED_0_USE_STC_1="#"
  33191. if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
  33192. COND_SHARED_0_USE_STC_1=""
  33193. fi
  33194. COND_SHARED_0_wxUSE_EXPAT_builtin="#"
  33195. if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
  33196. COND_SHARED_0_wxUSE_EXPAT_builtin=""
  33197. fi
  33198. COND_SHARED_0_wxUSE_REGEX_builtin="#"
  33199. if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
  33200. COND_SHARED_0_wxUSE_REGEX_builtin=""
  33201. fi
  33202. COND_SHARED_0_wxUSE_ZLIB_builtin="#"
  33203. if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
  33204. COND_SHARED_0_wxUSE_ZLIB_builtin=""
  33205. fi
  33206. COND_SHARED_1="#"
  33207. if test "x$SHARED" = "x1" ; then
  33208. COND_SHARED_1=""
  33209. fi
  33210. COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
  33211. if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
  33212. COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
  33213. fi
  33214. COND_TOOLKIT_="#"
  33215. if test "x$TOOLKIT" = "x" ; then
  33216. COND_TOOLKIT_=""
  33217. fi
  33218. COND_TOOLKIT_COCOA="#"
  33219. if test "x$TOOLKIT" = "xCOCOA" ; then
  33220. COND_TOOLKIT_COCOA=""
  33221. fi
  33222. COND_TOOLKIT_COCOA_USE_GUI_1="#"
  33223. if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
  33224. COND_TOOLKIT_COCOA_USE_GUI_1=""
  33225. fi
  33226. COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
  33227. if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
  33228. COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
  33229. fi
  33230. COND_TOOLKIT_DFB="#"
  33231. if test "x$TOOLKIT" = "xDFB" ; then
  33232. COND_TOOLKIT_DFB=""
  33233. fi
  33234. COND_TOOLKIT_DFB_USE_GUI_1="#"
  33235. if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
  33236. COND_TOOLKIT_DFB_USE_GUI_1=""
  33237. fi
  33238. COND_TOOLKIT_GTK="#"
  33239. if test "x$TOOLKIT" = "xGTK" ; then
  33240. COND_TOOLKIT_GTK=""
  33241. fi
  33242. COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
  33243. if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
  33244. COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
  33245. fi
  33246. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
  33247. if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
  33248. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
  33249. fi
  33250. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
  33251. if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
  33252. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
  33253. fi
  33254. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
  33255. if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
  33256. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
  33257. fi
  33258. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1="#"
  33259. if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
  33260. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_1=""
  33261. fi
  33262. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
  33263. if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
  33264. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
  33265. fi
  33266. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1="#"
  33267. if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x1" ; then
  33268. COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_1=""
  33269. fi
  33270. COND_TOOLKIT_GTK_TOOLKIT_VERSION_3="#"
  33271. if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" ; then
  33272. COND_TOOLKIT_GTK_TOOLKIT_VERSION_3=""
  33273. fi
  33274. COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1="#"
  33275. if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" ; then
  33276. COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1=""
  33277. fi
  33278. COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0="#"
  33279. if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
  33280. COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_USE_GUI_1_WXUNIV_0=""
  33281. fi
  33282. COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0="#"
  33283. if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x3" -a "x$WXUNIV" = "x0" ; then
  33284. COND_TOOLKIT_GTK_TOOLKIT_VERSION_3_WXUNIV_0=""
  33285. fi
  33286. COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
  33287. if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
  33288. COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
  33289. fi
  33290. COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
  33291. if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
  33292. COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
  33293. fi
  33294. COND_TOOLKIT_GTK_USE_GUI_1="#"
  33295. if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
  33296. COND_TOOLKIT_GTK_USE_GUI_1=""
  33297. fi
  33298. COND_TOOLKIT_MAC="#"
  33299. if test "x$TOOLKIT" = "xMAC" ; then
  33300. COND_TOOLKIT_MAC=""
  33301. fi
  33302. COND_TOOLKIT_MOTIF="#"
  33303. if test "x$TOOLKIT" = "xMOTIF" ; then
  33304. COND_TOOLKIT_MOTIF=""
  33305. fi
  33306. COND_TOOLKIT_MOTIF_USE_GUI_1="#"
  33307. if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
  33308. COND_TOOLKIT_MOTIF_USE_GUI_1=""
  33309. fi
  33310. COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
  33311. if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
  33312. COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
  33313. fi
  33314. COND_TOOLKIT_MSW="#"
  33315. if test "x$TOOLKIT" = "xMSW" ; then
  33316. COND_TOOLKIT_MSW=""
  33317. fi
  33318. COND_TOOLKIT_MSW_USE_GUI_1="#"
  33319. if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
  33320. COND_TOOLKIT_MSW_USE_GUI_1=""
  33321. fi
  33322. COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
  33323. if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
  33324. COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
  33325. fi
  33326. COND_TOOLKIT_MSW_WXUNIV_0="#"
  33327. if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
  33328. COND_TOOLKIT_MSW_WXUNIV_0=""
  33329. fi
  33330. COND_TOOLKIT_OSX_CARBON="#"
  33331. if test "x$TOOLKIT" = "xOSX_CARBON" ; then
  33332. COND_TOOLKIT_OSX_CARBON=""
  33333. fi
  33334. COND_TOOLKIT_OSX_CARBON_USE_GUI_1="#"
  33335. if test "x$TOOLKIT" = "xOSX_CARBON" -a "x$USE_GUI" = "x1" ; then
  33336. COND_TOOLKIT_OSX_CARBON_USE_GUI_1=""
  33337. fi
  33338. COND_TOOLKIT_OSX_COCOA="#"
  33339. if test "x$TOOLKIT" = "xOSX_COCOA" ; then
  33340. COND_TOOLKIT_OSX_COCOA=""
  33341. fi
  33342. COND_TOOLKIT_OSX_COCOA_USE_GUI_1="#"
  33343. if test "x$TOOLKIT" = "xOSX_COCOA" -a "x$USE_GUI" = "x1" ; then
  33344. COND_TOOLKIT_OSX_COCOA_USE_GUI_1=""
  33345. fi
  33346. COND_TOOLKIT_OSX_IPHONE="#"
  33347. if test "x$TOOLKIT" = "xOSX_IPHONE" ; then
  33348. COND_TOOLKIT_OSX_IPHONE=""
  33349. fi
  33350. COND_TOOLKIT_OSX_IPHONE_USE_GUI_1="#"
  33351. if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" ; then
  33352. COND_TOOLKIT_OSX_IPHONE_USE_GUI_1=""
  33353. fi
  33354. COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0="#"
  33355. if test "x$TOOLKIT" = "xOSX_IPHONE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
  33356. COND_TOOLKIT_OSX_IPHONE_USE_GUI_1_WXUNIV_0=""
  33357. fi
  33358. COND_TOOLKIT_PM="#"
  33359. if test "x$TOOLKIT" = "xPM" ; then
  33360. COND_TOOLKIT_PM=""
  33361. fi
  33362. COND_TOOLKIT_PM_USE_GUI_1="#"
  33363. if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
  33364. COND_TOOLKIT_PM_USE_GUI_1=""
  33365. fi
  33366. COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
  33367. if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
  33368. COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
  33369. fi
  33370. COND_TOOLKIT_WINCE="#"
  33371. if test "x$TOOLKIT" = "xWINCE" ; then
  33372. COND_TOOLKIT_WINCE=""
  33373. fi
  33374. COND_TOOLKIT_WINCE_USE_GUI_1="#"
  33375. if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
  33376. COND_TOOLKIT_WINCE_USE_GUI_1=""
  33377. fi
  33378. COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
  33379. if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
  33380. COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
  33381. fi
  33382. COND_TOOLKIT_WINCE_WXUNIV_0="#"
  33383. if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
  33384. COND_TOOLKIT_WINCE_WXUNIV_0=""
  33385. fi
  33386. COND_TOOLKIT_X11="#"
  33387. if test "x$TOOLKIT" = "xX11" ; then
  33388. COND_TOOLKIT_X11=""
  33389. fi
  33390. COND_TOOLKIT_X11_USE_GUI_1="#"
  33391. if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
  33392. COND_TOOLKIT_X11_USE_GUI_1=""
  33393. fi
  33394. COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1="#"
  33395. if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
  33396. COND_TOOLKIT_X11_USE_GUI_1_WXUNIV_1=""
  33397. fi
  33398. COND_TOOLKIT_X11_WXUNIV_1="#"
  33399. if test "x$TOOLKIT" = "xX11" -a "x$WXUNIV" = "x1" ; then
  33400. COND_TOOLKIT_X11_WXUNIV_1=""
  33401. fi
  33402. COND_UNICODE_1="#"
  33403. if test "x$UNICODE" = "x1" ; then
  33404. COND_UNICODE_1=""
  33405. fi
  33406. COND_USE_CAIRO_1="#"
  33407. if test "x$USE_CAIRO" = "x1" ; then
  33408. COND_USE_CAIRO_1=""
  33409. fi
  33410. COND_USE_EXCEPTIONS_0="#"
  33411. if test "x$USE_EXCEPTIONS" = "x0" ; then
  33412. COND_USE_EXCEPTIONS_0=""
  33413. fi
  33414. COND_USE_EXCEPTIONS_1="#"
  33415. if test "x$USE_EXCEPTIONS" = "x1" ; then
  33416. COND_USE_EXCEPTIONS_1=""
  33417. fi
  33418. COND_USE_GUI_0="#"
  33419. if test "x$USE_GUI" = "x0" ; then
  33420. COND_USE_GUI_0=""
  33421. fi
  33422. COND_USE_GUI_1="#"
  33423. if test "x$USE_GUI" = "x1" ; then
  33424. COND_USE_GUI_1=""
  33425. fi
  33426. COND_USE_GUI_1_USE_OPENGL_1="#"
  33427. if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
  33428. COND_USE_GUI_1_USE_OPENGL_1=""
  33429. fi
  33430. COND_USE_GUI_1_WXUNIV_0="#"
  33431. if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
  33432. COND_USE_GUI_1_WXUNIV_0=""
  33433. fi
  33434. COND_USE_GUI_1_WXUNIV_1="#"
  33435. if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
  33436. COND_USE_GUI_1_WXUNIV_1=""
  33437. fi
  33438. COND_USE_GUI_1_wxUSE_LIBJPEG_builtin="#"
  33439. if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
  33440. COND_USE_GUI_1_wxUSE_LIBJPEG_builtin=""
  33441. fi
  33442. COND_USE_GUI_1_wxUSE_LIBPNG_builtin="#"
  33443. if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
  33444. COND_USE_GUI_1_wxUSE_LIBPNG_builtin=""
  33445. fi
  33446. COND_USE_GUI_1_wxUSE_LIBTIFF_builtin="#"
  33447. if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
  33448. COND_USE_GUI_1_wxUSE_LIBTIFF_builtin=""
  33449. fi
  33450. COND_USE_OPENGL_1="#"
  33451. if test "x$USE_OPENGL" = "x1" ; then
  33452. COND_USE_OPENGL_1=""
  33453. fi
  33454. COND_USE_PCH_1="#"
  33455. if test "x$USE_PCH" = "x1" ; then
  33456. COND_USE_PCH_1=""
  33457. fi
  33458. COND_USE_PLUGINS_0="#"
  33459. if test "x$USE_PLUGINS" = "x0" ; then
  33460. COND_USE_PLUGINS_0=""
  33461. fi
  33462. COND_USE_RTTI_0="#"
  33463. if test "x$USE_RTTI" = "x0" ; then
  33464. COND_USE_RTTI_0=""
  33465. fi
  33466. COND_USE_RTTI_1="#"
  33467. if test "x$USE_RTTI" = "x1" ; then
  33468. COND_USE_RTTI_1=""
  33469. fi
  33470. COND_USE_SOTWOSYMLINKS_1="#"
  33471. if test "x$USE_SOTWOSYMLINKS" = "x1" ; then
  33472. COND_USE_SOTWOSYMLINKS_1=""
  33473. fi
  33474. COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
  33475. if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
  33476. COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
  33477. fi
  33478. COND_USE_SOVERLINUX_1="#"
  33479. if test "x$USE_SOVERLINUX" = "x1" ; then
  33480. COND_USE_SOVERLINUX_1=""
  33481. fi
  33482. COND_USE_SOVERSION_0="#"
  33483. if test "x$USE_SOVERSION" = "x0" ; then
  33484. COND_USE_SOVERSION_0=""
  33485. fi
  33486. COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1="#"
  33487. if test "x$USE_SOVERSION" = "x1" -a "x$USE_SOVERSOLARIS" = "x1" ; then
  33488. COND_USE_SOVERSION_1_USE_SOVERSOLARIS_1=""
  33489. fi
  33490. COND_USE_SOVERSOLARIS_1="#"
  33491. if test "x$USE_SOVERSOLARIS" = "x1" ; then
  33492. COND_USE_SOVERSOLARIS_1=""
  33493. fi
  33494. COND_USE_STC_1="#"
  33495. if test "x$USE_STC" = "x1" ; then
  33496. COND_USE_STC_1=""
  33497. fi
  33498. COND_USE_THREADS_0="#"
  33499. if test "x$USE_THREADS" = "x0" ; then
  33500. COND_USE_THREADS_0=""
  33501. fi
  33502. COND_USE_THREADS_1="#"
  33503. if test "x$USE_THREADS" = "x1" ; then
  33504. COND_USE_THREADS_1=""
  33505. fi
  33506. COND_USE_XRC_1="#"
  33507. if test "x$USE_XRC" = "x1" ; then
  33508. COND_USE_XRC_1=""
  33509. fi
  33510. COND_WINDOWS_IMPLIB_1="#"
  33511. if test "x$WINDOWS_IMPLIB" = "x1" ; then
  33512. COND_WINDOWS_IMPLIB_1=""
  33513. fi
  33514. COND_WITH_PLUGIN_SDL_1="#"
  33515. if test "x$WITH_PLUGIN_SDL" = "x1" ; then
  33516. COND_WITH_PLUGIN_SDL_1=""
  33517. fi
  33518. COND_WXUNIV_0="#"
  33519. if test "x$WXUNIV" = "x0" ; then
  33520. COND_WXUNIV_0=""
  33521. fi
  33522. COND_WXUNIV_1="#"
  33523. if test "x$WXUNIV" = "x1" ; then
  33524. COND_WXUNIV_1=""
  33525. fi
  33526. COND_wxUSE_EXPAT_builtin="#"
  33527. if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
  33528. COND_wxUSE_EXPAT_builtin=""
  33529. fi
  33530. COND_wxUSE_LIBJPEG_builtin="#"
  33531. if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
  33532. COND_wxUSE_LIBJPEG_builtin=""
  33533. fi
  33534. COND_wxUSE_LIBPNG_builtin="#"
  33535. if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
  33536. COND_wxUSE_LIBPNG_builtin=""
  33537. fi
  33538. COND_wxUSE_LIBTIFF_builtin="#"
  33539. if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
  33540. COND_wxUSE_LIBTIFF_builtin=""
  33541. fi
  33542. COND_wxUSE_REGEX_builtin="#"
  33543. if test "x$wxUSE_REGEX" = "xbuiltin" ; then
  33544. COND_wxUSE_REGEX_builtin=""
  33545. fi
  33546. COND_wxUSE_ZLIB_builtin="#"
  33547. if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
  33548. COND_wxUSE_ZLIB_builtin=""
  33549. fi
  33550. if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
  33551. as_fn_error $? "No version found in autoconf_inc.m4 - bakefile macro was changed to take additional argument, perhaps configure.in wasn't updated (see the documentation)?" "$LINENO" 5
  33552. fi
  33553. if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
  33554. as_fn_error $? "Versions of Bakefile used to generate makefiles ($BAKEFILE_AUTOCONF_INC_M4_VERSION) and configure ($BAKEFILE_BAKEFILE_M4_VERSION) do not match." "$LINENO" 5
  33555. fi
  33556. case ${INSTALL} in
  33557. /* ) # Absolute
  33558. ;;
  33559. ?:* ) # Drive letter, considered as absolute.
  33560. ;;
  33561. *)
  33562. INSTALL=`pwd`/${INSTALL} ;;
  33563. esac
  33564. if test "$wxUSE_GUI" = "yes"; then
  33565. if test "$wxUSE_MSW" = 1 ; then
  33566. if test "x$WINDRES" = "x"; then
  33567. as_fn_error $? "Required windres program not found" "$LINENO" 5
  33568. fi
  33569. RESCOMP="$WINDRES"
  33570. fi
  33571. if test "$wxUSE_MAC" = 1 -o "$wxUSE_OLD_COCOA" = 1; then
  33572. WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
  33573. WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
  33574. LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
  33575. # Extract the first word of "DeRez", so it can be a program name with args.
  33576. set dummy DeRez; ac_word=$2
  33577. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  33578. $as_echo_n "checking for $ac_word... " >&6; }
  33579. if ${ac_cv_prog_DEREZ+:} false; then :
  33580. $as_echo_n "(cached) " >&6
  33581. else
  33582. if test -n "$DEREZ"; then
  33583. ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
  33584. else
  33585. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  33586. for as_dir in $PATH
  33587. do
  33588. IFS=$as_save_IFS
  33589. test -z "$as_dir" && as_dir=.
  33590. for ac_exec_ext in '' $ac_executable_extensions; do
  33591. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  33592. ac_cv_prog_DEREZ="DeRez"
  33593. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  33594. break 2
  33595. fi
  33596. done
  33597. done
  33598. IFS=$as_save_IFS
  33599. test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
  33600. fi
  33601. fi
  33602. DEREZ=$ac_cv_prog_DEREZ
  33603. if test -n "$DEREZ"; then
  33604. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DEREZ" >&5
  33605. $as_echo "$DEREZ" >&6; }
  33606. else
  33607. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33608. $as_echo "no" >&6; }
  33609. fi
  33610. MACSETFILE="\$(SETFILE)"
  33611. if test "$wxUSE_OSX_CARBON" = 1; then
  33612. POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
  33613. RESCOMP="$REZ"
  33614. WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
  33615. else
  33616. POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
  33617. RESCOMP="cat /dev/null \| $REZ"
  33618. WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
  33619. fi
  33620. else
  33621. MACSETFILE="@true"
  33622. if test "$wxUSE_PM" = 1; then
  33623. RESCOMP="emxbind"
  33624. WXCONFIG_RESFLAGS="-ep"
  33625. POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
  33626. else
  33627. POSTLINK_COMMAND="@true"
  33628. fi
  33629. fi
  33630. fi
  33631. if test $GCC_PCH = 1
  33632. then
  33633. if test "$wx_cv_gcc_pch_bug" = yes; then
  33634. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** Precompiled header support is broken on this compiler" >&5
  33635. $as_echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
  33636. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** --enable-precomp-headers is not recommended" >&5
  33637. $as_echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
  33638. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
  33639. $as_echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
  33640. fi
  33641. # Our WX_PRECOMP flag does not make sense for any language except C++ because
  33642. # the headers that benefit from precompilation are mostly C++ headers.
  33643. CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
  33644. # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
  33645. #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
  33646. fi
  33647. if test "$DEPS_TRACKING" = 1 -a "$wxUSE_MAC" = 1 ; then
  33648. if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
  33649. if test "x$disable_macosx_deps" = "xyes"; then
  33650. sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
  33651. mv temp bk-deps
  33652. chmod +x bk-deps
  33653. fi
  33654. fi
  33655. fi
  33656. if test "$wxUSE_SHARED" = "yes"; then
  33657. case "${host}" in
  33658. *-pc-os2_emx | *-pc-os2-emx )
  33659. SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
  33660. SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
  33661. cp -p ${srcdir}/src/os2/dllnames.sh .
  33662. cp -p ${srcdir}/src/os2/dllar.sh .
  33663. ;;
  33664. esac
  33665. fi
  33666. if test "$wxUSE_OMF" = "yes"; then
  33667. case "${host}" in
  33668. *-pc-os2_emx | *-pc-os2-emx )
  33669. LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
  33670. LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
  33671. WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
  33672. ;;
  33673. esac
  33674. fi
  33675. WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
  33676. case "${host}" in
  33677. *-*-solaris2* )
  33678. if test "$GCC" = yes; then
  33679. CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//g'`
  33680. LIBS=`echo $LIBS | sed 's/-mt//g'`
  33681. EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//g'`
  33682. fi
  33683. ;;
  33684. *-*-linux* )
  33685. if test "x$SUNCXX" = xyes; then
  33686. CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//g'`
  33687. LIBS=`echo $LIBS | sed 's/-pthread//g'`
  33688. EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//g'`
  33689. fi
  33690. ;;
  33691. esac
  33692. CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
  33693. CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
  33694. OBJCFLAGS="$OBJCFLAGS $CFLAGS_VISIBILITY"
  33695. OBJCXXFLAGS="$OBJCXXFLAGS $CXXFLAGS_VISIBILITY"
  33696. SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
  33697. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  33698. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  33699. set x ${MAKE-make}
  33700. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  33701. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  33702. $as_echo_n "(cached) " >&6
  33703. else
  33704. cat >conftest.make <<\_ACEOF
  33705. SHELL = /bin/sh
  33706. all:
  33707. @echo '@@@%%%=$(MAKE)=@@@%%%'
  33708. _ACEOF
  33709. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  33710. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  33711. *@@@%%%=?*=@@@%%%*)
  33712. eval ac_cv_prog_make_${ac_make}_set=yes;;
  33713. *)
  33714. eval ac_cv_prog_make_${ac_make}_set=no;;
  33715. esac
  33716. rm -f conftest.make
  33717. fi
  33718. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  33719. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  33720. $as_echo "yes" >&6; }
  33721. SET_MAKE=
  33722. else
  33723. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33724. $as_echo "no" >&6; }
  33725. SET_MAKE="MAKE=${MAKE-make}"
  33726. fi
  33727. ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
  33728. if test "$USE_WIN32" = 1; then
  33729. ac_config_commands="$ac_config_commands rcdefs.h"
  33730. fi
  33731. ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
  33732. ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
  33733. ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
  33734. if test "$wx_cv_version_script" = "yes"; then
  33735. ac_config_files="$ac_config_files version-script"
  33736. fi
  33737. ac_config_files="$ac_config_files Makefile"
  33738. ac_config_commands="$ac_config_commands wx-config"
  33739. if test "$wxWITH_SUBDIRS" != "no"; then
  33740. if test "$wxUSE_GUI" = "yes"; then
  33741. SUBDIRS="samples demos utils"
  33742. else
  33743. SUBDIRS="samples utils"
  33744. fi
  33745. # Check whether --with-cppunit-prefix was given.
  33746. if test "${with_cppunit_prefix+set}" = set; then :
  33747. withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
  33748. else
  33749. cppunit_config_prefix=""
  33750. fi
  33751. # Check whether --with-cppunit-exec-prefix was given.
  33752. if test "${with_cppunit_exec_prefix+set}" = set; then :
  33753. withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
  33754. else
  33755. cppunit_config_exec_prefix=""
  33756. fi
  33757. if test x$cppunit_config_exec_prefix != x ; then
  33758. cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
  33759. if test x${CPPUNIT_CONFIG+set} != xset ; then
  33760. CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
  33761. fi
  33762. fi
  33763. if test x$cppunit_config_prefix != x ; then
  33764. cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
  33765. if test x${CPPUNIT_CONFIG+set} != xset ; then
  33766. CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
  33767. fi
  33768. fi
  33769. # Extract the first word of "cppunit-config", so it can be a program name with args.
  33770. set dummy cppunit-config; ac_word=$2
  33771. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  33772. $as_echo_n "checking for $ac_word... " >&6; }
  33773. if ${ac_cv_path_CPPUNIT_CONFIG+:} false; then :
  33774. $as_echo_n "(cached) " >&6
  33775. else
  33776. case $CPPUNIT_CONFIG in
  33777. [\\/]* | ?:[\\/]*)
  33778. ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
  33779. ;;
  33780. *)
  33781. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  33782. for as_dir in $PATH
  33783. do
  33784. IFS=$as_save_IFS
  33785. test -z "$as_dir" && as_dir=.
  33786. for ac_exec_ext in '' $ac_executable_extensions; do
  33787. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  33788. ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
  33789. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  33790. break 2
  33791. fi
  33792. done
  33793. done
  33794. IFS=$as_save_IFS
  33795. test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
  33796. ;;
  33797. esac
  33798. fi
  33799. CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
  33800. if test -n "$CPPUNIT_CONFIG"; then
  33801. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPUNIT_CONFIG" >&5
  33802. $as_echo "$CPPUNIT_CONFIG" >&6; }
  33803. else
  33804. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33805. $as_echo "no" >&6; }
  33806. fi
  33807. cppunit_version_min=1.8.0
  33808. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for Cppunit - version >= $cppunit_version_min" >&5
  33809. $as_echo_n "checking for Cppunit - version >= $cppunit_version_min... " >&6; }
  33810. no_cppunit=""
  33811. if test "$CPPUNIT_CONFIG" = "no" ; then
  33812. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33813. $as_echo "no" >&6; }
  33814. no_cppunit=yes
  33815. else
  33816. CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
  33817. CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
  33818. cppunit_version=`$CPPUNIT_CONFIG --version`
  33819. cppunit_major_version=`echo $cppunit_version | \
  33820. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
  33821. cppunit_minor_version=`echo $cppunit_version | \
  33822. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
  33823. cppunit_micro_version=`echo $cppunit_version | \
  33824. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
  33825. cppunit_major_min=`echo $cppunit_version_min | \
  33826. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
  33827. cppunit_minor_min=`echo $cppunit_version_min | \
  33828. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
  33829. cppunit_micro_min=`echo $cppunit_version_min | \
  33830. sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
  33831. cppunit_version_proper=`expr \
  33832. $cppunit_major_version \> $cppunit_major_min \| \
  33833. $cppunit_major_version \= $cppunit_major_min \& \
  33834. $cppunit_minor_version \> $cppunit_minor_min \| \
  33835. $cppunit_major_version \= $cppunit_major_min \& \
  33836. $cppunit_minor_version \= $cppunit_minor_min \& \
  33837. $cppunit_micro_version \>= $cppunit_micro_min `
  33838. if test "$cppunit_version_proper" = "1" ; then
  33839. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
  33840. $as_echo "$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
  33841. else
  33842. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  33843. $as_echo "no" >&6; }
  33844. no_cppunit=yes
  33845. fi
  33846. fi
  33847. if test "x$no_cppunit" = x ; then
  33848. SUBDIRS="$SUBDIRS tests"
  33849. else
  33850. CPPUNIT_CFLAGS=""
  33851. CPPUNIT_LIBS=""
  33852. :
  33853. fi
  33854. for subdir in $SUBDIRS; do
  33855. if test -d ${srcdir}/${subdir} ; then
  33856. if test "$wxUSE_GUI" = "yes"; then
  33857. if test ${subdir} = "samples"; then
  33858. makefiles="samples/Makefile.in $makefiles"
  33859. for sample in $SAMPLES_SUBDIRS; do
  33860. if test -d $srcdir/samples/$sample; then
  33861. makefiles="samples/$sample/Makefile.in $makefiles"
  33862. fi
  33863. done
  33864. else
  33865. disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
  33866. eval "disabled=\$$disabled_var"
  33867. disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
  33868. makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
  33869. fi
  33870. else
  33871. if test ${subdir} = "samples"; then
  33872. makefiles="samples/Makefile.in $makefiles"
  33873. for sample in `echo $SAMPLES_SUBDIRS`; do
  33874. if test -d $srcdir/samples/$sample; then
  33875. makefiles="samples/$sample/Makefile.in $makefiles"
  33876. fi
  33877. done
  33878. elif test ${subdir} = "utils"; then
  33879. makefiles=""
  33880. for util in ifacecheck ; do
  33881. if test -d $srcdir/utils/$util ; then
  33882. makefiles="utils/$util/src/Makefile.in \
  33883. $makefiles"
  33884. fi
  33885. done
  33886. else
  33887. makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
  33888. fi
  33889. fi
  33890. for mkin in $makefiles ; do
  33891. mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
  33892. ac_config_files="$ac_config_files $mk"
  33893. done
  33894. fi
  33895. done
  33896. fi
  33897. cat >confcache <<\_ACEOF
  33898. # This file is a shell script that caches the results of configure
  33899. # tests run on this system so they can be shared between configure
  33900. # scripts and configure runs, see configure's option --config-cache.
  33901. # It is not useful on other systems. If it contains results you don't
  33902. # want to keep, you may remove or edit it.
  33903. #
  33904. # config.status only pays attention to the cache file if you give it
  33905. # the --recheck option to rerun configure.
  33906. #
  33907. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  33908. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  33909. # following values.
  33910. _ACEOF
  33911. # The following way of writing the cache mishandles newlines in values,
  33912. # but we know of no workaround that is simple, portable, and efficient.
  33913. # So, we kill variables containing newlines.
  33914. # Ultrix sh set writes to stderr and can't be redirected directly,
  33915. # and sets the high bit in the cache file unless we assign to the vars.
  33916. (
  33917. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  33918. eval ac_val=\$$ac_var
  33919. case $ac_val in #(
  33920. *${as_nl}*)
  33921. case $ac_var in #(
  33922. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  33923. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  33924. esac
  33925. case $ac_var in #(
  33926. _ | IFS | as_nl) ;; #(
  33927. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  33928. *) { eval $ac_var=; unset $ac_var;} ;;
  33929. esac ;;
  33930. esac
  33931. done
  33932. (set) 2>&1 |
  33933. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  33934. *${as_nl}ac_space=\ *)
  33935. # `set' does not quote correctly, so add quotes: double-quote
  33936. # substitution turns \\\\ into \\, and sed turns \\ into \.
  33937. sed -n \
  33938. "s/'/'\\\\''/g;
  33939. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  33940. ;; #(
  33941. *)
  33942. # `set' quotes correctly as required by POSIX, so do not add quotes.
  33943. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  33944. ;;
  33945. esac |
  33946. sort
  33947. ) |
  33948. sed '
  33949. /^ac_cv_env_/b end
  33950. t clear
  33951. :clear
  33952. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  33953. t end
  33954. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  33955. :end' >>confcache
  33956. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  33957. if test -w "$cache_file"; then
  33958. if test "x$cache_file" != "x/dev/null"; then
  33959. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  33960. $as_echo "$as_me: updating cache $cache_file" >&6;}
  33961. if test ! -f "$cache_file" || test -h "$cache_file"; then
  33962. cat confcache >"$cache_file"
  33963. else
  33964. case $cache_file in #(
  33965. */* | ?:*)
  33966. mv -f confcache "$cache_file"$$ &&
  33967. mv -f "$cache_file"$$ "$cache_file" ;; #(
  33968. *)
  33969. mv -f confcache "$cache_file" ;;
  33970. esac
  33971. fi
  33972. fi
  33973. else
  33974. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  33975. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  33976. fi
  33977. fi
  33978. rm -f confcache
  33979. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  33980. # Let make expand exec_prefix.
  33981. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  33982. DEFS=-DHAVE_CONFIG_H
  33983. ac_libobjs=
  33984. ac_ltlibobjs=
  33985. U=
  33986. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  33987. # 1. Remove the extension, and $U if already installed.
  33988. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  33989. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  33990. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  33991. # will be set to the directory where LIBOBJS objects are built.
  33992. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  33993. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  33994. done
  33995. LIBOBJS=$ac_libobjs
  33996. LTLIBOBJS=$ac_ltlibobjs
  33997. : "${CONFIG_STATUS=./config.status}"
  33998. ac_write_fail=0
  33999. ac_clean_files_save=$ac_clean_files
  34000. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  34001. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  34002. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  34003. as_write_fail=0
  34004. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  34005. #! $SHELL
  34006. # Generated by $as_me.
  34007. # Run this file to recreate the current configuration.
  34008. # Compiler output produced by configure, useful for debugging
  34009. # configure, is in config.log if it exists.
  34010. debug=false
  34011. ac_cs_recheck=false
  34012. ac_cs_silent=false
  34013. SHELL=\${CONFIG_SHELL-$SHELL}
  34014. export SHELL
  34015. _ASEOF
  34016. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  34017. ## -------------------- ##
  34018. ## M4sh Initialization. ##
  34019. ## -------------------- ##
  34020. # Be more Bourne compatible
  34021. DUALCASE=1; export DUALCASE # for MKS sh
  34022. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  34023. emulate sh
  34024. NULLCMD=:
  34025. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  34026. # is contrary to our usage. Disable this feature.
  34027. alias -g '${1+"$@"}'='"$@"'
  34028. setopt NO_GLOB_SUBST
  34029. else
  34030. case `(set -o) 2>/dev/null` in #(
  34031. *posix*) :
  34032. set -o posix ;; #(
  34033. *) :
  34034. ;;
  34035. esac
  34036. fi
  34037. as_nl='
  34038. '
  34039. export as_nl
  34040. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  34041. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  34042. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  34043. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  34044. # Prefer a ksh shell builtin over an external printf program on Solaris,
  34045. # but without wasting forks for bash or zsh.
  34046. if test -z "$BASH_VERSION$ZSH_VERSION" \
  34047. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  34048. as_echo='print -r --'
  34049. as_echo_n='print -rn --'
  34050. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  34051. as_echo='printf %s\n'
  34052. as_echo_n='printf %s'
  34053. else
  34054. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  34055. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  34056. as_echo_n='/usr/ucb/echo -n'
  34057. else
  34058. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  34059. as_echo_n_body='eval
  34060. arg=$1;
  34061. case $arg in #(
  34062. *"$as_nl"*)
  34063. expr "X$arg" : "X\\(.*\\)$as_nl";
  34064. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  34065. esac;
  34066. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  34067. '
  34068. export as_echo_n_body
  34069. as_echo_n='sh -c $as_echo_n_body as_echo'
  34070. fi
  34071. export as_echo_body
  34072. as_echo='sh -c $as_echo_body as_echo'
  34073. fi
  34074. # The user is always right.
  34075. if test "${PATH_SEPARATOR+set}" != set; then
  34076. PATH_SEPARATOR=:
  34077. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  34078. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  34079. PATH_SEPARATOR=';'
  34080. }
  34081. fi
  34082. # IFS
  34083. # We need space, tab and new line, in precisely that order. Quoting is
  34084. # there to prevent editors from complaining about space-tab.
  34085. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  34086. # splitting by setting IFS to empty value.)
  34087. IFS=" "" $as_nl"
  34088. # Find who we are. Look in the path if we contain no directory separator.
  34089. as_myself=
  34090. case $0 in #((
  34091. *[\\/]* ) as_myself=$0 ;;
  34092. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  34093. for as_dir in $PATH
  34094. do
  34095. IFS=$as_save_IFS
  34096. test -z "$as_dir" && as_dir=.
  34097. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  34098. done
  34099. IFS=$as_save_IFS
  34100. ;;
  34101. esac
  34102. # We did not find ourselves, most probably we were run as `sh COMMAND'
  34103. # in which case we are not to be found in the path.
  34104. if test "x$as_myself" = x; then
  34105. as_myself=$0
  34106. fi
  34107. if test ! -f "$as_myself"; then
  34108. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  34109. exit 1
  34110. fi
  34111. # Unset variables that we do not need and which cause bugs (e.g. in
  34112. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  34113. # suppresses any "Segmentation fault" message there. '((' could
  34114. # trigger a bug in pdksh 5.2.14.
  34115. for as_var in BASH_ENV ENV MAIL MAILPATH
  34116. do eval test x\${$as_var+set} = xset \
  34117. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  34118. done
  34119. PS1='$ '
  34120. PS2='> '
  34121. PS4='+ '
  34122. # NLS nuisances.
  34123. LC_ALL=C
  34124. export LC_ALL
  34125. LANGUAGE=C
  34126. export LANGUAGE
  34127. # CDPATH.
  34128. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  34129. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  34130. # ----------------------------------------
  34131. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  34132. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  34133. # script with STATUS, using 1 if that was 0.
  34134. as_fn_error ()
  34135. {
  34136. as_status=$1; test $as_status -eq 0 && as_status=1
  34137. if test "$4"; then
  34138. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  34139. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  34140. fi
  34141. $as_echo "$as_me: error: $2" >&2
  34142. as_fn_exit $as_status
  34143. } # as_fn_error
  34144. # as_fn_set_status STATUS
  34145. # -----------------------
  34146. # Set $? to STATUS, without forking.
  34147. as_fn_set_status ()
  34148. {
  34149. return $1
  34150. } # as_fn_set_status
  34151. # as_fn_exit STATUS
  34152. # -----------------
  34153. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  34154. as_fn_exit ()
  34155. {
  34156. set +e
  34157. as_fn_set_status $1
  34158. exit $1
  34159. } # as_fn_exit
  34160. # as_fn_unset VAR
  34161. # ---------------
  34162. # Portably unset VAR.
  34163. as_fn_unset ()
  34164. {
  34165. { eval $1=; unset $1;}
  34166. }
  34167. as_unset=as_fn_unset
  34168. # as_fn_append VAR VALUE
  34169. # ----------------------
  34170. # Append the text in VALUE to the end of the definition contained in VAR. Take
  34171. # advantage of any shell optimizations that allow amortized linear growth over
  34172. # repeated appends, instead of the typical quadratic growth present in naive
  34173. # implementations.
  34174. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  34175. eval 'as_fn_append ()
  34176. {
  34177. eval $1+=\$2
  34178. }'
  34179. else
  34180. as_fn_append ()
  34181. {
  34182. eval $1=\$$1\$2
  34183. }
  34184. fi # as_fn_append
  34185. # as_fn_arith ARG...
  34186. # ------------------
  34187. # Perform arithmetic evaluation on the ARGs, and store the result in the
  34188. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  34189. # must be portable across $(()) and expr.
  34190. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  34191. eval 'as_fn_arith ()
  34192. {
  34193. as_val=$(( $* ))
  34194. }'
  34195. else
  34196. as_fn_arith ()
  34197. {
  34198. as_val=`expr "$@" || test $? -eq 1`
  34199. }
  34200. fi # as_fn_arith
  34201. if expr a : '\(a\)' >/dev/null 2>&1 &&
  34202. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  34203. as_expr=expr
  34204. else
  34205. as_expr=false
  34206. fi
  34207. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  34208. as_basename=basename
  34209. else
  34210. as_basename=false
  34211. fi
  34212. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  34213. as_dirname=dirname
  34214. else
  34215. as_dirname=false
  34216. fi
  34217. as_me=`$as_basename -- "$0" ||
  34218. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  34219. X"$0" : 'X\(//\)$' \| \
  34220. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  34221. $as_echo X/"$0" |
  34222. sed '/^.*\/\([^/][^/]*\)\/*$/{
  34223. s//\1/
  34224. q
  34225. }
  34226. /^X\/\(\/\/\)$/{
  34227. s//\1/
  34228. q
  34229. }
  34230. /^X\/\(\/\).*/{
  34231. s//\1/
  34232. q
  34233. }
  34234. s/.*/./; q'`
  34235. # Avoid depending upon Character Ranges.
  34236. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  34237. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  34238. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  34239. as_cr_digits='0123456789'
  34240. as_cr_alnum=$as_cr_Letters$as_cr_digits
  34241. ECHO_C= ECHO_N= ECHO_T=
  34242. case `echo -n x` in #(((((
  34243. -n*)
  34244. case `echo 'xy\c'` in
  34245. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  34246. xy) ECHO_C='\c';;
  34247. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  34248. ECHO_T=' ';;
  34249. esac;;
  34250. *)
  34251. ECHO_N='-n';;
  34252. esac
  34253. rm -f conf$$ conf$$.exe conf$$.file
  34254. if test -d conf$$.dir; then
  34255. rm -f conf$$.dir/conf$$.file
  34256. else
  34257. rm -f conf$$.dir
  34258. mkdir conf$$.dir 2>/dev/null
  34259. fi
  34260. if (echo >conf$$.file) 2>/dev/null; then
  34261. if ln -s conf$$.file conf$$ 2>/dev/null; then
  34262. as_ln_s='ln -s'
  34263. # ... but there are two gotchas:
  34264. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  34265. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  34266. # In both cases, we have to default to `cp -pR'.
  34267. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  34268. as_ln_s='cp -pR'
  34269. elif ln conf$$.file conf$$ 2>/dev/null; then
  34270. as_ln_s=ln
  34271. else
  34272. as_ln_s='cp -pR'
  34273. fi
  34274. else
  34275. as_ln_s='cp -pR'
  34276. fi
  34277. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  34278. rmdir conf$$.dir 2>/dev/null
  34279. # as_fn_mkdir_p
  34280. # -------------
  34281. # Create "$as_dir" as a directory, including parents if necessary.
  34282. as_fn_mkdir_p ()
  34283. {
  34284. case $as_dir in #(
  34285. -*) as_dir=./$as_dir;;
  34286. esac
  34287. test -d "$as_dir" || eval $as_mkdir_p || {
  34288. as_dirs=
  34289. while :; do
  34290. case $as_dir in #(
  34291. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  34292. *) as_qdir=$as_dir;;
  34293. esac
  34294. as_dirs="'$as_qdir' $as_dirs"
  34295. as_dir=`$as_dirname -- "$as_dir" ||
  34296. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  34297. X"$as_dir" : 'X\(//\)[^/]' \| \
  34298. X"$as_dir" : 'X\(//\)$' \| \
  34299. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  34300. $as_echo X"$as_dir" |
  34301. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  34302. s//\1/
  34303. q
  34304. }
  34305. /^X\(\/\/\)[^/].*/{
  34306. s//\1/
  34307. q
  34308. }
  34309. /^X\(\/\/\)$/{
  34310. s//\1/
  34311. q
  34312. }
  34313. /^X\(\/\).*/{
  34314. s//\1/
  34315. q
  34316. }
  34317. s/.*/./; q'`
  34318. test -d "$as_dir" && break
  34319. done
  34320. test -z "$as_dirs" || eval "mkdir $as_dirs"
  34321. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  34322. } # as_fn_mkdir_p
  34323. if mkdir -p . 2>/dev/null; then
  34324. as_mkdir_p='mkdir -p "$as_dir"'
  34325. else
  34326. test -d ./-p && rmdir ./-p
  34327. as_mkdir_p=false
  34328. fi
  34329. # as_fn_executable_p FILE
  34330. # -----------------------
  34331. # Test if FILE is an executable regular file.
  34332. as_fn_executable_p ()
  34333. {
  34334. test -f "$1" && test -x "$1"
  34335. } # as_fn_executable_p
  34336. as_test_x='test -x'
  34337. as_executable_p=as_fn_executable_p
  34338. # Sed expression to map a string onto a valid CPP name.
  34339. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  34340. # Sed expression to map a string onto a valid variable name.
  34341. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  34342. exec 6>&1
  34343. ## ----------------------------------- ##
  34344. ## Main body of $CONFIG_STATUS script. ##
  34345. ## ----------------------------------- ##
  34346. _ASEOF
  34347. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  34348. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  34349. # Save the log message, to keep $0 and so on meaningful, and to
  34350. # report actual input values of CONFIG_FILES etc. instead of their
  34351. # values after options handling.
  34352. ac_log="
  34353. This file was extended by wxWidgets $as_me 3.0.2, which was
  34354. generated by GNU Autoconf 2.69. Invocation command line was
  34355. CONFIG_FILES = $CONFIG_FILES
  34356. CONFIG_HEADERS = $CONFIG_HEADERS
  34357. CONFIG_LINKS = $CONFIG_LINKS
  34358. CONFIG_COMMANDS = $CONFIG_COMMANDS
  34359. $ $0 $@
  34360. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  34361. "
  34362. _ACEOF
  34363. case $ac_config_files in *"
  34364. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  34365. esac
  34366. case $ac_config_headers in *"
  34367. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  34368. esac
  34369. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  34370. # Files that config.status was made for.
  34371. config_files="$ac_config_files"
  34372. config_headers="$ac_config_headers"
  34373. config_commands="$ac_config_commands"
  34374. _ACEOF
  34375. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  34376. ac_cs_usage="\
  34377. \`$as_me' instantiates files and other configuration actions
  34378. from templates according to the current configuration. Unless the files
  34379. and actions are specified as TAGs, all are instantiated by default.
  34380. Usage: $0 [OPTION]... [TAG]...
  34381. -h, --help print this help, then exit
  34382. -V, --version print version number and configuration settings, then exit
  34383. --config print configuration, then exit
  34384. -q, --quiet, --silent
  34385. do not print progress messages
  34386. -d, --debug don't remove temporary files
  34387. --recheck update $as_me by reconfiguring in the same conditions
  34388. --file=FILE[:TEMPLATE]
  34389. instantiate the configuration file FILE
  34390. --header=FILE[:TEMPLATE]
  34391. instantiate the configuration header FILE
  34392. Configuration files:
  34393. $config_files
  34394. Configuration headers:
  34395. $config_headers
  34396. Configuration commands:
  34397. $config_commands
  34398. Report bugs to <wx-dev@lists.wxwidgets.org>."
  34399. _ACEOF
  34400. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  34401. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  34402. ac_cs_version="\\
  34403. wxWidgets config.status 3.0.2
  34404. configured by $0, generated by GNU Autoconf 2.69,
  34405. with options \\"\$ac_cs_config\\"
  34406. Copyright (C) 2012 Free Software Foundation, Inc.
  34407. This config.status script is free software; the Free Software Foundation
  34408. gives unlimited permission to copy, distribute and modify it."
  34409. ac_pwd='$ac_pwd'
  34410. srcdir='$srcdir'
  34411. INSTALL='$INSTALL'
  34412. test -n "\$AWK" || AWK=awk
  34413. _ACEOF
  34414. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  34415. # The default lists apply if the user does not specify any file.
  34416. ac_need_defaults=:
  34417. while test $# != 0
  34418. do
  34419. case $1 in
  34420. --*=?*)
  34421. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  34422. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  34423. ac_shift=:
  34424. ;;
  34425. --*=)
  34426. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  34427. ac_optarg=
  34428. ac_shift=:
  34429. ;;
  34430. *)
  34431. ac_option=$1
  34432. ac_optarg=$2
  34433. ac_shift=shift
  34434. ;;
  34435. esac
  34436. case $ac_option in
  34437. # Handling of the options.
  34438. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  34439. ac_cs_recheck=: ;;
  34440. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  34441. $as_echo "$ac_cs_version"; exit ;;
  34442. --config | --confi | --conf | --con | --co | --c )
  34443. $as_echo "$ac_cs_config"; exit ;;
  34444. --debug | --debu | --deb | --de | --d | -d )
  34445. debug=: ;;
  34446. --file | --fil | --fi | --f )
  34447. $ac_shift
  34448. case $ac_optarg in
  34449. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  34450. '') as_fn_error $? "missing file argument" ;;
  34451. esac
  34452. as_fn_append CONFIG_FILES " '$ac_optarg'"
  34453. ac_need_defaults=false;;
  34454. --header | --heade | --head | --hea )
  34455. $ac_shift
  34456. case $ac_optarg in
  34457. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  34458. esac
  34459. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  34460. ac_need_defaults=false;;
  34461. --he | --h)
  34462. # Conflict between --help and --header
  34463. as_fn_error $? "ambiguous option: \`$1'
  34464. Try \`$0 --help' for more information.";;
  34465. --help | --hel | -h )
  34466. $as_echo "$ac_cs_usage"; exit ;;
  34467. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  34468. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  34469. ac_cs_silent=: ;;
  34470. # This is an error.
  34471. -*) as_fn_error $? "unrecognized option: \`$1'
  34472. Try \`$0 --help' for more information." ;;
  34473. *) as_fn_append ac_config_targets " $1"
  34474. ac_need_defaults=false ;;
  34475. esac
  34476. shift
  34477. done
  34478. ac_configure_extra_args=
  34479. if $ac_cs_silent; then
  34480. exec 6>/dev/null
  34481. ac_configure_extra_args="$ac_configure_extra_args --silent"
  34482. fi
  34483. _ACEOF
  34484. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  34485. if \$ac_cs_recheck; then
  34486. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  34487. shift
  34488. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  34489. CONFIG_SHELL='$SHELL'
  34490. export CONFIG_SHELL
  34491. exec "\$@"
  34492. fi
  34493. _ACEOF
  34494. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  34495. exec 5>>config.log
  34496. {
  34497. echo
  34498. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  34499. ## Running $as_me. ##
  34500. _ASBOX
  34501. $as_echo "$ac_log"
  34502. } >&5
  34503. _ACEOF
  34504. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  34505. #
  34506. # INIT-COMMANDS
  34507. #
  34508. CPP="$CPP"
  34509. infile="$srcdir/include/wx/msw/genrcdefs.h"
  34510. outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
  34511. TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
  34512. TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
  34513. TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
  34514. LN_S="${LN_S}"
  34515. _ACEOF
  34516. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  34517. # Handling of arguments.
  34518. for ac_config_target in $ac_config_targets
  34519. do
  34520. case $ac_config_target in
  34521. "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
  34522. "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
  34523. "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
  34524. "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
  34525. "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
  34526. "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
  34527. "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
  34528. "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
  34529. "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
  34530. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  34531. esac
  34532. done
  34533. # If the user did not use the arguments to specify the items to instantiate,
  34534. # then the envvar interface is used. Set only those that are not.
  34535. # We use the long form for the default assignment because of an extremely
  34536. # bizarre bug on SunOS 4.1.3.
  34537. if $ac_need_defaults; then
  34538. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  34539. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  34540. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  34541. fi
  34542. # Have a temporary directory for convenience. Make it in the build tree
  34543. # simply because there is no reason against having it here, and in addition,
  34544. # creating and moving files from /tmp can sometimes cause problems.
  34545. # Hook for its removal unless debugging.
  34546. # Note that there is a small window in which the directory will not be cleaned:
  34547. # after its creation but before its name has been assigned to `$tmp'.
  34548. $debug ||
  34549. {
  34550. tmp= ac_tmp=
  34551. trap 'exit_status=$?
  34552. : "${ac_tmp:=$tmp}"
  34553. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  34554. ' 0
  34555. trap 'as_fn_exit 1' 1 2 13 15
  34556. }
  34557. # Create a (secure) tmp directory for tmp files.
  34558. {
  34559. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  34560. test -d "$tmp"
  34561. } ||
  34562. {
  34563. tmp=./conf$$-$RANDOM
  34564. (umask 077 && mkdir "$tmp")
  34565. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  34566. ac_tmp=$tmp
  34567. # Set up the scripts for CONFIG_FILES section.
  34568. # No need to generate them if there are no CONFIG_FILES.
  34569. # This happens for instance with `./config.status config.h'.
  34570. if test -n "$CONFIG_FILES"; then
  34571. ac_cr=`echo X | tr X '\015'`
  34572. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  34573. # But we know of no other shell where ac_cr would be empty at this
  34574. # point, so we can use a bashism as a fallback.
  34575. if test "x$ac_cr" = x; then
  34576. eval ac_cr=\$\'\\r\'
  34577. fi
  34578. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  34579. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  34580. ac_cs_awk_cr='\\r'
  34581. else
  34582. ac_cs_awk_cr=$ac_cr
  34583. fi
  34584. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  34585. _ACEOF
  34586. {
  34587. echo "cat >conf$$subs.awk <<_ACEOF" &&
  34588. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  34589. echo "_ACEOF"
  34590. } >conf$$subs.sh ||
  34591. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  34592. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  34593. ac_delim='%!_!# '
  34594. for ac_last_try in false false false false false :; do
  34595. . ./conf$$subs.sh ||
  34596. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  34597. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  34598. if test $ac_delim_n = $ac_delim_num; then
  34599. break
  34600. elif $ac_last_try; then
  34601. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  34602. else
  34603. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  34604. fi
  34605. done
  34606. rm -f conf$$subs.sh
  34607. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  34608. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  34609. _ACEOF
  34610. sed -n '
  34611. h
  34612. s/^/S["/; s/!.*/"]=/
  34613. p
  34614. g
  34615. s/^[^!]*!//
  34616. :repl
  34617. t repl
  34618. s/'"$ac_delim"'$//
  34619. t delim
  34620. :nl
  34621. h
  34622. s/\(.\{148\}\)..*/\1/
  34623. t more1
  34624. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  34625. p
  34626. n
  34627. b repl
  34628. :more1
  34629. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  34630. p
  34631. g
  34632. s/.\{148\}//
  34633. t nl
  34634. :delim
  34635. h
  34636. s/\(.\{148\}\)..*/\1/
  34637. t more2
  34638. s/["\\]/\\&/g; s/^/"/; s/$/"/
  34639. p
  34640. b
  34641. :more2
  34642. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  34643. p
  34644. g
  34645. s/.\{148\}//
  34646. t delim
  34647. ' <conf$$subs.awk | sed '
  34648. /^[^""]/{
  34649. N
  34650. s/\n//
  34651. }
  34652. ' >>$CONFIG_STATUS || ac_write_fail=1
  34653. rm -f conf$$subs.awk
  34654. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  34655. _ACAWK
  34656. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  34657. for (key in S) S_is_set[key] = 1
  34658. FS = ""
  34659. }
  34660. {
  34661. line = $ 0
  34662. nfields = split(line, field, "@")
  34663. substed = 0
  34664. len = length(field[1])
  34665. for (i = 2; i < nfields; i++) {
  34666. key = field[i]
  34667. keylen = length(key)
  34668. if (S_is_set[key]) {
  34669. value = S[key]
  34670. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  34671. len += length(value) + length(field[++i])
  34672. substed = 1
  34673. } else
  34674. len += 1 + keylen
  34675. }
  34676. print line
  34677. }
  34678. _ACAWK
  34679. _ACEOF
  34680. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  34681. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  34682. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  34683. else
  34684. cat
  34685. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  34686. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  34687. _ACEOF
  34688. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  34689. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  34690. # trailing colons and then remove the whole line if VPATH becomes empty
  34691. # (actually we leave an empty line to preserve line numbers).
  34692. if test "x$srcdir" = x.; then
  34693. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  34694. h
  34695. s///
  34696. s/^/:/
  34697. s/[ ]*$/:/
  34698. s/:\$(srcdir):/:/g
  34699. s/:\${srcdir}:/:/g
  34700. s/:@srcdir@:/:/g
  34701. s/^:*//
  34702. s/:*$//
  34703. x
  34704. s/\(=[ ]*\).*/\1/
  34705. G
  34706. s/\n//
  34707. s/^[^=]*=[ ]*$//
  34708. }'
  34709. fi
  34710. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  34711. fi # test -n "$CONFIG_FILES"
  34712. # Set up the scripts for CONFIG_HEADERS section.
  34713. # No need to generate them if there are no CONFIG_HEADERS.
  34714. # This happens for instance with `./config.status Makefile'.
  34715. if test -n "$CONFIG_HEADERS"; then
  34716. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  34717. BEGIN {
  34718. _ACEOF
  34719. # Transform confdefs.h into an awk script `defines.awk', embedded as
  34720. # here-document in config.status, that substitutes the proper values into
  34721. # config.h.in to produce config.h.
  34722. # Create a delimiter string that does not exist in confdefs.h, to ease
  34723. # handling of long lines.
  34724. ac_delim='%!_!# '
  34725. for ac_last_try in false false :; do
  34726. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  34727. if test -z "$ac_tt"; then
  34728. break
  34729. elif $ac_last_try; then
  34730. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  34731. else
  34732. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  34733. fi
  34734. done
  34735. # For the awk script, D is an array of macro values keyed by name,
  34736. # likewise P contains macro parameters if any. Preserve backslash
  34737. # newline sequences.
  34738. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  34739. sed -n '
  34740. s/.\{148\}/&'"$ac_delim"'/g
  34741. t rset
  34742. :rset
  34743. s/^[ ]*#[ ]*define[ ][ ]*/ /
  34744. t def
  34745. d
  34746. :def
  34747. s/\\$//
  34748. t bsnl
  34749. s/["\\]/\\&/g
  34750. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  34751. D["\1"]=" \3"/p
  34752. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  34753. d
  34754. :bsnl
  34755. s/["\\]/\\&/g
  34756. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  34757. D["\1"]=" \3\\\\\\n"\\/p
  34758. t cont
  34759. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  34760. t cont
  34761. d
  34762. :cont
  34763. n
  34764. s/.\{148\}/&'"$ac_delim"'/g
  34765. t clear
  34766. :clear
  34767. s/\\$//
  34768. t bsnlc
  34769. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  34770. d
  34771. :bsnlc
  34772. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  34773. b cont
  34774. ' <confdefs.h | sed '
  34775. s/'"$ac_delim"'/"\\\
  34776. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  34777. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  34778. for (key in D) D_is_set[key] = 1
  34779. FS = ""
  34780. }
  34781. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  34782. line = \$ 0
  34783. split(line, arg, " ")
  34784. if (arg[1] == "#") {
  34785. defundef = arg[2]
  34786. mac1 = arg[3]
  34787. } else {
  34788. defundef = substr(arg[1], 2)
  34789. mac1 = arg[2]
  34790. }
  34791. split(mac1, mac2, "(") #)
  34792. macro = mac2[1]
  34793. prefix = substr(line, 1, index(line, defundef) - 1)
  34794. if (D_is_set[macro]) {
  34795. # Preserve the white space surrounding the "#".
  34796. print prefix "define", macro P[macro] D[macro]
  34797. next
  34798. } else {
  34799. # Replace #undef with comments. This is necessary, for example,
  34800. # in the case of _POSIX_SOURCE, which is predefined and required
  34801. # on some systems where configure will not decide to define it.
  34802. if (defundef == "undef") {
  34803. print "/*", prefix defundef, macro, "*/"
  34804. next
  34805. }
  34806. }
  34807. }
  34808. { print }
  34809. _ACAWK
  34810. _ACEOF
  34811. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  34812. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  34813. fi # test -n "$CONFIG_HEADERS"
  34814. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS"
  34815. shift
  34816. for ac_tag
  34817. do
  34818. case $ac_tag in
  34819. :[FHLC]) ac_mode=$ac_tag; continue;;
  34820. esac
  34821. case $ac_mode$ac_tag in
  34822. :[FHL]*:*);;
  34823. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  34824. :[FH]-) ac_tag=-:-;;
  34825. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  34826. esac
  34827. ac_save_IFS=$IFS
  34828. IFS=:
  34829. set x $ac_tag
  34830. IFS=$ac_save_IFS
  34831. shift
  34832. ac_file=$1
  34833. shift
  34834. case $ac_mode in
  34835. :L) ac_source=$1;;
  34836. :[FH])
  34837. ac_file_inputs=
  34838. for ac_f
  34839. do
  34840. case $ac_f in
  34841. -) ac_f="$ac_tmp/stdin";;
  34842. *) # Look for the file first in the build tree, then in the source tree
  34843. # (if the path is not absolute). The absolute path cannot be DOS-style,
  34844. # because $ac_f cannot contain `:'.
  34845. test -f "$ac_f" ||
  34846. case $ac_f in
  34847. [\\/$]*) false;;
  34848. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  34849. esac ||
  34850. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  34851. esac
  34852. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  34853. as_fn_append ac_file_inputs " '$ac_f'"
  34854. done
  34855. # Let's still pretend it is `configure' which instantiates (i.e., don't
  34856. # use $as_me), people would be surprised to read:
  34857. # /* config.h. Generated by config.status. */
  34858. configure_input='Generated from '`
  34859. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  34860. `' by configure.'
  34861. if test x"$ac_file" != x-; then
  34862. configure_input="$ac_file. $configure_input"
  34863. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  34864. $as_echo "$as_me: creating $ac_file" >&6;}
  34865. fi
  34866. # Neutralize special characters interpreted by sed in replacement strings.
  34867. case $configure_input in #(
  34868. *\&* | *\|* | *\\* )
  34869. ac_sed_conf_input=`$as_echo "$configure_input" |
  34870. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  34871. *) ac_sed_conf_input=$configure_input;;
  34872. esac
  34873. case $ac_tag in
  34874. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  34875. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  34876. esac
  34877. ;;
  34878. esac
  34879. ac_dir=`$as_dirname -- "$ac_file" ||
  34880. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  34881. X"$ac_file" : 'X\(//\)[^/]' \| \
  34882. X"$ac_file" : 'X\(//\)$' \| \
  34883. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  34884. $as_echo X"$ac_file" |
  34885. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  34886. s//\1/
  34887. q
  34888. }
  34889. /^X\(\/\/\)[^/].*/{
  34890. s//\1/
  34891. q
  34892. }
  34893. /^X\(\/\/\)$/{
  34894. s//\1/
  34895. q
  34896. }
  34897. /^X\(\/\).*/{
  34898. s//\1/
  34899. q
  34900. }
  34901. s/.*/./; q'`
  34902. as_dir="$ac_dir"; as_fn_mkdir_p
  34903. ac_builddir=.
  34904. case "$ac_dir" in
  34905. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  34906. *)
  34907. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  34908. # A ".." for each directory in $ac_dir_suffix.
  34909. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  34910. case $ac_top_builddir_sub in
  34911. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  34912. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  34913. esac ;;
  34914. esac
  34915. ac_abs_top_builddir=$ac_pwd
  34916. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  34917. # for backward compatibility:
  34918. ac_top_builddir=$ac_top_build_prefix
  34919. case $srcdir in
  34920. .) # We are building in place.
  34921. ac_srcdir=.
  34922. ac_top_srcdir=$ac_top_builddir_sub
  34923. ac_abs_top_srcdir=$ac_pwd ;;
  34924. [\\/]* | ?:[\\/]* ) # Absolute name.
  34925. ac_srcdir=$srcdir$ac_dir_suffix;
  34926. ac_top_srcdir=$srcdir
  34927. ac_abs_top_srcdir=$srcdir ;;
  34928. *) # Relative name.
  34929. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  34930. ac_top_srcdir=$ac_top_build_prefix$srcdir
  34931. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  34932. esac
  34933. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  34934. case $ac_mode in
  34935. :F)
  34936. #
  34937. # CONFIG_FILE
  34938. #
  34939. case $INSTALL in
  34940. [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
  34941. *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
  34942. esac
  34943. _ACEOF
  34944. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  34945. # If the template does not know about datarootdir, expand it.
  34946. # FIXME: This hack should be removed a few years after 2.60.
  34947. ac_datarootdir_hack=; ac_datarootdir_seen=
  34948. ac_sed_dataroot='
  34949. /datarootdir/ {
  34950. p
  34951. q
  34952. }
  34953. /@datadir@/p
  34954. /@docdir@/p
  34955. /@infodir@/p
  34956. /@localedir@/p
  34957. /@mandir@/p'
  34958. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  34959. *datarootdir*) ac_datarootdir_seen=yes;;
  34960. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  34961. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  34962. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  34963. _ACEOF
  34964. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  34965. ac_datarootdir_hack='
  34966. s&@datadir@&$datadir&g
  34967. s&@docdir@&$docdir&g
  34968. s&@infodir@&$infodir&g
  34969. s&@localedir@&$localedir&g
  34970. s&@mandir@&$mandir&g
  34971. s&\\\${datarootdir}&$datarootdir&g' ;;
  34972. esac
  34973. _ACEOF
  34974. # Neutralize VPATH when `$srcdir' = `.'.
  34975. # Shell code in configure.ac might set extrasub.
  34976. # FIXME: do we really want to maintain this feature?
  34977. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  34978. ac_sed_extra="$ac_vpsub
  34979. $extrasub
  34980. _ACEOF
  34981. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  34982. :t
  34983. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  34984. s|@configure_input@|$ac_sed_conf_input|;t t
  34985. s&@top_builddir@&$ac_top_builddir_sub&;t t
  34986. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  34987. s&@srcdir@&$ac_srcdir&;t t
  34988. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  34989. s&@top_srcdir@&$ac_top_srcdir&;t t
  34990. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  34991. s&@builddir@&$ac_builddir&;t t
  34992. s&@abs_builddir@&$ac_abs_builddir&;t t
  34993. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  34994. s&@INSTALL@&$ac_INSTALL&;t t
  34995. $ac_datarootdir_hack
  34996. "
  34997. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  34998. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  34999. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  35000. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  35001. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  35002. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  35003. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  35004. which seems to be undefined. Please make sure it is defined" >&5
  35005. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  35006. which seems to be undefined. Please make sure it is defined" >&2;}
  35007. rm -f "$ac_tmp/stdin"
  35008. case $ac_file in
  35009. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  35010. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  35011. esac \
  35012. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  35013. ;;
  35014. :H)
  35015. #
  35016. # CONFIG_HEADER
  35017. #
  35018. if test x"$ac_file" != x-; then
  35019. {
  35020. $as_echo "/* $configure_input */" \
  35021. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  35022. } >"$ac_tmp/config.h" \
  35023. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  35024. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  35025. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  35026. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  35027. else
  35028. rm -f "$ac_file"
  35029. mv "$ac_tmp/config.h" "$ac_file" \
  35030. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  35031. fi
  35032. else
  35033. $as_echo "/* $configure_input */" \
  35034. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  35035. || as_fn_error $? "could not create -" "$LINENO" 5
  35036. fi
  35037. ;;
  35038. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  35039. $as_echo "$as_me: executing $ac_file commands" >&6;}
  35040. ;;
  35041. esac
  35042. case $ac_file$ac_mode in
  35043. "rcdefs.h":C)
  35044. mkdir -p $outdir &&
  35045. $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
  35046. ;;
  35047. "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
  35048. "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
  35049. "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
  35050. "wx-config":C) rm -f wx-config
  35051. ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
  35052. ;;
  35053. esac
  35054. done # for ac_tag
  35055. as_fn_exit 0
  35056. _ACEOF
  35057. ac_clean_files=$ac_clean_files_save
  35058. test $ac_write_fail = 0 ||
  35059. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  35060. # configure is writing to config.log, and then calls config.status.
  35061. # config.status does its own redirection, appending to config.log.
  35062. # Unfortunately, on DOS this fails, as config.log is still kept open
  35063. # by configure, so config.status won't be able to write to it; its
  35064. # output is simply discarded. So we exec the FD to /dev/null,
  35065. # effectively closing config.log, so it can be properly (re)opened and
  35066. # appended to by config.status. When coming back to configure, we
  35067. # need to make the FD available again.
  35068. if test "$no_create" != yes; then
  35069. ac_cs_success=:
  35070. ac_config_status_args=
  35071. test "$silent" = yes &&
  35072. ac_config_status_args="$ac_config_status_args --quiet"
  35073. exec 5>/dev/null
  35074. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  35075. exec 5>>config.log
  35076. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  35077. # would make configure fail if this is the last instruction.
  35078. $ac_cs_success || as_fn_exit 1
  35079. fi
  35080. #
  35081. # CONFIG_SUBDIRS section.
  35082. #
  35083. if test "$no_recursion" != yes; then
  35084. # Remove --cache-file, --srcdir, and --disable-option-checking arguments
  35085. # so they do not pile up.
  35086. ac_sub_configure_args=
  35087. ac_prev=
  35088. eval "set x $ac_configure_args"
  35089. shift
  35090. for ac_arg
  35091. do
  35092. if test -n "$ac_prev"; then
  35093. ac_prev=
  35094. continue
  35095. fi
  35096. case $ac_arg in
  35097. -cache-file | --cache-file | --cache-fil | --cache-fi \
  35098. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  35099. ac_prev=cache_file ;;
  35100. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  35101. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
  35102. | --c=*)
  35103. ;;
  35104. --config-cache | -C)
  35105. ;;
  35106. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  35107. ac_prev=srcdir ;;
  35108. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  35109. ;;
  35110. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  35111. ac_prev=prefix ;;
  35112. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  35113. ;;
  35114. --disable-option-checking)
  35115. ;;
  35116. *)
  35117. case $ac_arg in
  35118. *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  35119. esac
  35120. as_fn_append ac_sub_configure_args " '$ac_arg'" ;;
  35121. esac
  35122. done
  35123. # Always prepend --prefix to ensure using the same prefix
  35124. # in subdir configurations.
  35125. ac_arg="--prefix=$prefix"
  35126. case $ac_arg in
  35127. *\'*) ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  35128. esac
  35129. ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
  35130. # Pass --silent
  35131. if test "$silent" = yes; then
  35132. ac_sub_configure_args="--silent $ac_sub_configure_args"
  35133. fi
  35134. # Always prepend --disable-option-checking to silence warnings, since
  35135. # different subdirs can have different --enable and --with options.
  35136. ac_sub_configure_args="--disable-option-checking $ac_sub_configure_args"
  35137. ac_popdir=`pwd`
  35138. for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
  35139. # Do not complain, so a configure script can configure whichever
  35140. # parts of a large source tree are present.
  35141. test -d "$srcdir/$ac_dir" || continue
  35142. ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
  35143. $as_echo "$as_me:${as_lineno-$LINENO}: $ac_msg" >&5
  35144. $as_echo "$ac_msg" >&6
  35145. as_dir="$ac_dir"; as_fn_mkdir_p
  35146. ac_builddir=.
  35147. case "$ac_dir" in
  35148. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  35149. *)
  35150. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  35151. # A ".." for each directory in $ac_dir_suffix.
  35152. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  35153. case $ac_top_builddir_sub in
  35154. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  35155. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  35156. esac ;;
  35157. esac
  35158. ac_abs_top_builddir=$ac_pwd
  35159. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  35160. # for backward compatibility:
  35161. ac_top_builddir=$ac_top_build_prefix
  35162. case $srcdir in
  35163. .) # We are building in place.
  35164. ac_srcdir=.
  35165. ac_top_srcdir=$ac_top_builddir_sub
  35166. ac_abs_top_srcdir=$ac_pwd ;;
  35167. [\\/]* | ?:[\\/]* ) # Absolute name.
  35168. ac_srcdir=$srcdir$ac_dir_suffix;
  35169. ac_top_srcdir=$srcdir
  35170. ac_abs_top_srcdir=$srcdir ;;
  35171. *) # Relative name.
  35172. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  35173. ac_top_srcdir=$ac_top_build_prefix$srcdir
  35174. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  35175. esac
  35176. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  35177. cd "$ac_dir"
  35178. # Check for guested configure; otherwise get Cygnus style configure.
  35179. if test -f "$ac_srcdir/configure.gnu"; then
  35180. ac_sub_configure=$ac_srcdir/configure.gnu
  35181. elif test -f "$ac_srcdir/configure"; then
  35182. ac_sub_configure=$ac_srcdir/configure
  35183. elif test -f "$ac_srcdir/configure.in"; then
  35184. # This should be Cygnus configure.
  35185. ac_sub_configure=$ac_aux_dir/configure
  35186. else
  35187. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: no configuration information is in $ac_dir" >&5
  35188. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
  35189. ac_sub_configure=
  35190. fi
  35191. # The recursion is here.
  35192. if test -n "$ac_sub_configure"; then
  35193. # Make the cache file name correct relative to the subdirectory.
  35194. case $cache_file in
  35195. [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
  35196. *) # Relative name.
  35197. ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
  35198. esac
  35199. { $as_echo "$as_me:${as_lineno-$LINENO}: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
  35200. $as_echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
  35201. # The eval makes quoting arguments work.
  35202. eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
  35203. --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
  35204. as_fn_error $? "$ac_sub_configure failed for $ac_dir" "$LINENO" 5
  35205. fi
  35206. cd "$ac_popdir"
  35207. done
  35208. fi
  35209. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  35210. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  35211. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  35212. fi
  35213. echo
  35214. echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
  35215. echo ""
  35216. echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
  35217. echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
  35218. echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
  35219. echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
  35220. if test "$wxUSE_UNICODE" = "yes"; then
  35221. if test "$wxUSE_UNICODE_UTF8" = "yes"; then
  35222. echo " (using UTF-8)"
  35223. else
  35224. echo " (using wchar_t)"
  35225. fi
  35226. else
  35227. echo
  35228. fi
  35229. echo " What level of wxWidgets compatibility should be enabled?"
  35230. echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
  35231. echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
  35232. echo " Which libraries should wxWidgets use?"
  35233. echo " STL ${wxUSE_STL}"
  35234. echo " jpeg ${wxUSE_LIBJPEG-none}"
  35235. echo " png ${wxUSE_LIBPNG-none}"
  35236. echo " regex ${wxUSE_REGEX}"
  35237. echo " tiff ${wxUSE_LIBTIFF-none}"
  35238. if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
  35239. echo " xpm ${wxUSE_LIBXPM-none}"
  35240. fi
  35241. echo " zlib ${wxUSE_ZLIB}"
  35242. echo " expat ${wxUSE_EXPAT}"
  35243. echo " libmspack ${wxUSE_LIBMSPACK}"
  35244. echo " sdl ${wxUSE_LIBSDL}"
  35245. echo ""