configure 737 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856228572285822859228602286122862228632286422865228662286722868228692287022871228722287322874228752287622877228782287922880228812288222883228842288522886228872288822889228902289122892228932289422895228962289722898228992290022901229022290322904229052290622907229082290922910229112291222913229142291522916229172291822919229202292122922229232292422925229262292722928229292293022931229322293322934229352293622937229382293922940229412294222943229442294522946229472294822949229502295122952229532295422955229562295722958229592296022961229622296322964229652296622967229682296922970229712297222973229742297522976229772297822979229802298122982229832298422985229862298722988229892299022991229922299322994229952299622997229982299923000230012300223003230042300523006230072300823009230102301123012230132301423015230162301723018230192302023021230222302323024230252302623027230282302923030230312303223033230342303523036230372303823039230402304123042230432304423045230462304723048230492305023051230522305323054230552305623057230582305923060230612306223063230642306523066230672306823069230702307123072230732307423075230762307723078230792308023081230822308323084230852308623087230882308923090230912309223093230942309523096230972309823099231002310123102231032310423105231062310723108231092311023111231122311323114231152311623117231182311923120231212312223123231242312523126231272312823129231302313123132231332313423135231362313723138231392314023141231422314323144231452314623147231482314923150231512315223153231542315523156231572315823159231602316123162231632316423165231662316723168231692317023171231722317323174231752317623177231782317923180231812318223183231842318523186231872318823189231902319123192231932319423195231962319723198231992320023201232022320323204232052320623207232082320923210232112321223213232142321523216232172321823219232202322123222232232322423225232262322723228232292323023231232322323323234232352323623237232382323923240232412324223243232442324523246232472324823249232502325123252232532325423255232562325723258232592326023261232622326323264232652326623267232682326923270232712327223273232742327523276232772327823279232802328123282232832328423285232862328723288232892329023291232922329323294232952329623297232982329923300233012330223303233042330523306233072330823309233102331123312233132331423315233162331723318233192332023321233222332323324233252332623327233282332923330233312333223333233342333523336233372333823339233402334123342233432334423345233462334723348233492335023351233522335323354233552335623357233582335923360233612336223363233642336523366233672336823369233702337123372233732337423375233762337723378233792338023381233822338323384233852338623387233882338923390233912339223393233942339523396233972339823399234002340123402234032340423405234062340723408234092341023411234122341323414234152341623417234182341923420234212342223423234242342523426234272342823429234302343123432234332343423435234362343723438234392344023441234422344323444234452344623447234482344923450234512345223453234542345523456234572345823459234602346123462234632346423465234662346723468234692347023471234722347323474234752347623477234782347923480234812348223483234842348523486234872348823489234902349123492234932349423495234962349723498234992350023501235022350323504235052350623507235082350923510235112351223513235142351523516235172351823519235202352123522235232352423525235262352723528235292353023531235322353323534235352353623537235382353923540235412354223543235442354523546235472354823549235502355123552235532355423555235562355723558235592356023561235622356323564235652356623567235682356923570235712357223573235742357523576235772357823579235802358123582235832358423585235862358723588235892359023591235922359323594235952359623597235982359923600236012360223603
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for Wine 5.5.
  4. #
  5. # Report bugs to <wine-devel@winehq.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: wine-devel@winehq.org about your system, including any
  253. $0: error possibly output before this message. Then install
  254. $0: a modern shell, or manually run the script under such a
  255. $0: 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='Wine'
  534. PACKAGE_TARNAME='wine'
  535. PACKAGE_VERSION='5.5'
  536. PACKAGE_STRING='Wine 5.5'
  537. PACKAGE_BUGREPORT='wine-devel@winehq.org'
  538. PACKAGE_URL='https://www.winehq.org'
  539. ac_unique_file="server/atom.c"
  540. # Factoring default headers for most tests.
  541. ac_includes_default="\
  542. #include <stdio.h>
  543. #ifdef HAVE_SYS_TYPES_H
  544. # include <sys/types.h>
  545. #endif
  546. #ifdef HAVE_SYS_STAT_H
  547. # include <sys/stat.h>
  548. #endif
  549. #ifdef STDC_HEADERS
  550. # include <stdlib.h>
  551. # include <stddef.h>
  552. #else
  553. # ifdef HAVE_STDLIB_H
  554. # include <stdlib.h>
  555. # endif
  556. #endif
  557. #ifdef HAVE_STRING_H
  558. # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
  559. # include <memory.h>
  560. # endif
  561. # include <string.h>
  562. #endif
  563. #ifdef HAVE_STRINGS_H
  564. # include <strings.h>
  565. #endif
  566. #ifdef HAVE_INTTYPES_H
  567. # include <inttypes.h>
  568. #endif
  569. #ifdef HAVE_STDINT_H
  570. # include <stdint.h>
  571. #endif
  572. #ifdef HAVE_UNISTD_H
  573. # include <unistd.h>
  574. #endif"
  575. ac_subst_vars='LTLIBOBJS
  576. LIBOBJS
  577. ALL_VARS_RULES
  578. LDAP_LIBS
  579. LDAP_CFLAGS
  580. RT_LIBS
  581. POLL_LIBS
  582. DL_LIBS
  583. TOOLSEXT
  584. MSVCRTFLAGS
  585. EXCESS_PRECISION_CFLAGS
  586. EXTRACFLAGS
  587. GCRYPT_LIBS
  588. GCRYPT_CFLAGS
  589. VKD3D_LIBS
  590. VKD3D_CFLAGS
  591. NETAPI_LIBS
  592. NETAPI_CFLAGS
  593. PROCSTAT_LIBS
  594. KSTAT_LIBS
  595. MPG123_LIBS
  596. MPG123_CFLAGS
  597. TIFF_LIBS
  598. TIFF_CFLAGS
  599. PNG_LIBS
  600. PNG_CFLAGS
  601. JPEG_LIBS
  602. JPEG_CFLAGS
  603. GSSAPI_LIBS
  604. GSSAPI_CFLAGS
  605. KRB5_LIBS
  606. KRB5_CFLAGS
  607. FONTCONFIG_LIBS
  608. FONTCONFIG_CFLAGS
  609. CUPS_LIBS
  610. CUPS_CFLAGS
  611. CAPI20_LIBS
  612. CAPI20_CFLAGS
  613. FAUDIO_LIBS
  614. FAUDIO_CFLAGS
  615. SDL2_LIBS
  616. SDL2_CFLAGS
  617. UNWIND_LIBS
  618. UNWIND_CFLAGS
  619. UDEV_LIBS
  620. UDEV_CFLAGS
  621. OSS4_LIBS
  622. OSS4_CFLAGS
  623. ALSA_LIBS
  624. GSTREAMER_LIBS
  625. GSTREAMER_CFLAGS
  626. PULSE_LIBS
  627. PULSE_CFLAGS
  628. GETTEXTPO_LIBS
  629. Z_LIBS
  630. Z_CFLAGS
  631. FREETYPE_LIBS
  632. FREETYPE_CFLAGS
  633. GTK3_LIBS
  634. GTK3_CFLAGS
  635. LCMS2_LIBS
  636. LCMS2_CFLAGS
  637. RESOLV_LIBS
  638. GPHOTO2_PORT_LIBS
  639. GPHOTO2_PORT_CFLAGS
  640. GPHOTO2_LIBS
  641. GPHOTO2_CFLAGS
  642. SANE_LIBS
  643. SANE_CFLAGS
  644. GNUTLS_LIBS
  645. GNUTLS_CFLAGS
  646. HAL_LIBS
  647. HAL_CFLAGS
  648. DBUS_LIBS
  649. DBUS_CFLAGS
  650. INOTIFY_LIBS
  651. INOTIFY_CFLAGS
  652. XSLT_LIBS
  653. XSLT_CFLAGS
  654. XML2_LIBS
  655. XML2_CFLAGS
  656. X_EXTRA_LIBS
  657. X_LIBS
  658. X_PRE_LIBS
  659. X_CFLAGS
  660. XMKMF
  661. PTHREAD_LIBS
  662. DELAYLOADFLAG
  663. CROSSLDFLAGS
  664. EXTRACROSSCFLAGS
  665. CROSSCFLAGS
  666. CROSSCC
  667. CROSSTARGET
  668. LIBWINE_DEPENDS
  669. PRELINK
  670. WINELOADER_DEPENDS
  671. LIBWINE_LDFLAGS
  672. LIBWINE_SHAREDLIB
  673. METAL_LIBS
  674. CARBON_LIBS
  675. QUICKTIME_LIBS
  676. OPENCL_LIBS
  677. OPENAL_LIBS
  678. COREAUDIO_LIBS
  679. SECURITY_LIBS
  680. DISKARBITRATION_LIBS
  681. SYSTEMCONFIGURATION_LIBS
  682. APPKIT_LIBS
  683. CORESERVICES_LIBS
  684. APPLICATIONSERVICES_LIBS
  685. FORCEFEEDBACK_LIBS
  686. IOKIT_LIBS
  687. COREFOUNDATION_LIBS
  688. OBJCPP
  689. ac_ct_OBJC
  690. OBJCFLAGS
  691. OBJC
  692. DLLTOOL
  693. WINELOADER_PROGRAMS
  694. CONFIGURE_TARGETS
  695. DISABLED_SUBDIRS
  696. SUBDIRS
  697. READELF
  698. OTOOL
  699. LDD
  700. WINEPRELOADER_LDFLAGS
  701. WINELOADER_LDFLAGS
  702. TOP_INSTALL_DEV
  703. TOP_INSTALL_LIB
  704. LDEXECFLAGS
  705. LDDLLFLAGS
  706. LDRPATH_LOCAL
  707. LDRPATH_INSTALL
  708. DLLFLAGS
  709. CPP
  710. OPENGL_LIBS
  711. I386_LIBS
  712. ICOTOOL
  713. CONVERT
  714. RSVG
  715. FONTFORGE
  716. PKG_CONFIG
  717. MSGFMT
  718. LDCONFIG
  719. EGREP
  720. GREP
  721. LN_S
  722. RANLIB
  723. STRIP
  724. ac_ct_AR
  725. AR
  726. BISON
  727. FLEX
  728. TOOLSDIR
  729. TARGETFLAGS
  730. LD
  731. CPPBIN
  732. ac_ct_CXX
  733. CXXFLAGS
  734. CXX
  735. OBJEXT
  736. EXEEXT
  737. ac_ct_CC
  738. CPPFLAGS
  739. LDFLAGS
  740. CFLAGS
  741. CC
  742. SET_MAKE
  743. host_os
  744. host_vendor
  745. host_cpu
  746. host
  747. build_os
  748. build_vendor
  749. build_cpu
  750. build
  751. target_alias
  752. host_alias
  753. build_alias
  754. LIBS
  755. ECHO_T
  756. ECHO_N
  757. ECHO_C
  758. DEFS
  759. mandir
  760. localedir
  761. libdir
  762. psdir
  763. pdfdir
  764. dvidir
  765. htmldir
  766. infodir
  767. docdir
  768. oldincludedir
  769. includedir
  770. localstatedir
  771. sharedstatedir
  772. sysconfdir
  773. datadir
  774. datarootdir
  775. libexecdir
  776. sbindir
  777. bindir
  778. program_transform_name
  779. prefix
  780. exec_prefix
  781. PACKAGE_URL
  782. PACKAGE_BUGREPORT
  783. PACKAGE_STRING
  784. PACKAGE_VERSION
  785. PACKAGE_TARNAME
  786. PACKAGE_NAME
  787. PATH_SEPARATOR
  788. SHELL'
  789. ac_subst_files=''
  790. ac_user_opts='
  791. enable_option_checking
  792. enable_win16
  793. enable_win64
  794. enable_tests
  795. enable_maintainer_mode
  796. enable_werror
  797. with_alsa
  798. with_capi
  799. with_cms
  800. with_coreaudio
  801. with_cups
  802. with_curses
  803. with_dbus
  804. with_faudio
  805. with_float_abi
  806. with_fontconfig
  807. with_freetype
  808. with_gcrypt
  809. with_gettext
  810. with_gettextpo
  811. with_gphoto
  812. with_glu
  813. with_gnutls
  814. with_gsm
  815. with_gssapi
  816. with_gstreamer
  817. with_gtk3
  818. with_hal
  819. with_inotify
  820. with_jpeg
  821. with_krb5
  822. with_ldap
  823. with_mingw
  824. with_mpg123
  825. with_netapi
  826. with_openal
  827. with_opencl
  828. with_opengl
  829. with_osmesa
  830. with_oss
  831. with_pcap
  832. with_png
  833. with_pthread
  834. with_pulse
  835. with_sane
  836. with_sdl
  837. with_tiff
  838. with_udev
  839. with_unwind
  840. with_v4l2
  841. with_vkd3d
  842. with_vulkan
  843. with_xattr
  844. with_xcomposite
  845. with_xcursor
  846. with_xfixes
  847. with_xinerama
  848. with_xinput
  849. with_xinput2
  850. with_xml
  851. with_xrandr
  852. with_xrender
  853. with_xshape
  854. with_xshm
  855. with_xslt
  856. with_xxf86vm
  857. with_zlib
  858. with_va
  859. with_wine_tools
  860. with_wine64
  861. enable_largefile
  862. with_x
  863. enable_acledit
  864. enable_aclui
  865. enable_activeds_tlb
  866. enable_activeds
  867. enable_actxprxy
  868. enable_adsiid
  869. enable_adsldp
  870. enable_adsldpc
  871. enable_advapi32
  872. enable_advpack
  873. enable_amsi
  874. enable_amstream
  875. enable_api_ms_win_appmodel_identity_l1_1_0
  876. enable_api_ms_win_appmodel_runtime_l1_1_1
  877. enable_api_ms_win_appmodel_runtime_l1_1_2
  878. enable_api_ms_win_core_apiquery_l1_1_0
  879. enable_api_ms_win_core_appcompat_l1_1_1
  880. enable_api_ms_win_core_appinit_l1_1_0
  881. enable_api_ms_win_core_atoms_l1_1_0
  882. enable_api_ms_win_core_bem_l1_1_0
  883. enable_api_ms_win_core_com_l1_1_0
  884. enable_api_ms_win_core_com_l1_1_1
  885. enable_api_ms_win_core_com_private_l1_1_0
  886. enable_api_ms_win_core_comm_l1_1_0
  887. enable_api_ms_win_core_console_l1_1_0
  888. enable_api_ms_win_core_console_l2_1_0
  889. enable_api_ms_win_core_crt_l1_1_0
  890. enable_api_ms_win_core_crt_l2_1_0
  891. enable_api_ms_win_core_datetime_l1_1_0
  892. enable_api_ms_win_core_datetime_l1_1_1
  893. enable_api_ms_win_core_debug_l1_1_0
  894. enable_api_ms_win_core_debug_l1_1_1
  895. enable_api_ms_win_core_delayload_l1_1_0
  896. enable_api_ms_win_core_delayload_l1_1_1
  897. enable_api_ms_win_core_errorhandling_l1_1_0
  898. enable_api_ms_win_core_errorhandling_l1_1_1
  899. enable_api_ms_win_core_errorhandling_l1_1_2
  900. enable_api_ms_win_core_errorhandling_l1_1_3
  901. enable_api_ms_win_core_fibers_l1_1_0
  902. enable_api_ms_win_core_fibers_l1_1_1
  903. enable_api_ms_win_core_file_l1_1_0
  904. enable_api_ms_win_core_file_l1_2_0
  905. enable_api_ms_win_core_file_l1_2_1
  906. enable_api_ms_win_core_file_l1_2_2
  907. enable_api_ms_win_core_file_l2_1_0
  908. enable_api_ms_win_core_file_l2_1_1
  909. enable_api_ms_win_core_file_l2_1_2
  910. enable_api_ms_win_core_handle_l1_1_0
  911. enable_api_ms_win_core_heap_l1_1_0
  912. enable_api_ms_win_core_heap_l1_2_0
  913. enable_api_ms_win_core_heap_l2_1_0
  914. enable_api_ms_win_core_heap_obsolete_l1_1_0
  915. enable_api_ms_win_core_interlocked_l1_1_0
  916. enable_api_ms_win_core_interlocked_l1_2_0
  917. enable_api_ms_win_core_io_l1_1_0
  918. enable_api_ms_win_core_io_l1_1_1
  919. enable_api_ms_win_core_job_l1_1_0
  920. enable_api_ms_win_core_job_l2_1_0
  921. enable_api_ms_win_core_kernel32_legacy_l1_1_0
  922. enable_api_ms_win_core_kernel32_legacy_l1_1_1
  923. enable_api_ms_win_core_kernel32_private_l1_1_1
  924. enable_api_ms_win_core_largeinteger_l1_1_0
  925. enable_api_ms_win_core_libraryloader_l1_1_0
  926. enable_api_ms_win_core_libraryloader_l1_1_1
  927. enable_api_ms_win_core_libraryloader_l1_2_0
  928. enable_api_ms_win_core_libraryloader_l1_2_1
  929. enable_api_ms_win_core_libraryloader_l1_2_2
  930. enable_api_ms_win_core_localization_l1_1_0
  931. enable_api_ms_win_core_localization_l1_2_0
  932. enable_api_ms_win_core_localization_l1_2_1
  933. enable_api_ms_win_core_localization_l2_1_0
  934. enable_api_ms_win_core_localization_obsolete_l1_1_0
  935. enable_api_ms_win_core_localization_obsolete_l1_2_0
  936. enable_api_ms_win_core_localization_obsolete_l1_3_0
  937. enable_api_ms_win_core_localization_private_l1_1_0
  938. enable_api_ms_win_core_localregistry_l1_1_0
  939. enable_api_ms_win_core_memory_l1_1_0
  940. enable_api_ms_win_core_memory_l1_1_1
  941. enable_api_ms_win_core_memory_l1_1_2
  942. enable_api_ms_win_core_misc_l1_1_0
  943. enable_api_ms_win_core_namedpipe_l1_1_0
  944. enable_api_ms_win_core_namedpipe_l1_2_0
  945. enable_api_ms_win_core_namespace_l1_1_0
  946. enable_api_ms_win_core_normalization_l1_1_0
  947. enable_api_ms_win_core_path_l1_1_0
  948. enable_api_ms_win_core_privateprofile_l1_1_1
  949. enable_api_ms_win_core_processenvironment_l1_1_0
  950. enable_api_ms_win_core_processenvironment_l1_2_0
  951. enable_api_ms_win_core_processthreads_l1_1_0
  952. enable_api_ms_win_core_processthreads_l1_1_1
  953. enable_api_ms_win_core_processthreads_l1_1_2
  954. enable_api_ms_win_core_processthreads_l1_1_3
  955. enable_api_ms_win_core_processtopology_obsolete_l1_1_0
  956. enable_api_ms_win_core_profile_l1_1_0
  957. enable_api_ms_win_core_psapi_ansi_l1_1_0
  958. enable_api_ms_win_core_psapi_l1_1_0
  959. enable_api_ms_win_core_psapi_obsolete_l1_1_0
  960. enable_api_ms_win_core_quirks_l1_1_0
  961. enable_api_ms_win_core_realtime_l1_1_0
  962. enable_api_ms_win_core_registry_l1_1_0
  963. enable_api_ms_win_core_registry_l2_1_0
  964. enable_api_ms_win_core_registry_l2_2_0
  965. enable_api_ms_win_core_registryuserspecific_l1_1_0
  966. enable_api_ms_win_core_rtlsupport_l1_1_0
  967. enable_api_ms_win_core_rtlsupport_l1_2_0
  968. enable_api_ms_win_core_shlwapi_legacy_l1_1_0
  969. enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
  970. enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
  971. enable_api_ms_win_core_shutdown_l1_1_0
  972. enable_api_ms_win_core_sidebyside_l1_1_0
  973. enable_api_ms_win_core_string_l1_1_0
  974. enable_api_ms_win_core_string_l2_1_0
  975. enable_api_ms_win_core_string_obsolete_l1_1_0
  976. enable_api_ms_win_core_stringansi_l1_1_0
  977. enable_api_ms_win_core_stringloader_l1_1_1
  978. enable_api_ms_win_core_synch_ansi_l1_1_0
  979. enable_api_ms_win_core_synch_l1_1_0
  980. enable_api_ms_win_core_synch_l1_2_0
  981. enable_api_ms_win_core_synch_l1_2_1
  982. enable_api_ms_win_core_sysinfo_l1_1_0
  983. enable_api_ms_win_core_sysinfo_l1_2_0
  984. enable_api_ms_win_core_sysinfo_l1_2_1
  985. enable_api_ms_win_core_threadpool_l1_1_0
  986. enable_api_ms_win_core_threadpool_l1_2_0
  987. enable_api_ms_win_core_threadpool_legacy_l1_1_0
  988. enable_api_ms_win_core_threadpool_private_l1_1_0
  989. enable_api_ms_win_core_timezone_l1_1_0
  990. enable_api_ms_win_core_toolhelp_l1_1_0
  991. enable_api_ms_win_core_url_l1_1_0
  992. enable_api_ms_win_core_util_l1_1_0
  993. enable_api_ms_win_core_version_l1_1_0
  994. enable_api_ms_win_core_version_l1_1_1
  995. enable_api_ms_win_core_version_private_l1_1_0
  996. enable_api_ms_win_core_versionansi_l1_1_0
  997. enable_api_ms_win_core_windowserrorreporting_l1_1_0
  998. enable_api_ms_win_core_winrt_error_l1_1_0
  999. enable_api_ms_win_core_winrt_error_l1_1_1
  1000. enable_api_ms_win_core_winrt_errorprivate_l1_1_1
  1001. enable_api_ms_win_core_winrt_l1_1_0
  1002. enable_api_ms_win_core_winrt_registration_l1_1_0
  1003. enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
  1004. enable_api_ms_win_core_winrt_string_l1_1_0
  1005. enable_api_ms_win_core_winrt_string_l1_1_1
  1006. enable_api_ms_win_core_wow64_l1_1_0
  1007. enable_api_ms_win_core_wow64_l1_1_1
  1008. enable_api_ms_win_core_xstate_l1_1_0
  1009. enable_api_ms_win_core_xstate_l2_1_0
  1010. enable_api_ms_win_crt_conio_l1_1_0
  1011. enable_api_ms_win_crt_convert_l1_1_0
  1012. enable_api_ms_win_crt_environment_l1_1_0
  1013. enable_api_ms_win_crt_filesystem_l1_1_0
  1014. enable_api_ms_win_crt_heap_l1_1_0
  1015. enable_api_ms_win_crt_locale_l1_1_0
  1016. enable_api_ms_win_crt_math_l1_1_0
  1017. enable_api_ms_win_crt_multibyte_l1_1_0
  1018. enable_api_ms_win_crt_private_l1_1_0
  1019. enable_api_ms_win_crt_process_l1_1_0
  1020. enable_api_ms_win_crt_runtime_l1_1_0
  1021. enable_api_ms_win_crt_stdio_l1_1_0
  1022. enable_api_ms_win_crt_string_l1_1_0
  1023. enable_api_ms_win_crt_time_l1_1_0
  1024. enable_api_ms_win_crt_utility_l1_1_0
  1025. enable_api_ms_win_devices_config_l1_1_0
  1026. enable_api_ms_win_devices_config_l1_1_1
  1027. enable_api_ms_win_devices_query_l1_1_1
  1028. enable_api_ms_win_downlevel_advapi32_l1_1_0
  1029. enable_api_ms_win_downlevel_advapi32_l2_1_0
  1030. enable_api_ms_win_downlevel_normaliz_l1_1_0
  1031. enable_api_ms_win_downlevel_ole32_l1_1_0
  1032. enable_api_ms_win_downlevel_shell32_l1_1_0
  1033. enable_api_ms_win_downlevel_shlwapi_l1_1_0
  1034. enable_api_ms_win_downlevel_shlwapi_l2_1_0
  1035. enable_api_ms_win_downlevel_user32_l1_1_0
  1036. enable_api_ms_win_downlevel_version_l1_1_0
  1037. enable_api_ms_win_dx_d3dkmt_l1_1_0
  1038. enable_api_ms_win_eventing_classicprovider_l1_1_0
  1039. enable_api_ms_win_eventing_consumer_l1_1_0
  1040. enable_api_ms_win_eventing_controller_l1_1_0
  1041. enable_api_ms_win_eventing_legacy_l1_1_0
  1042. enable_api_ms_win_eventing_provider_l1_1_0
  1043. enable_api_ms_win_eventlog_legacy_l1_1_0
  1044. enable_api_ms_win_gdi_dpiinfo_l1_1_0
  1045. enable_api_ms_win_mm_joystick_l1_1_0
  1046. enable_api_ms_win_mm_misc_l1_1_1
  1047. enable_api_ms_win_mm_mme_l1_1_0
  1048. enable_api_ms_win_mm_time_l1_1_0
  1049. enable_api_ms_win_ntuser_dc_access_l1_1_0
  1050. enable_api_ms_win_ntuser_rectangle_l1_1_0
  1051. enable_api_ms_win_ntuser_sysparams_l1_1_0
  1052. enable_api_ms_win_perf_legacy_l1_1_0
  1053. enable_api_ms_win_power_base_l1_1_0
  1054. enable_api_ms_win_power_setting_l1_1_0
  1055. enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
  1056. enable_api_ms_win_rtcore_ntuser_private_l1_1_0
  1057. enable_api_ms_win_rtcore_ntuser_private_l1_1_4
  1058. enable_api_ms_win_rtcore_ntuser_window_l1_1_0
  1059. enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
  1060. enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
  1061. enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
  1062. enable_api_ms_win_security_activedirectoryclient_l1_1_0
  1063. enable_api_ms_win_security_audit_l1_1_1
  1064. enable_api_ms_win_security_base_l1_1_0
  1065. enable_api_ms_win_security_base_l1_2_0
  1066. enable_api_ms_win_security_base_private_l1_1_1
  1067. enable_api_ms_win_security_credentials_l1_1_0
  1068. enable_api_ms_win_security_cryptoapi_l1_1_0
  1069. enable_api_ms_win_security_grouppolicy_l1_1_0
  1070. enable_api_ms_win_security_lsalookup_l1_1_0
  1071. enable_api_ms_win_security_lsalookup_l1_1_1
  1072. enable_api_ms_win_security_lsalookup_l2_1_0
  1073. enable_api_ms_win_security_lsalookup_l2_1_1
  1074. enable_api_ms_win_security_lsapolicy_l1_1_0
  1075. enable_api_ms_win_security_provider_l1_1_0
  1076. enable_api_ms_win_security_sddl_l1_1_0
  1077. enable_api_ms_win_security_systemfunctions_l1_1_0
  1078. enable_api_ms_win_service_core_l1_1_0
  1079. enable_api_ms_win_service_core_l1_1_1
  1080. enable_api_ms_win_service_management_l1_1_0
  1081. enable_api_ms_win_service_management_l2_1_0
  1082. enable_api_ms_win_service_private_l1_1_1
  1083. enable_api_ms_win_service_winsvc_l1_1_0
  1084. enable_api_ms_win_service_winsvc_l1_2_0
  1085. enable_api_ms_win_shcore_obsolete_l1_1_0
  1086. enable_api_ms_win_shcore_scaling_l1_1_1
  1087. enable_api_ms_win_shcore_stream_l1_1_0
  1088. enable_api_ms_win_shcore_thread_l1_1_0
  1089. enable_api_ms_win_shell_shellcom_l1_1_0
  1090. enable_api_ms_win_shell_shellfolders_l1_1_0
  1091. enable_apphelp
  1092. enable_appwiz_cpl
  1093. enable_atl
  1094. enable_atl100
  1095. enable_atl110
  1096. enable_atl80
  1097. enable_atl90
  1098. enable_atlthunk
  1099. enable_atmlib
  1100. enable_authz
  1101. enable_avicap32
  1102. enable_avifil32
  1103. enable_avrt
  1104. enable_bcrypt
  1105. enable_bluetoothapis
  1106. enable_browseui
  1107. enable_bthprops_cpl
  1108. enable_cabinet
  1109. enable_capi2032
  1110. enable_cards
  1111. enable_cdosys
  1112. enable_cfgmgr32
  1113. enable_clusapi
  1114. enable_combase
  1115. enable_comcat
  1116. enable_comctl32
  1117. enable_comdlg32
  1118. enable_compstui
  1119. enable_comsvcs
  1120. enable_concrt140
  1121. enable_connect
  1122. enable_credui
  1123. enable_crtdll
  1124. enable_crypt32
  1125. enable_cryptdlg
  1126. enable_cryptdll
  1127. enable_cryptext
  1128. enable_cryptnet
  1129. enable_cryptui
  1130. enable_ctapi32
  1131. enable_ctl3d32
  1132. enable_d2d1
  1133. enable_d3d10
  1134. enable_d3d10_1
  1135. enable_d3d10core
  1136. enable_d3d11
  1137. enable_d3d12
  1138. enable_d3d8
  1139. enable_d3d9
  1140. enable_d3dcompiler_33
  1141. enable_d3dcompiler_34
  1142. enable_d3dcompiler_35
  1143. enable_d3dcompiler_36
  1144. enable_d3dcompiler_37
  1145. enable_d3dcompiler_38
  1146. enable_d3dcompiler_39
  1147. enable_d3dcompiler_40
  1148. enable_d3dcompiler_41
  1149. enable_d3dcompiler_42
  1150. enable_d3dcompiler_43
  1151. enable_d3dcompiler_46
  1152. enable_d3dcompiler_47
  1153. enable_d3dim
  1154. enable_d3drm
  1155. enable_d3dx10_33
  1156. enable_d3dx10_34
  1157. enable_d3dx10_35
  1158. enable_d3dx10_36
  1159. enable_d3dx10_37
  1160. enable_d3dx10_38
  1161. enable_d3dx10_39
  1162. enable_d3dx10_40
  1163. enable_d3dx10_41
  1164. enable_d3dx10_42
  1165. enable_d3dx10_43
  1166. enable_d3dx11_42
  1167. enable_d3dx11_43
  1168. enable_d3dx9_24
  1169. enable_d3dx9_25
  1170. enable_d3dx9_26
  1171. enable_d3dx9_27
  1172. enable_d3dx9_28
  1173. enable_d3dx9_29
  1174. enable_d3dx9_30
  1175. enable_d3dx9_31
  1176. enable_d3dx9_32
  1177. enable_d3dx9_33
  1178. enable_d3dx9_34
  1179. enable_d3dx9_35
  1180. enable_d3dx9_36
  1181. enable_d3dx9_37
  1182. enable_d3dx9_38
  1183. enable_d3dx9_39
  1184. enable_d3dx9_40
  1185. enable_d3dx9_41
  1186. enable_d3dx9_42
  1187. enable_d3dx9_43
  1188. enable_d3dxof
  1189. enable_davclnt
  1190. enable_dbgeng
  1191. enable_dbghelp
  1192. enable_dciman32
  1193. enable_ddraw
  1194. enable_ddrawex
  1195. enable_devenum
  1196. enable_dhcpcsvc
  1197. enable_dhtmled_ocx
  1198. enable_difxapi
  1199. enable_dinput
  1200. enable_dinput8
  1201. enable_directmanipulation
  1202. enable_dispex
  1203. enable_dmband
  1204. enable_dmcompos
  1205. enable_dmime
  1206. enable_dmloader
  1207. enable_dmoguids
  1208. enable_dmscript
  1209. enable_dmstyle
  1210. enable_dmsynth
  1211. enable_dmusic
  1212. enable_dmusic32
  1213. enable_dnsapi
  1214. enable_dplay
  1215. enable_dplayx
  1216. enable_dpnaddr
  1217. enable_dpnet
  1218. enable_dpnhpast
  1219. enable_dpnlobby
  1220. enable_dpvoice
  1221. enable_dpwsockx
  1222. enable_drmclien
  1223. enable_dsdmo
  1224. enable_dsound
  1225. enable_dsquery
  1226. enable_dssenh
  1227. enable_dswave
  1228. enable_dwmapi
  1229. enable_dwrite
  1230. enable_dx8vb
  1231. enable_dxdiagn
  1232. enable_dxerr8
  1233. enable_dxerr9
  1234. enable_dxgi
  1235. enable_dxgkrnl_sys
  1236. enable_dxgmms1_sys
  1237. enable_dxguid
  1238. enable_dxva2
  1239. enable_esent
  1240. enable_evr
  1241. enable_explorerframe
  1242. enable_ext_ms_win_appmodel_usercontext_l1_1_0
  1243. enable_ext_ms_win_authz_context_l1_1_0
  1244. enable_ext_ms_win_domainjoin_netjoin_l1_1_0
  1245. enable_ext_ms_win_dwmapi_ext_l1_1_0
  1246. enable_ext_ms_win_gdi_dc_create_l1_1_0
  1247. enable_ext_ms_win_gdi_dc_create_l1_1_1
  1248. enable_ext_ms_win_gdi_dc_l1_2_0
  1249. enable_ext_ms_win_gdi_devcaps_l1_1_0
  1250. enable_ext_ms_win_gdi_draw_l1_1_0
  1251. enable_ext_ms_win_gdi_draw_l1_1_1
  1252. enable_ext_ms_win_gdi_font_l1_1_0
  1253. enable_ext_ms_win_gdi_font_l1_1_1
  1254. enable_ext_ms_win_gdi_render_l1_1_0
  1255. enable_ext_ms_win_kernel32_package_current_l1_1_0
  1256. enable_ext_ms_win_kernel32_package_l1_1_1
  1257. enable_ext_ms_win_ntuser_dialogbox_l1_1_0
  1258. enable_ext_ms_win_ntuser_draw_l1_1_0
  1259. enable_ext_ms_win_ntuser_gui_l1_1_0
  1260. enable_ext_ms_win_ntuser_gui_l1_3_0
  1261. enable_ext_ms_win_ntuser_keyboard_l1_3_0
  1262. enable_ext_ms_win_ntuser_message_l1_1_0
  1263. enable_ext_ms_win_ntuser_message_l1_1_1
  1264. enable_ext_ms_win_ntuser_misc_l1_1_0
  1265. enable_ext_ms_win_ntuser_misc_l1_2_0
  1266. enable_ext_ms_win_ntuser_misc_l1_5_1
  1267. enable_ext_ms_win_ntuser_mouse_l1_1_0
  1268. enable_ext_ms_win_ntuser_private_l1_1_1
  1269. enable_ext_ms_win_ntuser_private_l1_3_1
  1270. enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
  1271. enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
  1272. enable_ext_ms_win_ntuser_window_l1_1_0
  1273. enable_ext_ms_win_ntuser_window_l1_1_1
  1274. enable_ext_ms_win_ntuser_window_l1_1_4
  1275. enable_ext_ms_win_ntuser_windowclass_l1_1_0
  1276. enable_ext_ms_win_ntuser_windowclass_l1_1_1
  1277. enable_ext_ms_win_oleacc_l1_1_0
  1278. enable_ext_ms_win_ras_rasapi32_l1_1_0
  1279. enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
  1280. enable_ext_ms_win_rtcore_gdi_object_l1_1_0
  1281. enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
  1282. enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
  1283. enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
  1284. enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
  1285. enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
  1286. enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
  1287. enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
  1288. enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
  1289. enable_ext_ms_win_security_credui_l1_1_0
  1290. enable_ext_ms_win_security_cryptui_l1_1_0
  1291. enable_ext_ms_win_shell_comctl32_init_l1_1_0
  1292. enable_ext_ms_win_shell_comdlg32_l1_1_0
  1293. enable_ext_ms_win_shell_shell32_l1_2_0
  1294. enable_ext_ms_win_uxtheme_themes_l1_1_0
  1295. enable_ext_ms_win_xaml_pal_l1_1_0
  1296. enable_faultrep
  1297. enable_feclient
  1298. enable_fltlib
  1299. enable_fltmgr_sys
  1300. enable_fntcache
  1301. enable_fontsub
  1302. enable_fusion
  1303. enable_fwpuclnt
  1304. enable_gameux
  1305. enable_gdi32
  1306. enable_gdiplus
  1307. enable_glu32
  1308. enable_gphoto2_ds
  1309. enable_gpkcsp
  1310. enable_hal
  1311. enable_hhctrl_ocx
  1312. enable_hid
  1313. enable_hidclass_sys
  1314. enable_hlink
  1315. enable_hnetcfg
  1316. enable_http_sys
  1317. enable_httpapi
  1318. enable_iccvid
  1319. enable_icmp
  1320. enable_ieframe
  1321. enable_ieproxy
  1322. enable_iertutil
  1323. enable_imaadp32_acm
  1324. enable_imagehlp
  1325. enable_imm32
  1326. enable_inetcomm
  1327. enable_inetcpl_cpl
  1328. enable_inetmib1
  1329. enable_infosoft
  1330. enable_initpki
  1331. enable_inkobj
  1332. enable_inseng
  1333. enable_iphlpapi
  1334. enable_iprop
  1335. enable_irprops_cpl
  1336. enable_itircl
  1337. enable_itss
  1338. enable_joy_cpl
  1339. enable_jscript
  1340. enable_jsproxy
  1341. enable_kerberos
  1342. enable_kernel32
  1343. enable_kernelbase
  1344. enable_ksecdd_sys
  1345. enable_ksuser
  1346. enable_ktmw32
  1347. enable_l3codeca_acm
  1348. enable_loadperf
  1349. enable_localspl
  1350. enable_localui
  1351. enable_lz32
  1352. enable_mapi32
  1353. enable_mapistub
  1354. enable_mciavi32
  1355. enable_mcicda
  1356. enable_mciqtz32
  1357. enable_mciseq
  1358. enable_mciwave
  1359. enable_mf
  1360. enable_mf3216
  1361. enable_mferror
  1362. enable_mfmediaengine
  1363. enable_mfplat
  1364. enable_mfplay
  1365. enable_mfreadwrite
  1366. enable_mfuuid
  1367. enable_mgmtapi
  1368. enable_midimap
  1369. enable_mlang
  1370. enable_mmcndmgr
  1371. enable_mmdevapi
  1372. enable_mountmgr_sys
  1373. enable_mp3dmod
  1374. enable_mpr
  1375. enable_mprapi
  1376. enable_msacm32_drv
  1377. enable_msacm32
  1378. enable_msado15
  1379. enable_msadp32_acm
  1380. enable_msasn1
  1381. enable_mscat32
  1382. enable_mscms
  1383. enable_mscoree
  1384. enable_mscorwks
  1385. enable_msctf
  1386. enable_msctfp
  1387. enable_msdaps
  1388. enable_msdelta
  1389. enable_msdmo
  1390. enable_msdrm
  1391. enable_msftedit
  1392. enable_msg711_acm
  1393. enable_msgsm32_acm
  1394. enable_mshtml_tlb
  1395. enable_mshtml
  1396. enable_msi
  1397. enable_msident
  1398. enable_msimg32
  1399. enable_msimsg
  1400. enable_msimtf
  1401. enable_msisip
  1402. enable_msisys_ocx
  1403. enable_msls31
  1404. enable_msnet32
  1405. enable_mspatcha
  1406. enable_msports
  1407. enable_msrle32
  1408. enable_msscript_ocx
  1409. enable_mssign32
  1410. enable_mssip32
  1411. enable_mstask
  1412. enable_msvcirt
  1413. enable_msvcm80
  1414. enable_msvcm90
  1415. enable_msvcp100
  1416. enable_msvcp110
  1417. enable_msvcp120
  1418. enable_msvcp120_app
  1419. enable_msvcp140
  1420. enable_msvcp60
  1421. enable_msvcp70
  1422. enable_msvcp71
  1423. enable_msvcp80
  1424. enable_msvcp90
  1425. enable_msvcr100
  1426. enable_msvcr110
  1427. enable_msvcr120
  1428. enable_msvcr120_app
  1429. enable_msvcr70
  1430. enable_msvcr71
  1431. enable_msvcr80
  1432. enable_msvcr90
  1433. enable_msvcrt
  1434. enable_msvcrt20
  1435. enable_msvcrt40
  1436. enable_msvcrtd
  1437. enable_msvfw32
  1438. enable_msvidc32
  1439. enable_mswsock
  1440. enable_msxml
  1441. enable_msxml2
  1442. enable_msxml3
  1443. enable_msxml4
  1444. enable_msxml6
  1445. enable_mtxdm
  1446. enable_ncrypt
  1447. enable_nddeapi
  1448. enable_ndis_sys
  1449. enable_netapi32
  1450. enable_netcfgx
  1451. enable_netprofm
  1452. enable_newdev
  1453. enable_ninput
  1454. enable_normaliz
  1455. enable_npmshtml
  1456. enable_npptools
  1457. enable_ntdll
  1458. enable_ntdsapi
  1459. enable_ntoskrnl_exe
  1460. enable_ntprint
  1461. enable_win32
  1462. enable_nvcuda
  1463. enable_nvcuvid
  1464. enable_objsel
  1465. enable_odbc32
  1466. enable_odbcbcp
  1467. enable_odbccp32
  1468. enable_odbccu32
  1469. enable_ole32
  1470. enable_oleacc
  1471. enable_oleaut32
  1472. enable_olecli32
  1473. enable_oledb32
  1474. enable_oledlg
  1475. enable_olepro32
  1476. enable_olesvr32
  1477. enable_olethk32
  1478. enable_opcservices
  1479. enable_openal32
  1480. enable_opencl
  1481. enable_opengl32
  1482. enable_packager
  1483. enable_pdh
  1484. enable_photometadatahandler
  1485. enable_pidgen
  1486. enable_powrprof
  1487. enable_printui
  1488. enable_prntvpt
  1489. enable_propsys
  1490. enable_psapi
  1491. enable_pstorec
  1492. enable_qasf
  1493. enable_qcap
  1494. enable_qedit
  1495. enable_qmgr
  1496. enable_qmgrprxy
  1497. enable_quartz
  1498. enable_query
  1499. enable_qwave
  1500. enable_rasapi32
  1501. enable_rasdlg
  1502. enable_regapi
  1503. enable_resutils
  1504. enable_riched20
  1505. enable_riched32
  1506. enable_rpcrt4
  1507. enable_rsabase
  1508. enable_rsaenh
  1509. enable_rstrtmgr
  1510. enable_rtutils
  1511. enable_rtworkq
  1512. enable_samlib
  1513. enable_sane_ds
  1514. enable_sapi
  1515. enable_sas
  1516. enable_scarddlg
  1517. enable_sccbase
  1518. enable_schannel
  1519. enable_schedsvc
  1520. enable_scrobj
  1521. enable_scrrun
  1522. enable_scsiport_sys
  1523. enable_secur32
  1524. enable_security
  1525. enable_sensapi
  1526. enable_serialui
  1527. enable_setupapi
  1528. enable_sfc
  1529. enable_sfc_os
  1530. enable_shcore
  1531. enable_shdoclc
  1532. enable_shdocvw
  1533. enable_shell32
  1534. enable_shfolder
  1535. enable_shlwapi
  1536. enable_slbcsp
  1537. enable_slc
  1538. enable_snmpapi
  1539. enable_softpub
  1540. enable_spoolss
  1541. enable_srclient
  1542. enable_sspicli
  1543. enable_stdole2_tlb
  1544. enable_stdole32_tlb
  1545. enable_sti
  1546. enable_strmbase
  1547. enable_strmdll
  1548. enable_strmiids
  1549. enable_svrapi
  1550. enable_sxs
  1551. enable_t2embed
  1552. enable_tapi32
  1553. enable_taskschd
  1554. enable_tdh
  1555. enable_tdi_sys
  1556. enable_traffic
  1557. enable_twain_32
  1558. enable_tzres
  1559. enable_ucrtbase
  1560. enable_uianimation
  1561. enable_uiautomationcore
  1562. enable_uiribbon
  1563. enable_unicows
  1564. enable_updspapi
  1565. enable_url
  1566. enable_urlmon
  1567. enable_usbd_sys
  1568. enable_user32
  1569. enable_userenv
  1570. enable_usp10
  1571. enable_utildll
  1572. enable_uuid
  1573. enable_uxtheme
  1574. enable_vbscript
  1575. enable_vcomp
  1576. enable_vcomp100
  1577. enable_vcomp110
  1578. enable_vcomp120
  1579. enable_vcomp140
  1580. enable_vcomp90
  1581. enable_vcruntime140
  1582. enable_vcruntime140_1
  1583. enable_vdmdbg
  1584. enable_version
  1585. enable_vga
  1586. enable_virtdisk
  1587. enable_vssapi
  1588. enable_vulkan_1
  1589. enable_wbemdisp
  1590. enable_wbemprox
  1591. enable_wbemuuid
  1592. enable_wdscore
  1593. enable_webservices
  1594. enable_wer
  1595. enable_wevtapi
  1596. enable_wiaservc
  1597. enable_wimgapi
  1598. enable_win32k_sys
  1599. enable_windowscodecs
  1600. enable_windowscodecsext
  1601. enable_winealsa_drv
  1602. enable_wineandroid_drv
  1603. enable_winebus_sys
  1604. enable_winecoreaudio_drv
  1605. enable_winecrt0
  1606. enable_wined3d
  1607. enable_winegstreamer
  1608. enable_winehid_sys
  1609. enable_winejoystick_drv
  1610. enable_winemac_drv
  1611. enable_winemapi
  1612. enable_wineoss_drv
  1613. enable_wineps_drv
  1614. enable_winepulse_drv
  1615. enable_wineqtdecoder
  1616. enable_winevulkan
  1617. enable_winex11_drv
  1618. enable_wing32
  1619. enable_winhttp
  1620. enable_wininet
  1621. enable_winmm
  1622. enable_winnls32
  1623. enable_winscard
  1624. enable_winspool_drv
  1625. enable_winsta
  1626. enable_wintab32
  1627. enable_wintrust
  1628. enable_winusb
  1629. enable_wlanapi
  1630. enable_wlanui
  1631. enable_wldap32
  1632. enable_wmasf
  1633. enable_wmcodecdspuuid
  1634. enable_wmi
  1635. enable_wmiutils
  1636. enable_wmp
  1637. enable_wmphoto
  1638. enable_wmvcore
  1639. enable_wnaspi32
  1640. enable_wow64cpu
  1641. enable_wpc
  1642. enable_wpcap
  1643. enable_ws2_32
  1644. enable_wsdapi
  1645. enable_wshom_ocx
  1646. enable_wsnmp32
  1647. enable_wsock32
  1648. enable_wtsapi32
  1649. enable_wuapi
  1650. enable_wuaueng
  1651. enable_x3daudio1_0
  1652. enable_x3daudio1_1
  1653. enable_x3daudio1_2
  1654. enable_x3daudio1_3
  1655. enable_x3daudio1_4
  1656. enable_x3daudio1_5
  1657. enable_x3daudio1_6
  1658. enable_x3daudio1_7
  1659. enable_xactengine3_0
  1660. enable_xactengine3_1
  1661. enable_xactengine3_2
  1662. enable_xactengine3_3
  1663. enable_xactengine3_4
  1664. enable_xactengine3_5
  1665. enable_xactengine3_6
  1666. enable_xactengine3_7
  1667. enable_xapofx1_1
  1668. enable_xapofx1_2
  1669. enable_xapofx1_3
  1670. enable_xapofx1_4
  1671. enable_xapofx1_5
  1672. enable_xaudio2_0
  1673. enable_xaudio2_1
  1674. enable_xaudio2_2
  1675. enable_xaudio2_3
  1676. enable_xaudio2_4
  1677. enable_xaudio2_5
  1678. enable_xaudio2_6
  1679. enable_xaudio2_7
  1680. enable_xaudio2_8
  1681. enable_xaudio2_9
  1682. enable_xinput1_1
  1683. enable_xinput1_2
  1684. enable_xinput1_3
  1685. enable_xinput1_4
  1686. enable_xinput9_1_0
  1687. enable_xmllite
  1688. enable_xolehlp
  1689. enable_xpsprint
  1690. enable_xpssvcs
  1691. enable_fonts
  1692. enable_include
  1693. enable_port
  1694. enable_wine
  1695. enable_wpp
  1696. enable_loader
  1697. enable_nls
  1698. enable_po
  1699. enable_arp
  1700. enable_aspnet_regiis
  1701. enable_attrib
  1702. enable_cabarc
  1703. enable_cacls
  1704. enable_chcp_com
  1705. enable_clock
  1706. enable_cmd
  1707. enable_conhost
  1708. enable_control
  1709. enable_cscript
  1710. enable_dism
  1711. enable_dllhost
  1712. enable_dpnsvr
  1713. enable_dxdiag
  1714. enable_eject
  1715. enable_expand
  1716. enable_explorer
  1717. enable_extrac32
  1718. enable_fc
  1719. enable_find
  1720. enable_findstr
  1721. enable_fsutil
  1722. enable_hh
  1723. enable_hostname
  1724. enable_icacls
  1725. enable_icinfo
  1726. enable_iexplore
  1727. enable_ipconfig
  1728. enable_lodctr
  1729. enable_mofcomp
  1730. enable_mshta
  1731. enable_msidb
  1732. enable_msiexec
  1733. enable_msinfo32
  1734. enable_net
  1735. enable_netsh
  1736. enable_netstat
  1737. enable_ngen
  1738. enable_notepad
  1739. enable_oleview
  1740. enable_ping
  1741. enable_plugplay
  1742. enable_powershell
  1743. enable_presentationfontcache
  1744. enable_progman
  1745. enable_reg
  1746. enable_regasm
  1747. enable_regedit
  1748. enable_regini
  1749. enable_regsvcs
  1750. enable_regsvr32
  1751. enable_rpcss
  1752. enable_runas
  1753. enable_rundll32
  1754. enable_sc
  1755. enable_schtasks
  1756. enable_sdbinst
  1757. enable_secedit
  1758. enable_servicemodelreg
  1759. enable_services
  1760. enable_shutdown
  1761. enable_spoolsv
  1762. enable_start
  1763. enable_subst
  1764. enable_svchost
  1765. enable_systeminfo
  1766. enable_taskkill
  1767. enable_tasklist
  1768. enable_taskmgr
  1769. enable_termsv
  1770. enable_uninstaller
  1771. enable_unlodctr
  1772. enable_view
  1773. enable_wevtutil
  1774. enable_whoami
  1775. enable_wineboot
  1776. enable_winebrowser
  1777. enable_winecfg
  1778. enable_wineconsole
  1779. enable_winedbg
  1780. enable_winedevice
  1781. enable_winefile
  1782. enable_winemenubuilder
  1783. enable_winemine
  1784. enable_winemsibuilder
  1785. enable_winepath
  1786. enable_winetest
  1787. enable_winhlp32
  1788. enable_winmgmt
  1789. enable_winver
  1790. enable_wmic
  1791. enable_wmplayer
  1792. enable_wordpad
  1793. enable_write
  1794. enable_wscript
  1795. enable_wuauserv
  1796. enable_wusa
  1797. enable_xcopy
  1798. enable_server
  1799. enable_tools
  1800. enable_sfnt2fon
  1801. enable_widl
  1802. enable_winebuild
  1803. enable_winedump
  1804. enable_winegcc
  1805. enable_winemaker
  1806. enable_wmc
  1807. enable_wrc
  1808. '
  1809. ac_precious_vars='build_alias
  1810. host_alias
  1811. target_alias
  1812. CC
  1813. CFLAGS
  1814. LDFLAGS
  1815. LIBS
  1816. CPPFLAGS
  1817. CXX
  1818. CXXFLAGS
  1819. CCC
  1820. CPP
  1821. OBJC
  1822. OBJCFLAGS
  1823. OBJCPP
  1824. XMKMF
  1825. XML2_CFLAGS
  1826. XML2_LIBS
  1827. XSLT_CFLAGS
  1828. XSLT_LIBS
  1829. INOTIFY_CFLAGS
  1830. INOTIFY_LIBS
  1831. DBUS_CFLAGS
  1832. DBUS_LIBS
  1833. HAL_CFLAGS
  1834. HAL_LIBS
  1835. GNUTLS_CFLAGS
  1836. GNUTLS_LIBS
  1837. SANE_CFLAGS
  1838. SANE_LIBS
  1839. GPHOTO2_CFLAGS
  1840. GPHOTO2_LIBS
  1841. GPHOTO2_PORT_CFLAGS
  1842. GPHOTO2_PORT_LIBS
  1843. LCMS2_CFLAGS
  1844. LCMS2_LIBS
  1845. GTK3_CFLAGS
  1846. GTK3_LIBS
  1847. FREETYPE_CFLAGS
  1848. FREETYPE_LIBS
  1849. Z_CFLAGS
  1850. Z_LIBS
  1851. PULSE_CFLAGS
  1852. PULSE_LIBS
  1853. GSTREAMER_CFLAGS
  1854. GSTREAMER_LIBS
  1855. UDEV_CFLAGS
  1856. UDEV_LIBS
  1857. UNWIND_CFLAGS
  1858. UNWIND_LIBS
  1859. SDL2_CFLAGS
  1860. SDL2_LIBS
  1861. FAUDIO_CFLAGS
  1862. FAUDIO_LIBS
  1863. CAPI20_CFLAGS
  1864. CAPI20_LIBS
  1865. CUPS_CFLAGS
  1866. CUPS_LIBS
  1867. FONTCONFIG_CFLAGS
  1868. FONTCONFIG_LIBS
  1869. KRB5_CFLAGS
  1870. KRB5_LIBS
  1871. GSSAPI_CFLAGS
  1872. GSSAPI_LIBS
  1873. JPEG_CFLAGS
  1874. JPEG_LIBS
  1875. PNG_CFLAGS
  1876. PNG_LIBS
  1877. TIFF_CFLAGS
  1878. TIFF_LIBS
  1879. MPG123_CFLAGS
  1880. MPG123_LIBS
  1881. NETAPI_CFLAGS
  1882. NETAPI_LIBS
  1883. VKD3D_CFLAGS
  1884. VKD3D_LIBS
  1885. GCRYPT_CFLAGS
  1886. GCRYPT_LIBS
  1887. LDAP_CFLAGS
  1888. LDAP_LIBS'
  1889. # Initialize some variables set by options.
  1890. ac_init_help=
  1891. ac_init_version=false
  1892. ac_unrecognized_opts=
  1893. ac_unrecognized_sep=
  1894. # The variables have the same names as the options, with
  1895. # dashes changed to underlines.
  1896. cache_file=/dev/null
  1897. exec_prefix=NONE
  1898. no_create=
  1899. no_recursion=
  1900. prefix=NONE
  1901. program_prefix=NONE
  1902. program_suffix=NONE
  1903. program_transform_name=s,x,x,
  1904. silent=
  1905. site=
  1906. srcdir=
  1907. verbose=
  1908. x_includes=NONE
  1909. x_libraries=NONE
  1910. # Installation directory options.
  1911. # These are left unexpanded so users can "make install exec_prefix=/foo"
  1912. # and all the variables that are supposed to be based on exec_prefix
  1913. # by default will actually change.
  1914. # Use braces instead of parens because sh, perl, etc. also accept them.
  1915. # (The list follows the same order as the GNU Coding Standards.)
  1916. bindir='${exec_prefix}/bin'
  1917. sbindir='${exec_prefix}/sbin'
  1918. libexecdir='${exec_prefix}/libexec'
  1919. datarootdir='${prefix}/share'
  1920. datadir='${datarootdir}'
  1921. sysconfdir='${prefix}/etc'
  1922. sharedstatedir='${prefix}/com'
  1923. localstatedir='${prefix}/var'
  1924. includedir='${prefix}/include'
  1925. oldincludedir='/usr/include'
  1926. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  1927. infodir='${datarootdir}/info'
  1928. htmldir='${docdir}'
  1929. dvidir='${docdir}'
  1930. pdfdir='${docdir}'
  1931. psdir='${docdir}'
  1932. libdir='${exec_prefix}/lib'
  1933. localedir='${datarootdir}/locale'
  1934. mandir='${datarootdir}/man'
  1935. ac_prev=
  1936. ac_dashdash=
  1937. for ac_option
  1938. do
  1939. # If the previous option needs an argument, assign it.
  1940. if test -n "$ac_prev"; then
  1941. eval $ac_prev=\$ac_option
  1942. ac_prev=
  1943. continue
  1944. fi
  1945. case $ac_option in
  1946. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1947. *=) ac_optarg= ;;
  1948. *) ac_optarg=yes ;;
  1949. esac
  1950. # Accept the important Cygnus configure options, so we can diagnose typos.
  1951. case $ac_dashdash$ac_option in
  1952. --)
  1953. ac_dashdash=yes ;;
  1954. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1955. ac_prev=bindir ;;
  1956. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1957. bindir=$ac_optarg ;;
  1958. -build | --build | --buil | --bui | --bu)
  1959. ac_prev=build_alias ;;
  1960. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1961. build_alias=$ac_optarg ;;
  1962. -cache-file | --cache-file | --cache-fil | --cache-fi \
  1963. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1964. ac_prev=cache_file ;;
  1965. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1966. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1967. cache_file=$ac_optarg ;;
  1968. --config-cache | -C)
  1969. cache_file=config.cache ;;
  1970. -datadir | --datadir | --datadi | --datad)
  1971. ac_prev=datadir ;;
  1972. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1973. datadir=$ac_optarg ;;
  1974. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1975. | --dataroo | --dataro | --datar)
  1976. ac_prev=datarootdir ;;
  1977. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  1978. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  1979. datarootdir=$ac_optarg ;;
  1980. -disable-* | --disable-*)
  1981. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  1982. # Reject names that are not valid shell variable names.
  1983. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  1984. as_fn_error $? "invalid feature name: $ac_useropt"
  1985. ac_useropt_orig=$ac_useropt
  1986. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  1987. case $ac_user_opts in
  1988. *"
  1989. "enable_$ac_useropt"
  1990. "*) ;;
  1991. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  1992. ac_unrecognized_sep=', ';;
  1993. esac
  1994. eval enable_$ac_useropt=no ;;
  1995. -docdir | --docdir | --docdi | --doc | --do)
  1996. ac_prev=docdir ;;
  1997. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  1998. docdir=$ac_optarg ;;
  1999. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  2000. ac_prev=dvidir ;;
  2001. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  2002. dvidir=$ac_optarg ;;
  2003. -enable-* | --enable-*)
  2004. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  2005. # Reject names that are not valid shell variable names.
  2006. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2007. as_fn_error $? "invalid feature name: $ac_useropt"
  2008. ac_useropt_orig=$ac_useropt
  2009. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2010. case $ac_user_opts in
  2011. *"
  2012. "enable_$ac_useropt"
  2013. "*) ;;
  2014. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  2015. ac_unrecognized_sep=', ';;
  2016. esac
  2017. eval enable_$ac_useropt=\$ac_optarg ;;
  2018. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  2019. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  2020. | --exec | --exe | --ex)
  2021. ac_prev=exec_prefix ;;
  2022. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  2023. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  2024. | --exec=* | --exe=* | --ex=*)
  2025. exec_prefix=$ac_optarg ;;
  2026. -gas | --gas | --ga | --g)
  2027. # Obsolete; use --with-gas.
  2028. with_gas=yes ;;
  2029. -help | --help | --hel | --he | -h)
  2030. ac_init_help=long ;;
  2031. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  2032. ac_init_help=recursive ;;
  2033. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  2034. ac_init_help=short ;;
  2035. -host | --host | --hos | --ho)
  2036. ac_prev=host_alias ;;
  2037. -host=* | --host=* | --hos=* | --ho=*)
  2038. host_alias=$ac_optarg ;;
  2039. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  2040. ac_prev=htmldir ;;
  2041. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  2042. | --ht=*)
  2043. htmldir=$ac_optarg ;;
  2044. -includedir | --includedir | --includedi | --included | --include \
  2045. | --includ | --inclu | --incl | --inc)
  2046. ac_prev=includedir ;;
  2047. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  2048. | --includ=* | --inclu=* | --incl=* | --inc=*)
  2049. includedir=$ac_optarg ;;
  2050. -infodir | --infodir | --infodi | --infod | --info | --inf)
  2051. ac_prev=infodir ;;
  2052. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  2053. infodir=$ac_optarg ;;
  2054. -libdir | --libdir | --libdi | --libd)
  2055. ac_prev=libdir ;;
  2056. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  2057. libdir=$ac_optarg ;;
  2058. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  2059. | --libexe | --libex | --libe)
  2060. ac_prev=libexecdir ;;
  2061. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  2062. | --libexe=* | --libex=* | --libe=*)
  2063. libexecdir=$ac_optarg ;;
  2064. -localedir | --localedir | --localedi | --localed | --locale)
  2065. ac_prev=localedir ;;
  2066. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  2067. localedir=$ac_optarg ;;
  2068. -localstatedir | --localstatedir | --localstatedi | --localstated \
  2069. | --localstate | --localstat | --localsta | --localst | --locals)
  2070. ac_prev=localstatedir ;;
  2071. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  2072. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  2073. localstatedir=$ac_optarg ;;
  2074. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  2075. ac_prev=mandir ;;
  2076. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  2077. mandir=$ac_optarg ;;
  2078. -nfp | --nfp | --nf)
  2079. # Obsolete; use --without-fp.
  2080. with_fp=no ;;
  2081. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  2082. | --no-cr | --no-c | -n)
  2083. no_create=yes ;;
  2084. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  2085. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  2086. no_recursion=yes ;;
  2087. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  2088. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  2089. | --oldin | --oldi | --old | --ol | --o)
  2090. ac_prev=oldincludedir ;;
  2091. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  2092. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  2093. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  2094. oldincludedir=$ac_optarg ;;
  2095. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  2096. ac_prev=prefix ;;
  2097. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  2098. prefix=$ac_optarg ;;
  2099. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  2100. | --program-pre | --program-pr | --program-p)
  2101. ac_prev=program_prefix ;;
  2102. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  2103. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  2104. program_prefix=$ac_optarg ;;
  2105. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  2106. | --program-suf | --program-su | --program-s)
  2107. ac_prev=program_suffix ;;
  2108. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  2109. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  2110. program_suffix=$ac_optarg ;;
  2111. -program-transform-name | --program-transform-name \
  2112. | --program-transform-nam | --program-transform-na \
  2113. | --program-transform-n | --program-transform- \
  2114. | --program-transform | --program-transfor \
  2115. | --program-transfo | --program-transf \
  2116. | --program-trans | --program-tran \
  2117. | --progr-tra | --program-tr | --program-t)
  2118. ac_prev=program_transform_name ;;
  2119. -program-transform-name=* | --program-transform-name=* \
  2120. | --program-transform-nam=* | --program-transform-na=* \
  2121. | --program-transform-n=* | --program-transform-=* \
  2122. | --program-transform=* | --program-transfor=* \
  2123. | --program-transfo=* | --program-transf=* \
  2124. | --program-trans=* | --program-tran=* \
  2125. | --progr-tra=* | --program-tr=* | --program-t=*)
  2126. program_transform_name=$ac_optarg ;;
  2127. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  2128. ac_prev=pdfdir ;;
  2129. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  2130. pdfdir=$ac_optarg ;;
  2131. -psdir | --psdir | --psdi | --psd | --ps)
  2132. ac_prev=psdir ;;
  2133. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  2134. psdir=$ac_optarg ;;
  2135. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2136. | -silent | --silent | --silen | --sile | --sil)
  2137. silent=yes ;;
  2138. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  2139. ac_prev=sbindir ;;
  2140. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  2141. | --sbi=* | --sb=*)
  2142. sbindir=$ac_optarg ;;
  2143. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  2144. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  2145. | --sharedst | --shareds | --shared | --share | --shar \
  2146. | --sha | --sh)
  2147. ac_prev=sharedstatedir ;;
  2148. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  2149. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  2150. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  2151. | --sha=* | --sh=*)
  2152. sharedstatedir=$ac_optarg ;;
  2153. -site | --site | --sit)
  2154. ac_prev=site ;;
  2155. -site=* | --site=* | --sit=*)
  2156. site=$ac_optarg ;;
  2157. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  2158. ac_prev=srcdir ;;
  2159. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  2160. srcdir=$ac_optarg ;;
  2161. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  2162. | --syscon | --sysco | --sysc | --sys | --sy)
  2163. ac_prev=sysconfdir ;;
  2164. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  2165. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  2166. sysconfdir=$ac_optarg ;;
  2167. -target | --target | --targe | --targ | --tar | --ta | --t)
  2168. ac_prev=target_alias ;;
  2169. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  2170. target_alias=$ac_optarg ;;
  2171. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  2172. verbose=yes ;;
  2173. -version | --version | --versio | --versi | --vers | -V)
  2174. ac_init_version=: ;;
  2175. -with-* | --with-*)
  2176. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  2177. # Reject names that are not valid shell variable names.
  2178. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2179. as_fn_error $? "invalid package name: $ac_useropt"
  2180. ac_useropt_orig=$ac_useropt
  2181. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2182. case $ac_user_opts in
  2183. *"
  2184. "with_$ac_useropt"
  2185. "*) ;;
  2186. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  2187. ac_unrecognized_sep=', ';;
  2188. esac
  2189. eval with_$ac_useropt=\$ac_optarg ;;
  2190. -without-* | --without-*)
  2191. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  2192. # Reject names that are not valid shell variable names.
  2193. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2194. as_fn_error $? "invalid package name: $ac_useropt"
  2195. ac_useropt_orig=$ac_useropt
  2196. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2197. case $ac_user_opts in
  2198. *"
  2199. "with_$ac_useropt"
  2200. "*) ;;
  2201. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  2202. ac_unrecognized_sep=', ';;
  2203. esac
  2204. eval with_$ac_useropt=no ;;
  2205. --x)
  2206. # Obsolete; use --with-x.
  2207. with_x=yes ;;
  2208. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  2209. | --x-incl | --x-inc | --x-in | --x-i)
  2210. ac_prev=x_includes ;;
  2211. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  2212. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  2213. x_includes=$ac_optarg ;;
  2214. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  2215. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  2216. ac_prev=x_libraries ;;
  2217. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  2218. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  2219. x_libraries=$ac_optarg ;;
  2220. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  2221. Try \`$0 --help' for more information"
  2222. ;;
  2223. *=*)
  2224. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  2225. # Reject names that are not valid shell variable names.
  2226. case $ac_envvar in #(
  2227. '' | [0-9]* | *[!_$as_cr_alnum]* )
  2228. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  2229. esac
  2230. eval $ac_envvar=\$ac_optarg
  2231. export $ac_envvar ;;
  2232. *)
  2233. # FIXME: should be removed in autoconf 3.0.
  2234. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  2235. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  2236. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  2237. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  2238. ;;
  2239. esac
  2240. done
  2241. if test -n "$ac_prev"; then
  2242. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  2243. as_fn_error $? "missing argument to $ac_option"
  2244. fi
  2245. if test -n "$ac_unrecognized_opts"; then
  2246. case $enable_option_checking in
  2247. no) ;;
  2248. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  2249. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  2250. esac
  2251. fi
  2252. # Check all directory arguments for consistency.
  2253. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  2254. datadir sysconfdir sharedstatedir localstatedir includedir \
  2255. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  2256. libdir localedir mandir
  2257. do
  2258. eval ac_val=\$$ac_var
  2259. # Remove trailing slashes.
  2260. case $ac_val in
  2261. */ )
  2262. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  2263. eval $ac_var=\$ac_val;;
  2264. esac
  2265. # Be sure to have absolute directory names.
  2266. case $ac_val in
  2267. [\\/$]* | ?:[\\/]* ) continue;;
  2268. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  2269. esac
  2270. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  2271. done
  2272. # There might be people who depend on the old broken behavior: `$host'
  2273. # used to hold the argument of --host etc.
  2274. # FIXME: To remove some day.
  2275. build=$build_alias
  2276. host=$host_alias
  2277. target=$target_alias
  2278. # FIXME: To remove some day.
  2279. if test "x$host_alias" != x; then
  2280. if test "x$build_alias" = x; then
  2281. cross_compiling=maybe
  2282. elif test "x$build_alias" != "x$host_alias"; then
  2283. cross_compiling=yes
  2284. fi
  2285. fi
  2286. ac_tool_prefix=
  2287. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  2288. test "$silent" = yes && exec 6>/dev/null
  2289. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  2290. ac_ls_di=`ls -di .` &&
  2291. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  2292. as_fn_error $? "working directory cannot be determined"
  2293. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  2294. as_fn_error $? "pwd does not report name of working directory"
  2295. # Find the source files, if location was not specified.
  2296. if test -z "$srcdir"; then
  2297. ac_srcdir_defaulted=yes
  2298. # Try the directory containing this script, then the parent directory.
  2299. ac_confdir=`$as_dirname -- "$as_myself" ||
  2300. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  2301. X"$as_myself" : 'X\(//\)[^/]' \| \
  2302. X"$as_myself" : 'X\(//\)$' \| \
  2303. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  2304. $as_echo X"$as_myself" |
  2305. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  2306. s//\1/
  2307. q
  2308. }
  2309. /^X\(\/\/\)[^/].*/{
  2310. s//\1/
  2311. q
  2312. }
  2313. /^X\(\/\/\)$/{
  2314. s//\1/
  2315. q
  2316. }
  2317. /^X\(\/\).*/{
  2318. s//\1/
  2319. q
  2320. }
  2321. s/.*/./; q'`
  2322. srcdir=$ac_confdir
  2323. if test ! -r "$srcdir/$ac_unique_file"; then
  2324. srcdir=..
  2325. fi
  2326. else
  2327. ac_srcdir_defaulted=no
  2328. fi
  2329. if test ! -r "$srcdir/$ac_unique_file"; then
  2330. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  2331. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  2332. fi
  2333. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  2334. ac_abs_confdir=`(
  2335. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  2336. pwd)`
  2337. # When building in place, set srcdir=.
  2338. if test "$ac_abs_confdir" = "$ac_pwd"; then
  2339. srcdir=.
  2340. fi
  2341. # Remove unnecessary trailing slashes from srcdir.
  2342. # Double slashes in file names in object file debugging info
  2343. # mess up M-x gdb in Emacs.
  2344. case $srcdir in
  2345. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  2346. esac
  2347. for ac_var in $ac_precious_vars; do
  2348. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  2349. eval ac_env_${ac_var}_value=\$${ac_var}
  2350. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  2351. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  2352. done
  2353. #
  2354. # Report the --help message.
  2355. #
  2356. if test "$ac_init_help" = "long"; then
  2357. # Omit some internal or obsolete options to make the list less imposing.
  2358. # This message is too long to be a string in the A/UX 3.1 sh.
  2359. cat <<_ACEOF
  2360. \`configure' configures Wine 5.5 to adapt to many kinds of systems.
  2361. Usage: $0 [OPTION]... [VAR=VALUE]...
  2362. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  2363. VAR=VALUE. See below for descriptions of some of the useful variables.
  2364. Defaults for the options are specified in brackets.
  2365. Configuration:
  2366. -h, --help display this help and exit
  2367. --help=short display options specific to this package
  2368. --help=recursive display the short help of all the included packages
  2369. -V, --version display version information and exit
  2370. -q, --quiet, --silent do not print \`checking ...' messages
  2371. --cache-file=FILE cache test results in FILE [disabled]
  2372. -C, --config-cache alias for \`--cache-file=config.cache'
  2373. -n, --no-create do not create output files
  2374. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  2375. Installation directories:
  2376. --prefix=PREFIX install architecture-independent files in PREFIX
  2377. [$ac_default_prefix]
  2378. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  2379. [PREFIX]
  2380. By default, \`make install' will install all the files in
  2381. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  2382. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  2383. for instance \`--prefix=\$HOME'.
  2384. For better control, use the options below.
  2385. Fine tuning of the installation directories:
  2386. --bindir=DIR user executables [EPREFIX/bin]
  2387. --sbindir=DIR system admin executables [EPREFIX/sbin]
  2388. --libexecdir=DIR program executables [EPREFIX/libexec]
  2389. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  2390. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  2391. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  2392. --libdir=DIR object code libraries [EPREFIX/lib]
  2393. --includedir=DIR C header files [PREFIX/include]
  2394. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  2395. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  2396. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  2397. --infodir=DIR info documentation [DATAROOTDIR/info]
  2398. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  2399. --mandir=DIR man documentation [DATAROOTDIR/man]
  2400. --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
  2401. --htmldir=DIR html documentation [DOCDIR]
  2402. --dvidir=DIR dvi documentation [DOCDIR]
  2403. --pdfdir=DIR pdf documentation [DOCDIR]
  2404. --psdir=DIR ps documentation [DOCDIR]
  2405. _ACEOF
  2406. cat <<\_ACEOF
  2407. X features:
  2408. --x-includes=DIR X include files are in DIR
  2409. --x-libraries=DIR X library files are in DIR
  2410. System types:
  2411. --build=BUILD configure for building on BUILD [guessed]
  2412. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  2413. _ACEOF
  2414. fi
  2415. if test -n "$ac_init_help"; then
  2416. case $ac_init_help in
  2417. short | recursive ) echo "Configuration of Wine 5.5:";;
  2418. esac
  2419. cat <<\_ACEOF
  2420. Optional Features:
  2421. --disable-option-checking ignore unrecognized --enable/--with options
  2422. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  2423. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  2424. --disable-win16 do not include Win16 support
  2425. --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
  2426. binaries)
  2427. --disable-tests do not build the regression tests
  2428. --enable-maintainer-mode
  2429. enable maintainer-specific build rules
  2430. --enable-werror treat compilation warnings as errors
  2431. --disable-largefile omit support for large files
  2432. Optional Packages:
  2433. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  2434. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  2435. --without-alsa do not use the Alsa sound support
  2436. --without-capi do not use CAPI (ISDN support)
  2437. --without-cms do not use CMS (color management support)
  2438. --without-coreaudio do not use the CoreAudio sound support
  2439. --without-cups do not use CUPS
  2440. --without-curses do not use (n)curses
  2441. --without-dbus do not use DBus (dynamic device support)
  2442. --without-faudio do not use FAudio (XAudio2 support)
  2443. --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
  2444. --without-fontconfig do not use fontconfig
  2445. --without-freetype do not use the FreeType library
  2446. --without-gcrypt do not use libgcrypt
  2447. --without-gettext do not use gettext
  2448. --with-gettextpo use the GetTextPO library to rebuild po files
  2449. --without-gphoto do not use gphoto (Digital Camera support)
  2450. --without-glu do not use the GLU library
  2451. --without-gnutls do not use GnuTLS (schannel support)
  2452. --without-gsm do not use libgsm (GSM 06.10 codec support)
  2453. --without-gssapi do not use GSSAPI (Kerberos SSP support)
  2454. --without-gstreamer do not use GStreamer (codecs support)
  2455. --without-gtk3 do not use gtk3 (gtk3 theming support)
  2456. --without-hal do not use HAL (dynamic device support)
  2457. --without-inotify do not use inotify (filesystem change notifications)
  2458. --without-jpeg do not use JPEG
  2459. --without-krb5 do not use krb5 (Kerberos)
  2460. --without-ldap do not use LDAP
  2461. --without-mingw do not use the MinGW cross-compiler
  2462. --without-mpg123 do not use the mpg123 library
  2463. --without-netapi do not use the Samba NetAPI library
  2464. --without-openal do not use OpenAL
  2465. --without-opencl do not use OpenCL
  2466. --without-opengl do not use OpenGL
  2467. --without-osmesa do not use the OSMesa library
  2468. --without-oss do not use the OSS sound support
  2469. --without-pcap do not use the Packet Capture library
  2470. --without-png do not use PNG
  2471. --without-pthread do not use the pthread library
  2472. --without-pulse do not use PulseAudio sound support
  2473. --without-sane do not use SANE (scanner support)
  2474. --without-sdl do not use SDL
  2475. --without-tiff do not use TIFF
  2476. --without-udev do not use udev (plug and play support)
  2477. --without-unwind do not use the libunwind library (exception
  2478. handling)
  2479. --without-v4l2 do not use v4l2 (video capture)
  2480. --without-vkd3d do not use vkd3d (Direct3D 12 support)
  2481. --without-vulkan do not use Vulkan
  2482. --without-xattr do not use xattr (security attributes support)
  2483. --without-xcomposite do not use the Xcomposite extension
  2484. --without-xcursor do not use the Xcursor extension
  2485. --without-xfixes do not use Xfixes for clipboard change notifications
  2486. --without-xinerama do not use Xinerama (legacy multi-monitor support)
  2487. --without-xinput do not use the Xinput extension
  2488. --without-xinput2 do not use the Xinput 2 extension
  2489. --without-xml do not use XML
  2490. --without-xrandr do not use Xrandr (multi-monitor support)
  2491. --without-xrender do not use the Xrender extension
  2492. --without-xshape do not use the Xshape extension
  2493. --without-xshm do not use XShm (shared memory extension)
  2494. --without-xslt do not use XSLT
  2495. --without-xxf86vm do not use XFree video mode extension
  2496. --without-zlib do not use Zlib (data compression)
  2497. --without-va do not use VA (GPU video acceleration)
  2498. --with-wine-tools=DIR use Wine tools from directory DIR
  2499. --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
  2500. --with-x use the X Window System
  2501. Some influential environment variables:
  2502. CC C compiler command
  2503. CFLAGS C compiler flags
  2504. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  2505. nonstandard directory <lib dir>
  2506. LIBS libraries to pass to the linker, e.g. -l<library>
  2507. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  2508. you have headers in a nonstandard directory <include dir>
  2509. CXX C++ compiler command
  2510. CXXFLAGS C++ compiler flags
  2511. CPP C preprocessor
  2512. OBJC Objective C compiler command
  2513. OBJCFLAGS Objective C compiler flags
  2514. OBJCPP Objective C preprocessor
  2515. XMKMF Path to xmkmf, Makefile generator for X Window System
  2516. XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
  2517. XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
  2518. XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
  2519. XSLT_LIBS Linker flags for libxslt, overriding pkg-config
  2520. INOTIFY_CFLAGS
  2521. C compiler flags for libinotify, overriding pkg-config
  2522. INOTIFY_LIBS
  2523. Linker flags for libinotify, overriding pkg-config
  2524. DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
  2525. DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
  2526. HAL_CFLAGS C compiler flags for hal, overriding pkg-config
  2527. HAL_LIBS Linker flags for hal, overriding pkg-config
  2528. GNUTLS_CFLAGS
  2529. C compiler flags for gnutls, overriding pkg-config
  2530. GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
  2531. SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
  2532. SANE_LIBS Linker flags for libsane, overriding pkg-config
  2533. GPHOTO2_CFLAGS
  2534. C compiler flags for libgphoto2, overriding pkg-config
  2535. GPHOTO2_LIBS
  2536. Linker flags for libgphoto2, overriding pkg-config
  2537. GPHOTO2_PORT_CFLAGS
  2538. C compiler flags for libgphoto2_port, overriding pkg-config
  2539. GPHOTO2_PORT_LIBS
  2540. Linker flags for libgphoto2_port, overriding pkg-config
  2541. LCMS2_CFLAGS
  2542. C compiler flags for lcms2, overriding pkg-config
  2543. LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
  2544. GTK3_CFLAGS C compiler flags for gtk+-3.0, overriding pkg-config
  2545. GTK3_LIBS Linker flags for gtk+-3.0, overriding pkg-config
  2546. FREETYPE_CFLAGS
  2547. C compiler flags for freetype2, overriding pkg-config
  2548. FREETYPE_LIBS
  2549. Linker flags for freetype2, overriding pkg-config
  2550. Z_CFLAGS C compiler flags for libz, overriding pkg-config
  2551. Z_LIBS Linker flags for libz, overriding pkg-config
  2552. PULSE_CFLAGS
  2553. C compiler flags for libpulse, overriding pkg-config
  2554. PULSE_LIBS Linker flags for libpulse, overriding pkg-config
  2555. GSTREAMER_CFLAGS
  2556. C compiler flags for gstreamer-1.0 gstreamer-video-1.0
  2557. gstreamer-audio-1.0, overriding pkg-config
  2558. GSTREAMER_LIBS
  2559. Linker flags for gstreamer-1.0 gstreamer-video-1.0
  2560. gstreamer-audio-1.0, overriding pkg-config
  2561. UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
  2562. UDEV_LIBS Linker flags for libudev, overriding pkg-config
  2563. UNWIND_CFLAGS
  2564. C compiler flags for libunwind, overriding pkg-config
  2565. UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
  2566. SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
  2567. SDL2_LIBS Linker flags for sdl2, overriding pkg-config
  2568. FAUDIO_CFLAGS
  2569. C compiler flags for faudio, overriding pkg-config
  2570. FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
  2571. CAPI20_CFLAGS
  2572. C compiler flags for capi20, overriding pkg-config
  2573. CAPI20_LIBS Linker flags for capi20, overriding pkg-config
  2574. CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
  2575. CUPS_LIBS Linker flags for cups, overriding pkg-config
  2576. FONTCONFIG_CFLAGS
  2577. C compiler flags for fontconfig, overriding pkg-config
  2578. FONTCONFIG_LIBS
  2579. Linker flags for fontconfig, overriding pkg-config
  2580. KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
  2581. KRB5_LIBS Linker flags for krb5, overriding pkg-config
  2582. GSSAPI_CFLAGS
  2583. C compiler flags for krb5-gssapi, overriding pkg-config
  2584. GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
  2585. JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
  2586. JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
  2587. PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
  2588. PNG_LIBS Linker flags for libpng, overriding pkg-config
  2589. TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
  2590. TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
  2591. MPG123_CFLAGS
  2592. C compiler flags for libmpg123, overriding pkg-config
  2593. MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
  2594. NETAPI_CFLAGS
  2595. C compiler flags for netapi, overriding pkg-config
  2596. NETAPI_LIBS Linker flags for netapi, overriding pkg-config
  2597. VKD3D_CFLAGS
  2598. C compiler flags for libvkd3d, overriding pkg-config
  2599. VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
  2600. GCRYPT_CFLAGS
  2601. C compiler flags for libgcrypt, overriding pkg-config
  2602. GCRYPT_LIBS Linker flags for libgcrypt, overriding pkg-config
  2603. LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
  2604. LDAP_LIBS Linker flags for openldap, overriding pkg-config
  2605. Use these variables to override the choices made by `configure' or to help
  2606. it to find libraries and programs with nonstandard names/locations.
  2607. Report bugs to <wine-devel@winehq.org>.
  2608. Wine home page: <https://www.winehq.org>.
  2609. _ACEOF
  2610. ac_status=$?
  2611. fi
  2612. if test "$ac_init_help" = "recursive"; then
  2613. # If there are subdirs, report their specific --help.
  2614. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  2615. test -d "$ac_dir" ||
  2616. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  2617. continue
  2618. ac_builddir=.
  2619. case "$ac_dir" in
  2620. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2621. *)
  2622. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  2623. # A ".." for each directory in $ac_dir_suffix.
  2624. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  2625. case $ac_top_builddir_sub in
  2626. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2627. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  2628. esac ;;
  2629. esac
  2630. ac_abs_top_builddir=$ac_pwd
  2631. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  2632. # for backward compatibility:
  2633. ac_top_builddir=$ac_top_build_prefix
  2634. case $srcdir in
  2635. .) # We are building in place.
  2636. ac_srcdir=.
  2637. ac_top_srcdir=$ac_top_builddir_sub
  2638. ac_abs_top_srcdir=$ac_pwd ;;
  2639. [\\/]* | ?:[\\/]* ) # Absolute name.
  2640. ac_srcdir=$srcdir$ac_dir_suffix;
  2641. ac_top_srcdir=$srcdir
  2642. ac_abs_top_srcdir=$srcdir ;;
  2643. *) # Relative name.
  2644. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  2645. ac_top_srcdir=$ac_top_build_prefix$srcdir
  2646. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  2647. esac
  2648. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  2649. cd "$ac_dir" || { ac_status=$?; continue; }
  2650. # Check for guested configure.
  2651. if test -f "$ac_srcdir/configure.gnu"; then
  2652. echo &&
  2653. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  2654. elif test -f "$ac_srcdir/configure"; then
  2655. echo &&
  2656. $SHELL "$ac_srcdir/configure" --help=recursive
  2657. else
  2658. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  2659. fi || ac_status=$?
  2660. cd "$ac_pwd" || { ac_status=$?; break; }
  2661. done
  2662. fi
  2663. test -n "$ac_init_help" && exit $ac_status
  2664. if $ac_init_version; then
  2665. cat <<\_ACEOF
  2666. Wine configure 5.5
  2667. generated by GNU Autoconf 2.69
  2668. Copyright (C) 2012 Free Software Foundation, Inc.
  2669. This configure script is free software; the Free Software Foundation
  2670. gives unlimited permission to copy, distribute and modify it.
  2671. _ACEOF
  2672. exit
  2673. fi
  2674. ## ------------------------ ##
  2675. ## Autoconf initialization. ##
  2676. ## ------------------------ ##
  2677. # ac_fn_c_try_compile LINENO
  2678. # --------------------------
  2679. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2680. ac_fn_c_try_compile ()
  2681. {
  2682. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2683. rm -f conftest.$ac_objext
  2684. if { { ac_try="$ac_compile"
  2685. case "(($ac_try" in
  2686. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2687. *) ac_try_echo=$ac_try;;
  2688. esac
  2689. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2690. $as_echo "$ac_try_echo"; } >&5
  2691. (eval "$ac_compile") 2>conftest.err
  2692. ac_status=$?
  2693. if test -s conftest.err; then
  2694. grep -v '^ *+' conftest.err >conftest.er1
  2695. cat conftest.er1 >&5
  2696. mv -f conftest.er1 conftest.err
  2697. fi
  2698. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2699. test $ac_status = 0; } && {
  2700. test -z "$ac_c_werror_flag" ||
  2701. test ! -s conftest.err
  2702. } && test -s conftest.$ac_objext; then :
  2703. ac_retval=0
  2704. else
  2705. $as_echo "$as_me: failed program was:" >&5
  2706. sed 's/^/| /' conftest.$ac_ext >&5
  2707. ac_retval=1
  2708. fi
  2709. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2710. as_fn_set_status $ac_retval
  2711. } # ac_fn_c_try_compile
  2712. # ac_fn_cxx_try_compile LINENO
  2713. # ----------------------------
  2714. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2715. ac_fn_cxx_try_compile ()
  2716. {
  2717. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2718. rm -f conftest.$ac_objext
  2719. if { { ac_try="$ac_compile"
  2720. case "(($ac_try" in
  2721. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2722. *) ac_try_echo=$ac_try;;
  2723. esac
  2724. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2725. $as_echo "$ac_try_echo"; } >&5
  2726. (eval "$ac_compile") 2>conftest.err
  2727. ac_status=$?
  2728. if test -s conftest.err; then
  2729. grep -v '^ *+' conftest.err >conftest.er1
  2730. cat conftest.er1 >&5
  2731. mv -f conftest.er1 conftest.err
  2732. fi
  2733. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2734. test $ac_status = 0; } && {
  2735. test -z "$ac_cxx_werror_flag" ||
  2736. test ! -s conftest.err
  2737. } && test -s conftest.$ac_objext; then :
  2738. ac_retval=0
  2739. else
  2740. $as_echo "$as_me: failed program was:" >&5
  2741. sed 's/^/| /' conftest.$ac_ext >&5
  2742. ac_retval=1
  2743. fi
  2744. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2745. as_fn_set_status $ac_retval
  2746. } # ac_fn_cxx_try_compile
  2747. # ac_fn_c_try_link LINENO
  2748. # -----------------------
  2749. # Try to link conftest.$ac_ext, and return whether this succeeded.
  2750. ac_fn_c_try_link ()
  2751. {
  2752. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2753. rm -f conftest.$ac_objext conftest$ac_exeext
  2754. if { { ac_try="$ac_link"
  2755. case "(($ac_try" in
  2756. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2757. *) ac_try_echo=$ac_try;;
  2758. esac
  2759. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2760. $as_echo "$ac_try_echo"; } >&5
  2761. (eval "$ac_link") 2>conftest.err
  2762. ac_status=$?
  2763. if test -s conftest.err; then
  2764. grep -v '^ *+' conftest.err >conftest.er1
  2765. cat conftest.er1 >&5
  2766. mv -f conftest.er1 conftest.err
  2767. fi
  2768. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2769. test $ac_status = 0; } && {
  2770. test -z "$ac_c_werror_flag" ||
  2771. test ! -s conftest.err
  2772. } && test -s conftest$ac_exeext && {
  2773. test "$cross_compiling" = yes ||
  2774. test -x conftest$ac_exeext
  2775. }; then :
  2776. ac_retval=0
  2777. else
  2778. $as_echo "$as_me: failed program was:" >&5
  2779. sed 's/^/| /' conftest.$ac_ext >&5
  2780. ac_retval=1
  2781. fi
  2782. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2783. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2784. # interfere with the next link command; also delete a directory that is
  2785. # left behind by Apple's compiler. We do this before executing the actions.
  2786. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2787. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2788. as_fn_set_status $ac_retval
  2789. } # ac_fn_c_try_link
  2790. # ac_fn_c_try_cpp LINENO
  2791. # ----------------------
  2792. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  2793. ac_fn_c_try_cpp ()
  2794. {
  2795. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2796. if { { ac_try="$ac_cpp conftest.$ac_ext"
  2797. case "(($ac_try" in
  2798. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2799. *) ac_try_echo=$ac_try;;
  2800. esac
  2801. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2802. $as_echo "$ac_try_echo"; } >&5
  2803. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  2804. ac_status=$?
  2805. if test -s conftest.err; then
  2806. grep -v '^ *+' conftest.err >conftest.er1
  2807. cat conftest.er1 >&5
  2808. mv -f conftest.er1 conftest.err
  2809. fi
  2810. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2811. test $ac_status = 0; } > conftest.i && {
  2812. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2813. test ! -s conftest.err
  2814. }; then :
  2815. ac_retval=0
  2816. else
  2817. $as_echo "$as_me: failed program was:" >&5
  2818. sed 's/^/| /' conftest.$ac_ext >&5
  2819. ac_retval=1
  2820. fi
  2821. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2822. as_fn_set_status $ac_retval
  2823. } # ac_fn_c_try_cpp
  2824. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  2825. # -------------------------------------------------------
  2826. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  2827. # the include files in INCLUDES and setting the cache variable VAR
  2828. # accordingly.
  2829. ac_fn_c_check_header_mongrel ()
  2830. {
  2831. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2832. if eval \${$3+:} false; then :
  2833. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2834. $as_echo_n "checking for $2... " >&6; }
  2835. if eval \${$3+:} false; then :
  2836. $as_echo_n "(cached) " >&6
  2837. fi
  2838. eval ac_res=\$$3
  2839. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2840. $as_echo "$ac_res" >&6; }
  2841. else
  2842. # Is the header compilable?
  2843. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  2844. $as_echo_n "checking $2 usability... " >&6; }
  2845. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2846. /* end confdefs.h. */
  2847. $4
  2848. #include <$2>
  2849. _ACEOF
  2850. if ac_fn_c_try_compile "$LINENO"; then :
  2851. ac_header_compiler=yes
  2852. else
  2853. ac_header_compiler=no
  2854. fi
  2855. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2856. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  2857. $as_echo "$ac_header_compiler" >&6; }
  2858. # Is the header present?
  2859. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  2860. $as_echo_n "checking $2 presence... " >&6; }
  2861. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2862. /* end confdefs.h. */
  2863. #include <$2>
  2864. _ACEOF
  2865. if ac_fn_c_try_cpp "$LINENO"; then :
  2866. ac_header_preproc=yes
  2867. else
  2868. ac_header_preproc=no
  2869. fi
  2870. rm -f conftest.err conftest.i conftest.$ac_ext
  2871. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  2872. $as_echo "$ac_header_preproc" >&6; }
  2873. # So? What about this header?
  2874. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  2875. yes:no: )
  2876. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  2877. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2878. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2879. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2880. ;;
  2881. no:yes:* )
  2882. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  2883. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  2884. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  2885. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  2886. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2887. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2888. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  2889. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  2890. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2891. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2892. ( $as_echo "## ------------------------------------ ##
  2893. ## Report this to wine-devel@winehq.org ##
  2894. ## ------------------------------------ ##"
  2895. ) | sed "s/^/$as_me: WARNING: /" >&2
  2896. ;;
  2897. esac
  2898. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2899. $as_echo_n "checking for $2... " >&6; }
  2900. if eval \${$3+:} false; then :
  2901. $as_echo_n "(cached) " >&6
  2902. else
  2903. eval "$3=\$ac_header_compiler"
  2904. fi
  2905. eval ac_res=\$$3
  2906. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2907. $as_echo "$ac_res" >&6; }
  2908. fi
  2909. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2910. } # ac_fn_c_check_header_mongrel
  2911. # ac_fn_c_try_run LINENO
  2912. # ----------------------
  2913. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  2914. # that executables *can* be run.
  2915. ac_fn_c_try_run ()
  2916. {
  2917. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2918. if { { ac_try="$ac_link"
  2919. case "(($ac_try" in
  2920. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2921. *) ac_try_echo=$ac_try;;
  2922. esac
  2923. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2924. $as_echo "$ac_try_echo"; } >&5
  2925. (eval "$ac_link") 2>&5
  2926. ac_status=$?
  2927. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2928. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  2929. { { case "(($ac_try" in
  2930. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2931. *) ac_try_echo=$ac_try;;
  2932. esac
  2933. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2934. $as_echo "$ac_try_echo"; } >&5
  2935. (eval "$ac_try") 2>&5
  2936. ac_status=$?
  2937. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2938. test $ac_status = 0; }; }; then :
  2939. ac_retval=0
  2940. else
  2941. $as_echo "$as_me: program exited with status $ac_status" >&5
  2942. $as_echo "$as_me: failed program was:" >&5
  2943. sed 's/^/| /' conftest.$ac_ext >&5
  2944. ac_retval=$ac_status
  2945. fi
  2946. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2947. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2948. as_fn_set_status $ac_retval
  2949. } # ac_fn_c_try_run
  2950. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  2951. # -------------------------------------------------------
  2952. # Tests whether HEADER exists and can be compiled using the include files in
  2953. # INCLUDES, setting the cache variable VAR accordingly.
  2954. ac_fn_c_check_header_compile ()
  2955. {
  2956. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2957. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2958. $as_echo_n "checking for $2... " >&6; }
  2959. if eval \${$3+:} false; then :
  2960. $as_echo_n "(cached) " >&6
  2961. else
  2962. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2963. /* end confdefs.h. */
  2964. $4
  2965. #include <$2>
  2966. _ACEOF
  2967. if ac_fn_c_try_compile "$LINENO"; then :
  2968. eval "$3=yes"
  2969. else
  2970. eval "$3=no"
  2971. fi
  2972. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2973. fi
  2974. eval ac_res=\$$3
  2975. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2976. $as_echo "$ac_res" >&6; }
  2977. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2978. } # ac_fn_c_check_header_compile
  2979. # ac_fn_objc_try_compile LINENO
  2980. # -----------------------------
  2981. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2982. ac_fn_objc_try_compile ()
  2983. {
  2984. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2985. rm -f conftest.$ac_objext
  2986. if { { ac_try="$ac_compile"
  2987. case "(($ac_try" in
  2988. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2989. *) ac_try_echo=$ac_try;;
  2990. esac
  2991. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2992. $as_echo "$ac_try_echo"; } >&5
  2993. (eval "$ac_compile") 2>conftest.err
  2994. ac_status=$?
  2995. if test -s conftest.err; then
  2996. grep -v '^ *+' conftest.err >conftest.er1
  2997. cat conftest.er1 >&5
  2998. mv -f conftest.er1 conftest.err
  2999. fi
  3000. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3001. test $ac_status = 0; } && {
  3002. test -z "$ac_objc_werror_flag" ||
  3003. test ! -s conftest.err
  3004. } && test -s conftest.$ac_objext; then :
  3005. ac_retval=0
  3006. else
  3007. $as_echo "$as_me: failed program was:" >&5
  3008. sed 's/^/| /' conftest.$ac_ext >&5
  3009. ac_retval=1
  3010. fi
  3011. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3012. as_fn_set_status $ac_retval
  3013. } # ac_fn_objc_try_compile
  3014. # ac_fn_objc_try_cpp LINENO
  3015. # -------------------------
  3016. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  3017. ac_fn_objc_try_cpp ()
  3018. {
  3019. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3020. if { { ac_try="$ac_cpp conftest.$ac_ext"
  3021. case "(($ac_try" in
  3022. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3023. *) ac_try_echo=$ac_try;;
  3024. esac
  3025. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3026. $as_echo "$ac_try_echo"; } >&5
  3027. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  3028. ac_status=$?
  3029. if test -s conftest.err; then
  3030. grep -v '^ *+' conftest.err >conftest.er1
  3031. cat conftest.er1 >&5
  3032. mv -f conftest.er1 conftest.err
  3033. fi
  3034. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3035. test $ac_status = 0; } > conftest.i && {
  3036. test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
  3037. test ! -s conftest.err
  3038. }; then :
  3039. ac_retval=0
  3040. else
  3041. $as_echo "$as_me: failed program was:" >&5
  3042. sed 's/^/| /' conftest.$ac_ext >&5
  3043. ac_retval=1
  3044. fi
  3045. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3046. as_fn_set_status $ac_retval
  3047. } # ac_fn_objc_try_cpp
  3048. # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
  3049. # ----------------------------------------------------------
  3050. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  3051. # the include files in INCLUDES and setting the cache variable VAR
  3052. # accordingly.
  3053. ac_fn_objc_check_header_mongrel ()
  3054. {
  3055. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3056. if eval \${$3+:} false; then :
  3057. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3058. $as_echo_n "checking for $2... " >&6; }
  3059. if eval \${$3+:} false; then :
  3060. $as_echo_n "(cached) " >&6
  3061. fi
  3062. eval ac_res=\$$3
  3063. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3064. $as_echo "$ac_res" >&6; }
  3065. else
  3066. # Is the header compilable?
  3067. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  3068. $as_echo_n "checking $2 usability... " >&6; }
  3069. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3070. /* end confdefs.h. */
  3071. $4
  3072. #include <$2>
  3073. _ACEOF
  3074. if ac_fn_objc_try_compile "$LINENO"; then :
  3075. ac_header_compiler=yes
  3076. else
  3077. ac_header_compiler=no
  3078. fi
  3079. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3080. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  3081. $as_echo "$ac_header_compiler" >&6; }
  3082. # Is the header present?
  3083. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  3084. $as_echo_n "checking $2 presence... " >&6; }
  3085. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3086. /* end confdefs.h. */
  3087. #include <$2>
  3088. _ACEOF
  3089. if ac_fn_objc_try_cpp "$LINENO"; then :
  3090. ac_header_preproc=yes
  3091. else
  3092. ac_header_preproc=no
  3093. fi
  3094. rm -f conftest.err conftest.i conftest.$ac_ext
  3095. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  3096. $as_echo "$ac_header_preproc" >&6; }
  3097. # So? What about this header?
  3098. case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
  3099. yes:no: )
  3100. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  3101. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  3102. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  3103. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  3104. ;;
  3105. no:yes:* )
  3106. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  3107. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  3108. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  3109. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  3110. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  3111. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  3112. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  3113. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  3114. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  3115. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  3116. ( $as_echo "## ------------------------------------ ##
  3117. ## Report this to wine-devel@winehq.org ##
  3118. ## ------------------------------------ ##"
  3119. ) | sed "s/^/$as_me: WARNING: /" >&2
  3120. ;;
  3121. esac
  3122. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3123. $as_echo_n "checking for $2... " >&6; }
  3124. if eval \${$3+:} false; then :
  3125. $as_echo_n "(cached) " >&6
  3126. else
  3127. eval "$3=\$ac_header_compiler"
  3128. fi
  3129. eval ac_res=\$$3
  3130. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3131. $as_echo "$ac_res" >&6; }
  3132. fi
  3133. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3134. } # ac_fn_objc_check_header_mongrel
  3135. # ac_fn_c_check_func LINENO FUNC VAR
  3136. # ----------------------------------
  3137. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  3138. ac_fn_c_check_func ()
  3139. {
  3140. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3141. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3142. $as_echo_n "checking for $2... " >&6; }
  3143. if eval \${$3+:} false; then :
  3144. $as_echo_n "(cached) " >&6
  3145. else
  3146. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3147. /* end confdefs.h. */
  3148. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  3149. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3150. #define $2 innocuous_$2
  3151. /* System header to define __stub macros and hopefully few prototypes,
  3152. which can conflict with char $2 (); below.
  3153. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3154. <limits.h> exists even on freestanding compilers. */
  3155. #ifdef __STDC__
  3156. # include <limits.h>
  3157. #else
  3158. # include <assert.h>
  3159. #endif
  3160. #undef $2
  3161. /* Override any GCC internal prototype to avoid an error.
  3162. Use char because int might match the return type of a GCC
  3163. builtin and then its argument prototype would still apply. */
  3164. #ifdef __cplusplus
  3165. extern "C"
  3166. #endif
  3167. char $2 ();
  3168. /* The GNU C library defines this for functions which it implements
  3169. to always fail with ENOSYS. Some functions are actually named
  3170. something starting with __ and the normal name is an alias. */
  3171. #if defined __stub_$2 || defined __stub___$2
  3172. choke me
  3173. #endif
  3174. int
  3175. main ()
  3176. {
  3177. return $2 ();
  3178. ;
  3179. return 0;
  3180. }
  3181. _ACEOF
  3182. if ac_fn_c_try_link "$LINENO"; then :
  3183. eval "$3=yes"
  3184. else
  3185. eval "$3=no"
  3186. fi
  3187. rm -f core conftest.err conftest.$ac_objext \
  3188. conftest$ac_exeext conftest.$ac_ext
  3189. fi
  3190. eval ac_res=\$$3
  3191. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3192. $as_echo "$ac_res" >&6; }
  3193. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3194. } # ac_fn_c_check_func
  3195. # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  3196. # ----------------------------------------------------
  3197. # Tries to find if the field MEMBER exists in type AGGR, after including
  3198. # INCLUDES, setting cache variable VAR accordingly.
  3199. ac_fn_c_check_member ()
  3200. {
  3201. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3202. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  3203. $as_echo_n "checking for $2.$3... " >&6; }
  3204. if eval \${$4+:} false; then :
  3205. $as_echo_n "(cached) " >&6
  3206. else
  3207. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3208. /* end confdefs.h. */
  3209. $5
  3210. int
  3211. main ()
  3212. {
  3213. static $2 ac_aggr;
  3214. if (ac_aggr.$3)
  3215. return 0;
  3216. ;
  3217. return 0;
  3218. }
  3219. _ACEOF
  3220. if ac_fn_c_try_compile "$LINENO"; then :
  3221. eval "$4=yes"
  3222. else
  3223. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3224. /* end confdefs.h. */
  3225. $5
  3226. int
  3227. main ()
  3228. {
  3229. static $2 ac_aggr;
  3230. if (sizeof ac_aggr.$3)
  3231. return 0;
  3232. ;
  3233. return 0;
  3234. }
  3235. _ACEOF
  3236. if ac_fn_c_try_compile "$LINENO"; then :
  3237. eval "$4=yes"
  3238. else
  3239. eval "$4=no"
  3240. fi
  3241. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3242. fi
  3243. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3244. fi
  3245. eval ac_res=\$$4
  3246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3247. $as_echo "$ac_res" >&6; }
  3248. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3249. } # ac_fn_c_check_member
  3250. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  3251. # -------------------------------------------
  3252. # Tests whether TYPE exists after having included INCLUDES, setting cache
  3253. # variable VAR accordingly.
  3254. ac_fn_c_check_type ()
  3255. {
  3256. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3257. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3258. $as_echo_n "checking for $2... " >&6; }
  3259. if eval \${$3+:} false; then :
  3260. $as_echo_n "(cached) " >&6
  3261. else
  3262. eval "$3=no"
  3263. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3264. /* end confdefs.h. */
  3265. $4
  3266. int
  3267. main ()
  3268. {
  3269. if (sizeof ($2))
  3270. return 0;
  3271. ;
  3272. return 0;
  3273. }
  3274. _ACEOF
  3275. if ac_fn_c_try_compile "$LINENO"; then :
  3276. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3277. /* end confdefs.h. */
  3278. $4
  3279. int
  3280. main ()
  3281. {
  3282. if (sizeof (($2)))
  3283. return 0;
  3284. ;
  3285. return 0;
  3286. }
  3287. _ACEOF
  3288. if ac_fn_c_try_compile "$LINENO"; then :
  3289. else
  3290. eval "$3=yes"
  3291. fi
  3292. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3293. fi
  3294. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3295. fi
  3296. eval ac_res=\$$3
  3297. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3298. $as_echo "$ac_res" >&6; }
  3299. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3300. } # ac_fn_c_check_type
  3301. cat >config.log <<_ACEOF
  3302. This file contains any messages produced by compilers while
  3303. running configure, to aid debugging if configure makes a mistake.
  3304. It was created by Wine $as_me 5.5, which was
  3305. generated by GNU Autoconf 2.69. Invocation command line was
  3306. $ $0 $@
  3307. _ACEOF
  3308. exec 5>>config.log
  3309. {
  3310. cat <<_ASUNAME
  3311. ## --------- ##
  3312. ## Platform. ##
  3313. ## --------- ##
  3314. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  3315. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  3316. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  3317. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  3318. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  3319. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  3320. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  3321. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  3322. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  3323. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  3324. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  3325. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  3326. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  3327. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  3328. _ASUNAME
  3329. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3330. for as_dir in $PATH
  3331. do
  3332. IFS=$as_save_IFS
  3333. test -z "$as_dir" && as_dir=.
  3334. $as_echo "PATH: $as_dir"
  3335. done
  3336. IFS=$as_save_IFS
  3337. } >&5
  3338. cat >&5 <<_ACEOF
  3339. ## ----------- ##
  3340. ## Core tests. ##
  3341. ## ----------- ##
  3342. _ACEOF
  3343. # Keep a trace of the command line.
  3344. # Strip out --no-create and --no-recursion so they do not pile up.
  3345. # Strip out --silent because we don't want to record it for future runs.
  3346. # Also quote any args containing shell meta-characters.
  3347. # Make two passes to allow for proper duplicate-argument suppression.
  3348. ac_configure_args=
  3349. ac_configure_args0=
  3350. ac_configure_args1=
  3351. ac_must_keep_next=false
  3352. for ac_pass in 1 2
  3353. do
  3354. for ac_arg
  3355. do
  3356. case $ac_arg in
  3357. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  3358. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3359. | -silent | --silent | --silen | --sile | --sil)
  3360. continue ;;
  3361. *\'*)
  3362. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  3363. esac
  3364. case $ac_pass in
  3365. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  3366. 2)
  3367. as_fn_append ac_configure_args1 " '$ac_arg'"
  3368. if test $ac_must_keep_next = true; then
  3369. ac_must_keep_next=false # Got value, back to normal.
  3370. else
  3371. case $ac_arg in
  3372. *=* | --config-cache | -C | -disable-* | --disable-* \
  3373. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  3374. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  3375. | -with-* | --with-* | -without-* | --without-* | --x)
  3376. case "$ac_configure_args0 " in
  3377. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  3378. esac
  3379. ;;
  3380. -* ) ac_must_keep_next=true ;;
  3381. esac
  3382. fi
  3383. as_fn_append ac_configure_args " '$ac_arg'"
  3384. ;;
  3385. esac
  3386. done
  3387. done
  3388. { ac_configure_args0=; unset ac_configure_args0;}
  3389. { ac_configure_args1=; unset ac_configure_args1;}
  3390. # When interrupted or exit'd, cleanup temporary files, and complete
  3391. # config.log. We remove comments because anyway the quotes in there
  3392. # would cause problems or look ugly.
  3393. # WARNING: Use '\'' to represent an apostrophe within the trap.
  3394. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  3395. trap 'exit_status=$?
  3396. # Save into config.log some information that might help in debugging.
  3397. {
  3398. echo
  3399. $as_echo "## ---------------- ##
  3400. ## Cache variables. ##
  3401. ## ---------------- ##"
  3402. echo
  3403. # The following way of writing the cache mishandles newlines in values,
  3404. (
  3405. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  3406. eval ac_val=\$$ac_var
  3407. case $ac_val in #(
  3408. *${as_nl}*)
  3409. case $ac_var in #(
  3410. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3411. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3412. esac
  3413. case $ac_var in #(
  3414. _ | IFS | as_nl) ;; #(
  3415. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3416. *) { eval $ac_var=; unset $ac_var;} ;;
  3417. esac ;;
  3418. esac
  3419. done
  3420. (set) 2>&1 |
  3421. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  3422. *${as_nl}ac_space=\ *)
  3423. sed -n \
  3424. "s/'\''/'\''\\\\'\'''\''/g;
  3425. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  3426. ;; #(
  3427. *)
  3428. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3429. ;;
  3430. esac |
  3431. sort
  3432. )
  3433. echo
  3434. $as_echo "## ----------------- ##
  3435. ## Output variables. ##
  3436. ## ----------------- ##"
  3437. echo
  3438. for ac_var in $ac_subst_vars
  3439. do
  3440. eval ac_val=\$$ac_var
  3441. case $ac_val in
  3442. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3443. esac
  3444. $as_echo "$ac_var='\''$ac_val'\''"
  3445. done | sort
  3446. echo
  3447. if test -n "$ac_subst_files"; then
  3448. $as_echo "## ------------------- ##
  3449. ## File substitutions. ##
  3450. ## ------------------- ##"
  3451. echo
  3452. for ac_var in $ac_subst_files
  3453. do
  3454. eval ac_val=\$$ac_var
  3455. case $ac_val in
  3456. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3457. esac
  3458. $as_echo "$ac_var='\''$ac_val'\''"
  3459. done | sort
  3460. echo
  3461. fi
  3462. if test -s confdefs.h; then
  3463. $as_echo "## ----------- ##
  3464. ## confdefs.h. ##
  3465. ## ----------- ##"
  3466. echo
  3467. cat confdefs.h
  3468. echo
  3469. fi
  3470. test "$ac_signal" != 0 &&
  3471. $as_echo "$as_me: caught signal $ac_signal"
  3472. $as_echo "$as_me: exit $exit_status"
  3473. } >&5
  3474. rm -f core *.core core.conftest.* &&
  3475. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  3476. exit $exit_status
  3477. ' 0
  3478. for ac_signal in 1 2 13 15; do
  3479. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  3480. done
  3481. ac_signal=0
  3482. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  3483. rm -f -r conftest* confdefs.h
  3484. $as_echo "/* confdefs.h */" > confdefs.h
  3485. # Predefined preprocessor variables.
  3486. cat >>confdefs.h <<_ACEOF
  3487. #define PACKAGE_NAME "$PACKAGE_NAME"
  3488. _ACEOF
  3489. cat >>confdefs.h <<_ACEOF
  3490. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  3491. _ACEOF
  3492. cat >>confdefs.h <<_ACEOF
  3493. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  3494. _ACEOF
  3495. cat >>confdefs.h <<_ACEOF
  3496. #define PACKAGE_STRING "$PACKAGE_STRING"
  3497. _ACEOF
  3498. cat >>confdefs.h <<_ACEOF
  3499. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  3500. _ACEOF
  3501. cat >>confdefs.h <<_ACEOF
  3502. #define PACKAGE_URL "$PACKAGE_URL"
  3503. _ACEOF
  3504. # Let the site file select an alternate cache file if it wants to.
  3505. # Prefer an explicitly selected file to automatically selected ones.
  3506. ac_site_file1=NONE
  3507. ac_site_file2=NONE
  3508. if test -n "$CONFIG_SITE"; then
  3509. # We do not want a PATH search for config.site.
  3510. case $CONFIG_SITE in #((
  3511. -*) ac_site_file1=./$CONFIG_SITE;;
  3512. */*) ac_site_file1=$CONFIG_SITE;;
  3513. *) ac_site_file1=./$CONFIG_SITE;;
  3514. esac
  3515. elif test "x$prefix" != xNONE; then
  3516. ac_site_file1=$prefix/share/config.site
  3517. ac_site_file2=$prefix/etc/config.site
  3518. else
  3519. ac_site_file1=$ac_default_prefix/share/config.site
  3520. ac_site_file2=$ac_default_prefix/etc/config.site
  3521. fi
  3522. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  3523. do
  3524. test "x$ac_site_file" = xNONE && continue
  3525. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  3526. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  3527. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  3528. sed 's/^/| /' "$ac_site_file" >&5
  3529. . "$ac_site_file" \
  3530. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3531. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3532. as_fn_error $? "failed to load site script $ac_site_file
  3533. See \`config.log' for more details" "$LINENO" 5; }
  3534. fi
  3535. done
  3536. if test -r "$cache_file"; then
  3537. # Some versions of bash will fail to source /dev/null (special files
  3538. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  3539. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  3540. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  3541. $as_echo "$as_me: loading cache $cache_file" >&6;}
  3542. case $cache_file in
  3543. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  3544. *) . "./$cache_file";;
  3545. esac
  3546. fi
  3547. else
  3548. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  3549. $as_echo "$as_me: creating cache $cache_file" >&6;}
  3550. >$cache_file
  3551. fi
  3552. # Check that the precious variables saved in the cache have kept the same
  3553. # value.
  3554. ac_cache_corrupted=false
  3555. for ac_var in $ac_precious_vars; do
  3556. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  3557. eval ac_new_set=\$ac_env_${ac_var}_set
  3558. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  3559. eval ac_new_val=\$ac_env_${ac_var}_value
  3560. case $ac_old_set,$ac_new_set in
  3561. set,)
  3562. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  3563. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  3564. ac_cache_corrupted=: ;;
  3565. ,set)
  3566. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  3567. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  3568. ac_cache_corrupted=: ;;
  3569. ,);;
  3570. *)
  3571. if test "x$ac_old_val" != "x$ac_new_val"; then
  3572. # differences in whitespace do not lead to failure.
  3573. ac_old_val_w=`echo x $ac_old_val`
  3574. ac_new_val_w=`echo x $ac_new_val`
  3575. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  3576. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  3577. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  3578. ac_cache_corrupted=:
  3579. else
  3580. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  3581. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  3582. eval $ac_var=\$ac_old_val
  3583. fi
  3584. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  3585. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  3586. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  3587. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  3588. fi;;
  3589. esac
  3590. # Pass precious variables to config.status.
  3591. if test "$ac_new_set" = set; then
  3592. case $ac_new_val in
  3593. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  3594. *) ac_arg=$ac_var=$ac_new_val ;;
  3595. esac
  3596. case " $ac_configure_args " in
  3597. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  3598. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  3599. esac
  3600. fi
  3601. done
  3602. if $ac_cache_corrupted; then
  3603. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3604. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3605. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  3606. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  3607. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  3608. fi
  3609. ## -------------------- ##
  3610. ## Main body of script. ##
  3611. ## -------------------- ##
  3612. ac_ext=c
  3613. ac_cpp='$CPP $CPPFLAGS'
  3614. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3615. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3616. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3617. ac_config_headers="$ac_config_headers include/config.h"
  3618. ac_aux_dir=
  3619. for ac_dir in tools "$srcdir"/tools; do
  3620. if test -f "$ac_dir/install-sh"; then
  3621. ac_aux_dir=$ac_dir
  3622. ac_install_sh="$ac_aux_dir/install-sh -c"
  3623. break
  3624. elif test -f "$ac_dir/install.sh"; then
  3625. ac_aux_dir=$ac_dir
  3626. ac_install_sh="$ac_aux_dir/install.sh -c"
  3627. break
  3628. elif test -f "$ac_dir/shtool"; then
  3629. ac_aux_dir=$ac_dir
  3630. ac_install_sh="$ac_aux_dir/shtool install -c"
  3631. break
  3632. fi
  3633. done
  3634. if test -z "$ac_aux_dir"; then
  3635. as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
  3636. fi
  3637. # These three variables are undocumented and unsupported,
  3638. # and are intended to be withdrawn in a future Autoconf release.
  3639. # They can cause serious problems if a builder's source tree is in a directory
  3640. # whose full name contains unusual characters.
  3641. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  3642. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  3643. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  3644. libwine_version="1.0"
  3645. # Check whether --enable-win16 was given.
  3646. if test "${enable_win16+set}" = set; then :
  3647. enableval=$enable_win16;
  3648. fi
  3649. # Check whether --enable-win64 was given.
  3650. if test "${enable_win64+set}" = set; then :
  3651. enableval=$enable_win64;
  3652. fi
  3653. # Check whether --enable-tests was given.
  3654. if test "${enable_tests+set}" = set; then :
  3655. enableval=$enable_tests;
  3656. fi
  3657. # Check whether --enable-maintainer-mode was given.
  3658. if test "${enable_maintainer_mode+set}" = set; then :
  3659. enableval=$enable_maintainer_mode;
  3660. fi
  3661. # Check whether --enable-werror was given.
  3662. if test "${enable_werror+set}" = set; then :
  3663. enableval=$enable_werror;
  3664. fi
  3665. # Check whether --with-alsa was given.
  3666. if test "${with_alsa+set}" = set; then :
  3667. withval=$with_alsa;
  3668. fi
  3669. # Check whether --with-capi was given.
  3670. if test "${with_capi+set}" = set; then :
  3671. withval=$with_capi;
  3672. fi
  3673. # Check whether --with-cms was given.
  3674. if test "${with_cms+set}" = set; then :
  3675. withval=$with_cms;
  3676. fi
  3677. # Check whether --with-coreaudio was given.
  3678. if test "${with_coreaudio+set}" = set; then :
  3679. withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
  3680. fi
  3681. # Check whether --with-cups was given.
  3682. if test "${with_cups+set}" = set; then :
  3683. withval=$with_cups;
  3684. fi
  3685. # Check whether --with-curses was given.
  3686. if test "${with_curses+set}" = set; then :
  3687. withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
  3688. fi
  3689. # Check whether --with-dbus was given.
  3690. if test "${with_dbus+set}" = set; then :
  3691. withval=$with_dbus;
  3692. fi
  3693. # Check whether --with-faudio was given.
  3694. if test "${with_faudio+set}" = set; then :
  3695. withval=$with_faudio;
  3696. fi
  3697. # Check whether --with-float-abi was given.
  3698. if test "${with_float_abi+set}" = set; then :
  3699. withval=$with_float_abi;
  3700. fi
  3701. # Check whether --with-fontconfig was given.
  3702. if test "${with_fontconfig+set}" = set; then :
  3703. withval=$with_fontconfig;
  3704. fi
  3705. # Check whether --with-freetype was given.
  3706. if test "${with_freetype+set}" = set; then :
  3707. withval=$with_freetype;
  3708. fi
  3709. # Check whether --with-gcrypt was given.
  3710. if test "${with_gcrypt+set}" = set; then :
  3711. withval=$with_gcrypt;
  3712. fi
  3713. # Check whether --with-gettext was given.
  3714. if test "${with_gettext+set}" = set; then :
  3715. withval=$with_gettext;
  3716. fi
  3717. # Check whether --with-gettextpo was given.
  3718. if test "${with_gettextpo+set}" = set; then :
  3719. withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
  3720. fi
  3721. # Check whether --with-gphoto was given.
  3722. if test "${with_gphoto+set}" = set; then :
  3723. withval=$with_gphoto;
  3724. fi
  3725. # Check whether --with-glu was given.
  3726. if test "${with_glu+set}" = set; then :
  3727. withval=$with_glu;
  3728. fi
  3729. # Check whether --with-gnutls was given.
  3730. if test "${with_gnutls+set}" = set; then :
  3731. withval=$with_gnutls;
  3732. fi
  3733. # Check whether --with-gsm was given.
  3734. if test "${with_gsm+set}" = set; then :
  3735. withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
  3736. fi
  3737. # Check whether --with-gssapi was given.
  3738. if test "${with_gssapi+set}" = set; then :
  3739. withval=$with_gssapi;
  3740. fi
  3741. # Check whether --with-gstreamer was given.
  3742. if test "${with_gstreamer+set}" = set; then :
  3743. withval=$with_gstreamer;
  3744. fi
  3745. # Check whether --with-gtk3 was given.
  3746. if test "${with_gtk3+set}" = set; then :
  3747. withval=$with_gtk3;
  3748. fi
  3749. # Check whether --with-hal was given.
  3750. if test "${with_hal+set}" = set; then :
  3751. withval=$with_hal;
  3752. fi
  3753. # Check whether --with-inotify was given.
  3754. if test "${with_inotify+set}" = set; then :
  3755. withval=$with_inotify;
  3756. fi
  3757. # Check whether --with-jpeg was given.
  3758. if test "${with_jpeg+set}" = set; then :
  3759. withval=$with_jpeg;
  3760. fi
  3761. # Check whether --with-krb5 was given.
  3762. if test "${with_krb5+set}" = set; then :
  3763. withval=$with_krb5;
  3764. fi
  3765. # Check whether --with-ldap was given.
  3766. if test "${with_ldap+set}" = set; then :
  3767. withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
  3768. fi
  3769. # Check whether --with-mingw was given.
  3770. if test "${with_mingw+set}" = set; then :
  3771. withval=$with_mingw;
  3772. fi
  3773. # Check whether --with-mpg123 was given.
  3774. if test "${with_mpg123+set}" = set; then :
  3775. withval=$with_mpg123;
  3776. fi
  3777. # Check whether --with-netapi was given.
  3778. if test "${with_netapi+set}" = set; then :
  3779. withval=$with_netapi;
  3780. fi
  3781. # Check whether --with-openal was given.
  3782. if test "${with_openal+set}" = set; then :
  3783. withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
  3784. fi
  3785. # Check whether --with-opencl was given.
  3786. if test "${with_opencl+set}" = set; then :
  3787. withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
  3788. fi
  3789. # Check whether --with-opengl was given.
  3790. if test "${with_opengl+set}" = set; then :
  3791. withval=$with_opengl;
  3792. fi
  3793. # Check whether --with-osmesa was given.
  3794. if test "${with_osmesa+set}" = set; then :
  3795. withval=$with_osmesa;
  3796. fi
  3797. # Check whether --with-oss was given.
  3798. if test "${with_oss+set}" = set; then :
  3799. withval=$with_oss;
  3800. fi
  3801. # Check whether --with-pcap was given.
  3802. if test "${with_pcap+set}" = set; then :
  3803. withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
  3804. fi
  3805. # Check whether --with-png was given.
  3806. if test "${with_png+set}" = set; then :
  3807. withval=$with_png;
  3808. fi
  3809. # Check whether --with-pthread was given.
  3810. if test "${with_pthread+set}" = set; then :
  3811. withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
  3812. fi
  3813. # Check whether --with-pulse was given.
  3814. if test "${with_pulse+set}" = set; then :
  3815. withval=$with_pulse;
  3816. fi
  3817. # Check whether --with-sane was given.
  3818. if test "${with_sane+set}" = set; then :
  3819. withval=$with_sane;
  3820. fi
  3821. # Check whether --with-sdl was given.
  3822. if test "${with_sdl+set}" = set; then :
  3823. withval=$with_sdl;
  3824. fi
  3825. # Check whether --with-tiff was given.
  3826. if test "${with_tiff+set}" = set; then :
  3827. withval=$with_tiff;
  3828. fi
  3829. # Check whether --with-udev was given.
  3830. if test "${with_udev+set}" = set; then :
  3831. withval=$with_udev;
  3832. fi
  3833. # Check whether --with-unwind was given.
  3834. if test "${with_unwind+set}" = set; then :
  3835. withval=$with_unwind;
  3836. fi
  3837. # Check whether --with-v4l2 was given.
  3838. if test "${with_v4l2+set}" = set; then :
  3839. withval=$with_v4l2;
  3840. fi
  3841. # Check whether --with-vkd3d was given.
  3842. if test "${with_vkd3d+set}" = set; then :
  3843. withval=$with_vkd3d;
  3844. fi
  3845. # Check whether --with-vulkan was given.
  3846. if test "${with_vulkan+set}" = set; then :
  3847. withval=$with_vulkan;
  3848. fi
  3849. # Check whether --with-xattr was given.
  3850. if test "${with_xattr+set}" = set; then :
  3851. withval=$with_xattr;
  3852. fi
  3853. # Check whether --with-xcomposite was given.
  3854. if test "${with_xcomposite+set}" = set; then :
  3855. withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
  3856. fi
  3857. # Check whether --with-xcursor was given.
  3858. if test "${with_xcursor+set}" = set; then :
  3859. withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
  3860. fi
  3861. # Check whether --with-xfixes was given.
  3862. if test "${with_xfixes+set}" = set; then :
  3863. withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
  3864. fi
  3865. # Check whether --with-xinerama was given.
  3866. if test "${with_xinerama+set}" = set; then :
  3867. withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
  3868. fi
  3869. # Check whether --with-xinput was given.
  3870. if test "${with_xinput+set}" = set; then :
  3871. withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
  3872. fi
  3873. # Check whether --with-xinput2 was given.
  3874. if test "${with_xinput2+set}" = set; then :
  3875. withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
  3876. fi
  3877. # Check whether --with-xml was given.
  3878. if test "${with_xml+set}" = set; then :
  3879. withval=$with_xml;
  3880. fi
  3881. # Check whether --with-xrandr was given.
  3882. if test "${with_xrandr+set}" = set; then :
  3883. withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
  3884. fi
  3885. # Check whether --with-xrender was given.
  3886. if test "${with_xrender+set}" = set; then :
  3887. withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
  3888. fi
  3889. # Check whether --with-xshape was given.
  3890. if test "${with_xshape+set}" = set; then :
  3891. withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
  3892. fi
  3893. # Check whether --with-xshm was given.
  3894. if test "${with_xshm+set}" = set; then :
  3895. withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
  3896. fi
  3897. # Check whether --with-xslt was given.
  3898. if test "${with_xslt+set}" = set; then :
  3899. withval=$with_xslt;
  3900. fi
  3901. # Check whether --with-xxf86vm was given.
  3902. if test "${with_xxf86vm+set}" = set; then :
  3903. withval=$with_xxf86vm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_xf86vmode_h=no; ac_cv_header_X11_extensions_xf86vmproto_h=no; fi
  3904. fi
  3905. # Check whether --with-zlib was given.
  3906. if test "${with_zlib+set}" = set; then :
  3907. withval=$with_zlib;
  3908. fi
  3909. # Check whether --with-va was given.
  3910. if test "${with_va+set}" = set; then :
  3911. withval=$with_va; if test "x$withval" = "xno"; then ac_cv_header_va_va_x11_h=no; fi
  3912. fi
  3913. # Check whether --with-wine-tools was given.
  3914. if test "${with_wine_tools+set}" = set; then :
  3915. withval=$with_wine_tools;
  3916. fi
  3917. # Check whether --with-wine64 was given.
  3918. if test "${with_wine64+set}" = set; then :
  3919. withval=$with_wine64;
  3920. fi
  3921. # Make sure we can run config.sub.
  3922. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  3923. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  3924. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  3925. $as_echo_n "checking build system type... " >&6; }
  3926. if ${ac_cv_build+:} false; then :
  3927. $as_echo_n "(cached) " >&6
  3928. else
  3929. ac_build_alias=$build_alias
  3930. test "x$ac_build_alias" = x &&
  3931. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  3932. test "x$ac_build_alias" = x &&
  3933. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  3934. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  3935. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  3936. fi
  3937. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  3938. $as_echo "$ac_cv_build" >&6; }
  3939. case $ac_cv_build in
  3940. *-*-*) ;;
  3941. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  3942. esac
  3943. build=$ac_cv_build
  3944. ac_save_IFS=$IFS; IFS='-'
  3945. set x $ac_cv_build
  3946. shift
  3947. build_cpu=$1
  3948. build_vendor=$2
  3949. shift; shift
  3950. # Remember, the first character of IFS is used to create $*,
  3951. # except with old shells:
  3952. build_os=$*
  3953. IFS=$ac_save_IFS
  3954. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  3955. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  3956. $as_echo_n "checking host system type... " >&6; }
  3957. if ${ac_cv_host+:} false; then :
  3958. $as_echo_n "(cached) " >&6
  3959. else
  3960. if test "x$host_alias" = x; then
  3961. ac_cv_host=$ac_cv_build
  3962. else
  3963. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3964. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  3965. fi
  3966. fi
  3967. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  3968. $as_echo "$ac_cv_host" >&6; }
  3969. case $ac_cv_host in
  3970. *-*-*) ;;
  3971. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  3972. esac
  3973. host=$ac_cv_host
  3974. ac_save_IFS=$IFS; IFS='-'
  3975. set x $ac_cv_host
  3976. shift
  3977. host_cpu=$1
  3978. host_vendor=$2
  3979. shift; shift
  3980. # Remember, the first character of IFS is used to create $*,
  3981. # except with old shells:
  3982. host_os=$*
  3983. IFS=$ac_save_IFS
  3984. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  3985. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  3986. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  3987. set x ${MAKE-make}
  3988. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  3989. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  3990. $as_echo_n "(cached) " >&6
  3991. else
  3992. cat >conftest.make <<\_ACEOF
  3993. SHELL = /bin/sh
  3994. all:
  3995. @echo '@@@%%%=$(MAKE)=@@@%%%'
  3996. _ACEOF
  3997. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  3998. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  3999. *@@@%%%=?*=@@@%%%*)
  4000. eval ac_cv_prog_make_${ac_make}_set=yes;;
  4001. *)
  4002. eval ac_cv_prog_make_${ac_make}_set=no;;
  4003. esac
  4004. rm -f conftest.make
  4005. fi
  4006. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  4007. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4008. $as_echo "yes" >&6; }
  4009. SET_MAKE=
  4010. else
  4011. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4012. $as_echo "no" >&6; }
  4013. SET_MAKE="MAKE=${MAKE-make}"
  4014. fi
  4015. ac_ext=c
  4016. ac_cpp='$CPP $CPPFLAGS'
  4017. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4018. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4019. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4020. if test -n "$ac_tool_prefix"; then
  4021. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4022. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4023. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4024. $as_echo_n "checking for $ac_word... " >&6; }
  4025. if ${ac_cv_prog_CC+:} false; then :
  4026. $as_echo_n "(cached) " >&6
  4027. else
  4028. if test -n "$CC"; then
  4029. ac_cv_prog_CC="$CC" # Let the user override the test.
  4030. else
  4031. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4032. for as_dir in $PATH
  4033. do
  4034. IFS=$as_save_IFS
  4035. test -z "$as_dir" && as_dir=.
  4036. for ac_exec_ext in '' $ac_executable_extensions; do
  4037. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4038. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4039. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4040. break 2
  4041. fi
  4042. done
  4043. done
  4044. IFS=$as_save_IFS
  4045. fi
  4046. fi
  4047. CC=$ac_cv_prog_CC
  4048. if test -n "$CC"; then
  4049. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4050. $as_echo "$CC" >&6; }
  4051. else
  4052. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4053. $as_echo "no" >&6; }
  4054. fi
  4055. fi
  4056. if test -z "$ac_cv_prog_CC"; then
  4057. ac_ct_CC=$CC
  4058. # Extract the first word of "gcc", so it can be a program name with args.
  4059. set dummy gcc; ac_word=$2
  4060. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4061. $as_echo_n "checking for $ac_word... " >&6; }
  4062. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  4063. $as_echo_n "(cached) " >&6
  4064. else
  4065. if test -n "$ac_ct_CC"; then
  4066. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4067. else
  4068. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4069. for as_dir in $PATH
  4070. do
  4071. IFS=$as_save_IFS
  4072. test -z "$as_dir" && as_dir=.
  4073. for ac_exec_ext in '' $ac_executable_extensions; do
  4074. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4075. ac_cv_prog_ac_ct_CC="gcc"
  4076. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4077. break 2
  4078. fi
  4079. done
  4080. done
  4081. IFS=$as_save_IFS
  4082. fi
  4083. fi
  4084. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4085. if test -n "$ac_ct_CC"; then
  4086. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4087. $as_echo "$ac_ct_CC" >&6; }
  4088. else
  4089. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4090. $as_echo "no" >&6; }
  4091. fi
  4092. if test "x$ac_ct_CC" = x; then
  4093. CC=""
  4094. else
  4095. case $cross_compiling:$ac_tool_warned in
  4096. yes:)
  4097. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4098. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4099. ac_tool_warned=yes ;;
  4100. esac
  4101. CC=$ac_ct_CC
  4102. fi
  4103. else
  4104. CC="$ac_cv_prog_CC"
  4105. fi
  4106. if test -z "$CC"; then
  4107. if test -n "$ac_tool_prefix"; then
  4108. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4109. set dummy ${ac_tool_prefix}cc; ac_word=$2
  4110. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4111. $as_echo_n "checking for $ac_word... " >&6; }
  4112. if ${ac_cv_prog_CC+:} false; then :
  4113. $as_echo_n "(cached) " >&6
  4114. else
  4115. if test -n "$CC"; then
  4116. ac_cv_prog_CC="$CC" # Let the user override the test.
  4117. else
  4118. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4119. for as_dir in $PATH
  4120. do
  4121. IFS=$as_save_IFS
  4122. test -z "$as_dir" && as_dir=.
  4123. for ac_exec_ext in '' $ac_executable_extensions; do
  4124. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4125. ac_cv_prog_CC="${ac_tool_prefix}cc"
  4126. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4127. break 2
  4128. fi
  4129. done
  4130. done
  4131. IFS=$as_save_IFS
  4132. fi
  4133. fi
  4134. CC=$ac_cv_prog_CC
  4135. if test -n "$CC"; then
  4136. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4137. $as_echo "$CC" >&6; }
  4138. else
  4139. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4140. $as_echo "no" >&6; }
  4141. fi
  4142. fi
  4143. fi
  4144. if test -z "$CC"; then
  4145. # Extract the first word of "cc", so it can be a program name with args.
  4146. set dummy cc; ac_word=$2
  4147. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4148. $as_echo_n "checking for $ac_word... " >&6; }
  4149. if ${ac_cv_prog_CC+:} false; then :
  4150. $as_echo_n "(cached) " >&6
  4151. else
  4152. if test -n "$CC"; then
  4153. ac_cv_prog_CC="$CC" # Let the user override the test.
  4154. else
  4155. ac_prog_rejected=no
  4156. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4157. for as_dir in $PATH
  4158. do
  4159. IFS=$as_save_IFS
  4160. test -z "$as_dir" && as_dir=.
  4161. for ac_exec_ext in '' $ac_executable_extensions; do
  4162. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4163. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4164. ac_prog_rejected=yes
  4165. continue
  4166. fi
  4167. ac_cv_prog_CC="cc"
  4168. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4169. break 2
  4170. fi
  4171. done
  4172. done
  4173. IFS=$as_save_IFS
  4174. if test $ac_prog_rejected = yes; then
  4175. # We found a bogon in the path, so make sure we never use it.
  4176. set dummy $ac_cv_prog_CC
  4177. shift
  4178. if test $# != 0; then
  4179. # We chose a different compiler from the bogus one.
  4180. # However, it has the same basename, so the bogon will be chosen
  4181. # first if we set CC to just the basename; use the full file name.
  4182. shift
  4183. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4184. fi
  4185. fi
  4186. fi
  4187. fi
  4188. CC=$ac_cv_prog_CC
  4189. if test -n "$CC"; then
  4190. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4191. $as_echo "$CC" >&6; }
  4192. else
  4193. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4194. $as_echo "no" >&6; }
  4195. fi
  4196. fi
  4197. if test -z "$CC"; then
  4198. if test -n "$ac_tool_prefix"; then
  4199. for ac_prog in cl.exe
  4200. do
  4201. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4202. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4203. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4204. $as_echo_n "checking for $ac_word... " >&6; }
  4205. if ${ac_cv_prog_CC+:} false; then :
  4206. $as_echo_n "(cached) " >&6
  4207. else
  4208. if test -n "$CC"; then
  4209. ac_cv_prog_CC="$CC" # Let the user override the test.
  4210. else
  4211. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4212. for as_dir in $PATH
  4213. do
  4214. IFS=$as_save_IFS
  4215. test -z "$as_dir" && as_dir=.
  4216. for ac_exec_ext in '' $ac_executable_extensions; do
  4217. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4218. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4219. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4220. break 2
  4221. fi
  4222. done
  4223. done
  4224. IFS=$as_save_IFS
  4225. fi
  4226. fi
  4227. CC=$ac_cv_prog_CC
  4228. if test -n "$CC"; then
  4229. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4230. $as_echo "$CC" >&6; }
  4231. else
  4232. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4233. $as_echo "no" >&6; }
  4234. fi
  4235. test -n "$CC" && break
  4236. done
  4237. fi
  4238. if test -z "$CC"; then
  4239. ac_ct_CC=$CC
  4240. for ac_prog in cl.exe
  4241. do
  4242. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4243. set dummy $ac_prog; ac_word=$2
  4244. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4245. $as_echo_n "checking for $ac_word... " >&6; }
  4246. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  4247. $as_echo_n "(cached) " >&6
  4248. else
  4249. if test -n "$ac_ct_CC"; then
  4250. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4251. else
  4252. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4253. for as_dir in $PATH
  4254. do
  4255. IFS=$as_save_IFS
  4256. test -z "$as_dir" && as_dir=.
  4257. for ac_exec_ext in '' $ac_executable_extensions; do
  4258. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4259. ac_cv_prog_ac_ct_CC="$ac_prog"
  4260. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4261. break 2
  4262. fi
  4263. done
  4264. done
  4265. IFS=$as_save_IFS
  4266. fi
  4267. fi
  4268. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4269. if test -n "$ac_ct_CC"; then
  4270. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4271. $as_echo "$ac_ct_CC" >&6; }
  4272. else
  4273. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4274. $as_echo "no" >&6; }
  4275. fi
  4276. test -n "$ac_ct_CC" && break
  4277. done
  4278. if test "x$ac_ct_CC" = x; then
  4279. CC=""
  4280. else
  4281. case $cross_compiling:$ac_tool_warned in
  4282. yes:)
  4283. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4284. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4285. ac_tool_warned=yes ;;
  4286. esac
  4287. CC=$ac_ct_CC
  4288. fi
  4289. fi
  4290. fi
  4291. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4292. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4293. as_fn_error $? "no acceptable C compiler found in \$PATH
  4294. See \`config.log' for more details" "$LINENO" 5; }
  4295. # Provide some information about the compiler.
  4296. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  4297. set X $ac_compile
  4298. ac_compiler=$2
  4299. for ac_option in --version -v -V -qversion; do
  4300. { { ac_try="$ac_compiler $ac_option >&5"
  4301. case "(($ac_try" in
  4302. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4303. *) ac_try_echo=$ac_try;;
  4304. esac
  4305. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4306. $as_echo "$ac_try_echo"; } >&5
  4307. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4308. ac_status=$?
  4309. if test -s conftest.err; then
  4310. sed '10a\
  4311. ... rest of stderr output deleted ...
  4312. 10q' conftest.err >conftest.er1
  4313. cat conftest.er1 >&5
  4314. fi
  4315. rm -f conftest.er1 conftest.err
  4316. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4317. test $ac_status = 0; }
  4318. done
  4319. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4320. /* end confdefs.h. */
  4321. int
  4322. main ()
  4323. {
  4324. ;
  4325. return 0;
  4326. }
  4327. _ACEOF
  4328. ac_clean_files_save=$ac_clean_files
  4329. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  4330. # Try to create an executable without -o first, disregard a.out.
  4331. # It will help us diagnose broken compilers, and finding out an intuition
  4332. # of exeext.
  4333. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  4334. $as_echo_n "checking whether the C compiler works... " >&6; }
  4335. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  4336. # The possible output files:
  4337. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  4338. ac_rmfiles=
  4339. for ac_file in $ac_files
  4340. do
  4341. case $ac_file in
  4342. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4343. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  4344. esac
  4345. done
  4346. rm -f $ac_rmfiles
  4347. if { { ac_try="$ac_link_default"
  4348. case "(($ac_try" in
  4349. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4350. *) ac_try_echo=$ac_try;;
  4351. esac
  4352. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4353. $as_echo "$ac_try_echo"; } >&5
  4354. (eval "$ac_link_default") 2>&5
  4355. ac_status=$?
  4356. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4357. test $ac_status = 0; }; then :
  4358. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  4359. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  4360. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  4361. # so that the user can short-circuit this test for compilers unknown to
  4362. # Autoconf.
  4363. for ac_file in $ac_files ''
  4364. do
  4365. test -f "$ac_file" || continue
  4366. case $ac_file in
  4367. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  4368. ;;
  4369. [ab].out )
  4370. # We found the default executable, but exeext='' is most
  4371. # certainly right.
  4372. break;;
  4373. *.* )
  4374. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  4375. then :; else
  4376. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4377. fi
  4378. # We set ac_cv_exeext here because the later test for it is not
  4379. # safe: cross compilers may not add the suffix if given an `-o'
  4380. # argument, so we may need to know it at that point already.
  4381. # Even if this section looks crufty: it has the advantage of
  4382. # actually working.
  4383. break;;
  4384. * )
  4385. break;;
  4386. esac
  4387. done
  4388. test "$ac_cv_exeext" = no && ac_cv_exeext=
  4389. else
  4390. ac_file=''
  4391. fi
  4392. if test -z "$ac_file"; then :
  4393. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4394. $as_echo "no" >&6; }
  4395. $as_echo "$as_me: failed program was:" >&5
  4396. sed 's/^/| /' conftest.$ac_ext >&5
  4397. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4398. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4399. as_fn_error 77 "C compiler cannot create executables
  4400. See \`config.log' for more details" "$LINENO" 5; }
  4401. else
  4402. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4403. $as_echo "yes" >&6; }
  4404. fi
  4405. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  4406. $as_echo_n "checking for C compiler default output file name... " >&6; }
  4407. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  4408. $as_echo "$ac_file" >&6; }
  4409. ac_exeext=$ac_cv_exeext
  4410. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  4411. ac_clean_files=$ac_clean_files_save
  4412. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  4413. $as_echo_n "checking for suffix of executables... " >&6; }
  4414. if { { ac_try="$ac_link"
  4415. case "(($ac_try" in
  4416. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4417. *) ac_try_echo=$ac_try;;
  4418. esac
  4419. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4420. $as_echo "$ac_try_echo"; } >&5
  4421. (eval "$ac_link") 2>&5
  4422. ac_status=$?
  4423. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4424. test $ac_status = 0; }; then :
  4425. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  4426. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  4427. # work properly (i.e., refer to `conftest.exe'), while it won't with
  4428. # `rm'.
  4429. for ac_file in conftest.exe conftest conftest.*; do
  4430. test -f "$ac_file" || continue
  4431. case $ac_file in
  4432. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4433. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4434. break;;
  4435. * ) break;;
  4436. esac
  4437. done
  4438. else
  4439. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4440. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4441. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  4442. See \`config.log' for more details" "$LINENO" 5; }
  4443. fi
  4444. rm -f conftest conftest$ac_cv_exeext
  4445. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  4446. $as_echo "$ac_cv_exeext" >&6; }
  4447. rm -f conftest.$ac_ext
  4448. EXEEXT=$ac_cv_exeext
  4449. ac_exeext=$EXEEXT
  4450. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4451. /* end confdefs.h. */
  4452. #include <stdio.h>
  4453. int
  4454. main ()
  4455. {
  4456. FILE *f = fopen ("conftest.out", "w");
  4457. return ferror (f) || fclose (f) != 0;
  4458. ;
  4459. return 0;
  4460. }
  4461. _ACEOF
  4462. ac_clean_files="$ac_clean_files conftest.out"
  4463. # Check that the compiler produces executables we can run. If not, either
  4464. # the compiler is broken, or we cross compile.
  4465. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  4466. $as_echo_n "checking whether we are cross compiling... " >&6; }
  4467. if test "$cross_compiling" != yes; then
  4468. { { ac_try="$ac_link"
  4469. case "(($ac_try" in
  4470. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4471. *) ac_try_echo=$ac_try;;
  4472. esac
  4473. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4474. $as_echo "$ac_try_echo"; } >&5
  4475. (eval "$ac_link") 2>&5
  4476. ac_status=$?
  4477. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4478. test $ac_status = 0; }
  4479. if { ac_try='./conftest$ac_cv_exeext'
  4480. { { case "(($ac_try" in
  4481. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4482. *) ac_try_echo=$ac_try;;
  4483. esac
  4484. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4485. $as_echo "$ac_try_echo"; } >&5
  4486. (eval "$ac_try") 2>&5
  4487. ac_status=$?
  4488. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4489. test $ac_status = 0; }; }; then
  4490. cross_compiling=no
  4491. else
  4492. if test "$cross_compiling" = maybe; then
  4493. cross_compiling=yes
  4494. else
  4495. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4496. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4497. as_fn_error $? "cannot run C compiled programs.
  4498. If you meant to cross compile, use \`--host'.
  4499. See \`config.log' for more details" "$LINENO" 5; }
  4500. fi
  4501. fi
  4502. fi
  4503. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  4504. $as_echo "$cross_compiling" >&6; }
  4505. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  4506. ac_clean_files=$ac_clean_files_save
  4507. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  4508. $as_echo_n "checking for suffix of object files... " >&6; }
  4509. if ${ac_cv_objext+:} false; then :
  4510. $as_echo_n "(cached) " >&6
  4511. else
  4512. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4513. /* end confdefs.h. */
  4514. int
  4515. main ()
  4516. {
  4517. ;
  4518. return 0;
  4519. }
  4520. _ACEOF
  4521. rm -f conftest.o conftest.obj
  4522. if { { ac_try="$ac_compile"
  4523. case "(($ac_try" in
  4524. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4525. *) ac_try_echo=$ac_try;;
  4526. esac
  4527. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4528. $as_echo "$ac_try_echo"; } >&5
  4529. (eval "$ac_compile") 2>&5
  4530. ac_status=$?
  4531. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4532. test $ac_status = 0; }; then :
  4533. for ac_file in conftest.o conftest.obj conftest.*; do
  4534. test -f "$ac_file" || continue;
  4535. case $ac_file in
  4536. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  4537. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  4538. break;;
  4539. esac
  4540. done
  4541. else
  4542. $as_echo "$as_me: failed program was:" >&5
  4543. sed 's/^/| /' conftest.$ac_ext >&5
  4544. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4545. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4546. as_fn_error $? "cannot compute suffix of object files: cannot compile
  4547. See \`config.log' for more details" "$LINENO" 5; }
  4548. fi
  4549. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  4550. fi
  4551. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  4552. $as_echo "$ac_cv_objext" >&6; }
  4553. OBJEXT=$ac_cv_objext
  4554. ac_objext=$OBJEXT
  4555. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  4556. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4557. if ${ac_cv_c_compiler_gnu+:} false; then :
  4558. $as_echo_n "(cached) " >&6
  4559. else
  4560. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4561. /* end confdefs.h. */
  4562. int
  4563. main ()
  4564. {
  4565. #ifndef __GNUC__
  4566. choke me
  4567. #endif
  4568. ;
  4569. return 0;
  4570. }
  4571. _ACEOF
  4572. if ac_fn_c_try_compile "$LINENO"; then :
  4573. ac_compiler_gnu=yes
  4574. else
  4575. ac_compiler_gnu=no
  4576. fi
  4577. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4578. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4579. fi
  4580. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  4581. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4582. if test $ac_compiler_gnu = yes; then
  4583. GCC=yes
  4584. else
  4585. GCC=
  4586. fi
  4587. ac_test_CFLAGS=${CFLAGS+set}
  4588. ac_save_CFLAGS=$CFLAGS
  4589. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  4590. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4591. if ${ac_cv_prog_cc_g+:} false; then :
  4592. $as_echo_n "(cached) " >&6
  4593. else
  4594. ac_save_c_werror_flag=$ac_c_werror_flag
  4595. ac_c_werror_flag=yes
  4596. ac_cv_prog_cc_g=no
  4597. CFLAGS="-g"
  4598. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4599. /* end confdefs.h. */
  4600. int
  4601. main ()
  4602. {
  4603. ;
  4604. return 0;
  4605. }
  4606. _ACEOF
  4607. if ac_fn_c_try_compile "$LINENO"; then :
  4608. ac_cv_prog_cc_g=yes
  4609. else
  4610. CFLAGS=""
  4611. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4612. /* end confdefs.h. */
  4613. int
  4614. main ()
  4615. {
  4616. ;
  4617. return 0;
  4618. }
  4619. _ACEOF
  4620. if ac_fn_c_try_compile "$LINENO"; then :
  4621. else
  4622. ac_c_werror_flag=$ac_save_c_werror_flag
  4623. CFLAGS="-g"
  4624. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4625. /* end confdefs.h. */
  4626. int
  4627. main ()
  4628. {
  4629. ;
  4630. return 0;
  4631. }
  4632. _ACEOF
  4633. if ac_fn_c_try_compile "$LINENO"; then :
  4634. ac_cv_prog_cc_g=yes
  4635. fi
  4636. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4637. fi
  4638. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4639. fi
  4640. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4641. ac_c_werror_flag=$ac_save_c_werror_flag
  4642. fi
  4643. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4644. $as_echo "$ac_cv_prog_cc_g" >&6; }
  4645. if test "$ac_test_CFLAGS" = set; then
  4646. CFLAGS=$ac_save_CFLAGS
  4647. elif test $ac_cv_prog_cc_g = yes; then
  4648. if test "$GCC" = yes; then
  4649. CFLAGS="-g -O2"
  4650. else
  4651. CFLAGS="-g"
  4652. fi
  4653. else
  4654. if test "$GCC" = yes; then
  4655. CFLAGS="-O2"
  4656. else
  4657. CFLAGS=
  4658. fi
  4659. fi
  4660. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  4661. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4662. if ${ac_cv_prog_cc_c89+:} false; then :
  4663. $as_echo_n "(cached) " >&6
  4664. else
  4665. ac_cv_prog_cc_c89=no
  4666. ac_save_CC=$CC
  4667. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4668. /* end confdefs.h. */
  4669. #include <stdarg.h>
  4670. #include <stdio.h>
  4671. struct stat;
  4672. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  4673. struct buf { int x; };
  4674. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4675. static char *e (p, i)
  4676. char **p;
  4677. int i;
  4678. {
  4679. return p[i];
  4680. }
  4681. static char *f (char * (*g) (char **, int), char **p, ...)
  4682. {
  4683. char *s;
  4684. va_list v;
  4685. va_start (v,p);
  4686. s = g (p, va_arg (v,int));
  4687. va_end (v);
  4688. return s;
  4689. }
  4690. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  4691. function prototypes and stuff, but not '\xHH' hex character constants.
  4692. These don't provoke an error unfortunately, instead are silently treated
  4693. as 'x'. The following induces an error, until -std is added to get
  4694. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  4695. array size at least. It's necessary to write '\x00'==0 to get something
  4696. that's true only with -std. */
  4697. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4698. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4699. inside strings and character constants. */
  4700. #define FOO(x) 'x'
  4701. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4702. int test (int i, double x);
  4703. struct s1 {int (*f) (int a);};
  4704. struct s2 {int (*f) (double a);};
  4705. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4706. int argc;
  4707. char **argv;
  4708. int
  4709. main ()
  4710. {
  4711. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  4712. ;
  4713. return 0;
  4714. }
  4715. _ACEOF
  4716. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4717. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4718. do
  4719. CC="$ac_save_CC $ac_arg"
  4720. if ac_fn_c_try_compile "$LINENO"; then :
  4721. ac_cv_prog_cc_c89=$ac_arg
  4722. fi
  4723. rm -f core conftest.err conftest.$ac_objext
  4724. test "x$ac_cv_prog_cc_c89" != "xno" && break
  4725. done
  4726. rm -f conftest.$ac_ext
  4727. CC=$ac_save_CC
  4728. fi
  4729. # AC_CACHE_VAL
  4730. case "x$ac_cv_prog_cc_c89" in
  4731. x)
  4732. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4733. $as_echo "none needed" >&6; } ;;
  4734. xno)
  4735. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4736. $as_echo "unsupported" >&6; } ;;
  4737. *)
  4738. CC="$CC $ac_cv_prog_cc_c89"
  4739. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4740. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4741. esac
  4742. if test "x$ac_cv_prog_cc_c89" != xno; then :
  4743. fi
  4744. ac_ext=c
  4745. ac_cpp='$CPP $CPPFLAGS'
  4746. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4747. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4748. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4749. ac_ext=cpp
  4750. ac_cpp='$CXXCPP $CPPFLAGS'
  4751. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4752. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4753. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4754. if test -z "$CXX"; then
  4755. if test -n "$CCC"; then
  4756. CXX=$CCC
  4757. else
  4758. if test -n "$ac_tool_prefix"; then
  4759. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  4760. do
  4761. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4762. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4763. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4764. $as_echo_n "checking for $ac_word... " >&6; }
  4765. if ${ac_cv_prog_CXX+:} false; then :
  4766. $as_echo_n "(cached) " >&6
  4767. else
  4768. if test -n "$CXX"; then
  4769. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  4770. else
  4771. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4772. for as_dir in $PATH
  4773. do
  4774. IFS=$as_save_IFS
  4775. test -z "$as_dir" && as_dir=.
  4776. for ac_exec_ext in '' $ac_executable_extensions; do
  4777. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4778. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  4779. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4780. break 2
  4781. fi
  4782. done
  4783. done
  4784. IFS=$as_save_IFS
  4785. fi
  4786. fi
  4787. CXX=$ac_cv_prog_CXX
  4788. if test -n "$CXX"; then
  4789. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  4790. $as_echo "$CXX" >&6; }
  4791. else
  4792. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4793. $as_echo "no" >&6; }
  4794. fi
  4795. test -n "$CXX" && break
  4796. done
  4797. fi
  4798. if test -z "$CXX"; then
  4799. ac_ct_CXX=$CXX
  4800. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  4801. do
  4802. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4803. set dummy $ac_prog; ac_word=$2
  4804. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4805. $as_echo_n "checking for $ac_word... " >&6; }
  4806. if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  4807. $as_echo_n "(cached) " >&6
  4808. else
  4809. if test -n "$ac_ct_CXX"; then
  4810. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  4811. else
  4812. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4813. for as_dir in $PATH
  4814. do
  4815. IFS=$as_save_IFS
  4816. test -z "$as_dir" && as_dir=.
  4817. for ac_exec_ext in '' $ac_executable_extensions; do
  4818. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4819. ac_cv_prog_ac_ct_CXX="$ac_prog"
  4820. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4821. break 2
  4822. fi
  4823. done
  4824. done
  4825. IFS=$as_save_IFS
  4826. fi
  4827. fi
  4828. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  4829. if test -n "$ac_ct_CXX"; then
  4830. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  4831. $as_echo "$ac_ct_CXX" >&6; }
  4832. else
  4833. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4834. $as_echo "no" >&6; }
  4835. fi
  4836. test -n "$ac_ct_CXX" && break
  4837. done
  4838. if test "x$ac_ct_CXX" = x; then
  4839. CXX="g++"
  4840. else
  4841. case $cross_compiling:$ac_tool_warned in
  4842. yes:)
  4843. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4844. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4845. ac_tool_warned=yes ;;
  4846. esac
  4847. CXX=$ac_ct_CXX
  4848. fi
  4849. fi
  4850. fi
  4851. fi
  4852. # Provide some information about the compiler.
  4853. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  4854. set X $ac_compile
  4855. ac_compiler=$2
  4856. for ac_option in --version -v -V -qversion; do
  4857. { { ac_try="$ac_compiler $ac_option >&5"
  4858. case "(($ac_try" in
  4859. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4860. *) ac_try_echo=$ac_try;;
  4861. esac
  4862. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4863. $as_echo "$ac_try_echo"; } >&5
  4864. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4865. ac_status=$?
  4866. if test -s conftest.err; then
  4867. sed '10a\
  4868. ... rest of stderr output deleted ...
  4869. 10q' conftest.err >conftest.er1
  4870. cat conftest.er1 >&5
  4871. fi
  4872. rm -f conftest.er1 conftest.err
  4873. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4874. test $ac_status = 0; }
  4875. done
  4876. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  4877. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  4878. if ${ac_cv_cxx_compiler_gnu+:} false; then :
  4879. $as_echo_n "(cached) " >&6
  4880. else
  4881. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4882. /* end confdefs.h. */
  4883. int
  4884. main ()
  4885. {
  4886. #ifndef __GNUC__
  4887. choke me
  4888. #endif
  4889. ;
  4890. return 0;
  4891. }
  4892. _ACEOF
  4893. if ac_fn_cxx_try_compile "$LINENO"; then :
  4894. ac_compiler_gnu=yes
  4895. else
  4896. ac_compiler_gnu=no
  4897. fi
  4898. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4899. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  4900. fi
  4901. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  4902. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  4903. if test $ac_compiler_gnu = yes; then
  4904. GXX=yes
  4905. else
  4906. GXX=
  4907. fi
  4908. ac_test_CXXFLAGS=${CXXFLAGS+set}
  4909. ac_save_CXXFLAGS=$CXXFLAGS
  4910. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  4911. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  4912. if ${ac_cv_prog_cxx_g+:} false; then :
  4913. $as_echo_n "(cached) " >&6
  4914. else
  4915. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  4916. ac_cxx_werror_flag=yes
  4917. ac_cv_prog_cxx_g=no
  4918. CXXFLAGS="-g"
  4919. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4920. /* end confdefs.h. */
  4921. int
  4922. main ()
  4923. {
  4924. ;
  4925. return 0;
  4926. }
  4927. _ACEOF
  4928. if ac_fn_cxx_try_compile "$LINENO"; then :
  4929. ac_cv_prog_cxx_g=yes
  4930. else
  4931. CXXFLAGS=""
  4932. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4933. /* end confdefs.h. */
  4934. int
  4935. main ()
  4936. {
  4937. ;
  4938. return 0;
  4939. }
  4940. _ACEOF
  4941. if ac_fn_cxx_try_compile "$LINENO"; then :
  4942. else
  4943. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4944. CXXFLAGS="-g"
  4945. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4946. /* end confdefs.h. */
  4947. int
  4948. main ()
  4949. {
  4950. ;
  4951. return 0;
  4952. }
  4953. _ACEOF
  4954. if ac_fn_cxx_try_compile "$LINENO"; then :
  4955. ac_cv_prog_cxx_g=yes
  4956. fi
  4957. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4958. fi
  4959. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4960. fi
  4961. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4962. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4963. fi
  4964. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  4965. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  4966. if test "$ac_test_CXXFLAGS" = set; then
  4967. CXXFLAGS=$ac_save_CXXFLAGS
  4968. elif test $ac_cv_prog_cxx_g = yes; then
  4969. if test "$GXX" = yes; then
  4970. CXXFLAGS="-g -O2"
  4971. else
  4972. CXXFLAGS="-g"
  4973. fi
  4974. else
  4975. if test "$GXX" = yes; then
  4976. CXXFLAGS="-O2"
  4977. else
  4978. CXXFLAGS=
  4979. fi
  4980. fi
  4981. ac_ext=c
  4982. ac_cpp='$CPP $CPPFLAGS'
  4983. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4984. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4985. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4986. if test -n "$ac_tool_prefix"; then
  4987. # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
  4988. set dummy ${ac_tool_prefix}cpp; ac_word=$2
  4989. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4990. $as_echo_n "checking for $ac_word... " >&6; }
  4991. if ${ac_cv_prog_CPPBIN+:} false; then :
  4992. $as_echo_n "(cached) " >&6
  4993. else
  4994. if test -n "$CPPBIN"; then
  4995. ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
  4996. else
  4997. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4998. for as_dir in $PATH
  4999. do
  5000. IFS=$as_save_IFS
  5001. test -z "$as_dir" && as_dir=.
  5002. for ac_exec_ext in '' $ac_executable_extensions; do
  5003. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5004. ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
  5005. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5006. break 2
  5007. fi
  5008. done
  5009. done
  5010. IFS=$as_save_IFS
  5011. fi
  5012. fi
  5013. CPPBIN=$ac_cv_prog_CPPBIN
  5014. if test -n "$CPPBIN"; then
  5015. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
  5016. $as_echo "$CPPBIN" >&6; }
  5017. else
  5018. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5019. $as_echo "no" >&6; }
  5020. fi
  5021. fi
  5022. if test -z "$ac_cv_prog_CPPBIN"; then
  5023. ac_ct_CPPBIN=$CPPBIN
  5024. # Extract the first word of "cpp", so it can be a program name with args.
  5025. set dummy cpp; ac_word=$2
  5026. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5027. $as_echo_n "checking for $ac_word... " >&6; }
  5028. if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
  5029. $as_echo_n "(cached) " >&6
  5030. else
  5031. if test -n "$ac_ct_CPPBIN"; then
  5032. ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
  5033. else
  5034. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5035. for as_dir in $PATH
  5036. do
  5037. IFS=$as_save_IFS
  5038. test -z "$as_dir" && as_dir=.
  5039. for ac_exec_ext in '' $ac_executable_extensions; do
  5040. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5041. ac_cv_prog_ac_ct_CPPBIN="cpp"
  5042. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5043. break 2
  5044. fi
  5045. done
  5046. done
  5047. IFS=$as_save_IFS
  5048. fi
  5049. fi
  5050. ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
  5051. if test -n "$ac_ct_CPPBIN"; then
  5052. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
  5053. $as_echo "$ac_ct_CPPBIN" >&6; }
  5054. else
  5055. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5056. $as_echo "no" >&6; }
  5057. fi
  5058. if test "x$ac_ct_CPPBIN" = x; then
  5059. CPPBIN="cpp"
  5060. else
  5061. case $cross_compiling:$ac_tool_warned in
  5062. yes:)
  5063. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5064. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5065. ac_tool_warned=yes ;;
  5066. esac
  5067. CPPBIN=$ac_ct_CPPBIN
  5068. fi
  5069. else
  5070. CPPBIN="$ac_cv_prog_CPPBIN"
  5071. fi
  5072. cat >>confdefs.h <<_ACEOF
  5073. #define EXEEXT "$ac_exeext"
  5074. _ACEOF
  5075. if test -n "$ac_tool_prefix"; then
  5076. # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
  5077. set dummy ${ac_tool_prefix}ld; ac_word=$2
  5078. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5079. $as_echo_n "checking for $ac_word... " >&6; }
  5080. if ${ac_cv_prog_LD+:} false; then :
  5081. $as_echo_n "(cached) " >&6
  5082. else
  5083. if test -n "$LD"; then
  5084. ac_cv_prog_LD="$LD" # Let the user override the test.
  5085. else
  5086. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5087. for as_dir in $PATH
  5088. do
  5089. IFS=$as_save_IFS
  5090. test -z "$as_dir" && as_dir=.
  5091. for ac_exec_ext in '' $ac_executable_extensions; do
  5092. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5093. ac_cv_prog_LD="${ac_tool_prefix}ld"
  5094. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5095. break 2
  5096. fi
  5097. done
  5098. done
  5099. IFS=$as_save_IFS
  5100. fi
  5101. fi
  5102. LD=$ac_cv_prog_LD
  5103. if test -n "$LD"; then
  5104. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5105. $as_echo "$LD" >&6; }
  5106. else
  5107. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5108. $as_echo "no" >&6; }
  5109. fi
  5110. fi
  5111. if test -z "$ac_cv_prog_LD"; then
  5112. ac_ct_LD=$LD
  5113. # Extract the first word of "ld", so it can be a program name with args.
  5114. set dummy ld; ac_word=$2
  5115. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5116. $as_echo_n "checking for $ac_word... " >&6; }
  5117. if ${ac_cv_prog_ac_ct_LD+:} false; then :
  5118. $as_echo_n "(cached) " >&6
  5119. else
  5120. if test -n "$ac_ct_LD"; then
  5121. ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
  5122. else
  5123. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5124. for as_dir in $PATH
  5125. do
  5126. IFS=$as_save_IFS
  5127. test -z "$as_dir" && as_dir=.
  5128. for ac_exec_ext in '' $ac_executable_extensions; do
  5129. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5130. ac_cv_prog_ac_ct_LD="ld"
  5131. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5132. break 2
  5133. fi
  5134. done
  5135. done
  5136. IFS=$as_save_IFS
  5137. fi
  5138. fi
  5139. ac_ct_LD=$ac_cv_prog_ac_ct_LD
  5140. if test -n "$ac_ct_LD"; then
  5141. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
  5142. $as_echo "$ac_ct_LD" >&6; }
  5143. else
  5144. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5145. $as_echo "no" >&6; }
  5146. fi
  5147. if test "x$ac_ct_LD" = x; then
  5148. LD=""
  5149. else
  5150. case $cross_compiling:$ac_tool_warned in
  5151. yes:)
  5152. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5153. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5154. ac_tool_warned=yes ;;
  5155. esac
  5156. LD=$ac_ct_LD
  5157. fi
  5158. else
  5159. LD="$ac_cv_prog_LD"
  5160. fi
  5161. case $host in
  5162. *-darwin*)
  5163. with_fontconfig=${with_fontconfig:-no}
  5164. ;;
  5165. *-mingw32*|*-cygwin*)
  5166. enable_win16=${enable_win16:-no}
  5167. with_mingw=${with_mingw:-no}
  5168. CFLAGS="$CFLAGS -D_WIN32"
  5169. ;;
  5170. esac
  5171. case $host in
  5172. x86_64*|amd64*)
  5173. if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
  5174. then
  5175. CC="$CC -m32"
  5176. CXX="$CXX -m32"
  5177. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
  5178. $as_echo_n "checking whether $CC works... " >&6; }
  5179. if ${wine_cv_cc_m32+:} false; then :
  5180. $as_echo_n "(cached) " >&6
  5181. else
  5182. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5183. /* end confdefs.h. */
  5184. int
  5185. main ()
  5186. {
  5187. ;
  5188. return 0;
  5189. }
  5190. _ACEOF
  5191. if ac_fn_c_try_link "$LINENO"; then :
  5192. wine_cv_cc_m32=yes
  5193. else
  5194. wine_cv_cc_m32=no
  5195. fi
  5196. rm -f core conftest.err conftest.$ac_objext \
  5197. conftest$ac_exeext conftest.$ac_ext
  5198. fi
  5199. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
  5200. $as_echo "$wine_cv_cc_m32" >&6; }
  5201. test $wine_cv_cc_m32 != no || as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
  5202. host_cpu="i386"
  5203. notice_platform="32-bit "
  5204. TARGETFLAGS="-m32"
  5205. PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
  5206. export PKG_CONFIG_PATH
  5207. enable_win16=${enable_win16:-yes}
  5208. with_unwind=${with_unwind:-no}
  5209. else
  5210. if test "x${GCC}" = "xyes"
  5211. then
  5212. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
  5213. $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
  5214. if ${wine_cv_builtin_ms_va_list+:} false; then :
  5215. $as_echo_n "(cached) " >&6
  5216. else
  5217. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5218. /* end confdefs.h. */
  5219. #include <stdarg.h>
  5220. int
  5221. main ()
  5222. {
  5223. void func(__builtin_ms_va_list *args);
  5224. ;
  5225. return 0;
  5226. }
  5227. _ACEOF
  5228. if ac_fn_c_try_compile "$LINENO"; then :
  5229. wine_cv_builtin_ms_va_list=yes
  5230. else
  5231. wine_cv_builtin_ms_va_list=no
  5232. fi
  5233. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5234. fi
  5235. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
  5236. $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
  5237. test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
  5238. fi
  5239. CC="$CC -m64"
  5240. CXX="$CXX -m64"
  5241. host_cpu="x86_64"
  5242. notice_platform="64-bit "
  5243. TARGETFLAGS="-m64"
  5244. fi
  5245. ;;
  5246. arm*)
  5247. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
  5248. $as_echo_n "checking whether $CC supports Thumb... " >&6; }
  5249. if ${wine_cv_thumb+:} false; then :
  5250. $as_echo_n "(cached) " >&6
  5251. else
  5252. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5253. /* end confdefs.h. */
  5254. int ac_test(int i) { return i; }
  5255. int
  5256. main ()
  5257. {
  5258. asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
  5259. ;
  5260. return 0;
  5261. }
  5262. _ACEOF
  5263. if ac_fn_c_try_link "$LINENO"; then :
  5264. wine_cv_thumb=yes
  5265. else
  5266. wine_cv_thumb=no
  5267. fi
  5268. rm -f core conftest.err conftest.$ac_objext \
  5269. conftest$ac_exeext conftest.$ac_ext
  5270. fi
  5271. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
  5272. $as_echo "$wine_cv_thumb" >&6; }
  5273. test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
  5274. case $with_float_abi in
  5275. soft|softfp|hard)
  5276. float_abi=$with_float_abi ;;
  5277. *)
  5278. case $host_os in
  5279. *eabihf)
  5280. float_abi=hard ;;
  5281. *)
  5282. float_abi=softfp
  5283. saved_CFLAGS=$CFLAGS
  5284. CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
  5285. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
  5286. $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
  5287. if ${wine_cv_float_abi+:} false; then :
  5288. $as_echo_n "(cached) " >&6
  5289. else
  5290. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5291. /* end confdefs.h. */
  5292. int
  5293. main ()
  5294. {
  5295. asm("vmrs r2,fpscr");
  5296. ;
  5297. return 0;
  5298. }
  5299. _ACEOF
  5300. if ac_fn_c_try_link "$LINENO"; then :
  5301. wine_cv_float_abi=yes
  5302. else
  5303. wine_cv_float_abi=no
  5304. fi
  5305. rm -f core conftest.err conftest.$ac_objext \
  5306. conftest$ac_exeext conftest.$ac_ext
  5307. fi
  5308. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
  5309. $as_echo "$wine_cv_float_abi" >&6; }
  5310. if test $wine_cv_float_abi = no
  5311. then
  5312. float_abi=soft
  5313. as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
  5314. fi
  5315. CFLAGS=$saved_CFLAGS
  5316. esac
  5317. ;;
  5318. esac
  5319. CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
  5320. TARGETFLAGS="-marm -mfloat-abi=$float_abi"
  5321. ;;
  5322. aarch64*)
  5323. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
  5324. $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
  5325. if ${wine_cv_builtin_ms_va_list+:} false; then :
  5326. $as_echo_n "(cached) " >&6
  5327. else
  5328. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5329. /* end confdefs.h. */
  5330. #include <stdarg.h>
  5331. int
  5332. main ()
  5333. {
  5334. void func(__builtin_ms_va_list *args);
  5335. ;
  5336. return 0;
  5337. }
  5338. _ACEOF
  5339. if ac_fn_c_try_compile "$LINENO"; then :
  5340. wine_cv_builtin_ms_va_list=yes
  5341. else
  5342. wine_cv_builtin_ms_va_list=no
  5343. fi
  5344. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5345. fi
  5346. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
  5347. $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
  5348. test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
  5349. # Avoid clobbering the x18 register which is reserved in windows.
  5350. # This isn't complete/enough unless all of the system libraries have
  5351. # been built with the same flag though.
  5352. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -ffixed-x18" >&5
  5353. $as_echo_n "checking whether the compiler supports -ffixed-x18... " >&6; }
  5354. if ${ac_cv_cflags__ffixed_x18+:} false; then :
  5355. $as_echo_n "(cached) " >&6
  5356. else
  5357. ac_wine_try_cflags_saved=$CFLAGS
  5358. CFLAGS="$CFLAGS -ffixed-x18"
  5359. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5360. /* end confdefs.h. */
  5361. int main(int argc, char **argv) { return 0; }
  5362. _ACEOF
  5363. if ac_fn_c_try_link "$LINENO"; then :
  5364. ac_cv_cflags__ffixed_x18=yes
  5365. else
  5366. ac_cv_cflags__ffixed_x18=no
  5367. fi
  5368. rm -f core conftest.err conftest.$ac_objext \
  5369. conftest$ac_exeext conftest.$ac_ext
  5370. CFLAGS=$ac_wine_try_cflags_saved
  5371. fi
  5372. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__ffixed_x18" >&5
  5373. $as_echo "$ac_cv_cflags__ffixed_x18" >&6; }
  5374. if test "x$ac_cv_cflags__ffixed_x18" = xyes; then :
  5375. CFLAGS="$CFLAGS -ffixed-x18"
  5376. fi
  5377. ;;
  5378. i[3456789]86*)
  5379. enable_win16=${enable_win16:-yes}
  5380. with_unwind=${with_unwind:-no}
  5381. ;;
  5382. esac
  5383. enable_win16=${enable_win16:-no}
  5384. enable_win64=${enable_win64:-no}
  5385. if test "x$enable_win64" != "xyes"
  5386. then
  5387. enable_win32="yes"
  5388. else
  5389. enable_win32="no"
  5390. fi
  5391. enable_winetest=${enable_winetest:-$enable_tests}
  5392. if test "x$enable_win64" = "xyes"
  5393. then
  5394. test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
  5395. --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
  5396. test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
  5397. fi
  5398. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
  5399. $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
  5400. if ${wine_cv_toolsdir+:} false; then :
  5401. $as_echo_n "(cached) " >&6
  5402. else
  5403. wine_cv_toolsdir="$with_wine_tools"
  5404. if test -z "$with_wine_tools"; then
  5405. if test "$cross_compiling" = "yes"; then
  5406. as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
  5407. elif test -n "$with_wine64"; then
  5408. wine_cv_toolsdir="$with_wine64"
  5409. fi
  5410. fi
  5411. fi
  5412. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
  5413. $as_echo "$wine_cv_toolsdir" >&6; }
  5414. if test -z "$wine_cv_toolsdir"; then
  5415. wine_makedep=tools/makedep
  5416. TOOLSDIR="\$(top_builddir)"
  5417. elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
  5418. wine_makedep=$wine_cv_toolsdir/tools/makedep
  5419. case "$wine_cv_toolsdir" in
  5420. /*) TOOLSDIR=$wine_cv_toolsdir
  5421. ;;
  5422. *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
  5423. ;;
  5424. esac
  5425. enable_tools=${enable_tools:-no}
  5426. test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
  5427. else
  5428. as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
  5429. fi
  5430. if test -n "$host_alias" -a "$host_alias" != "$build_alias"
  5431. then
  5432. TARGETFLAGS="-b $host_alias $TARGETFLAGS"
  5433. fi
  5434. for ac_prog in flex
  5435. do
  5436. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5437. set dummy $ac_prog; ac_word=$2
  5438. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5439. $as_echo_n "checking for $ac_word... " >&6; }
  5440. if ${ac_cv_prog_FLEX+:} false; then :
  5441. $as_echo_n "(cached) " >&6
  5442. else
  5443. if test -n "$FLEX"; then
  5444. ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
  5445. else
  5446. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5447. for as_dir in $PATH
  5448. do
  5449. IFS=$as_save_IFS
  5450. test -z "$as_dir" && as_dir=.
  5451. for ac_exec_ext in '' $ac_executable_extensions; do
  5452. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5453. ac_cv_prog_FLEX="$ac_prog"
  5454. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5455. break 2
  5456. fi
  5457. done
  5458. done
  5459. IFS=$as_save_IFS
  5460. fi
  5461. fi
  5462. FLEX=$ac_cv_prog_FLEX
  5463. if test -n "$FLEX"; then
  5464. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
  5465. $as_echo "$FLEX" >&6; }
  5466. else
  5467. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5468. $as_echo "no" >&6; }
  5469. fi
  5470. test -n "$FLEX" && break
  5471. done
  5472. test -n "$FLEX" || FLEX="none"
  5473. if test "$FLEX" = "none"
  5474. then
  5475. as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
  5476. fi
  5477. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
  5478. $as_echo_n "checking whether flex is recent enough... " >&6; }
  5479. if ${wine_cv_recent_flex+:} false; then :
  5480. $as_echo_n "(cached) " >&6
  5481. else
  5482. cat >conftest.l <<EOF
  5483. %top{
  5484. #include "prediluvian.h"
  5485. }
  5486. %%
  5487. EOF
  5488. if $FLEX -t conftest.l >/dev/null 2>&5
  5489. then
  5490. wine_cv_recent_flex=yes
  5491. else
  5492. wine_cv_recent_flex=no
  5493. fi
  5494. fi
  5495. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
  5496. $as_echo "$wine_cv_recent_flex" >&6; }
  5497. test $wine_cv_recent_flex != no || as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
  5498. for ac_prog in bison
  5499. do
  5500. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5501. set dummy $ac_prog; ac_word=$2
  5502. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5503. $as_echo_n "checking for $ac_word... " >&6; }
  5504. if ${ac_cv_prog_BISON+:} false; then :
  5505. $as_echo_n "(cached) " >&6
  5506. else
  5507. if test -n "$BISON"; then
  5508. ac_cv_prog_BISON="$BISON" # Let the user override the test.
  5509. else
  5510. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5511. for as_dir in $PATH
  5512. do
  5513. IFS=$as_save_IFS
  5514. test -z "$as_dir" && as_dir=.
  5515. for ac_exec_ext in '' $ac_executable_extensions; do
  5516. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5517. ac_cv_prog_BISON="$ac_prog"
  5518. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5519. break 2
  5520. fi
  5521. done
  5522. done
  5523. IFS=$as_save_IFS
  5524. fi
  5525. fi
  5526. BISON=$ac_cv_prog_BISON
  5527. if test -n "$BISON"; then
  5528. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
  5529. $as_echo "$BISON" >&6; }
  5530. else
  5531. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5532. $as_echo "no" >&6; }
  5533. fi
  5534. test -n "$BISON" && break
  5535. done
  5536. test -n "$BISON" || BISON="none"
  5537. if test "$BISON" = "none"
  5538. then
  5539. as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
  5540. fi
  5541. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
  5542. $as_echo_n "checking whether bison is recent enough... " >&6; }
  5543. if ${wine_cv_recent_bison+:} false; then :
  5544. $as_echo_n "(cached) " >&6
  5545. else
  5546. cat >conftest.y <<EOF
  5547. %define parse.error verbose
  5548. %%
  5549. empty: ;
  5550. EOF
  5551. if $BISON conftest.y >/dev/null 2>&5
  5552. then
  5553. wine_cv_recent_bison=yes
  5554. else
  5555. wine_cv_recent_bison=no
  5556. fi
  5557. fi
  5558. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
  5559. $as_echo "$wine_cv_recent_bison" >&6; }
  5560. test $wine_cv_recent_bison != no || as_fn_error $? "Your bison version is too old. Please install bison version 3.0 or newer." "$LINENO" 5
  5561. if test -n "$ac_tool_prefix"; then
  5562. for ac_prog in ar gar
  5563. do
  5564. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5565. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5566. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5567. $as_echo_n "checking for $ac_word... " >&6; }
  5568. if ${ac_cv_prog_AR+:} false; then :
  5569. $as_echo_n "(cached) " >&6
  5570. else
  5571. if test -n "$AR"; then
  5572. ac_cv_prog_AR="$AR" # Let the user override the test.
  5573. else
  5574. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5575. for as_dir in $PATH
  5576. do
  5577. IFS=$as_save_IFS
  5578. test -z "$as_dir" && as_dir=.
  5579. for ac_exec_ext in '' $ac_executable_extensions; do
  5580. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5581. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  5582. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5583. break 2
  5584. fi
  5585. done
  5586. done
  5587. IFS=$as_save_IFS
  5588. fi
  5589. fi
  5590. AR=$ac_cv_prog_AR
  5591. if test -n "$AR"; then
  5592. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5593. $as_echo "$AR" >&6; }
  5594. else
  5595. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5596. $as_echo "no" >&6; }
  5597. fi
  5598. test -n "$AR" && break
  5599. done
  5600. fi
  5601. if test -z "$AR"; then
  5602. ac_ct_AR=$AR
  5603. for ac_prog in ar gar
  5604. do
  5605. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5606. set dummy $ac_prog; ac_word=$2
  5607. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5608. $as_echo_n "checking for $ac_word... " >&6; }
  5609. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  5610. $as_echo_n "(cached) " >&6
  5611. else
  5612. if test -n "$ac_ct_AR"; then
  5613. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5614. else
  5615. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5616. for as_dir in $PATH
  5617. do
  5618. IFS=$as_save_IFS
  5619. test -z "$as_dir" && as_dir=.
  5620. for ac_exec_ext in '' $ac_executable_extensions; do
  5621. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5622. ac_cv_prog_ac_ct_AR="$ac_prog"
  5623. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5624. break 2
  5625. fi
  5626. done
  5627. done
  5628. IFS=$as_save_IFS
  5629. fi
  5630. fi
  5631. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5632. if test -n "$ac_ct_AR"; then
  5633. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5634. $as_echo "$ac_ct_AR" >&6; }
  5635. else
  5636. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5637. $as_echo "no" >&6; }
  5638. fi
  5639. test -n "$ac_ct_AR" && break
  5640. done
  5641. if test "x$ac_ct_AR" = x; then
  5642. AR="ar"
  5643. else
  5644. case $cross_compiling:$ac_tool_warned in
  5645. yes:)
  5646. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5647. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5648. ac_tool_warned=yes ;;
  5649. esac
  5650. AR=$ac_ct_AR
  5651. fi
  5652. fi
  5653. if test -n "$ac_tool_prefix"; then
  5654. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5655. set dummy ${ac_tool_prefix}strip; ac_word=$2
  5656. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5657. $as_echo_n "checking for $ac_word... " >&6; }
  5658. if ${ac_cv_prog_STRIP+:} false; then :
  5659. $as_echo_n "(cached) " >&6
  5660. else
  5661. if test -n "$STRIP"; then
  5662. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5663. else
  5664. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5665. for as_dir in $PATH
  5666. do
  5667. IFS=$as_save_IFS
  5668. test -z "$as_dir" && as_dir=.
  5669. for ac_exec_ext in '' $ac_executable_extensions; do
  5670. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5671. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5672. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5673. break 2
  5674. fi
  5675. done
  5676. done
  5677. IFS=$as_save_IFS
  5678. fi
  5679. fi
  5680. STRIP=$ac_cv_prog_STRIP
  5681. if test -n "$STRIP"; then
  5682. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  5683. $as_echo "$STRIP" >&6; }
  5684. else
  5685. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5686. $as_echo "no" >&6; }
  5687. fi
  5688. fi
  5689. if test -z "$ac_cv_prog_STRIP"; then
  5690. ac_ct_STRIP=$STRIP
  5691. # Extract the first word of "strip", so it can be a program name with args.
  5692. set dummy strip; ac_word=$2
  5693. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5694. $as_echo_n "checking for $ac_word... " >&6; }
  5695. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  5696. $as_echo_n "(cached) " >&6
  5697. else
  5698. if test -n "$ac_ct_STRIP"; then
  5699. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5700. else
  5701. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5702. for as_dir in $PATH
  5703. do
  5704. IFS=$as_save_IFS
  5705. test -z "$as_dir" && as_dir=.
  5706. for ac_exec_ext in '' $ac_executable_extensions; do
  5707. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5708. ac_cv_prog_ac_ct_STRIP="strip"
  5709. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5710. break 2
  5711. fi
  5712. done
  5713. done
  5714. IFS=$as_save_IFS
  5715. fi
  5716. fi
  5717. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5718. if test -n "$ac_ct_STRIP"; then
  5719. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5720. $as_echo "$ac_ct_STRIP" >&6; }
  5721. else
  5722. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5723. $as_echo "no" >&6; }
  5724. fi
  5725. if test "x$ac_ct_STRIP" = x; then
  5726. STRIP="strip"
  5727. else
  5728. case $cross_compiling:$ac_tool_warned in
  5729. yes:)
  5730. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5731. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5732. ac_tool_warned=yes ;;
  5733. esac
  5734. STRIP=$ac_ct_STRIP
  5735. fi
  5736. else
  5737. STRIP="$ac_cv_prog_STRIP"
  5738. fi
  5739. if test -n "$ac_tool_prefix"; then
  5740. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5741. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5742. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5743. $as_echo_n "checking for $ac_word... " >&6; }
  5744. if ${ac_cv_prog_RANLIB+:} false; then :
  5745. $as_echo_n "(cached) " >&6
  5746. else
  5747. if test -n "$RANLIB"; then
  5748. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5749. else
  5750. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5751. for as_dir in $PATH
  5752. do
  5753. IFS=$as_save_IFS
  5754. test -z "$as_dir" && as_dir=.
  5755. for ac_exec_ext in '' $ac_executable_extensions; do
  5756. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5757. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5758. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5759. break 2
  5760. fi
  5761. done
  5762. done
  5763. IFS=$as_save_IFS
  5764. fi
  5765. fi
  5766. RANLIB=$ac_cv_prog_RANLIB
  5767. if test -n "$RANLIB"; then
  5768. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5769. $as_echo "$RANLIB" >&6; }
  5770. else
  5771. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5772. $as_echo "no" >&6; }
  5773. fi
  5774. fi
  5775. if test -z "$ac_cv_prog_RANLIB"; then
  5776. ac_ct_RANLIB=$RANLIB
  5777. # Extract the first word of "ranlib", so it can be a program name with args.
  5778. set dummy ranlib; ac_word=$2
  5779. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5780. $as_echo_n "checking for $ac_word... " >&6; }
  5781. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5782. $as_echo_n "(cached) " >&6
  5783. else
  5784. if test -n "$ac_ct_RANLIB"; then
  5785. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5786. else
  5787. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5788. for as_dir in $PATH
  5789. do
  5790. IFS=$as_save_IFS
  5791. test -z "$as_dir" && as_dir=.
  5792. for ac_exec_ext in '' $ac_executable_extensions; do
  5793. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5794. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5795. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5796. break 2
  5797. fi
  5798. done
  5799. done
  5800. IFS=$as_save_IFS
  5801. fi
  5802. fi
  5803. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5804. if test -n "$ac_ct_RANLIB"; then
  5805. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5806. $as_echo "$ac_ct_RANLIB" >&6; }
  5807. else
  5808. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5809. $as_echo "no" >&6; }
  5810. fi
  5811. if test "x$ac_ct_RANLIB" = x; then
  5812. RANLIB=":"
  5813. else
  5814. case $cross_compiling:$ac_tool_warned in
  5815. yes:)
  5816. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5817. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5818. ac_tool_warned=yes ;;
  5819. esac
  5820. RANLIB=$ac_ct_RANLIB
  5821. fi
  5822. else
  5823. RANLIB="$ac_cv_prog_RANLIB"
  5824. fi
  5825. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  5826. $as_echo_n "checking whether ln -s works... " >&6; }
  5827. LN_S=$as_ln_s
  5828. if test "$LN_S" = "ln -s"; then
  5829. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5830. $as_echo "yes" >&6; }
  5831. else
  5832. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  5833. $as_echo "no, using $LN_S" >&6; }
  5834. fi
  5835. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  5836. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  5837. if ${ac_cv_path_GREP+:} false; then :
  5838. $as_echo_n "(cached) " >&6
  5839. else
  5840. if test -z "$GREP"; then
  5841. ac_path_GREP_found=false
  5842. # Loop through the user's path and test for each of PROGNAME-LIST
  5843. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5844. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5845. do
  5846. IFS=$as_save_IFS
  5847. test -z "$as_dir" && as_dir=.
  5848. for ac_prog in grep ggrep; do
  5849. for ac_exec_ext in '' $ac_executable_extensions; do
  5850. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5851. as_fn_executable_p "$ac_path_GREP" || continue
  5852. # Check for GNU ac_path_GREP and select it if it is found.
  5853. # Check for GNU $ac_path_GREP
  5854. case `"$ac_path_GREP" --version 2>&1` in
  5855. *GNU*)
  5856. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5857. *)
  5858. ac_count=0
  5859. $as_echo_n 0123456789 >"conftest.in"
  5860. while :
  5861. do
  5862. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5863. mv "conftest.tmp" "conftest.in"
  5864. cp "conftest.in" "conftest.nl"
  5865. $as_echo 'GREP' >> "conftest.nl"
  5866. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5867. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5868. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5869. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5870. # Best one so far, save it but keep looking for a better one
  5871. ac_cv_path_GREP="$ac_path_GREP"
  5872. ac_path_GREP_max=$ac_count
  5873. fi
  5874. # 10*(2^10) chars as input seems more than enough
  5875. test $ac_count -gt 10 && break
  5876. done
  5877. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5878. esac
  5879. $ac_path_GREP_found && break 3
  5880. done
  5881. done
  5882. done
  5883. IFS=$as_save_IFS
  5884. if test -z "$ac_cv_path_GREP"; then
  5885. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5886. fi
  5887. else
  5888. ac_cv_path_GREP=$GREP
  5889. fi
  5890. fi
  5891. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  5892. $as_echo "$ac_cv_path_GREP" >&6; }
  5893. GREP="$ac_cv_path_GREP"
  5894. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  5895. $as_echo_n "checking for egrep... " >&6; }
  5896. if ${ac_cv_path_EGREP+:} false; then :
  5897. $as_echo_n "(cached) " >&6
  5898. else
  5899. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  5900. then ac_cv_path_EGREP="$GREP -E"
  5901. else
  5902. if test -z "$EGREP"; then
  5903. ac_path_EGREP_found=false
  5904. # Loop through the user's path and test for each of PROGNAME-LIST
  5905. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5906. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5907. do
  5908. IFS=$as_save_IFS
  5909. test -z "$as_dir" && as_dir=.
  5910. for ac_prog in egrep; do
  5911. for ac_exec_ext in '' $ac_executable_extensions; do
  5912. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  5913. as_fn_executable_p "$ac_path_EGREP" || continue
  5914. # Check for GNU ac_path_EGREP and select it if it is found.
  5915. # Check for GNU $ac_path_EGREP
  5916. case `"$ac_path_EGREP" --version 2>&1` in
  5917. *GNU*)
  5918. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  5919. *)
  5920. ac_count=0
  5921. $as_echo_n 0123456789 >"conftest.in"
  5922. while :
  5923. do
  5924. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5925. mv "conftest.tmp" "conftest.in"
  5926. cp "conftest.in" "conftest.nl"
  5927. $as_echo 'EGREP' >> "conftest.nl"
  5928. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5929. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5930. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5931. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  5932. # Best one so far, save it but keep looking for a better one
  5933. ac_cv_path_EGREP="$ac_path_EGREP"
  5934. ac_path_EGREP_max=$ac_count
  5935. fi
  5936. # 10*(2^10) chars as input seems more than enough
  5937. test $ac_count -gt 10 && break
  5938. done
  5939. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5940. esac
  5941. $ac_path_EGREP_found && break 3
  5942. done
  5943. done
  5944. done
  5945. IFS=$as_save_IFS
  5946. if test -z "$ac_cv_path_EGREP"; then
  5947. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5948. fi
  5949. else
  5950. ac_cv_path_EGREP=$EGREP
  5951. fi
  5952. fi
  5953. fi
  5954. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  5955. $as_echo "$ac_cv_path_EGREP" >&6; }
  5956. EGREP="$ac_cv_path_EGREP"
  5957. # Extract the first word of "ldconfig", so it can be a program name with args.
  5958. set dummy ldconfig; ac_word=$2
  5959. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5960. $as_echo_n "checking for $ac_word... " >&6; }
  5961. if ${ac_cv_path_LDCONFIG+:} false; then :
  5962. $as_echo_n "(cached) " >&6
  5963. else
  5964. case $LDCONFIG in
  5965. [\\/]* | ?:[\\/]*)
  5966. ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
  5967. ;;
  5968. *)
  5969. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5970. for as_dir in /sbin /usr/sbin $PATH
  5971. do
  5972. IFS=$as_save_IFS
  5973. test -z "$as_dir" && as_dir=.
  5974. for ac_exec_ext in '' $ac_executable_extensions; do
  5975. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5976. ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
  5977. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5978. break 2
  5979. fi
  5980. done
  5981. done
  5982. IFS=$as_save_IFS
  5983. test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
  5984. ;;
  5985. esac
  5986. fi
  5987. LDCONFIG=$ac_cv_path_LDCONFIG
  5988. if test -n "$LDCONFIG"; then
  5989. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
  5990. $as_echo "$LDCONFIG" >&6; }
  5991. else
  5992. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5993. $as_echo "no" >&6; }
  5994. fi
  5995. for ac_prog in msgfmt
  5996. do
  5997. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5998. set dummy $ac_prog; ac_word=$2
  5999. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6000. $as_echo_n "checking for $ac_word... " >&6; }
  6001. if ${ac_cv_prog_MSGFMT+:} false; then :
  6002. $as_echo_n "(cached) " >&6
  6003. else
  6004. if test -n "$MSGFMT"; then
  6005. ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
  6006. else
  6007. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6008. for as_dir in $PATH
  6009. do
  6010. IFS=$as_save_IFS
  6011. test -z "$as_dir" && as_dir=.
  6012. for ac_exec_ext in '' $ac_executable_extensions; do
  6013. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6014. ac_cv_prog_MSGFMT="$ac_prog"
  6015. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6016. break 2
  6017. fi
  6018. done
  6019. done
  6020. IFS=$as_save_IFS
  6021. fi
  6022. fi
  6023. MSGFMT=$ac_cv_prog_MSGFMT
  6024. if test -n "$MSGFMT"; then
  6025. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
  6026. $as_echo "$MSGFMT" >&6; }
  6027. else
  6028. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6029. $as_echo "no" >&6; }
  6030. fi
  6031. test -n "$MSGFMT" && break
  6032. done
  6033. test -n "$MSGFMT" || MSGFMT="false"
  6034. if ${ac_tool_prefix+:} false; then :
  6035. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  6036. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  6037. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6038. $as_echo_n "checking for $ac_word... " >&6; }
  6039. if ${ac_cv_prog_PKG_CONFIG+:} false; then :
  6040. $as_echo_n "(cached) " >&6
  6041. else
  6042. if test -n "$PKG_CONFIG"; then
  6043. ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
  6044. else
  6045. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6046. for as_dir in $PATH
  6047. do
  6048. IFS=$as_save_IFS
  6049. test -z "$as_dir" && as_dir=.
  6050. for ac_exec_ext in '' $ac_executable_extensions; do
  6051. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6052. ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
  6053. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6054. break 2
  6055. fi
  6056. done
  6057. done
  6058. IFS=$as_save_IFS
  6059. fi
  6060. fi
  6061. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6062. if test -n "$PKG_CONFIG"; then
  6063. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  6064. $as_echo "$PKG_CONFIG" >&6; }
  6065. else
  6066. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6067. $as_echo "no" >&6; }
  6068. fi
  6069. fi
  6070. if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
  6071. if test "x$cross_compiling" = xyes; then :
  6072. else
  6073. { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
  6074. # Extract the first word of "pkg-config", so it can be a program name with args.
  6075. set dummy pkg-config; ac_word=$2
  6076. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6077. $as_echo_n "checking for $ac_word... " >&6; }
  6078. if ${ac_cv_prog_PKG_CONFIG+:} false; then :
  6079. $as_echo_n "(cached) " >&6
  6080. else
  6081. if test -n "$PKG_CONFIG"; then
  6082. ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
  6083. else
  6084. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6085. for as_dir in $PATH
  6086. do
  6087. IFS=$as_save_IFS
  6088. test -z "$as_dir" && as_dir=.
  6089. for ac_exec_ext in '' $ac_executable_extensions; do
  6090. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6091. ac_cv_prog_PKG_CONFIG="pkg-config"
  6092. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6093. break 2
  6094. fi
  6095. done
  6096. done
  6097. IFS=$as_save_IFS
  6098. fi
  6099. fi
  6100. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6101. if test -n "$PKG_CONFIG"; then
  6102. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  6103. $as_echo "$PKG_CONFIG" >&6; }
  6104. else
  6105. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6106. $as_echo "no" >&6; }
  6107. fi
  6108. fi
  6109. else
  6110. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6111. fi
  6112. if test "x$enable_maintainer_mode" != "xyes"
  6113. then
  6114. FONTFORGE=""
  6115. RSVG=""
  6116. CONVERT=""
  6117. ICOTOOL=""
  6118. else
  6119. test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
  6120. for ac_prog in fontforge
  6121. do
  6122. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6123. set dummy $ac_prog; ac_word=$2
  6124. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6125. $as_echo_n "checking for $ac_word... " >&6; }
  6126. if ${ac_cv_prog_FONTFORGE+:} false; then :
  6127. $as_echo_n "(cached) " >&6
  6128. else
  6129. if test -n "$FONTFORGE"; then
  6130. ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
  6131. else
  6132. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6133. for as_dir in $PATH
  6134. do
  6135. IFS=$as_save_IFS
  6136. test -z "$as_dir" && as_dir=.
  6137. for ac_exec_ext in '' $ac_executable_extensions; do
  6138. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6139. ac_cv_prog_FONTFORGE="$ac_prog"
  6140. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6141. break 2
  6142. fi
  6143. done
  6144. done
  6145. IFS=$as_save_IFS
  6146. fi
  6147. fi
  6148. FONTFORGE=$ac_cv_prog_FONTFORGE
  6149. if test -n "$FONTFORGE"; then
  6150. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
  6151. $as_echo "$FONTFORGE" >&6; }
  6152. else
  6153. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6154. $as_echo "no" >&6; }
  6155. fi
  6156. test -n "$FONTFORGE" && break
  6157. done
  6158. test -n "$FONTFORGE" || FONTFORGE="false"
  6159. for ac_prog in rsvg-convert rsvg
  6160. do
  6161. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6162. set dummy $ac_prog; ac_word=$2
  6163. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6164. $as_echo_n "checking for $ac_word... " >&6; }
  6165. if ${ac_cv_prog_RSVG+:} false; then :
  6166. $as_echo_n "(cached) " >&6
  6167. else
  6168. if test -n "$RSVG"; then
  6169. ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
  6170. else
  6171. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6172. for as_dir in $PATH
  6173. do
  6174. IFS=$as_save_IFS
  6175. test -z "$as_dir" && as_dir=.
  6176. for ac_exec_ext in '' $ac_executable_extensions; do
  6177. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6178. ac_cv_prog_RSVG="$ac_prog"
  6179. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6180. break 2
  6181. fi
  6182. done
  6183. done
  6184. IFS=$as_save_IFS
  6185. fi
  6186. fi
  6187. RSVG=$ac_cv_prog_RSVG
  6188. if test -n "$RSVG"; then
  6189. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
  6190. $as_echo "$RSVG" >&6; }
  6191. else
  6192. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6193. $as_echo "no" >&6; }
  6194. fi
  6195. test -n "$RSVG" && break
  6196. done
  6197. test -n "$RSVG" || RSVG="false"
  6198. for ac_prog in convert
  6199. do
  6200. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6201. set dummy $ac_prog; ac_word=$2
  6202. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6203. $as_echo_n "checking for $ac_word... " >&6; }
  6204. if ${ac_cv_prog_CONVERT+:} false; then :
  6205. $as_echo_n "(cached) " >&6
  6206. else
  6207. if test -n "$CONVERT"; then
  6208. ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
  6209. else
  6210. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6211. for as_dir in $PATH
  6212. do
  6213. IFS=$as_save_IFS
  6214. test -z "$as_dir" && as_dir=.
  6215. for ac_exec_ext in '' $ac_executable_extensions; do
  6216. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6217. ac_cv_prog_CONVERT="$ac_prog"
  6218. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6219. break 2
  6220. fi
  6221. done
  6222. done
  6223. IFS=$as_save_IFS
  6224. fi
  6225. fi
  6226. CONVERT=$ac_cv_prog_CONVERT
  6227. if test -n "$CONVERT"; then
  6228. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
  6229. $as_echo "$CONVERT" >&6; }
  6230. else
  6231. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6232. $as_echo "no" >&6; }
  6233. fi
  6234. test -n "$CONVERT" && break
  6235. done
  6236. test -n "$CONVERT" || CONVERT="false"
  6237. for ac_prog in icotool
  6238. do
  6239. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6240. set dummy $ac_prog; ac_word=$2
  6241. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6242. $as_echo_n "checking for $ac_word... " >&6; }
  6243. if ${ac_cv_prog_ICOTOOL+:} false; then :
  6244. $as_echo_n "(cached) " >&6
  6245. else
  6246. if test -n "$ICOTOOL"; then
  6247. ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
  6248. else
  6249. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6250. for as_dir in $PATH
  6251. do
  6252. IFS=$as_save_IFS
  6253. test -z "$as_dir" && as_dir=.
  6254. for ac_exec_ext in '' $ac_executable_extensions; do
  6255. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6256. ac_cv_prog_ICOTOOL="$ac_prog"
  6257. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6258. break 2
  6259. fi
  6260. done
  6261. done
  6262. IFS=$as_save_IFS
  6263. fi
  6264. fi
  6265. ICOTOOL=$ac_cv_prog_ICOTOOL
  6266. if test -n "$ICOTOOL"; then
  6267. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
  6268. $as_echo "$ICOTOOL" >&6; }
  6269. else
  6270. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6271. $as_echo "no" >&6; }
  6272. fi
  6273. test -n "$ICOTOOL" && break
  6274. done
  6275. test -n "$ICOTOOL" || ICOTOOL="false"
  6276. test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
  6277. test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
  6278. if test "$CONVERT" = false
  6279. then
  6280. as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
  6281. else
  6282. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
  6283. $as_echo_n "checking for recent enough imagemagick... " >&6; }
  6284. convert_version=`convert --version | head -n1`
  6285. if test "x$convert_version" != "x"
  6286. then
  6287. convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
  6288. convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
  6289. if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
  6290. then
  6291. CONVERT=false
  6292. fi
  6293. fi
  6294. if test "$CONVERT" = false
  6295. then
  6296. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
  6297. $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
  6298. as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
  6299. else
  6300. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
  6301. $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
  6302. fi
  6303. fi
  6304. if test "$ICOTOOL" = false
  6305. then
  6306. as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
  6307. else
  6308. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
  6309. $as_echo_n "checking for recent enough icotool... " >&6; }
  6310. icotool_version=`icotool --version | head -n1`
  6311. if test "x$icotool_version" != "x"
  6312. then
  6313. icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
  6314. icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
  6315. if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
  6316. then
  6317. ICOTOOL=false
  6318. as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
  6319. fi
  6320. fi
  6321. if test "$ICOTOOL" = false
  6322. then
  6323. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
  6324. $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
  6325. as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
  6326. else
  6327. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
  6328. $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
  6329. fi
  6330. fi
  6331. with_gettext=yes
  6332. with_gettextpo=yes
  6333. enable_werror=yes
  6334. fi
  6335. test "x$with_gettext" != xno || MSGFMT=false
  6336. if test "$MSGFMT" != "false"
  6337. then
  6338. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
  6339. $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
  6340. if ${wine_cv_msgfmt_contexts+:} false; then :
  6341. $as_echo_n "(cached) " >&6
  6342. else
  6343. cat >conftest.po <<EOF
  6344. # comment
  6345. msgctxt "ctxt"
  6346. msgid "id"
  6347. msgstr "str"
  6348. EOF
  6349. if $MSGFMT -o /dev/null conftest.po 2>&5
  6350. then
  6351. wine_cv_msgfmt_contexts=yes
  6352. else
  6353. wine_cv_msgfmt_contexts=no
  6354. fi
  6355. fi
  6356. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
  6357. $as_echo "$wine_cv_msgfmt_contexts" >&6; }
  6358. test $wine_cv_msgfmt_contexts != no || MSGFMT=false
  6359. fi
  6360. if test "$MSGFMT" = false; then :
  6361. case "x$with_gettext" in
  6362. x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
  6363. xno) ;;
  6364. *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
  6365. This is an error since --with-gettext was requested." "$LINENO" 5 ;;
  6366. esac
  6367. enable_po=${enable_po:-no}
  6368. fi
  6369. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
  6370. $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
  6371. if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
  6372. $as_echo_n "(cached) " >&6
  6373. else
  6374. ac_check_lib_save_LIBS=$LIBS
  6375. LIBS="-li386 $LIBS"
  6376. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6377. /* end confdefs.h. */
  6378. /* Override any GCC internal prototype to avoid an error.
  6379. Use char because int might match the return type of a GCC
  6380. builtin and then its argument prototype would still apply. */
  6381. #ifdef __cplusplus
  6382. extern "C"
  6383. #endif
  6384. char i386_set_ldt ();
  6385. int
  6386. main ()
  6387. {
  6388. return i386_set_ldt ();
  6389. ;
  6390. return 0;
  6391. }
  6392. _ACEOF
  6393. if ac_fn_c_try_link "$LINENO"; then :
  6394. ac_cv_lib_i386_i386_set_ldt=yes
  6395. else
  6396. ac_cv_lib_i386_i386_set_ldt=no
  6397. fi
  6398. rm -f core conftest.err conftest.$ac_objext \
  6399. conftest$ac_exeext conftest.$ac_ext
  6400. LIBS=$ac_check_lib_save_LIBS
  6401. fi
  6402. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
  6403. $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
  6404. if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
  6405. I386_LIBS="-li386"
  6406. fi
  6407. OPENGL_LIBS=""
  6408. # Check whether --enable-largefile was given.
  6409. if test "${enable_largefile+set}" = set; then :
  6410. enableval=$enable_largefile;
  6411. fi
  6412. if test "$enable_largefile" != no; then
  6413. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  6414. $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  6415. if ${ac_cv_sys_largefile_CC+:} false; then :
  6416. $as_echo_n "(cached) " >&6
  6417. else
  6418. ac_cv_sys_largefile_CC=no
  6419. if test "$GCC" != yes; then
  6420. ac_save_CC=$CC
  6421. while :; do
  6422. # IRIX 6.2 and later do not support large files by default,
  6423. # so use the C compiler's -n32 option if that helps.
  6424. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6425. /* end confdefs.h. */
  6426. #include <sys/types.h>
  6427. /* Check that off_t can represent 2**63 - 1 correctly.
  6428. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6429. since some C++ compilers masquerading as C compilers
  6430. incorrectly reject 9223372036854775807. */
  6431. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  6432. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6433. && LARGE_OFF_T % 2147483647 == 1)
  6434. ? 1 : -1];
  6435. int
  6436. main ()
  6437. {
  6438. ;
  6439. return 0;
  6440. }
  6441. _ACEOF
  6442. if ac_fn_c_try_compile "$LINENO"; then :
  6443. break
  6444. fi
  6445. rm -f core conftest.err conftest.$ac_objext
  6446. CC="$CC -n32"
  6447. if ac_fn_c_try_compile "$LINENO"; then :
  6448. ac_cv_sys_largefile_CC=' -n32'; break
  6449. fi
  6450. rm -f core conftest.err conftest.$ac_objext
  6451. break
  6452. done
  6453. CC=$ac_save_CC
  6454. rm -f conftest.$ac_ext
  6455. fi
  6456. fi
  6457. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  6458. $as_echo "$ac_cv_sys_largefile_CC" >&6; }
  6459. if test "$ac_cv_sys_largefile_CC" != no; then
  6460. CC=$CC$ac_cv_sys_largefile_CC
  6461. fi
  6462. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  6463. $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  6464. if ${ac_cv_sys_file_offset_bits+:} false; then :
  6465. $as_echo_n "(cached) " >&6
  6466. else
  6467. while :; do
  6468. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6469. /* end confdefs.h. */
  6470. #include <sys/types.h>
  6471. /* Check that off_t can represent 2**63 - 1 correctly.
  6472. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6473. since some C++ compilers masquerading as C compilers
  6474. incorrectly reject 9223372036854775807. */
  6475. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  6476. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6477. && LARGE_OFF_T % 2147483647 == 1)
  6478. ? 1 : -1];
  6479. int
  6480. main ()
  6481. {
  6482. ;
  6483. return 0;
  6484. }
  6485. _ACEOF
  6486. if ac_fn_c_try_compile "$LINENO"; then :
  6487. ac_cv_sys_file_offset_bits=no; break
  6488. fi
  6489. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6490. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6491. /* end confdefs.h. */
  6492. #define _FILE_OFFSET_BITS 64
  6493. #include <sys/types.h>
  6494. /* Check that off_t can represent 2**63 - 1 correctly.
  6495. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6496. since some C++ compilers masquerading as C compilers
  6497. incorrectly reject 9223372036854775807. */
  6498. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  6499. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6500. && LARGE_OFF_T % 2147483647 == 1)
  6501. ? 1 : -1];
  6502. int
  6503. main ()
  6504. {
  6505. ;
  6506. return 0;
  6507. }
  6508. _ACEOF
  6509. if ac_fn_c_try_compile "$LINENO"; then :
  6510. ac_cv_sys_file_offset_bits=64; break
  6511. fi
  6512. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6513. ac_cv_sys_file_offset_bits=unknown
  6514. break
  6515. done
  6516. fi
  6517. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  6518. $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  6519. case $ac_cv_sys_file_offset_bits in #(
  6520. no | unknown) ;;
  6521. *)
  6522. cat >>confdefs.h <<_ACEOF
  6523. #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  6524. _ACEOF
  6525. ;;
  6526. esac
  6527. rm -rf conftest*
  6528. if test $ac_cv_sys_file_offset_bits = unknown; then
  6529. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  6530. $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  6531. if ${ac_cv_sys_large_files+:} false; then :
  6532. $as_echo_n "(cached) " >&6
  6533. else
  6534. while :; do
  6535. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6536. /* end confdefs.h. */
  6537. #include <sys/types.h>
  6538. /* Check that off_t can represent 2**63 - 1 correctly.
  6539. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6540. since some C++ compilers masquerading as C compilers
  6541. incorrectly reject 9223372036854775807. */
  6542. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  6543. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6544. && LARGE_OFF_T % 2147483647 == 1)
  6545. ? 1 : -1];
  6546. int
  6547. main ()
  6548. {
  6549. ;
  6550. return 0;
  6551. }
  6552. _ACEOF
  6553. if ac_fn_c_try_compile "$LINENO"; then :
  6554. ac_cv_sys_large_files=no; break
  6555. fi
  6556. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6557. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6558. /* end confdefs.h. */
  6559. #define _LARGE_FILES 1
  6560. #include <sys/types.h>
  6561. /* Check that off_t can represent 2**63 - 1 correctly.
  6562. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6563. since some C++ compilers masquerading as C compilers
  6564. incorrectly reject 9223372036854775807. */
  6565. #define LARGE_OFF_T (((off_t) 1 << 62) - 1 + ((off_t) 1 << 62))
  6566. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6567. && LARGE_OFF_T % 2147483647 == 1)
  6568. ? 1 : -1];
  6569. int
  6570. main ()
  6571. {
  6572. ;
  6573. return 0;
  6574. }
  6575. _ACEOF
  6576. if ac_fn_c_try_compile "$LINENO"; then :
  6577. ac_cv_sys_large_files=1; break
  6578. fi
  6579. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6580. ac_cv_sys_large_files=unknown
  6581. break
  6582. done
  6583. fi
  6584. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  6585. $as_echo "$ac_cv_sys_large_files" >&6; }
  6586. case $ac_cv_sys_large_files in #(
  6587. no | unknown) ;;
  6588. *)
  6589. cat >>confdefs.h <<_ACEOF
  6590. #define _LARGE_FILES $ac_cv_sys_large_files
  6591. _ACEOF
  6592. ;;
  6593. esac
  6594. rm -rf conftest*
  6595. fi
  6596. fi
  6597. ac_ext=c
  6598. ac_cpp='$CPP $CPPFLAGS'
  6599. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6600. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6601. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6602. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  6603. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  6604. # On Suns, sometimes $CPP names a directory.
  6605. if test -n "$CPP" && test -d "$CPP"; then
  6606. CPP=
  6607. fi
  6608. if test -z "$CPP"; then
  6609. if ${ac_cv_prog_CPP+:} false; then :
  6610. $as_echo_n "(cached) " >&6
  6611. else
  6612. # Double quotes because CPP needs to be expanded
  6613. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  6614. do
  6615. ac_preproc_ok=false
  6616. for ac_c_preproc_warn_flag in '' yes
  6617. do
  6618. # Use a header file that comes with gcc, so configuring glibc
  6619. # with a fresh cross-compiler works.
  6620. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6621. # <limits.h> exists even on freestanding compilers.
  6622. # On the NeXT, cc -E runs the code through the compiler's parser,
  6623. # not just through cpp. "Syntax error" is here to catch this case.
  6624. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6625. /* end confdefs.h. */
  6626. #ifdef __STDC__
  6627. # include <limits.h>
  6628. #else
  6629. # include <assert.h>
  6630. #endif
  6631. Syntax error
  6632. _ACEOF
  6633. if ac_fn_c_try_cpp "$LINENO"; then :
  6634. else
  6635. # Broken: fails on valid input.
  6636. continue
  6637. fi
  6638. rm -f conftest.err conftest.i conftest.$ac_ext
  6639. # OK, works on sane cases. Now check whether nonexistent headers
  6640. # can be detected and how.
  6641. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6642. /* end confdefs.h. */
  6643. #include <ac_nonexistent.h>
  6644. _ACEOF
  6645. if ac_fn_c_try_cpp "$LINENO"; then :
  6646. # Broken: success on invalid input.
  6647. continue
  6648. else
  6649. # Passes both tests.
  6650. ac_preproc_ok=:
  6651. break
  6652. fi
  6653. rm -f conftest.err conftest.i conftest.$ac_ext
  6654. done
  6655. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6656. rm -f conftest.i conftest.err conftest.$ac_ext
  6657. if $ac_preproc_ok; then :
  6658. break
  6659. fi
  6660. done
  6661. ac_cv_prog_CPP=$CPP
  6662. fi
  6663. CPP=$ac_cv_prog_CPP
  6664. else
  6665. ac_cv_prog_CPP=$CPP
  6666. fi
  6667. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  6668. $as_echo "$CPP" >&6; }
  6669. ac_preproc_ok=false
  6670. for ac_c_preproc_warn_flag in '' yes
  6671. do
  6672. # Use a header file that comes with gcc, so configuring glibc
  6673. # with a fresh cross-compiler works.
  6674. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6675. # <limits.h> exists even on freestanding compilers.
  6676. # On the NeXT, cc -E runs the code through the compiler's parser,
  6677. # not just through cpp. "Syntax error" is here to catch this case.
  6678. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6679. /* end confdefs.h. */
  6680. #ifdef __STDC__
  6681. # include <limits.h>
  6682. #else
  6683. # include <assert.h>
  6684. #endif
  6685. Syntax error
  6686. _ACEOF
  6687. if ac_fn_c_try_cpp "$LINENO"; then :
  6688. else
  6689. # Broken: fails on valid input.
  6690. continue
  6691. fi
  6692. rm -f conftest.err conftest.i conftest.$ac_ext
  6693. # OK, works on sane cases. Now check whether nonexistent headers
  6694. # can be detected and how.
  6695. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6696. /* end confdefs.h. */
  6697. #include <ac_nonexistent.h>
  6698. _ACEOF
  6699. if ac_fn_c_try_cpp "$LINENO"; then :
  6700. # Broken: success on invalid input.
  6701. continue
  6702. else
  6703. # Passes both tests.
  6704. ac_preproc_ok=:
  6705. break
  6706. fi
  6707. rm -f conftest.err conftest.i conftest.$ac_ext
  6708. done
  6709. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6710. rm -f conftest.i conftest.err conftest.$ac_ext
  6711. if $ac_preproc_ok; then :
  6712. else
  6713. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6714. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6715. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  6716. See \`config.log' for more details" "$LINENO" 5; }
  6717. fi
  6718. ac_ext=c
  6719. ac_cpp='$CPP $CPPFLAGS'
  6720. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6721. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6722. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6723. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6724. $as_echo_n "checking for ANSI C header files... " >&6; }
  6725. if ${ac_cv_header_stdc+:} false; then :
  6726. $as_echo_n "(cached) " >&6
  6727. else
  6728. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6729. /* end confdefs.h. */
  6730. #include <stdlib.h>
  6731. #include <stdarg.h>
  6732. #include <string.h>
  6733. #include <float.h>
  6734. int
  6735. main ()
  6736. {
  6737. ;
  6738. return 0;
  6739. }
  6740. _ACEOF
  6741. if ac_fn_c_try_compile "$LINENO"; then :
  6742. ac_cv_header_stdc=yes
  6743. else
  6744. ac_cv_header_stdc=no
  6745. fi
  6746. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6747. if test $ac_cv_header_stdc = yes; then
  6748. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6749. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6750. /* end confdefs.h. */
  6751. #include <string.h>
  6752. _ACEOF
  6753. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6754. $EGREP "memchr" >/dev/null 2>&1; then :
  6755. else
  6756. ac_cv_header_stdc=no
  6757. fi
  6758. rm -f conftest*
  6759. fi
  6760. if test $ac_cv_header_stdc = yes; then
  6761. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6762. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6763. /* end confdefs.h. */
  6764. #include <stdlib.h>
  6765. _ACEOF
  6766. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6767. $EGREP "free" >/dev/null 2>&1; then :
  6768. else
  6769. ac_cv_header_stdc=no
  6770. fi
  6771. rm -f conftest*
  6772. fi
  6773. if test $ac_cv_header_stdc = yes; then
  6774. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6775. if test "$cross_compiling" = yes; then :
  6776. :
  6777. else
  6778. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6779. /* end confdefs.h. */
  6780. #include <ctype.h>
  6781. #include <stdlib.h>
  6782. #if ((' ' & 0x0FF) == 0x020)
  6783. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6784. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6785. #else
  6786. # define ISLOWER(c) \
  6787. (('a' <= (c) && (c) <= 'i') \
  6788. || ('j' <= (c) && (c) <= 'r') \
  6789. || ('s' <= (c) && (c) <= 'z'))
  6790. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6791. #endif
  6792. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6793. int
  6794. main ()
  6795. {
  6796. int i;
  6797. for (i = 0; i < 256; i++)
  6798. if (XOR (islower (i), ISLOWER (i))
  6799. || toupper (i) != TOUPPER (i))
  6800. return 2;
  6801. return 0;
  6802. }
  6803. _ACEOF
  6804. if ac_fn_c_try_run "$LINENO"; then :
  6805. else
  6806. ac_cv_header_stdc=no
  6807. fi
  6808. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6809. conftest.$ac_objext conftest.beam conftest.$ac_ext
  6810. fi
  6811. fi
  6812. fi
  6813. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6814. $as_echo "$ac_cv_header_stdc" >&6; }
  6815. if test $ac_cv_header_stdc = yes; then
  6816. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  6817. fi
  6818. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6819. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6820. inttypes.h stdint.h unistd.h
  6821. do :
  6822. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6823. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6824. "
  6825. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6826. cat >>confdefs.h <<_ACEOF
  6827. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6828. _ACEOF
  6829. fi
  6830. done
  6831. for ac_header in \
  6832. AL/al.h \
  6833. ApplicationServices/ApplicationServices.h \
  6834. AudioToolbox/AudioConverter.h \
  6835. AudioUnit/AudioUnit.h \
  6836. AudioUnit/AudioComponent.h \
  6837. CL/cl.h \
  6838. Carbon/Carbon.h \
  6839. CommonCrypto/CommonCryptor.h \
  6840. CoreAudio/CoreAudio.h \
  6841. CoreServices/CoreServices.h \
  6842. DiskArbitration/DiskArbitration.h \
  6843. EGL/egl.h \
  6844. IOKit/IOKitLib.h \
  6845. IOKit/hid/IOHIDLib.h \
  6846. OpenAL/al.h \
  6847. OpenCL/opencl.h \
  6848. QuickTime/ImageCompression.h \
  6849. Security/Security.h \
  6850. SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
  6851. SystemConfiguration/SCNetworkConfiguration.h \
  6852. alias.h \
  6853. arpa/inet.h \
  6854. arpa/nameser.h \
  6855. asm/types.h \
  6856. asm/user.h \
  6857. curses.h \
  6858. dirent.h \
  6859. dlfcn.h \
  6860. elf.h \
  6861. float.h \
  6862. fnmatch.h \
  6863. getopt.h \
  6864. gettext-po.h \
  6865. grp.h \
  6866. gsm.h \
  6867. gsm/gsm.h \
  6868. ieeefp.h \
  6869. inet/mib2.h \
  6870. kstat.h \
  6871. libproc.h \
  6872. link.h \
  6873. linux/cdrom.h \
  6874. linux/compiler.h \
  6875. linux/filter.h \
  6876. linux/hdreg.h \
  6877. linux/hidraw.h \
  6878. linux/input.h \
  6879. linux/ioctl.h \
  6880. linux/joystick.h \
  6881. linux/major.h \
  6882. linux/param.h \
  6883. linux/seccomp.h \
  6884. linux/serial.h \
  6885. linux/types.h \
  6886. linux/ucdrom.h \
  6887. lwp.h \
  6888. mach-o/nlist.h \
  6889. mach-o/loader.h \
  6890. mach/mach.h \
  6891. mach/machine.h \
  6892. machine/cpu.h \
  6893. machine/limits.h \
  6894. machine/sysarch.h \
  6895. mntent.h \
  6896. ncurses.h \
  6897. netdb.h \
  6898. netinet/in.h \
  6899. netinet/in_systm.h \
  6900. netinet/tcp.h \
  6901. netinet/tcp_fsm.h \
  6902. pcap/pcap.h \
  6903. poll.h \
  6904. port.h \
  6905. pthread.h \
  6906. pwd.h \
  6907. sasl/sasl.h \
  6908. sched.h \
  6909. scsi/scsi.h \
  6910. scsi/scsi_ioctl.h \
  6911. scsi/sg.h \
  6912. stdbool.h \
  6913. stdint.h \
  6914. stropts.h \
  6915. sys/attr.h \
  6916. sys/auxv.h \
  6917. sys/cdio.h \
  6918. sys/epoll.h \
  6919. sys/event.h \
  6920. sys/eventfd.h \
  6921. sys/filio.h \
  6922. sys/ioctl.h \
  6923. sys/ipc.h \
  6924. sys/limits.h \
  6925. sys/link.h \
  6926. sys/mman.h \
  6927. sys/modem.h \
  6928. sys/msg.h \
  6929. sys/mtio.h \
  6930. sys/param.h \
  6931. sys/poll.h \
  6932. sys/prctl.h \
  6933. sys/protosw.h \
  6934. sys/ptrace.h \
  6935. sys/queue.h \
  6936. sys/resource.h \
  6937. sys/scsiio.h \
  6938. sys/shm.h \
  6939. sys/signal.h \
  6940. sys/socket.h \
  6941. sys/socketvar.h \
  6942. sys/sockio.h \
  6943. sys/statvfs.h \
  6944. sys/strtio.h \
  6945. sys/syscall.h \
  6946. sys/sysinfo.h \
  6947. sys/tihdr.h \
  6948. sys/time.h \
  6949. sys/timeout.h \
  6950. sys/times.h \
  6951. sys/uio.h \
  6952. sys/user.h \
  6953. sys/utsname.h \
  6954. sys/vnode.h \
  6955. sys/wait.h \
  6956. syscall.h \
  6957. termios.h \
  6958. unistd.h \
  6959. utime.h \
  6960. valgrind/memcheck.h \
  6961. valgrind/valgrind.h
  6962. do :
  6963. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6964. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  6965. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6966. cat >>confdefs.h <<_ACEOF
  6967. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6968. _ACEOF
  6969. fi
  6970. done
  6971. ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
  6972. if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
  6973. $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
  6974. fi
  6975. if test $ac_cv_header_sys_mkdev_h = no; then
  6976. ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
  6977. if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
  6978. $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
  6979. fi
  6980. fi
  6981. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
  6982. $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
  6983. if ${ac_cv_header_stat_broken+:} false; then :
  6984. $as_echo_n "(cached) " >&6
  6985. else
  6986. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6987. /* end confdefs.h. */
  6988. #include <sys/types.h>
  6989. #include <sys/stat.h>
  6990. #if defined S_ISBLK && defined S_IFDIR
  6991. extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
  6992. #endif
  6993. #if defined S_ISBLK && defined S_IFCHR
  6994. extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
  6995. #endif
  6996. #if defined S_ISLNK && defined S_IFREG
  6997. extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
  6998. #endif
  6999. #if defined S_ISSOCK && defined S_IFREG
  7000. extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
  7001. #endif
  7002. _ACEOF
  7003. if ac_fn_c_try_compile "$LINENO"; then :
  7004. ac_cv_header_stat_broken=no
  7005. else
  7006. ac_cv_header_stat_broken=yes
  7007. fi
  7008. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7009. fi
  7010. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
  7011. $as_echo "$ac_cv_header_stat_broken" >&6; }
  7012. if test $ac_cv_header_stat_broken = yes; then
  7013. $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
  7014. fi
  7015. for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
  7016. do :
  7017. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7018. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  7019. #ifdef HAVE_SYS_PARAM_H
  7020. # include <sys/param.h>
  7021. #endif
  7022. "
  7023. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7024. cat >>confdefs.h <<_ACEOF
  7025. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7026. _ACEOF
  7027. fi
  7028. done
  7029. for ac_header in \
  7030. netinet/ip.h \
  7031. net/if.h \
  7032. net/if_arp.h \
  7033. net/if_dl.h \
  7034. net/if_types.h \
  7035. net/route.h \
  7036. netinet/if_ether.h \
  7037. netinet/if_inarp.h \
  7038. netinet/in_pcb.h \
  7039. netinet/ip_icmp.h \
  7040. netinet/ip_var.h \
  7041. netinet/udp.h \
  7042. netipx/ipx.h \
  7043. sys/un.h \
  7044. do :
  7045. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7046. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  7047. #ifdef HAVE_SYS_SOCKET_H
  7048. # include <sys/socket.h>
  7049. #endif
  7050. #ifdef HAVE_SYS_SOCKETVAR_H
  7051. # include <sys/socketvar.h>
  7052. #endif
  7053. #ifdef HAVE_NET_ROUTE_H
  7054. # include <net/route.h>
  7055. #endif
  7056. #ifdef HAVE_NETINET_IN_H
  7057. # include <netinet/in.h>
  7058. #endif
  7059. #ifdef HAVE_NETINET_IN_SYSTM_H
  7060. # include <netinet/in_systm.h>
  7061. #endif
  7062. #ifdef HAVE_NET_IF_H
  7063. # include <net/if.h>
  7064. #endif
  7065. #ifdef HAVE_NETINET_IP_H
  7066. # include <netinet/ip.h>
  7067. #endif
  7068. "
  7069. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7070. cat >>confdefs.h <<_ACEOF
  7071. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7072. _ACEOF
  7073. fi
  7074. done
  7075. for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
  7076. do :
  7077. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7078. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  7079. #ifdef HAVE_ALIAS_H
  7080. # include <alias.h>
  7081. #endif
  7082. #ifdef HAVE_SYS_SOCKET_H
  7083. # include <sys/socket.h>
  7084. #endif
  7085. #ifdef HAVE_SYS_SOCKETVAR_H
  7086. # include <sys/socketvar.h>
  7087. #endif
  7088. #ifdef HAVE_SYS_TIMEOUT_H
  7089. # include <sys/timeout.h>
  7090. #endif
  7091. #ifdef HAVE_NETINET_IN_H
  7092. # include <netinet/in.h>
  7093. #endif
  7094. #ifdef HAVE_NETINET_IN_SYSTM_H
  7095. # include <netinet/in_systm.h>
  7096. #endif
  7097. #ifdef HAVE_NETINET_IP_H
  7098. # include <netinet/ip.h>
  7099. #endif
  7100. #ifdef HAVE_NETINET_IP_VAR_H
  7101. # include <netinet/ip_var.h>
  7102. #endif
  7103. #ifdef HAVE_NETINET_IP_ICMP_H
  7104. # include <netinet/ip_icmp.h>
  7105. #endif
  7106. #ifdef HAVE_NETINET_UDP_H
  7107. # include <netinet/udp.h>
  7108. #endif
  7109. #ifdef HAVE_NETINET_TCP_H
  7110. # include <netinet/tcp.h>
  7111. #endif
  7112. #ifdef HAVE_NETINET_TCP_TIMER_H
  7113. #include <netinet/tcp_timer.h>
  7114. #endif
  7115. "
  7116. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7117. cat >>confdefs.h <<_ACEOF
  7118. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7119. _ACEOF
  7120. fi
  7121. done
  7122. for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
  7123. do :
  7124. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7125. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  7126. #ifdef HAVE_ASM_TYPES_H
  7127. # include <asm/types.h>
  7128. #endif
  7129. #ifdef HAVE_SYS_SOCKET_H
  7130. # include <sys/socket.h>
  7131. #endif
  7132. #ifdef HAVE_LINUX_TYPES_H
  7133. # include <linux/types.h>
  7134. #endif
  7135. "
  7136. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7137. cat >>confdefs.h <<_ACEOF
  7138. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7139. _ACEOF
  7140. fi
  7141. done
  7142. for ac_header in resolv.h
  7143. do :
  7144. ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
  7145. #ifdef HAVE_SYS_SOCKET_H
  7146. # include <sys/socket.h>
  7147. #endif
  7148. #ifdef HAVE_NETINET_IN_H
  7149. # include <netinet/in.h>
  7150. #endif
  7151. #ifdef HAVE_ARPA_NAMESER_H
  7152. # include <arpa/nameser.h>
  7153. #endif
  7154. "
  7155. if test "x$ac_cv_header_resolv_h" = xyes; then :
  7156. cat >>confdefs.h <<_ACEOF
  7157. #define HAVE_RESOLV_H 1
  7158. _ACEOF
  7159. fi
  7160. done
  7161. for ac_header in ifaddrs.h
  7162. do :
  7163. ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
  7164. "
  7165. if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
  7166. cat >>confdefs.h <<_ACEOF
  7167. #define HAVE_IFADDRS_H 1
  7168. _ACEOF
  7169. fi
  7170. done
  7171. for ac_header in sys/ucontext.h
  7172. do :
  7173. ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
  7174. "
  7175. if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
  7176. cat >>confdefs.h <<_ACEOF
  7177. #define HAVE_SYS_UCONTEXT_H 1
  7178. _ACEOF
  7179. fi
  7180. done
  7181. for ac_header in sys/thr.h
  7182. do :
  7183. ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
  7184. #ifdef HAVE_SYS_UCONTEXT_H
  7185. #include <sys/ucontext.h>
  7186. #endif
  7187. "
  7188. if test "x$ac_cv_header_sys_thr_h" = xyes; then :
  7189. cat >>confdefs.h <<_ACEOF
  7190. #define HAVE_SYS_THR_H 1
  7191. _ACEOF
  7192. fi
  7193. done
  7194. for ac_header in pthread_np.h
  7195. do :
  7196. ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
  7197. #include <pthread.h>
  7198. #endif
  7199. "
  7200. if test "x$ac_cv_header_pthread_np_h" = xyes; then :
  7201. cat >>confdefs.h <<_ACEOF
  7202. #define HAVE_PTHREAD_NP_H 1
  7203. _ACEOF
  7204. fi
  7205. done
  7206. for ac_header in linux/videodev2.h
  7207. do :
  7208. ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
  7209. #include <sys/time.h>
  7210. #endif
  7211. #include <sys/types.h>
  7212. #ifdef HAVE_ASM_TYPES_H
  7213. #include <asm/types.h>
  7214. #endif
  7215. "
  7216. if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
  7217. cat >>confdefs.h <<_ACEOF
  7218. #define HAVE_LINUX_VIDEODEV2_H 1
  7219. _ACEOF
  7220. fi
  7221. done
  7222. for ac_header in libprocstat.h
  7223. do :
  7224. ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
  7225. #include <sys/param.h>
  7226. #endif
  7227. #ifdef HAVE_SYS_QUEUE_H
  7228. #include <sys/queue.h>
  7229. #endif
  7230. #ifdef HAVE_SYS_SOCKET_H
  7231. #include <sys/socket.h>
  7232. #endif
  7233. "
  7234. if test "x$ac_cv_header_libprocstat_h" = xyes; then :
  7235. cat >>confdefs.h <<_ACEOF
  7236. #define HAVE_LIBPROCSTAT_H 1
  7237. _ACEOF
  7238. fi
  7239. done
  7240. if test "x$with_xattr" != "xno"
  7241. then
  7242. for ac_header in attr/xattr.h sys/extattr.h
  7243. do :
  7244. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7245. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  7246. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7247. cat >>confdefs.h <<_ACEOF
  7248. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7249. _ACEOF
  7250. HAVE_XATTR=1
  7251. fi
  7252. done
  7253. for ac_header in sys/xattr.h
  7254. do :
  7255. ac_fn_c_check_header_mongrel "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
  7256. if test "x$ac_cv_header_sys_xattr_h" = xyes; then :
  7257. cat >>confdefs.h <<_ACEOF
  7258. #define HAVE_SYS_XATTR_H 1
  7259. _ACEOF
  7260. HAVE_XATTR=1
  7261. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7262. /* end confdefs.h. */
  7263. #include <sys/xattr.h>
  7264. int
  7265. main ()
  7266. {
  7267. getxattr("", "", "", 0, 0, 0);
  7268. ;
  7269. return 0;
  7270. }
  7271. _ACEOF
  7272. if ac_fn_c_try_compile "$LINENO"; then :
  7273. $as_echo "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
  7274. fi
  7275. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7276. fi
  7277. done
  7278. fi
  7279. if test "x$with_xattr" = "xyes"
  7280. then
  7281. if test "x$HAVE_XATTR" = "x"; then :
  7282. case "x$with_xattr" in
  7283. xno) ;;
  7284. *) as_fn_error $? "xattr ${notice_platform}development files \
  7285. not found. Wine will be built without extended attribute support, which probably isn't what you \
  7286. want. You will need to install ${notice_platform}development packages of libattr at the very least.
  7287. Use the --without-xattr option if you really want this." "$LINENO" 5 ;;
  7288. esac
  7289. fi
  7290. fi
  7291. DLLFLAGS="-D_REENTRANT"
  7292. LDRPATH_INSTALL=""
  7293. LDRPATH_LOCAL=""
  7294. LDDLLFLAGS=""
  7295. LDEXECFLAGS=""
  7296. TOP_INSTALL_LIB=""
  7297. TOP_INSTALL_DEV=""
  7298. WINELOADER_LDFLAGS=""
  7299. WINEPRELOADER_LDFLAGS=""
  7300. LIBEXT="so"
  7301. DLLEXT=".so"
  7302. # Extract the first word of "ldd", so it can be a program name with args.
  7303. set dummy ldd; ac_word=$2
  7304. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7305. $as_echo_n "checking for $ac_word... " >&6; }
  7306. if ${ac_cv_path_LDD+:} false; then :
  7307. $as_echo_n "(cached) " >&6
  7308. else
  7309. case $LDD in
  7310. [\\/]* | ?:[\\/]*)
  7311. ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
  7312. ;;
  7313. *)
  7314. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7315. as_dummy="/sbin:/usr/sbin:$PATH"
  7316. for as_dir in $as_dummy
  7317. do
  7318. IFS=$as_save_IFS
  7319. test -z "$as_dir" && as_dir=.
  7320. for ac_exec_ext in '' $ac_executable_extensions; do
  7321. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7322. ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
  7323. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7324. break 2
  7325. fi
  7326. done
  7327. done
  7328. IFS=$as_save_IFS
  7329. test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
  7330. ;;
  7331. esac
  7332. fi
  7333. LDD=$ac_cv_path_LDD
  7334. if test -n "$LDD"; then
  7335. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
  7336. $as_echo "$LDD" >&6; }
  7337. else
  7338. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7339. $as_echo "no" >&6; }
  7340. fi
  7341. if test -n "$ac_tool_prefix"; then
  7342. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  7343. set dummy ${ac_tool_prefix}otool; ac_word=$2
  7344. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7345. $as_echo_n "checking for $ac_word... " >&6; }
  7346. if ${ac_cv_prog_OTOOL+:} false; then :
  7347. $as_echo_n "(cached) " >&6
  7348. else
  7349. if test -n "$OTOOL"; then
  7350. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  7351. else
  7352. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7353. for as_dir in $PATH
  7354. do
  7355. IFS=$as_save_IFS
  7356. test -z "$as_dir" && as_dir=.
  7357. for ac_exec_ext in '' $ac_executable_extensions; do
  7358. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7359. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  7360. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7361. break 2
  7362. fi
  7363. done
  7364. done
  7365. IFS=$as_save_IFS
  7366. fi
  7367. fi
  7368. OTOOL=$ac_cv_prog_OTOOL
  7369. if test -n "$OTOOL"; then
  7370. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  7371. $as_echo "$OTOOL" >&6; }
  7372. else
  7373. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7374. $as_echo "no" >&6; }
  7375. fi
  7376. fi
  7377. if test -z "$ac_cv_prog_OTOOL"; then
  7378. ac_ct_OTOOL=$OTOOL
  7379. # Extract the first word of "otool", so it can be a program name with args.
  7380. set dummy otool; ac_word=$2
  7381. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7382. $as_echo_n "checking for $ac_word... " >&6; }
  7383. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  7384. $as_echo_n "(cached) " >&6
  7385. else
  7386. if test -n "$ac_ct_OTOOL"; then
  7387. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  7388. else
  7389. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7390. for as_dir in $PATH
  7391. do
  7392. IFS=$as_save_IFS
  7393. test -z "$as_dir" && as_dir=.
  7394. for ac_exec_ext in '' $ac_executable_extensions; do
  7395. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7396. ac_cv_prog_ac_ct_OTOOL="otool"
  7397. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7398. break 2
  7399. fi
  7400. done
  7401. done
  7402. IFS=$as_save_IFS
  7403. fi
  7404. fi
  7405. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  7406. if test -n "$ac_ct_OTOOL"; then
  7407. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  7408. $as_echo "$ac_ct_OTOOL" >&6; }
  7409. else
  7410. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7411. $as_echo "no" >&6; }
  7412. fi
  7413. if test "x$ac_ct_OTOOL" = x; then
  7414. OTOOL="otool"
  7415. else
  7416. case $cross_compiling:$ac_tool_warned in
  7417. yes:)
  7418. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7419. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7420. ac_tool_warned=yes ;;
  7421. esac
  7422. OTOOL=$ac_ct_OTOOL
  7423. fi
  7424. else
  7425. OTOOL="$ac_cv_prog_OTOOL"
  7426. fi
  7427. if test -n "$ac_tool_prefix"; then
  7428. # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
  7429. set dummy ${ac_tool_prefix}readelf; ac_word=$2
  7430. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7431. $as_echo_n "checking for $ac_word... " >&6; }
  7432. if ${ac_cv_prog_READELF+:} false; then :
  7433. $as_echo_n "(cached) " >&6
  7434. else
  7435. if test -n "$READELF"; then
  7436. ac_cv_prog_READELF="$READELF" # Let the user override the test.
  7437. else
  7438. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7439. for as_dir in $PATH
  7440. do
  7441. IFS=$as_save_IFS
  7442. test -z "$as_dir" && as_dir=.
  7443. for ac_exec_ext in '' $ac_executable_extensions; do
  7444. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7445. ac_cv_prog_READELF="${ac_tool_prefix}readelf"
  7446. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7447. break 2
  7448. fi
  7449. done
  7450. done
  7451. IFS=$as_save_IFS
  7452. fi
  7453. fi
  7454. READELF=$ac_cv_prog_READELF
  7455. if test -n "$READELF"; then
  7456. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
  7457. $as_echo "$READELF" >&6; }
  7458. else
  7459. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7460. $as_echo "no" >&6; }
  7461. fi
  7462. fi
  7463. if test -z "$ac_cv_prog_READELF"; then
  7464. ac_ct_READELF=$READELF
  7465. # Extract the first word of "readelf", so it can be a program name with args.
  7466. set dummy readelf; ac_word=$2
  7467. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7468. $as_echo_n "checking for $ac_word... " >&6; }
  7469. if ${ac_cv_prog_ac_ct_READELF+:} false; then :
  7470. $as_echo_n "(cached) " >&6
  7471. else
  7472. if test -n "$ac_ct_READELF"; then
  7473. ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
  7474. else
  7475. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7476. for as_dir in $PATH
  7477. do
  7478. IFS=$as_save_IFS
  7479. test -z "$as_dir" && as_dir=.
  7480. for ac_exec_ext in '' $ac_executable_extensions; do
  7481. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7482. ac_cv_prog_ac_ct_READELF="readelf"
  7483. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7484. break 2
  7485. fi
  7486. done
  7487. done
  7488. IFS=$as_save_IFS
  7489. fi
  7490. fi
  7491. ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
  7492. if test -n "$ac_ct_READELF"; then
  7493. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
  7494. $as_echo "$ac_ct_READELF" >&6; }
  7495. else
  7496. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7497. $as_echo "no" >&6; }
  7498. fi
  7499. if test "x$ac_ct_READELF" = x; then
  7500. READELF="true"
  7501. else
  7502. case $cross_compiling:$ac_tool_warned in
  7503. yes:)
  7504. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7505. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7506. ac_tool_warned=yes ;;
  7507. esac
  7508. READELF=$ac_ct_READELF
  7509. fi
  7510. else
  7511. READELF="$ac_cv_prog_READELF"
  7512. fi
  7513. wine_rules_file=conf$$rules.make
  7514. rm -f $wine_rules_file
  7515. SUBDIRS=""
  7516. DISABLED_SUBDIRS=""
  7517. CONFIGURE_TARGETS=""
  7518. wine_fn_append_file ()
  7519. {
  7520. as_fn_append $1 " \\$as_nl $2"
  7521. }
  7522. wine_fn_append_rule ()
  7523. {
  7524. $as_echo "$1" >>$wine_rules_file
  7525. }
  7526. wine_fn_config_makefile ()
  7527. {
  7528. wine_fn_append_file SUBDIRS $1
  7529. if eval test \"x\$"$2"\" = x"no"; then :
  7530. wine_fn_append_file DISABLED_SUBDIRS $1
  7531. fi
  7532. }
  7533. wine_fn_config_symlink ()
  7534. {
  7535. ac_links=$@
  7536. wine_fn_append_rule \
  7537. "$ac_links:
  7538. @./config.status \$@"
  7539. for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
  7540. }
  7541. wine_binary="wine"
  7542. test "x$enable_win64" != "xyes" || wine_binary="wine64"
  7543. WINELOADER_PROGRAMS="$wine_binary"
  7544. libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
  7545. case $host_os in
  7546. cygwin*|mingw32*)
  7547. if test -n "$ac_tool_prefix"; then
  7548. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  7549. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  7550. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7551. $as_echo_n "checking for $ac_word... " >&6; }
  7552. if ${ac_cv_prog_DLLTOOL+:} false; then :
  7553. $as_echo_n "(cached) " >&6
  7554. else
  7555. if test -n "$DLLTOOL"; then
  7556. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  7557. else
  7558. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7559. for as_dir in $PATH
  7560. do
  7561. IFS=$as_save_IFS
  7562. test -z "$as_dir" && as_dir=.
  7563. for ac_exec_ext in '' $ac_executable_extensions; do
  7564. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7565. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  7566. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7567. break 2
  7568. fi
  7569. done
  7570. done
  7571. IFS=$as_save_IFS
  7572. fi
  7573. fi
  7574. DLLTOOL=$ac_cv_prog_DLLTOOL
  7575. if test -n "$DLLTOOL"; then
  7576. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  7577. $as_echo "$DLLTOOL" >&6; }
  7578. else
  7579. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7580. $as_echo "no" >&6; }
  7581. fi
  7582. fi
  7583. if test -z "$ac_cv_prog_DLLTOOL"; then
  7584. ac_ct_DLLTOOL=$DLLTOOL
  7585. # Extract the first word of "dlltool", so it can be a program name with args.
  7586. set dummy dlltool; ac_word=$2
  7587. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7588. $as_echo_n "checking for $ac_word... " >&6; }
  7589. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  7590. $as_echo_n "(cached) " >&6
  7591. else
  7592. if test -n "$ac_ct_DLLTOOL"; then
  7593. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  7594. else
  7595. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7596. for as_dir in $PATH
  7597. do
  7598. IFS=$as_save_IFS
  7599. test -z "$as_dir" && as_dir=.
  7600. for ac_exec_ext in '' $ac_executable_extensions; do
  7601. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7602. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  7603. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7604. break 2
  7605. fi
  7606. done
  7607. done
  7608. IFS=$as_save_IFS
  7609. fi
  7610. fi
  7611. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  7612. if test -n "$ac_ct_DLLTOOL"; then
  7613. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  7614. $as_echo "$ac_ct_DLLTOOL" >&6; }
  7615. else
  7616. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7617. $as_echo "no" >&6; }
  7618. fi
  7619. if test "x$ac_ct_DLLTOOL" = x; then
  7620. DLLTOOL="false"
  7621. else
  7622. case $cross_compiling:$ac_tool_warned in
  7623. yes:)
  7624. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7625. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7626. ac_tool_warned=yes ;;
  7627. esac
  7628. DLLTOOL=$ac_ct_DLLTOOL
  7629. fi
  7630. else
  7631. DLLTOOL="$ac_cv_prog_DLLTOOL"
  7632. fi
  7633. LIBEXT="dll"
  7634. DLLEXT=""
  7635. case $host_cpu in
  7636. *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
  7637. esac
  7638. enable_iphlpapi=${enable_iphlpapi:-no}
  7639. enable_kernel32=${enable_kernel32:-no}
  7640. enable_ntdll=${enable_ntdll:-no}
  7641. enable_ws2_32=${enable_ws2_32:-no}
  7642. enable_loader=${enable_loader:-no}
  7643. enable_server=${enable_server:-no}
  7644. with_x=${with_x:-no}
  7645. with_pthread=${with_pthread:-no}
  7646. ;;
  7647. darwin*|macosx*)
  7648. ac_ext=m
  7649. ac_cpp='$OBJCPP $CPPFLAGS'
  7650. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7651. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7652. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7653. ac_ext=m
  7654. ac_cpp='$OBJCPP $CPPFLAGS'
  7655. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7656. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7657. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7658. if test -n "$ac_tool_prefix"; then
  7659. for ac_prog in gcc objcc objc cc CC
  7660. do
  7661. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  7662. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  7663. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7664. $as_echo_n "checking for $ac_word... " >&6; }
  7665. if ${ac_cv_prog_OBJC+:} false; then :
  7666. $as_echo_n "(cached) " >&6
  7667. else
  7668. if test -n "$OBJC"; then
  7669. ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  7670. else
  7671. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7672. for as_dir in $PATH
  7673. do
  7674. IFS=$as_save_IFS
  7675. test -z "$as_dir" && as_dir=.
  7676. for ac_exec_ext in '' $ac_executable_extensions; do
  7677. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7678. ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  7679. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7680. break 2
  7681. fi
  7682. done
  7683. done
  7684. IFS=$as_save_IFS
  7685. fi
  7686. fi
  7687. OBJC=$ac_cv_prog_OBJC
  7688. if test -n "$OBJC"; then
  7689. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
  7690. $as_echo "$OBJC" >&6; }
  7691. else
  7692. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7693. $as_echo "no" >&6; }
  7694. fi
  7695. test -n "$OBJC" && break
  7696. done
  7697. fi
  7698. if test -z "$OBJC"; then
  7699. ac_ct_OBJC=$OBJC
  7700. for ac_prog in gcc objcc objc cc CC
  7701. do
  7702. # Extract the first word of "$ac_prog", so it can be a program name with args.
  7703. set dummy $ac_prog; ac_word=$2
  7704. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7705. $as_echo_n "checking for $ac_word... " >&6; }
  7706. if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
  7707. $as_echo_n "(cached) " >&6
  7708. else
  7709. if test -n "$ac_ct_OBJC"; then
  7710. ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  7711. else
  7712. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7713. for as_dir in $PATH
  7714. do
  7715. IFS=$as_save_IFS
  7716. test -z "$as_dir" && as_dir=.
  7717. for ac_exec_ext in '' $ac_executable_extensions; do
  7718. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7719. ac_cv_prog_ac_ct_OBJC="$ac_prog"
  7720. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7721. break 2
  7722. fi
  7723. done
  7724. done
  7725. IFS=$as_save_IFS
  7726. fi
  7727. fi
  7728. ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  7729. if test -n "$ac_ct_OBJC"; then
  7730. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
  7731. $as_echo "$ac_ct_OBJC" >&6; }
  7732. else
  7733. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7734. $as_echo "no" >&6; }
  7735. fi
  7736. test -n "$ac_ct_OBJC" && break
  7737. done
  7738. if test "x$ac_ct_OBJC" = x; then
  7739. OBJC="gcc"
  7740. else
  7741. case $cross_compiling:$ac_tool_warned in
  7742. yes:)
  7743. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7744. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7745. ac_tool_warned=yes ;;
  7746. esac
  7747. OBJC=$ac_ct_OBJC
  7748. fi
  7749. fi
  7750. # Provide some information about the compiler.
  7751. $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
  7752. set X $ac_compile
  7753. ac_compiler=$2
  7754. for ac_option in --version -v -V -qversion; do
  7755. { { ac_try="$ac_compiler $ac_option >&5"
  7756. case "(($ac_try" in
  7757. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7758. *) ac_try_echo=$ac_try;;
  7759. esac
  7760. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7761. $as_echo "$ac_try_echo"; } >&5
  7762. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  7763. ac_status=$?
  7764. if test -s conftest.err; then
  7765. sed '10a\
  7766. ... rest of stderr output deleted ...
  7767. 10q' conftest.err >conftest.er1
  7768. cat conftest.er1 >&5
  7769. fi
  7770. rm -f conftest.er1 conftest.err
  7771. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7772. test $ac_status = 0; }
  7773. done
  7774. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
  7775. $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
  7776. if ${ac_cv_objc_compiler_gnu+:} false; then :
  7777. $as_echo_n "(cached) " >&6
  7778. else
  7779. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7780. /* end confdefs.h. */
  7781. int
  7782. main ()
  7783. {
  7784. #ifndef __GNUC__
  7785. choke me
  7786. #endif
  7787. ;
  7788. return 0;
  7789. }
  7790. _ACEOF
  7791. if ac_fn_objc_try_compile "$LINENO"; then :
  7792. ac_compiler_gnu=yes
  7793. else
  7794. ac_compiler_gnu=no
  7795. fi
  7796. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7797. ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  7798. fi
  7799. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
  7800. $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
  7801. if test $ac_compiler_gnu = yes; then
  7802. GOBJC=yes
  7803. else
  7804. GOBJC=
  7805. fi
  7806. ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  7807. ac_save_OBJCFLAGS=$OBJCFLAGS
  7808. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
  7809. $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
  7810. if ${ac_cv_prog_objc_g+:} false; then :
  7811. $as_echo_n "(cached) " >&6
  7812. else
  7813. ac_save_objc_werror_flag=$ac_objc_werror_flag
  7814. ac_objc_werror_flag=yes
  7815. ac_cv_prog_objc_g=no
  7816. OBJCFLAGS="-g"
  7817. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7818. /* end confdefs.h. */
  7819. int
  7820. main ()
  7821. {
  7822. ;
  7823. return 0;
  7824. }
  7825. _ACEOF
  7826. if ac_fn_objc_try_compile "$LINENO"; then :
  7827. ac_cv_prog_objc_g=yes
  7828. else
  7829. OBJCFLAGS=""
  7830. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7831. /* end confdefs.h. */
  7832. int
  7833. main ()
  7834. {
  7835. ;
  7836. return 0;
  7837. }
  7838. _ACEOF
  7839. if ac_fn_objc_try_compile "$LINENO"; then :
  7840. else
  7841. ac_objc_werror_flag=$ac_save_objc_werror_flag
  7842. OBJCFLAGS="-g"
  7843. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7844. /* end confdefs.h. */
  7845. int
  7846. main ()
  7847. {
  7848. ;
  7849. return 0;
  7850. }
  7851. _ACEOF
  7852. if ac_fn_objc_try_compile "$LINENO"; then :
  7853. ac_cv_prog_objc_g=yes
  7854. fi
  7855. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7856. fi
  7857. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7858. fi
  7859. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7860. ac_objc_werror_flag=$ac_save_objc_werror_flag
  7861. fi
  7862. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
  7863. $as_echo "$ac_cv_prog_objc_g" >&6; }
  7864. if test "$ac_test_OBJCFLAGS" = set; then
  7865. OBJCFLAGS=$ac_save_OBJCFLAGS
  7866. elif test $ac_cv_prog_objc_g = yes; then
  7867. if test "$GOBJC" = yes; then
  7868. OBJCFLAGS="-g -O2"
  7869. else
  7870. OBJCFLAGS="-g"
  7871. fi
  7872. else
  7873. if test "$GOBJC" = yes; then
  7874. OBJCFLAGS="-O2"
  7875. else
  7876. OBJCFLAGS=
  7877. fi
  7878. fi
  7879. ac_ext=m
  7880. ac_cpp='$OBJCPP $CPPFLAGS'
  7881. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7882. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7883. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7884. ac_ext=m
  7885. ac_cpp='$OBJCPP $CPPFLAGS'
  7886. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7887. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7888. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7889. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
  7890. $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
  7891. if test -z "$OBJCPP"; then
  7892. if ${ac_cv_prog_OBJCPP+:} false; then :
  7893. $as_echo_n "(cached) " >&6
  7894. else
  7895. # Double quotes because OBJCPP needs to be expanded
  7896. for OBJCPP in "$OBJC -E" "/lib/cpp"
  7897. do
  7898. ac_preproc_ok=false
  7899. for ac_objc_preproc_warn_flag in '' yes
  7900. do
  7901. # Use a header file that comes with gcc, so configuring glibc
  7902. # with a fresh cross-compiler works.
  7903. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7904. # <limits.h> exists even on freestanding compilers.
  7905. # On the NeXT, cc -E runs the code through the compiler's parser,
  7906. # not just through cpp. "Syntax error" is here to catch this case.
  7907. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7908. /* end confdefs.h. */
  7909. #ifdef __STDC__
  7910. # include <limits.h>
  7911. #else
  7912. # include <assert.h>
  7913. #endif
  7914. Syntax error
  7915. _ACEOF
  7916. if ac_fn_objc_try_cpp "$LINENO"; then :
  7917. else
  7918. # Broken: fails on valid input.
  7919. continue
  7920. fi
  7921. rm -f conftest.err conftest.i conftest.$ac_ext
  7922. # OK, works on sane cases. Now check whether nonexistent headers
  7923. # can be detected and how.
  7924. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7925. /* end confdefs.h. */
  7926. #include <ac_nonexistent.h>
  7927. _ACEOF
  7928. if ac_fn_objc_try_cpp "$LINENO"; then :
  7929. # Broken: success on invalid input.
  7930. continue
  7931. else
  7932. # Passes both tests.
  7933. ac_preproc_ok=:
  7934. break
  7935. fi
  7936. rm -f conftest.err conftest.i conftest.$ac_ext
  7937. done
  7938. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7939. rm -f conftest.i conftest.err conftest.$ac_ext
  7940. if $ac_preproc_ok; then :
  7941. break
  7942. fi
  7943. done
  7944. ac_cv_prog_OBJCPP=$OBJCPP
  7945. fi
  7946. OBJCPP=$ac_cv_prog_OBJCPP
  7947. else
  7948. ac_cv_prog_OBJCPP=$OBJCPP
  7949. fi
  7950. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
  7951. $as_echo "$OBJCPP" >&6; }
  7952. ac_preproc_ok=false
  7953. for ac_objc_preproc_warn_flag in '' yes
  7954. do
  7955. # Use a header file that comes with gcc, so configuring glibc
  7956. # with a fresh cross-compiler works.
  7957. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7958. # <limits.h> exists even on freestanding compilers.
  7959. # On the NeXT, cc -E runs the code through the compiler's parser,
  7960. # not just through cpp. "Syntax error" is here to catch this case.
  7961. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7962. /* end confdefs.h. */
  7963. #ifdef __STDC__
  7964. # include <limits.h>
  7965. #else
  7966. # include <assert.h>
  7967. #endif
  7968. Syntax error
  7969. _ACEOF
  7970. if ac_fn_objc_try_cpp "$LINENO"; then :
  7971. else
  7972. # Broken: fails on valid input.
  7973. continue
  7974. fi
  7975. rm -f conftest.err conftest.i conftest.$ac_ext
  7976. # OK, works on sane cases. Now check whether nonexistent headers
  7977. # can be detected and how.
  7978. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7979. /* end confdefs.h. */
  7980. #include <ac_nonexistent.h>
  7981. _ACEOF
  7982. if ac_fn_objc_try_cpp "$LINENO"; then :
  7983. # Broken: success on invalid input.
  7984. continue
  7985. else
  7986. # Passes both tests.
  7987. ac_preproc_ok=:
  7988. break
  7989. fi
  7990. rm -f conftest.err conftest.i conftest.$ac_ext
  7991. done
  7992. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7993. rm -f conftest.i conftest.err conftest.$ac_ext
  7994. if $ac_preproc_ok; then :
  7995. else
  7996. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7997. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7998. as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
  7999. See \`config.log' for more details" "$LINENO" 5; }
  8000. fi
  8001. ac_ext=m
  8002. ac_cpp='$OBJCPP $CPPFLAGS'
  8003. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8004. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8005. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8006. for ac_header in Metal/Metal.h
  8007. do :
  8008. ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
  8009. if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
  8010. cat >>confdefs.h <<_ACEOF
  8011. #define HAVE_METAL_METAL_H 1
  8012. _ACEOF
  8013. fi
  8014. done
  8015. ac_ext=c
  8016. ac_cpp='$CPP $CPPFLAGS'
  8017. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8018. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8019. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8020. LIBEXT="dylib"
  8021. DLLFLAGS="$DLLFLAGS -fPIC"
  8022. LDDLLFLAGS="-fPIC"
  8023. LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
  8024. LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
  8025. COREFOUNDATION_LIBS="-framework CoreFoundation"
  8026. IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
  8027. FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
  8028. APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
  8029. CORESERVICES_LIBS="-framework CoreServices"
  8030. APPKIT_LIBS="-framework AppKit"
  8031. SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
  8032. WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
  8033. wine_can_build_preloader=yes
  8034. WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
  8035. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
  8036. $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
  8037. if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
  8038. $as_echo_n "(cached) " >&6
  8039. else
  8040. ac_wine_try_cflags_saved=$CFLAGS
  8041. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
  8042. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8043. /* end confdefs.h. */
  8044. int main(int argc, char **argv) { return 0; }
  8045. _ACEOF
  8046. if ac_fn_c_try_link "$LINENO"; then :
  8047. ac_cv_cflags__Wl__no_new_main__e__main=yes
  8048. else
  8049. ac_cv_cflags__Wl__no_new_main__e__main=no
  8050. fi
  8051. rm -f core conftest.err conftest.$ac_objext \
  8052. conftest$ac_exeext conftest.$ac_ext
  8053. CFLAGS=$ac_wine_try_cflags_saved
  8054. fi
  8055. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
  8056. $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
  8057. if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
  8058. WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
  8059. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
  8060. $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
  8061. if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
  8062. $as_echo_n "(cached) " >&6
  8063. else
  8064. ac_wine_try_cflags_saved=$CFLAGS
  8065. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
  8066. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8067. /* end confdefs.h. */
  8068. int main(int argc, char **argv) { return 0; }
  8069. _ACEOF
  8070. if ac_fn_c_try_link "$LINENO"; then :
  8071. ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
  8072. else
  8073. ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
  8074. fi
  8075. rm -f core conftest.err conftest.$ac_objext \
  8076. conftest$ac_exeext conftest.$ac_ext
  8077. CFLAGS=$ac_wine_try_cflags_saved
  8078. fi
  8079. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
  8080. $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
  8081. if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
  8082. EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
  8083. else
  8084. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
  8085. $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  8086. if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
  8087. $as_echo_n "(cached) " >&6
  8088. else
  8089. ac_wine_try_cflags_saved=$CFLAGS
  8090. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  8091. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8092. /* end confdefs.h. */
  8093. int main(int argc, char **argv) { return 0; }
  8094. _ACEOF
  8095. if ac_fn_c_try_link "$LINENO"; then :
  8096. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  8097. else
  8098. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  8099. fi
  8100. rm -f core conftest.err conftest.$ac_objext \
  8101. conftest$ac_exeext conftest.$ac_ext
  8102. CFLAGS=$ac_wine_try_cflags_saved
  8103. fi
  8104. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
  8105. $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  8106. if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
  8107. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  8108. else
  8109. wine_can_build_preloader=no
  8110. fi
  8111. fi
  8112. else
  8113. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
  8114. $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
  8115. if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
  8116. $as_echo_n "(cached) " >&6
  8117. else
  8118. ac_wine_try_cflags_saved=$CFLAGS
  8119. CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
  8120. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8121. /* end confdefs.h. */
  8122. int main(int argc, char **argv) { return 0; }
  8123. _ACEOF
  8124. if ac_fn_c_try_link "$LINENO"; then :
  8125. ac_cv_cflags__nostartfiles__nodefaultlibs=yes
  8126. else
  8127. ac_cv_cflags__nostartfiles__nodefaultlibs=no
  8128. fi
  8129. rm -f core conftest.err conftest.$ac_objext \
  8130. conftest$ac_exeext conftest.$ac_ext
  8131. CFLAGS=$ac_wine_try_cflags_saved
  8132. fi
  8133. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
  8134. $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
  8135. if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
  8136. EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
  8137. else
  8138. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
  8139. $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  8140. if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
  8141. $as_echo_n "(cached) " >&6
  8142. else
  8143. ac_wine_try_cflags_saved=$CFLAGS
  8144. CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  8145. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8146. /* end confdefs.h. */
  8147. int main(int argc, char **argv) { return 0; }
  8148. _ACEOF
  8149. if ac_fn_c_try_link "$LINENO"; then :
  8150. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  8151. else
  8152. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  8153. fi
  8154. rm -f core conftest.err conftest.$ac_objext \
  8155. conftest$ac_exeext conftest.$ac_ext
  8156. CFLAGS=$ac_wine_try_cflags_saved
  8157. fi
  8158. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
  8159. $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  8160. if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
  8161. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  8162. else
  8163. wine_can_build_preloader=no
  8164. fi
  8165. fi
  8166. fi
  8167. if test "$wine_can_build_preloader" = "yes"
  8168. then
  8169. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
  8170. $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
  8171. if ${ac_cv_cflags__Wl__no_pie+:} false; then :
  8172. $as_echo_n "(cached) " >&6
  8173. else
  8174. ac_wine_try_cflags_saved=$CFLAGS
  8175. CFLAGS="$CFLAGS -Wl,-no_pie"
  8176. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8177. /* end confdefs.h. */
  8178. int main(int argc, char **argv) { return 0; }
  8179. _ACEOF
  8180. if ac_fn_c_try_link "$LINENO"; then :
  8181. ac_cv_cflags__Wl__no_pie=yes
  8182. else
  8183. ac_cv_cflags__Wl__no_pie=no
  8184. fi
  8185. rm -f core conftest.err conftest.$ac_objext \
  8186. conftest$ac_exeext conftest.$ac_ext
  8187. CFLAGS=$ac_wine_try_cflags_saved
  8188. fi
  8189. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
  8190. $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
  8191. if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
  8192. WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
  8193. fi
  8194. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  8195. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  8196. else
  8197. as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
  8198. fi
  8199. if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
  8200. then
  8201. DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
  8202. fi
  8203. if test "$ac_cv_header_Security_Security_h" = "yes"
  8204. then
  8205. SECURITY_LIBS="-framework Security -framework CoreFoundation"
  8206. ac_save_LIBS="$LIBS"
  8207. LIBS="$LIBS $SECURITY_LIBS"
  8208. for ac_func in SSLCopyPeerCertificates
  8209. do :
  8210. ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
  8211. if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
  8212. cat >>confdefs.h <<_ACEOF
  8213. #define HAVE_SSLCOPYPEERCERTIFICATES 1
  8214. _ACEOF
  8215. fi
  8216. done
  8217. LIBS="$ac_save_LIBS"
  8218. fi
  8219. if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
  8220. then
  8221. if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
  8222. then
  8223. COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
  8224. else
  8225. COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
  8226. fi
  8227. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
  8228. ac_save_LIBS="$LIBS"
  8229. LIBS="$LIBS $COREAUDIO_LIBS"
  8230. for ac_func in AUGraphAddNode
  8231. do :
  8232. ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
  8233. if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
  8234. cat >>confdefs.h <<_ACEOF
  8235. #define HAVE_AUGRAPHADDNODE 1
  8236. _ACEOF
  8237. fi
  8238. done
  8239. LIBS="$ac_save_LIBS"
  8240. fi
  8241. if test "$ac_cv_header_OpenAL_al_h" = "yes"
  8242. then
  8243. OPENAL_LIBS="-framework OpenAL"
  8244. cat >>confdefs.h <<_ACEOF
  8245. #define HAVE_OPENAL 1
  8246. _ACEOF
  8247. ac_cv_lib_openal=yes
  8248. fi
  8249. if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
  8250. then
  8251. OPENCL_LIBS="-framework OpenCL"
  8252. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  8253. fi
  8254. if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
  8255. then
  8256. ac_save_LIBS="$LIBS"
  8257. LIBS="$LIBS $IOKIT_LIBS"
  8258. for ac_func in IOHIDManagerCreate
  8259. do :
  8260. ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
  8261. if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
  8262. cat >>confdefs.h <<_ACEOF
  8263. #define HAVE_IOHIDMANAGERCREATE 1
  8264. _ACEOF
  8265. fi
  8266. done
  8267. LIBS="$ac_save_LIBS"
  8268. fi
  8269. if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
  8270. then
  8271. ac_save_LIBS="$LIBS"
  8272. LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
  8273. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
  8274. $as_echo_n "checking for the QuickTime framework... " >&6; }
  8275. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8276. /* end confdefs.h. */
  8277. #include <QuickTime/ImageCompression.h>
  8278. int
  8279. main ()
  8280. {
  8281. CodecManagerVersion(NULL);
  8282. ;
  8283. return 0;
  8284. }
  8285. _ACEOF
  8286. if ac_fn_c_try_link "$LINENO"; then :
  8287. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8288. $as_echo "yes" >&6; }
  8289. QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
  8290. enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
  8291. else
  8292. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8293. $as_echo "no" >&6; }
  8294. ac_cv_header_QuickTime_ImageCompression_h=no
  8295. fi
  8296. rm -f core conftest.err conftest.$ac_objext \
  8297. conftest$ac_exeext conftest.$ac_ext
  8298. LIBS="$ac_save_LIBS"
  8299. fi
  8300. if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
  8301. then
  8302. as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
  8303. fi
  8304. if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
  8305. then
  8306. CARBON_LIBS="-framework Carbon"
  8307. fi
  8308. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  8309. then
  8310. METAL_LIBS="-framework Metal -framework QuartzCore"
  8311. fi
  8312. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  8313. then
  8314. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
  8315. $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
  8316. ac_ext=m
  8317. ac_cpp='$OBJCPP $CPPFLAGS'
  8318. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8319. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8320. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8321. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8322. /* end confdefs.h. */
  8323. #include <Metal/Metal.h>
  8324. int
  8325. main ()
  8326. {
  8327. id<MTLDevice> device; device.registryID;
  8328. ;
  8329. return 0;
  8330. }
  8331. _ACEOF
  8332. if ac_fn_objc_try_compile "$LINENO"; then :
  8333. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8334. $as_echo "yes" >&6; }
  8335. $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
  8336. else
  8337. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8338. $as_echo "no" >&6; }
  8339. fi
  8340. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8341. ac_ext=c
  8342. ac_cpp='$CPP $CPPFLAGS'
  8343. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8344. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8345. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8346. fi
  8347. if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
  8348. then
  8349. ac_save_LIBS="$LIBS"
  8350. LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
  8351. ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
  8352. if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
  8353. enable_winemac_drv=${enable_winemac_drv:-yes}
  8354. fi
  8355. LIBS="$ac_save_LIBS"
  8356. fi
  8357. if test "x$enable_win16" = "xyes"
  8358. then
  8359. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
  8360. $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
  8361. if test "$cross_compiling" = yes; then :
  8362. { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
  8363. $as_echo "cross-compiling, assuming yes" >&6; }
  8364. else
  8365. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8366. /* end confdefs.h. */
  8367. asm(".text\n"
  8368. "bad:\tnop;nop\n"
  8369. "good:\tnop;nop\n\t"
  8370. ".globl _testfunc\n"
  8371. "_testfunc:\tcallw good");
  8372. extern void testfunc();
  8373. int
  8374. main ()
  8375. {
  8376. unsigned short *p = (unsigned short *)testfunc;
  8377. return p[0] != 0xe866 || p[1] != 0xfffa
  8378. ;
  8379. return 0;
  8380. }
  8381. _ACEOF
  8382. if ac_fn_c_try_run "$LINENO"; then :
  8383. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8384. $as_echo "yes" >&6; }
  8385. else
  8386. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8387. $as_echo "no" >&6; }
  8388. as_fn_error $? "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
  8389. fi
  8390. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  8391. conftest.$ac_objext conftest.beam conftest.$ac_ext
  8392. fi
  8393. fi
  8394. LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
  8395. LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
  8396. WINELOADER_DEPENDS="wine_info.plist"
  8397. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
  8398. TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
  8399. ;;
  8400. linux-android*)
  8401. DLLFLAGS="$DLLFLAGS -fPIC"
  8402. LDDLLFLAGS="-fPIC"
  8403. LDEXECFLAGS="-Wl,-pie"
  8404. enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
  8405. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
  8406. $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
  8407. if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
  8408. $as_echo_n "(cached) " >&6
  8409. else
  8410. ac_wine_try_cflags_saved=$CFLAGS
  8411. CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
  8412. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8413. /* end confdefs.h. */
  8414. int main(int argc, char **argv) { return 0; }
  8415. _ACEOF
  8416. if ac_fn_c_try_link "$LINENO"; then :
  8417. ac_cv_cflags__fPIC__Wl___export_dynamic=yes
  8418. else
  8419. ac_cv_cflags__fPIC__Wl___export_dynamic=no
  8420. fi
  8421. rm -f core conftest.err conftest.$ac_objext \
  8422. conftest$ac_exeext conftest.$ac_ext
  8423. CFLAGS=$ac_wine_try_cflags_saved
  8424. fi
  8425. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
  8426. $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
  8427. if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
  8428. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  8429. fi
  8430. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
  8431. as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
  8432. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
  8433. $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
  8434. if eval \${$as_ac_var+:} false; then :
  8435. $as_echo_n "(cached) " >&6
  8436. else
  8437. ac_wine_try_cflags_saved=$CFLAGS
  8438. CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
  8439. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8440. /* end confdefs.h. */
  8441. int main(int argc, char **argv) { return 0; }
  8442. _ACEOF
  8443. if ac_fn_c_try_link "$LINENO"; then :
  8444. eval "$as_ac_var=yes"
  8445. else
  8446. eval "$as_ac_var=no"
  8447. fi
  8448. rm -f core conftest.err conftest.$ac_objext \
  8449. conftest$ac_exeext conftest.$ac_ext
  8450. CFLAGS=$ac_wine_try_cflags_saved
  8451. fi
  8452. eval ac_res=\$$as_ac_var
  8453. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8454. $as_echo "$ac_res" >&6; }
  8455. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8456. LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
  8457. LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
  8458. else
  8459. as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
  8460. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
  8461. $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
  8462. if eval \${$as_ac_var+:} false; then :
  8463. $as_echo_n "(cached) " >&6
  8464. else
  8465. ac_wine_try_cflags_saved=$CFLAGS
  8466. CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
  8467. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8468. /* end confdefs.h. */
  8469. int main(int argc, char **argv) { return 0; }
  8470. _ACEOF
  8471. if ac_fn_c_try_link "$LINENO"; then :
  8472. eval "$as_ac_var=yes"
  8473. else
  8474. eval "$as_ac_var=no"
  8475. fi
  8476. rm -f core conftest.err conftest.$ac_objext \
  8477. conftest$ac_exeext conftest.$ac_ext
  8478. CFLAGS=$ac_wine_try_cflags_saved
  8479. fi
  8480. eval ac_res=\$$as_ac_var
  8481. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8482. $as_echo "$ac_res" >&6; }
  8483. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8484. LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
  8485. LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
  8486. fi
  8487. fi
  8488. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
  8489. $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
  8490. if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
  8491. $as_echo_n "(cached) " >&6
  8492. else
  8493. ac_wine_try_cflags_saved=$CFLAGS
  8494. CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
  8495. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8496. /* end confdefs.h. */
  8497. int main(int argc, char **argv) { return 0; }
  8498. _ACEOF
  8499. if ac_fn_c_try_link "$LINENO"; then :
  8500. ac_cv_cflags__Wl___enable_new_dtags=yes
  8501. else
  8502. ac_cv_cflags__Wl___enable_new_dtags=no
  8503. fi
  8504. rm -f core conftest.err conftest.$ac_objext \
  8505. conftest$ac_exeext conftest.$ac_ext
  8506. CFLAGS=$ac_wine_try_cflags_saved
  8507. fi
  8508. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
  8509. $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
  8510. if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
  8511. LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
  8512. fi
  8513. LIBWINE_SHAREDLIB="libwine.so"
  8514. LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
  8515. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
  8516. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
  8517. $as_echo_n "checking for -lEGL... " >&6; }
  8518. if ${ac_cv_lib_soname_EGL+:} false; then :
  8519. $as_echo_n "(cached) " >&6
  8520. else
  8521. ac_check_soname_save_LIBS=$LIBS
  8522. LIBS="-lEGL $LIBS"
  8523. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8524. /* end confdefs.h. */
  8525. /* Override any GCC internal prototype to avoid an error.
  8526. Use char because int might match the return type of a GCC
  8527. builtin and then its argument prototype would still apply. */
  8528. #ifdef __cplusplus
  8529. extern "C"
  8530. #endif
  8531. char eglGetProcAddress ();
  8532. int
  8533. main ()
  8534. {
  8535. return eglGetProcAddress ();
  8536. ;
  8537. return 0;
  8538. }
  8539. _ACEOF
  8540. if ac_fn_c_try_link "$LINENO"; then :
  8541. case "$LIBEXT" in
  8542. dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  8543. dylib) ac_cv_lib_soname_EGL=`$OTOOL -L conftest$ac_exeext | grep "libEGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libEGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  8544. *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  8545. if ${ac_cv_lib_soname_EGL:+false} :; then :
  8546. ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  8547. fi ;;
  8548. esac
  8549. else
  8550. ac_cv_lib_soname_EGL=
  8551. fi
  8552. rm -f core conftest.err conftest.$ac_objext \
  8553. conftest$ac_exeext conftest.$ac_ext
  8554. LIBS=$ac_check_soname_save_LIBS
  8555. fi
  8556. if ${ac_cv_lib_soname_EGL:+false} :; then :
  8557. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  8558. $as_echo "not found" >&6; }
  8559. else
  8560. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
  8561. $as_echo "$ac_cv_lib_soname_EGL" >&6; }
  8562. cat >>confdefs.h <<_ACEOF
  8563. #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
  8564. _ACEOF
  8565. fi
  8566. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
  8567. $as_echo_n "checking for -lGLESv2... " >&6; }
  8568. if ${ac_cv_lib_soname_GLESv2+:} false; then :
  8569. $as_echo_n "(cached) " >&6
  8570. else
  8571. ac_check_soname_save_LIBS=$LIBS
  8572. LIBS="-lGLESv2 $LIBS"
  8573. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8574. /* end confdefs.h. */
  8575. /* Override any GCC internal prototype to avoid an error.
  8576. Use char because int might match the return type of a GCC
  8577. builtin and then its argument prototype would still apply. */
  8578. #ifdef __cplusplus
  8579. extern "C"
  8580. #endif
  8581. char glFlush ();
  8582. int
  8583. main ()
  8584. {
  8585. return glFlush ();
  8586. ;
  8587. return 0;
  8588. }
  8589. _ACEOF
  8590. if ac_fn_c_try_link "$LINENO"; then :
  8591. case "$LIBEXT" in
  8592. dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  8593. dylib) ac_cv_lib_soname_GLESv2=`$OTOOL -L conftest$ac_exeext | grep "libGLESv2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLESv2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  8594. *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  8595. if ${ac_cv_lib_soname_GLESv2:+false} :; then :
  8596. ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  8597. fi ;;
  8598. esac
  8599. else
  8600. ac_cv_lib_soname_GLESv2=
  8601. fi
  8602. rm -f core conftest.err conftest.$ac_objext \
  8603. conftest$ac_exeext conftest.$ac_ext
  8604. LIBS=$ac_check_soname_save_LIBS
  8605. fi
  8606. if ${ac_cv_lib_soname_GLESv2:+false} :; then :
  8607. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  8608. $as_echo "not found" >&6; }
  8609. else
  8610. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
  8611. $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
  8612. cat >>confdefs.h <<_ACEOF
  8613. #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
  8614. _ACEOF
  8615. fi
  8616. if test "x$exec_prefix" = xNONE
  8617. then
  8618. case $host_cpu in
  8619. *i[3456]86*) exec_prefix='${prefix}/x86' ;;
  8620. *x86_64*) exec_prefix='${prefix}/x86_64' ;;
  8621. *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
  8622. *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
  8623. esac
  8624. fi
  8625. ;;
  8626. *)
  8627. case $host_cpu in
  8628. *i[3456789]86*)
  8629. DLLFLAGS="$DLLFLAGS -fno-PIC"
  8630. LDDLLFLAGS="-fno-PIC" ;;
  8631. *)
  8632. DLLFLAGS="$DLLFLAGS -fPIC"
  8633. LDDLLFLAGS="-fPIC" ;;
  8634. esac
  8635. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
  8636. $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
  8637. if ${ac_cv_c_dll_gnuelf+:} false; then :
  8638. $as_echo_n "(cached) " >&6
  8639. else
  8640. ac_wine_try_cflags_saved=$CFLAGS
  8641. CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
  8642. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8643. /* end confdefs.h. */
  8644. void myfunc() {}
  8645. _ACEOF
  8646. if ac_fn_c_try_link "$LINENO"; then :
  8647. ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
  8648. else
  8649. ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
  8650. fi
  8651. rm -f core conftest.err conftest.$ac_objext \
  8652. conftest$ac_exeext conftest.$ac_ext
  8653. CFLAGS=$ac_wine_try_cflags_saved
  8654. if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
  8655. ac_cv_c_dll_gnuelf="yes"
  8656. else
  8657. ac_cv_c_dll_gnuelf="no"
  8658. fi
  8659. fi
  8660. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
  8661. $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
  8662. if test "$ac_cv_c_dll_gnuelf" = "yes"
  8663. then
  8664. LIBWINE_LDFLAGS="-shared"
  8665. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
  8666. $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
  8667. if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
  8668. $as_echo_n "(cached) " >&6
  8669. else
  8670. ac_wine_try_cflags_saved=$CFLAGS
  8671. CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
  8672. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8673. /* end confdefs.h. */
  8674. int main(int argc, char **argv) { return 0; }
  8675. _ACEOF
  8676. if ac_fn_c_try_link "$LINENO"; then :
  8677. ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
  8678. else
  8679. ac_cv_cflags__shared__Wl__soname_confest_so_1=no
  8680. fi
  8681. rm -f core conftest.err conftest.$ac_objext \
  8682. conftest$ac_exeext conftest.$ac_ext
  8683. CFLAGS=$ac_wine_try_cflags_saved
  8684. fi
  8685. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
  8686. $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
  8687. if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
  8688. LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
  8689. else
  8690. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
  8691. $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
  8692. if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
  8693. $as_echo_n "(cached) " >&6
  8694. else
  8695. ac_wine_try_cflags_saved=$CFLAGS
  8696. CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
  8697. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8698. /* end confdefs.h. */
  8699. int main(int argc, char **argv) { return 0; }
  8700. _ACEOF
  8701. if ac_fn_c_try_link "$LINENO"; then :
  8702. ac_cv_cflags__shared__Wl__h_confest_so_1=yes
  8703. else
  8704. ac_cv_cflags__shared__Wl__h_confest_so_1=no
  8705. fi
  8706. rm -f core conftest.err conftest.$ac_objext \
  8707. conftest$ac_exeext conftest.$ac_ext
  8708. CFLAGS=$ac_wine_try_cflags_saved
  8709. fi
  8710. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
  8711. $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
  8712. if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
  8713. LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
  8714. fi
  8715. fi
  8716. echo '{ global: *; };' >conftest.map
  8717. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
  8718. $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
  8719. if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
  8720. $as_echo_n "(cached) " >&6
  8721. else
  8722. ac_wine_try_cflags_saved=$CFLAGS
  8723. CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
  8724. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8725. /* end confdefs.h. */
  8726. int main(int argc, char **argv) { return 0; }
  8727. _ACEOF
  8728. if ac_fn_c_try_link "$LINENO"; then :
  8729. ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
  8730. else
  8731. ac_cv_cflags__shared__Wl___version_script_conftest_map=no
  8732. fi
  8733. rm -f core conftest.err conftest.$ac_objext \
  8734. conftest$ac_exeext conftest.$ac_ext
  8735. CFLAGS=$ac_wine_try_cflags_saved
  8736. fi
  8737. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
  8738. $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
  8739. if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
  8740. LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
  8741. fi
  8742. rm -f conftest.map
  8743. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
  8744. $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
  8745. if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
  8746. $as_echo_n "(cached) " >&6
  8747. else
  8748. ac_wine_try_cflags_saved=$CFLAGS
  8749. CFLAGS="$CFLAGS -Wl,--export-dynamic"
  8750. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8751. /* end confdefs.h. */
  8752. int main(int argc, char **argv) { return 0; }
  8753. _ACEOF
  8754. if ac_fn_c_try_link "$LINENO"; then :
  8755. ac_cv_cflags__Wl___export_dynamic=yes
  8756. else
  8757. ac_cv_cflags__Wl___export_dynamic=no
  8758. fi
  8759. rm -f core conftest.err conftest.$ac_objext \
  8760. conftest$ac_exeext conftest.$ac_ext
  8761. CFLAGS=$ac_wine_try_cflags_saved
  8762. fi
  8763. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
  8764. $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
  8765. if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
  8766. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  8767. fi
  8768. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
  8769. as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
  8770. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
  8771. $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
  8772. if eval \${$as_ac_var+:} false; then :
  8773. $as_echo_n "(cached) " >&6
  8774. else
  8775. ac_wine_try_cflags_saved=$CFLAGS
  8776. CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
  8777. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8778. /* end confdefs.h. */
  8779. int main(int argc, char **argv) { return 0; }
  8780. _ACEOF
  8781. if ac_fn_c_try_link "$LINENO"; then :
  8782. eval "$as_ac_var=yes"
  8783. else
  8784. eval "$as_ac_var=no"
  8785. fi
  8786. rm -f core conftest.err conftest.$ac_objext \
  8787. conftest$ac_exeext conftest.$ac_ext
  8788. CFLAGS=$ac_wine_try_cflags_saved
  8789. fi
  8790. eval ac_res=\$$as_ac_var
  8791. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8792. $as_echo "$ac_res" >&6; }
  8793. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8794. LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`:\$(DESTDIR)\${libdir}"
  8795. LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
  8796. else
  8797. as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
  8798. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
  8799. $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
  8800. if eval \${$as_ac_var+:} false; then :
  8801. $as_echo_n "(cached) " >&6
  8802. else
  8803. ac_wine_try_cflags_saved=$CFLAGS
  8804. CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
  8805. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8806. /* end confdefs.h. */
  8807. int main(int argc, char **argv) { return 0; }
  8808. _ACEOF
  8809. if ac_fn_c_try_link "$LINENO"; then :
  8810. eval "$as_ac_var=yes"
  8811. else
  8812. eval "$as_ac_var=no"
  8813. fi
  8814. rm -f core conftest.err conftest.$ac_objext \
  8815. conftest$ac_exeext conftest.$ac_ext
  8816. CFLAGS=$ac_wine_try_cflags_saved
  8817. fi
  8818. eval ac_res=\$$as_ac_var
  8819. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8820. $as_echo "$ac_res" >&6; }
  8821. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8822. LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`:\$(DESTDIR)\${libdir}"
  8823. LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
  8824. fi
  8825. fi
  8826. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
  8827. $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
  8828. if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
  8829. $as_echo_n "(cached) " >&6
  8830. else
  8831. ac_wine_try_cflags_saved=$CFLAGS
  8832. CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
  8833. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8834. /* end confdefs.h. */
  8835. int main(int argc, char **argv) { return 0; }
  8836. _ACEOF
  8837. if ac_fn_c_try_link "$LINENO"; then :
  8838. ac_cv_cflags__Wl___enable_new_dtags=yes
  8839. else
  8840. ac_cv_cflags__Wl___enable_new_dtags=no
  8841. fi
  8842. rm -f core conftest.err conftest.$ac_objext \
  8843. conftest$ac_exeext conftest.$ac_ext
  8844. CFLAGS=$ac_wine_try_cflags_saved
  8845. fi
  8846. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
  8847. $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
  8848. if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
  8849. LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
  8850. fi
  8851. case $host_cpu in
  8852. *i[3456789]86* | x86_64 | *aarch64*)
  8853. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
  8854. $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
  8855. if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
  8856. $as_echo_n "(cached) " >&6
  8857. else
  8858. ac_wine_try_cflags_saved=$CFLAGS
  8859. CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
  8860. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8861. /* end confdefs.h. */
  8862. int main(int argc, char **argv) { return 0; }
  8863. _ACEOF
  8864. if ac_fn_c_try_link "$LINENO"; then :
  8865. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
  8866. else
  8867. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
  8868. fi
  8869. rm -f core conftest.err conftest.$ac_objext \
  8870. conftest$ac_exeext conftest.$ac_ext
  8871. CFLAGS=$ac_wine_try_cflags_saved
  8872. fi
  8873. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
  8874. $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
  8875. if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
  8876. case $host_os in
  8877. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
  8878. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
  8879. esac
  8880. else
  8881. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
  8882. $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
  8883. if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
  8884. $as_echo_n "(cached) " >&6
  8885. else
  8886. ac_wine_try_cflags_saved=$CFLAGS
  8887. CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
  8888. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8889. /* end confdefs.h. */
  8890. int main(int argc, char **argv) { return 0; }
  8891. _ACEOF
  8892. if ac_fn_c_try_link "$LINENO"; then :
  8893. ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
  8894. else
  8895. ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
  8896. fi
  8897. rm -f core conftest.err conftest.$ac_objext \
  8898. conftest$ac_exeext conftest.$ac_ext
  8899. CFLAGS=$ac_wine_try_cflags_saved
  8900. fi
  8901. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
  8902. $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
  8903. if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
  8904. case $host_os in
  8905. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
  8906. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
  8907. esac
  8908. fi
  8909. # Extract the first word of "prelink", so it can be a program name with args.
  8910. set dummy prelink; ac_word=$2
  8911. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8912. $as_echo_n "checking for $ac_word... " >&6; }
  8913. if ${ac_cv_path_PRELINK+:} false; then :
  8914. $as_echo_n "(cached) " >&6
  8915. else
  8916. case $PRELINK in
  8917. [\\/]* | ?:[\\/]*)
  8918. ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
  8919. ;;
  8920. *)
  8921. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8922. for as_dir in /sbin /usr/sbin $PATH
  8923. do
  8924. IFS=$as_save_IFS
  8925. test -z "$as_dir" && as_dir=.
  8926. for ac_exec_ext in '' $ac_executable_extensions; do
  8927. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8928. ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
  8929. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8930. break 2
  8931. fi
  8932. done
  8933. done
  8934. IFS=$as_save_IFS
  8935. test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
  8936. ;;
  8937. esac
  8938. fi
  8939. PRELINK=$ac_cv_path_PRELINK
  8940. if test -n "$PRELINK"; then
  8941. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
  8942. $as_echo "$PRELINK" >&6; }
  8943. else
  8944. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8945. $as_echo "no" >&6; }
  8946. fi
  8947. if test "x$PRELINK" = xfalse
  8948. then
  8949. as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
  8950. fi
  8951. fi
  8952. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
  8953. $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
  8954. if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
  8955. $as_echo_n "(cached) " >&6
  8956. else
  8957. ac_wine_try_cflags_saved=$CFLAGS
  8958. CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
  8959. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8960. /* end confdefs.h. */
  8961. int main(int argc, char **argv) { return 0; }
  8962. _ACEOF
  8963. if ac_fn_c_try_link "$LINENO"; then :
  8964. ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
  8965. else
  8966. ac_cv_cflags__Wl__z_max_page_size_0x1000=no
  8967. fi
  8968. rm -f core conftest.err conftest.$ac_objext \
  8969. conftest$ac_exeext conftest.$ac_ext
  8970. CFLAGS=$ac_wine_try_cflags_saved
  8971. fi
  8972. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
  8973. $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
  8974. if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
  8975. WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
  8976. fi
  8977. ;;
  8978. esac
  8979. else
  8980. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
  8981. $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
  8982. if ${ac_cv_c_dll_unixware+:} false; then :
  8983. $as_echo_n "(cached) " >&6
  8984. else
  8985. ac_wine_try_cflags_saved=$CFLAGS
  8986. CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
  8987. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8988. /* end confdefs.h. */
  8989. void myfunc() {}
  8990. _ACEOF
  8991. if ac_fn_c_try_link "$LINENO"; then :
  8992. ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
  8993. else
  8994. ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
  8995. fi
  8996. rm -f core conftest.err conftest.$ac_objext \
  8997. conftest$ac_exeext conftest.$ac_ext
  8998. CFLAGS=$ac_wine_try_cflags_saved
  8999. if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
  9000. ac_cv_c_dll_unixware="yes"
  9001. else
  9002. ac_cv_c_dll_unixware="no"
  9003. fi
  9004. fi
  9005. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
  9006. $as_echo "$ac_cv_c_dll_unixware" >&6; }
  9007. if test "$ac_cv_c_dll_unixware" = "yes"
  9008. then
  9009. LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
  9010. fi
  9011. fi
  9012. LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
  9013. LIBWINE_DEPENDS="wine.map"
  9014. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
  9015. TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
  9016. ;;
  9017. esac
  9018. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
  9019. enable_wineqtdecoder=${enable_wineqtdecoder:-no}
  9020. enable_wineandroid_drv=${enable_wineandroid_drv:-no}
  9021. enable_winemac_drv=${enable_winemac_drv:-no}
  9022. test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
  9023. CROSSTARGET=""
  9024. if test "x$with_mingw" != xno
  9025. then
  9026. case "x$with_mingw" in
  9027. x|xyes) case "$host_cpu" in
  9028. aarch64*)
  9029. ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
  9030. arm*)
  9031. ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
  9032. i[3456789]86*)
  9033. ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
  9034. i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
  9035. mingw32-gcc" ;;
  9036. x86_64)
  9037. ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
  9038. x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
  9039. *)
  9040. ac_prefix_list="" ;;
  9041. esac
  9042. for ac_prog in $ac_prefix_list
  9043. do
  9044. # Extract the first word of "$ac_prog", so it can be a program name with args.
  9045. set dummy $ac_prog; ac_word=$2
  9046. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  9047. $as_echo_n "checking for $ac_word... " >&6; }
  9048. if ${ac_cv_prog_CROSSCC+:} false; then :
  9049. $as_echo_n "(cached) " >&6
  9050. else
  9051. if test -n "$CROSSCC"; then
  9052. ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
  9053. else
  9054. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  9055. for as_dir in $PATH
  9056. do
  9057. IFS=$as_save_IFS
  9058. test -z "$as_dir" && as_dir=.
  9059. for ac_exec_ext in '' $ac_executable_extensions; do
  9060. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  9061. ac_cv_prog_CROSSCC="$ac_prog"
  9062. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  9063. break 2
  9064. fi
  9065. done
  9066. done
  9067. IFS=$as_save_IFS
  9068. fi
  9069. fi
  9070. CROSSCC=$ac_cv_prog_CROSSCC
  9071. if test -n "$CROSSCC"; then
  9072. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
  9073. $as_echo "$CROSSCC" >&6; }
  9074. else
  9075. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  9076. $as_echo "no" >&6; }
  9077. fi
  9078. test -n "$CROSSCC" && break
  9079. done
  9080. test -n "$CROSSCC" || CROSSCC="false"
  9081. ;;
  9082. *) CROSSCC=$with_mingw ;;
  9083. esac
  9084. if test "$CROSSCC" != "false"
  9085. then
  9086. ac_save_CC="$CC"
  9087. saved_CFLAGS=$CFLAGS
  9088. CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
  9089. EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
  9090. CC="$CROSSCC"
  9091. CFLAGS=$CROSSCFLAGS
  9092. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
  9093. $as_echo_n "checking whether $CROSSCC works... " >&6; }
  9094. if ${wine_cv_crosscc+:} false; then :
  9095. $as_echo_n "(cached) " >&6
  9096. else
  9097. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9098. /* end confdefs.h. */
  9099. int
  9100. main ()
  9101. {
  9102. ;
  9103. return 0;
  9104. }
  9105. _ACEOF
  9106. if ac_fn_c_try_compile "$LINENO"; then :
  9107. wine_cv_crosscc=yes
  9108. else
  9109. wine_cv_crosscc=no
  9110. fi
  9111. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  9112. fi
  9113. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
  9114. $as_echo "$wine_cv_crosscc" >&6; }
  9115. if test $wine_cv_crosscc = yes
  9116. then
  9117. set x $CROSSCC
  9118. shift
  9119. while test $# -ge 1
  9120. do
  9121. case "$1" in
  9122. *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
  9123. *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
  9124. esac
  9125. shift
  9126. done
  9127. llvm_target=$CROSSTARGET
  9128. if test -z "$llvm_target"
  9129. then
  9130. case $host_cpu in
  9131. *i[3456789]86*) llvm_target=i686-windows-gnu ;;
  9132. *) llvm_target=$host_cpu-windows-gnu ;;
  9133. esac
  9134. fi
  9135. as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target -fuse-ld=lld" | $as_tr_sh`
  9136. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld" >&5
  9137. $as_echo_n "checking whether the cross-compiler supports -target $llvm_target -fuse-ld=lld... " >&6; }
  9138. if eval \${$as_ac_var+:} false; then :
  9139. $as_echo_n "(cached) " >&6
  9140. else
  9141. ac_wine_try_cflags_saved=$CFLAGS
  9142. ac_wine_try_cflags_saved_cc=$CC
  9143. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9144. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target -fuse-ld=lld"
  9145. CC="$CROSSCC"
  9146. ac_exeext=".exe"
  9147. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9148. /* end confdefs.h. */
  9149. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9150. _ACEOF
  9151. if ac_fn_c_try_link "$LINENO"; then :
  9152. eval "$as_ac_var=yes"
  9153. else
  9154. eval "$as_ac_var=no"
  9155. fi
  9156. rm -f core conftest.err conftest.$ac_objext \
  9157. conftest$ac_exeext conftest.$ac_ext
  9158. CFLAGS=$ac_wine_try_cflags_saved
  9159. CC=$ac_wine_try_cflags_saved_cc
  9160. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9161. fi
  9162. eval ac_res=\$$as_ac_var
  9163. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  9164. $as_echo "$ac_res" >&6; }
  9165. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  9166. CROSSTARGET=$llvm_target
  9167. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
  9168. CFLAGS="$CFLAGS -fuse-ld=lld"
  9169. fi
  9170. fi
  9171. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
  9172. $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
  9173. if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
  9174. $as_echo_n "(cached) " >&6
  9175. else
  9176. ac_wine_try_cflags_saved=$CFLAGS
  9177. ac_wine_try_cflags_saved_cc=$CC
  9178. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9179. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
  9180. CC="$CROSSCC"
  9181. ac_exeext=".exe"
  9182. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9183. /* end confdefs.h. */
  9184. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9185. _ACEOF
  9186. if ac_fn_c_try_link "$LINENO"; then :
  9187. ac_cv_crosscflags__fno_strict_aliasing=yes
  9188. else
  9189. ac_cv_crosscflags__fno_strict_aliasing=no
  9190. fi
  9191. rm -f core conftest.err conftest.$ac_objext \
  9192. conftest$ac_exeext conftest.$ac_ext
  9193. CFLAGS=$ac_wine_try_cflags_saved
  9194. CC=$ac_wine_try_cflags_saved_cc
  9195. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9196. fi
  9197. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
  9198. $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
  9199. if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
  9200. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
  9201. fi
  9202. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
  9203. $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
  9204. if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
  9205. $as_echo_n "(cached) " >&6
  9206. else
  9207. ac_wine_try_cflags_saved=$CFLAGS
  9208. ac_wine_try_cflags_saved_cc=$CC
  9209. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9210. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
  9211. CC="$CROSSCC"
  9212. ac_exeext=".exe"
  9213. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9214. /* end confdefs.h. */
  9215. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9216. _ACEOF
  9217. if ac_fn_c_try_link "$LINENO"; then :
  9218. ac_cv_crosscflags__Werror_unknown_warning_option=yes
  9219. else
  9220. ac_cv_crosscflags__Werror_unknown_warning_option=no
  9221. fi
  9222. rm -f core conftest.err conftest.$ac_objext \
  9223. conftest$ac_exeext conftest.$ac_ext
  9224. CFLAGS=$ac_wine_try_cflags_saved
  9225. CC=$ac_wine_try_cflags_saved_cc
  9226. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9227. fi
  9228. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
  9229. $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
  9230. if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
  9231. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  9232. fi
  9233. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
  9234. $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
  9235. if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
  9236. $as_echo_n "(cached) " >&6
  9237. else
  9238. ac_wine_try_cflags_saved=$CFLAGS
  9239. ac_wine_try_cflags_saved_cc=$CC
  9240. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9241. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
  9242. CC="$CROSSCC"
  9243. ac_exeext=".exe"
  9244. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9245. /* end confdefs.h. */
  9246. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9247. _ACEOF
  9248. if ac_fn_c_try_link "$LINENO"; then :
  9249. ac_cv_crosscflags__Wdeclaration_after_statement=yes
  9250. else
  9251. ac_cv_crosscflags__Wdeclaration_after_statement=no
  9252. fi
  9253. rm -f core conftest.err conftest.$ac_objext \
  9254. conftest$ac_exeext conftest.$ac_ext
  9255. CFLAGS=$ac_wine_try_cflags_saved
  9256. CC=$ac_wine_try_cflags_saved_cc
  9257. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9258. fi
  9259. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
  9260. $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
  9261. if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
  9262. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
  9263. fi
  9264. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
  9265. $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
  9266. if ${ac_cv_crosscflags__Wempty_body+:} false; then :
  9267. $as_echo_n "(cached) " >&6
  9268. else
  9269. ac_wine_try_cflags_saved=$CFLAGS
  9270. ac_wine_try_cflags_saved_cc=$CC
  9271. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9272. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
  9273. CC="$CROSSCC"
  9274. ac_exeext=".exe"
  9275. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9276. /* end confdefs.h. */
  9277. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9278. _ACEOF
  9279. if ac_fn_c_try_link "$LINENO"; then :
  9280. ac_cv_crosscflags__Wempty_body=yes
  9281. else
  9282. ac_cv_crosscflags__Wempty_body=no
  9283. fi
  9284. rm -f core conftest.err conftest.$ac_objext \
  9285. conftest$ac_exeext conftest.$ac_ext
  9286. CFLAGS=$ac_wine_try_cflags_saved
  9287. CC=$ac_wine_try_cflags_saved_cc
  9288. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9289. fi
  9290. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
  9291. $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
  9292. if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
  9293. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
  9294. fi
  9295. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
  9296. $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
  9297. if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
  9298. $as_echo_n "(cached) " >&6
  9299. else
  9300. ac_wine_try_cflags_saved=$CFLAGS
  9301. ac_wine_try_cflags_saved_cc=$CC
  9302. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9303. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
  9304. CC="$CROSSCC"
  9305. ac_exeext=".exe"
  9306. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9307. /* end confdefs.h. */
  9308. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9309. _ACEOF
  9310. if ac_fn_c_try_link "$LINENO"; then :
  9311. ac_cv_crosscflags__Wignored_qualifiers=yes
  9312. else
  9313. ac_cv_crosscflags__Wignored_qualifiers=no
  9314. fi
  9315. rm -f core conftest.err conftest.$ac_objext \
  9316. conftest$ac_exeext conftest.$ac_ext
  9317. CFLAGS=$ac_wine_try_cflags_saved
  9318. CC=$ac_wine_try_cflags_saved_cc
  9319. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9320. fi
  9321. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
  9322. $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
  9323. if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
  9324. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
  9325. fi
  9326. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
  9327. $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
  9328. if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
  9329. $as_echo_n "(cached) " >&6
  9330. else
  9331. ac_wine_try_cflags_saved=$CFLAGS
  9332. ac_wine_try_cflags_saved_cc=$CC
  9333. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9334. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
  9335. CC="$CROSSCC"
  9336. ac_exeext=".exe"
  9337. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9338. /* end confdefs.h. */
  9339. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9340. _ACEOF
  9341. if ac_fn_c_try_link "$LINENO"; then :
  9342. ac_cv_crosscflags__Wpacked_not_aligned=yes
  9343. else
  9344. ac_cv_crosscflags__Wpacked_not_aligned=no
  9345. fi
  9346. rm -f core conftest.err conftest.$ac_objext \
  9347. conftest$ac_exeext conftest.$ac_ext
  9348. CFLAGS=$ac_wine_try_cflags_saved
  9349. CC=$ac_wine_try_cflags_saved_cc
  9350. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9351. fi
  9352. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
  9353. $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
  9354. if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
  9355. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
  9356. fi
  9357. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
  9358. $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
  9359. if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
  9360. $as_echo_n "(cached) " >&6
  9361. else
  9362. ac_wine_try_cflags_saved=$CFLAGS
  9363. ac_wine_try_cflags_saved_cc=$CC
  9364. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9365. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
  9366. CC="$CROSSCC"
  9367. ac_exeext=".exe"
  9368. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9369. /* end confdefs.h. */
  9370. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9371. _ACEOF
  9372. if ac_fn_c_try_link "$LINENO"; then :
  9373. ac_cv_crosscflags__Wpragma_pack=yes
  9374. else
  9375. ac_cv_crosscflags__Wpragma_pack=no
  9376. fi
  9377. rm -f core conftest.err conftest.$ac_objext \
  9378. conftest$ac_exeext conftest.$ac_ext
  9379. CFLAGS=$ac_wine_try_cflags_saved
  9380. CC=$ac_wine_try_cflags_saved_cc
  9381. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9382. fi
  9383. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
  9384. $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
  9385. if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
  9386. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
  9387. fi
  9388. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
  9389. $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
  9390. if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
  9391. $as_echo_n "(cached) " >&6
  9392. else
  9393. ac_wine_try_cflags_saved=$CFLAGS
  9394. ac_wine_try_cflags_saved_cc=$CC
  9395. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9396. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
  9397. CC="$CROSSCC"
  9398. ac_exeext=".exe"
  9399. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9400. /* end confdefs.h. */
  9401. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9402. _ACEOF
  9403. if ac_fn_c_try_link "$LINENO"; then :
  9404. ac_cv_crosscflags__Wshift_overflow_2=yes
  9405. else
  9406. ac_cv_crosscflags__Wshift_overflow_2=no
  9407. fi
  9408. rm -f core conftest.err conftest.$ac_objext \
  9409. conftest$ac_exeext conftest.$ac_ext
  9410. CFLAGS=$ac_wine_try_cflags_saved
  9411. CC=$ac_wine_try_cflags_saved_cc
  9412. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9413. fi
  9414. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
  9415. $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
  9416. if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
  9417. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
  9418. fi
  9419. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
  9420. $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
  9421. if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
  9422. $as_echo_n "(cached) " >&6
  9423. else
  9424. ac_wine_try_cflags_saved=$CFLAGS
  9425. ac_wine_try_cflags_saved_cc=$CC
  9426. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9427. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
  9428. CC="$CROSSCC"
  9429. ac_exeext=".exe"
  9430. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9431. /* end confdefs.h. */
  9432. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9433. _ACEOF
  9434. if ac_fn_c_try_link "$LINENO"; then :
  9435. ac_cv_crosscflags__Wstrict_prototypes=yes
  9436. else
  9437. ac_cv_crosscflags__Wstrict_prototypes=no
  9438. fi
  9439. rm -f core conftest.err conftest.$ac_objext \
  9440. conftest$ac_exeext conftest.$ac_ext
  9441. CFLAGS=$ac_wine_try_cflags_saved
  9442. CC=$ac_wine_try_cflags_saved_cc
  9443. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9444. fi
  9445. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
  9446. $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
  9447. if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
  9448. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
  9449. fi
  9450. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
  9451. $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
  9452. if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
  9453. $as_echo_n "(cached) " >&6
  9454. else
  9455. ac_wine_try_cflags_saved=$CFLAGS
  9456. ac_wine_try_cflags_saved_cc=$CC
  9457. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9458. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
  9459. CC="$CROSSCC"
  9460. ac_exeext=".exe"
  9461. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9462. /* end confdefs.h. */
  9463. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9464. _ACEOF
  9465. if ac_fn_c_try_link "$LINENO"; then :
  9466. ac_cv_crosscflags__Wtype_limits=yes
  9467. else
  9468. ac_cv_crosscflags__Wtype_limits=no
  9469. fi
  9470. rm -f core conftest.err conftest.$ac_objext \
  9471. conftest$ac_exeext conftest.$ac_ext
  9472. CFLAGS=$ac_wine_try_cflags_saved
  9473. CC=$ac_wine_try_cflags_saved_cc
  9474. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9475. fi
  9476. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
  9477. $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
  9478. if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
  9479. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
  9480. fi
  9481. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
  9482. $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
  9483. if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
  9484. $as_echo_n "(cached) " >&6
  9485. else
  9486. ac_wine_try_cflags_saved=$CFLAGS
  9487. ac_wine_try_cflags_saved_cc=$CC
  9488. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9489. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
  9490. CC="$CROSSCC"
  9491. ac_exeext=".exe"
  9492. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9493. /* end confdefs.h. */
  9494. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9495. _ACEOF
  9496. if ac_fn_c_try_link "$LINENO"; then :
  9497. ac_cv_crosscflags__Wunused_but_set_parameter=yes
  9498. else
  9499. ac_cv_crosscflags__Wunused_but_set_parameter=no
  9500. fi
  9501. rm -f core conftest.err conftest.$ac_objext \
  9502. conftest$ac_exeext conftest.$ac_ext
  9503. CFLAGS=$ac_wine_try_cflags_saved
  9504. CC=$ac_wine_try_cflags_saved_cc
  9505. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9506. fi
  9507. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
  9508. $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
  9509. if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
  9510. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
  9511. fi
  9512. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
  9513. $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
  9514. if ${ac_cv_crosscflags__Wvla+:} false; then :
  9515. $as_echo_n "(cached) " >&6
  9516. else
  9517. ac_wine_try_cflags_saved=$CFLAGS
  9518. ac_wine_try_cflags_saved_cc=$CC
  9519. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9520. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
  9521. CC="$CROSSCC"
  9522. ac_exeext=".exe"
  9523. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9524. /* end confdefs.h. */
  9525. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9526. _ACEOF
  9527. if ac_fn_c_try_link "$LINENO"; then :
  9528. ac_cv_crosscflags__Wvla=yes
  9529. else
  9530. ac_cv_crosscflags__Wvla=no
  9531. fi
  9532. rm -f core conftest.err conftest.$ac_objext \
  9533. conftest$ac_exeext conftest.$ac_ext
  9534. CFLAGS=$ac_wine_try_cflags_saved
  9535. CC=$ac_wine_try_cflags_saved_cc
  9536. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9537. fi
  9538. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
  9539. $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
  9540. if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
  9541. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
  9542. fi
  9543. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
  9544. $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
  9545. if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
  9546. $as_echo_n "(cached) " >&6
  9547. else
  9548. ac_wine_try_cflags_saved=$CFLAGS
  9549. ac_wine_try_cflags_saved_cc=$CC
  9550. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9551. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
  9552. CC="$CROSSCC"
  9553. ac_exeext=".exe"
  9554. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9555. /* end confdefs.h. */
  9556. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9557. _ACEOF
  9558. if ac_fn_c_try_link "$LINENO"; then :
  9559. ac_cv_crosscflags__Wwrite_strings=yes
  9560. else
  9561. ac_cv_crosscflags__Wwrite_strings=no
  9562. fi
  9563. rm -f core conftest.err conftest.$ac_objext \
  9564. conftest$ac_exeext conftest.$ac_ext
  9565. CFLAGS=$ac_wine_try_cflags_saved
  9566. CC=$ac_wine_try_cflags_saved_cc
  9567. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9568. fi
  9569. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
  9570. $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
  9571. if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
  9572. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
  9573. fi
  9574. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
  9575. $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
  9576. if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
  9577. $as_echo_n "(cached) " >&6
  9578. else
  9579. ac_wine_try_cflags_saved=$CFLAGS
  9580. ac_wine_try_cflags_saved_cc=$CC
  9581. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9582. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
  9583. CC="$CROSSCC"
  9584. ac_exeext=".exe"
  9585. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9586. /* end confdefs.h. */
  9587. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9588. _ACEOF
  9589. if ac_fn_c_try_link "$LINENO"; then :
  9590. ac_cv_crosscflags__Wpointer_arith=yes
  9591. else
  9592. ac_cv_crosscflags__Wpointer_arith=no
  9593. fi
  9594. rm -f core conftest.err conftest.$ac_objext \
  9595. conftest$ac_exeext conftest.$ac_ext
  9596. CFLAGS=$ac_wine_try_cflags_saved
  9597. CC=$ac_wine_try_cflags_saved_cc
  9598. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9599. fi
  9600. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
  9601. $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
  9602. if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
  9603. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
  9604. fi
  9605. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
  9606. $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
  9607. if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
  9608. $as_echo_n "(cached) " >&6
  9609. else
  9610. ac_wine_try_cflags_saved=$CFLAGS
  9611. ac_wine_try_cflags_saved_cc=$CC
  9612. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9613. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
  9614. CC="$CROSSCC"
  9615. ac_exeext=".exe"
  9616. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9617. /* end confdefs.h. */
  9618. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9619. _ACEOF
  9620. if ac_fn_c_try_link "$LINENO"; then :
  9621. ac_cv_crosscflags__Wlogical_op=yes
  9622. else
  9623. ac_cv_crosscflags__Wlogical_op=no
  9624. fi
  9625. rm -f core conftest.err conftest.$ac_objext \
  9626. conftest$ac_exeext conftest.$ac_ext
  9627. CFLAGS=$ac_wine_try_cflags_saved
  9628. CC=$ac_wine_try_cflags_saved_cc
  9629. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9630. fi
  9631. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
  9632. $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
  9633. if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
  9634. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
  9635. fi
  9636. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
  9637. $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
  9638. if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
  9639. $as_echo_n "(cached) " >&6
  9640. else
  9641. ac_wine_try_cflags_saved=$CFLAGS
  9642. ac_wine_try_cflags_saved_cc=$CC
  9643. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9644. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wincompatible-library-redeclaration"
  9645. CC="$CROSSCC"
  9646. ac_exeext=".exe"
  9647. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9648. /* end confdefs.h. */
  9649. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9650. _ACEOF
  9651. if ac_fn_c_try_link "$LINENO"; then :
  9652. ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
  9653. else
  9654. ac_cv_crosscflags__Wincompatible_library_redeclaration=no
  9655. fi
  9656. rm -f core conftest.err conftest.$ac_objext \
  9657. conftest$ac_exeext conftest.$ac_ext
  9658. CFLAGS=$ac_wine_try_cflags_saved
  9659. CC=$ac_wine_try_cflags_saved_cc
  9660. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9661. fi
  9662. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
  9663. $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
  9664. if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
  9665. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
  9666. fi
  9667. case $host_cpu in
  9668. *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
  9669. $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
  9670. if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
  9671. $as_echo_n "(cached) " >&6
  9672. else
  9673. ac_wine_try_cflags_saved=$CFLAGS
  9674. ac_wine_try_cflags_saved_cc=$CC
  9675. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9676. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
  9677. CC="$CROSSCC"
  9678. ac_exeext=".exe"
  9679. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9680. /* end confdefs.h. */
  9681. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9682. _ACEOF
  9683. if ac_fn_c_try_link "$LINENO"; then :
  9684. ac_cv_crosscflags__fno_omit_frame_pointer=yes
  9685. else
  9686. ac_cv_crosscflags__fno_omit_frame_pointer=no
  9687. fi
  9688. rm -f core conftest.err conftest.$ac_objext \
  9689. conftest$ac_exeext conftest.$ac_ext
  9690. CFLAGS=$ac_wine_try_cflags_saved
  9691. CC=$ac_wine_try_cflags_saved_cc
  9692. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9693. fi
  9694. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
  9695. $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
  9696. if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
  9697. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
  9698. fi ;;
  9699. x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
  9700. $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
  9701. if ${ac_cv_crosscflags__Wno_format+:} false; then :
  9702. $as_echo_n "(cached) " >&6
  9703. else
  9704. ac_wine_try_cflags_saved=$CFLAGS
  9705. ac_wine_try_cflags_saved_cc=$CC
  9706. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9707. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
  9708. CC="$CROSSCC"
  9709. ac_exeext=".exe"
  9710. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9711. /* end confdefs.h. */
  9712. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9713. _ACEOF
  9714. if ac_fn_c_try_link "$LINENO"; then :
  9715. ac_cv_crosscflags__Wno_format=yes
  9716. else
  9717. ac_cv_crosscflags__Wno_format=no
  9718. fi
  9719. rm -f core conftest.err conftest.$ac_objext \
  9720. conftest$ac_exeext conftest.$ac_ext
  9721. CFLAGS=$ac_wine_try_cflags_saved
  9722. CC=$ac_wine_try_cflags_saved_cc
  9723. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9724. fi
  9725. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
  9726. $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
  9727. if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
  9728. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
  9729. fi
  9730. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
  9731. $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
  9732. if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
  9733. $as_echo_n "(cached) " >&6
  9734. else
  9735. ac_wine_try_cflags_saved=$CFLAGS
  9736. ac_wine_try_cflags_saved_cc=$CC
  9737. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9738. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
  9739. CC="$CROSSCC"
  9740. ac_exeext=".exe"
  9741. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9742. /* end confdefs.h. */
  9743. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9744. _ACEOF
  9745. if ac_fn_c_try_link "$LINENO"; then :
  9746. ac_cv_crosscflags__Wformat_overflow=yes
  9747. else
  9748. ac_cv_crosscflags__Wformat_overflow=no
  9749. fi
  9750. rm -f core conftest.err conftest.$ac_objext \
  9751. conftest$ac_exeext conftest.$ac_ext
  9752. CFLAGS=$ac_wine_try_cflags_saved
  9753. CC=$ac_wine_try_cflags_saved_cc
  9754. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9755. fi
  9756. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
  9757. $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
  9758. if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
  9759. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
  9760. fi
  9761. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
  9762. $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
  9763. if ${ac_cv_crosscflags__Wnonnull+:} false; then :
  9764. $as_echo_n "(cached) " >&6
  9765. else
  9766. ac_wine_try_cflags_saved=$CFLAGS
  9767. ac_wine_try_cflags_saved_cc=$CC
  9768. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9769. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
  9770. CC="$CROSSCC"
  9771. ac_exeext=".exe"
  9772. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9773. /* end confdefs.h. */
  9774. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9775. _ACEOF
  9776. if ac_fn_c_try_link "$LINENO"; then :
  9777. ac_cv_crosscflags__Wnonnull=yes
  9778. else
  9779. ac_cv_crosscflags__Wnonnull=no
  9780. fi
  9781. rm -f core conftest.err conftest.$ac_objext \
  9782. conftest$ac_exeext conftest.$ac_ext
  9783. CFLAGS=$ac_wine_try_cflags_saved
  9784. CC=$ac_wine_try_cflags_saved_cc
  9785. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9786. fi
  9787. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
  9788. $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
  9789. if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
  9790. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
  9791. fi ;;
  9792. esac
  9793. for ac_flag in $CROSSCFLAGS; do
  9794. case $ac_flag in
  9795. -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
  9796. $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
  9797. if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
  9798. $as_echo_n "(cached) " >&6
  9799. else
  9800. ac_wine_try_cflags_saved=$CFLAGS
  9801. ac_wine_try_cflags_saved_cc=$CC
  9802. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9803. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
  9804. CC="$CROSSCC"
  9805. ac_exeext=".exe"
  9806. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9807. /* end confdefs.h. */
  9808. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9809. _ACEOF
  9810. if ac_fn_c_try_link "$LINENO"; then :
  9811. ac_cv_crosscflags__gdwarf_2=yes
  9812. else
  9813. ac_cv_crosscflags__gdwarf_2=no
  9814. fi
  9815. rm -f core conftest.err conftest.$ac_objext \
  9816. conftest$ac_exeext conftest.$ac_ext
  9817. CFLAGS=$ac_wine_try_cflags_saved
  9818. CC=$ac_wine_try_cflags_saved_cc
  9819. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9820. fi
  9821. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
  9822. $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
  9823. if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
  9824. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
  9825. fi
  9826. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
  9827. $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
  9828. if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
  9829. $as_echo_n "(cached) " >&6
  9830. else
  9831. ac_wine_try_cflags_saved=$CFLAGS
  9832. ac_wine_try_cflags_saved_cc=$CC
  9833. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9834. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
  9835. CC="$CROSSCC"
  9836. ac_exeext=".exe"
  9837. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9838. /* end confdefs.h. */
  9839. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9840. _ACEOF
  9841. if ac_fn_c_try_link "$LINENO"; then :
  9842. ac_cv_crosscflags__gstrict_dwarf=yes
  9843. else
  9844. ac_cv_crosscflags__gstrict_dwarf=no
  9845. fi
  9846. rm -f core conftest.err conftest.$ac_objext \
  9847. conftest$ac_exeext conftest.$ac_ext
  9848. CFLAGS=$ac_wine_try_cflags_saved
  9849. CC=$ac_wine_try_cflags_saved_cc
  9850. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9851. fi
  9852. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
  9853. $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
  9854. if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
  9855. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
  9856. fi ;;
  9857. esac
  9858. done
  9859. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll" >&5
  9860. $as_echo_n "checking whether the cross-compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
  9861. if ${ac_cv_crosscflags__Wl__delayload_autoconftest_dll+:} false; then :
  9862. $as_echo_n "(cached) " >&6
  9863. else
  9864. ac_wine_try_cflags_saved=$CFLAGS
  9865. ac_wine_try_cflags_saved_cc=$CC
  9866. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9867. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,-delayload,autoconftest.dll"
  9868. CC="$CROSSCC"
  9869. ac_exeext=".exe"
  9870. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9871. /* end confdefs.h. */
  9872. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9873. _ACEOF
  9874. if ac_fn_c_try_link "$LINENO"; then :
  9875. ac_cv_crosscflags__Wl__delayload_autoconftest_dll=yes
  9876. else
  9877. ac_cv_crosscflags__Wl__delayload_autoconftest_dll=no
  9878. fi
  9879. rm -f core conftest.err conftest.$ac_objext \
  9880. conftest$ac_exeext conftest.$ac_ext
  9881. CFLAGS=$ac_wine_try_cflags_saved
  9882. CC=$ac_wine_try_cflags_saved_cc
  9883. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9884. fi
  9885. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&5
  9886. $as_echo "$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" >&6; }
  9887. if test "x$ac_cv_crosscflags__Wl__delayload_autoconftest_dll" = xyes; then :
  9888. DELAYLOADFLAG="-Wl,-delayload,"
  9889. fi
  9890. if test "x$enable_werror" = "xyes"
  9891. then
  9892. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
  9893. $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
  9894. if ${ac_cv_crosscflags__Werror+:} false; then :
  9895. $as_echo_n "(cached) " >&6
  9896. else
  9897. ac_wine_try_cflags_saved=$CFLAGS
  9898. ac_wine_try_cflags_saved_cc=$CC
  9899. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9900. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
  9901. CC="$CROSSCC"
  9902. ac_exeext=".exe"
  9903. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9904. /* end confdefs.h. */
  9905. void __stdcall __delayLoadHelper2(void *descr, void *addr) {} int __cdecl mainCRTStartup(void) { return 0; }
  9906. _ACEOF
  9907. if ac_fn_c_try_link "$LINENO"; then :
  9908. ac_cv_crosscflags__Werror=yes
  9909. else
  9910. ac_cv_crosscflags__Werror=no
  9911. fi
  9912. rm -f core conftest.err conftest.$ac_objext \
  9913. conftest$ac_exeext conftest.$ac_ext
  9914. CFLAGS=$ac_wine_try_cflags_saved
  9915. CC=$ac_wine_try_cflags_saved_cc
  9916. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9917. fi
  9918. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
  9919. $as_echo "$ac_cv_crosscflags__Werror" >&6; }
  9920. if test "x$ac_cv_crosscflags__Werror" = xyes; then :
  9921. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
  9922. fi
  9923. fi
  9924. CFLAGS=$saved_CFLAGS
  9925. CC="$ac_save_CC"
  9926. fi
  9927. fi
  9928. if test "x$CROSSTARGET" = "x"; then :
  9929. case "x$with_mingw" in
  9930. x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
  9931. xno) ;;
  9932. *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
  9933. This is an error since --with-mingw was requested." "$LINENO" 5 ;;
  9934. esac
  9935. fi
  9936. if test "$ac_cv_header_pthread_h" = "yes"
  9937. then
  9938. ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
  9939. if test "x$ac_cv_func_pthread_create" = xyes; then :
  9940. else
  9941. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
  9942. $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
  9943. if ${ac_cv_lib_pthread_pthread_create+:} false; then :
  9944. $as_echo_n "(cached) " >&6
  9945. else
  9946. ac_check_lib_save_LIBS=$LIBS
  9947. LIBS="-lpthread $LIBS"
  9948. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9949. /* end confdefs.h. */
  9950. /* Override any GCC internal prototype to avoid an error.
  9951. Use char because int might match the return type of a GCC
  9952. builtin and then its argument prototype would still apply. */
  9953. #ifdef __cplusplus
  9954. extern "C"
  9955. #endif
  9956. char pthread_create ();
  9957. int
  9958. main ()
  9959. {
  9960. return pthread_create ();
  9961. ;
  9962. return 0;
  9963. }
  9964. _ACEOF
  9965. if ac_fn_c_try_link "$LINENO"; then :
  9966. ac_cv_lib_pthread_pthread_create=yes
  9967. else
  9968. ac_cv_lib_pthread_pthread_create=no
  9969. fi
  9970. rm -f core conftest.err conftest.$ac_objext \
  9971. conftest$ac_exeext conftest.$ac_ext
  9972. LIBS=$ac_check_lib_save_LIBS
  9973. fi
  9974. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
  9975. $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
  9976. if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
  9977. PTHREAD_LIBS="-lpthread"
  9978. fi
  9979. fi
  9980. fi
  9981. if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
  9982. case "x$with_pthread" in
  9983. xno) ;;
  9984. *) as_fn_error $? "pthread ${notice_platform}development files not found.
  9985. Wine cannot support threads without libpthread.
  9986. Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
  9987. esac
  9988. fi
  9989. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
  9990. $as_echo_n "checking for X... " >&6; }
  9991. # Check whether --with-x was given.
  9992. if test "${with_x+set}" = set; then :
  9993. withval=$with_x;
  9994. fi
  9995. # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
  9996. if test "x$with_x" = xno; then
  9997. # The user explicitly disabled X.
  9998. have_x=disabled
  9999. else
  10000. case $x_includes,$x_libraries in #(
  10001. *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
  10002. *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
  10003. $as_echo_n "(cached) " >&6
  10004. else
  10005. # One or both of the vars are not set, and there is no cached value.
  10006. ac_x_includes=no ac_x_libraries=no
  10007. rm -f -r conftest.dir
  10008. if mkdir conftest.dir; then
  10009. cd conftest.dir
  10010. cat >Imakefile <<'_ACEOF'
  10011. incroot:
  10012. @echo incroot='${INCROOT}'
  10013. usrlibdir:
  10014. @echo usrlibdir='${USRLIBDIR}'
  10015. libdir:
  10016. @echo libdir='${LIBDIR}'
  10017. _ACEOF
  10018. if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
  10019. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  10020. for ac_var in incroot usrlibdir libdir; do
  10021. eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  10022. done
  10023. # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  10024. for ac_extension in a so sl dylib la dll; do
  10025. if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
  10026. test -f "$ac_im_libdir/libX11.$ac_extension"; then
  10027. ac_im_usrlibdir=$ac_im_libdir; break
  10028. fi
  10029. done
  10030. # Screen out bogus values from the imake configuration. They are
  10031. # bogus both because they are the default anyway, and because
  10032. # using them would break gcc on systems where it needs fixed includes.
  10033. case $ac_im_incroot in
  10034. /usr/include) ac_x_includes= ;;
  10035. *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  10036. esac
  10037. case $ac_im_usrlibdir in
  10038. /usr/lib | /usr/lib64 | /lib | /lib64) ;;
  10039. *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  10040. esac
  10041. fi
  10042. cd ..
  10043. rm -f -r conftest.dir
  10044. fi
  10045. # Standard set of common directories for X headers.
  10046. # Check X11 before X11Rn because it is often a symlink to the current release.
  10047. ac_x_header_dirs='
  10048. /usr/X11/include
  10049. /usr/X11R7/include
  10050. /usr/X11R6/include
  10051. /usr/X11R5/include
  10052. /usr/X11R4/include
  10053. /usr/include/X11
  10054. /usr/include/X11R7
  10055. /usr/include/X11R6
  10056. /usr/include/X11R5
  10057. /usr/include/X11R4
  10058. /usr/local/X11/include
  10059. /usr/local/X11R7/include
  10060. /usr/local/X11R6/include
  10061. /usr/local/X11R5/include
  10062. /usr/local/X11R4/include
  10063. /usr/local/include/X11
  10064. /usr/local/include/X11R7
  10065. /usr/local/include/X11R6
  10066. /usr/local/include/X11R5
  10067. /usr/local/include/X11R4
  10068. /usr/X386/include
  10069. /usr/x386/include
  10070. /usr/XFree86/include/X11
  10071. /usr/include
  10072. /usr/local/include
  10073. /usr/unsupported/include
  10074. /usr/athena/include
  10075. /usr/local/x11r5/include
  10076. /usr/lpp/Xamples/include
  10077. /usr/openwin/include
  10078. /usr/openwin/share/include'
  10079. if test "$ac_x_includes" = no; then
  10080. # Guess where to find include files, by looking for Xlib.h.
  10081. # First, try using that file with no special directory specified.
  10082. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10083. /* end confdefs.h. */
  10084. #include <X11/Xlib.h>
  10085. _ACEOF
  10086. if ac_fn_c_try_cpp "$LINENO"; then :
  10087. # We can compile using X headers with no special include directory.
  10088. ac_x_includes=
  10089. else
  10090. for ac_dir in $ac_x_header_dirs; do
  10091. if test -r "$ac_dir/X11/Xlib.h"; then
  10092. ac_x_includes=$ac_dir
  10093. break
  10094. fi
  10095. done
  10096. fi
  10097. rm -f conftest.err conftest.i conftest.$ac_ext
  10098. fi # $ac_x_includes = no
  10099. if test "$ac_x_libraries" = no; then
  10100. # Check for the libraries.
  10101. # See if we find them without any special options.
  10102. # Don't add to $LIBS permanently.
  10103. ac_save_LIBS=$LIBS
  10104. LIBS="-lX11 $LIBS"
  10105. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10106. /* end confdefs.h. */
  10107. #include <X11/Xlib.h>
  10108. int
  10109. main ()
  10110. {
  10111. XrmInitialize ()
  10112. ;
  10113. return 0;
  10114. }
  10115. _ACEOF
  10116. if ac_fn_c_try_link "$LINENO"; then :
  10117. LIBS=$ac_save_LIBS
  10118. # We can link X programs with no special library path.
  10119. ac_x_libraries=
  10120. else
  10121. LIBS=$ac_save_LIBS
  10122. for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  10123. do
  10124. # Don't even attempt the hair of trying to link an X program!
  10125. for ac_extension in a so sl dylib la dll; do
  10126. if test -r "$ac_dir/libX11.$ac_extension"; then
  10127. ac_x_libraries=$ac_dir
  10128. break 2
  10129. fi
  10130. done
  10131. done
  10132. fi
  10133. rm -f core conftest.err conftest.$ac_objext \
  10134. conftest$ac_exeext conftest.$ac_ext
  10135. fi # $ac_x_libraries = no
  10136. case $ac_x_includes,$ac_x_libraries in #(
  10137. no,* | *,no | *\'*)
  10138. # Didn't find X, or a directory has "'" in its name.
  10139. ac_cv_have_x="have_x=no";; #(
  10140. *)
  10141. # Record where we found X for the cache.
  10142. ac_cv_have_x="have_x=yes\
  10143. ac_x_includes='$ac_x_includes'\
  10144. ac_x_libraries='$ac_x_libraries'"
  10145. esac
  10146. fi
  10147. ;; #(
  10148. *) have_x=yes;;
  10149. esac
  10150. eval "$ac_cv_have_x"
  10151. fi # $with_x != no
  10152. if test "$have_x" != yes; then
  10153. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
  10154. $as_echo "$have_x" >&6; }
  10155. no_x=yes
  10156. else
  10157. # If each of the values was on the command line, it overrides each guess.
  10158. test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  10159. test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  10160. # Update the cache value to reflect the command line values.
  10161. ac_cv_have_x="have_x=yes\
  10162. ac_x_includes='$x_includes'\
  10163. ac_x_libraries='$x_libraries'"
  10164. { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
  10165. $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
  10166. fi
  10167. if test "$no_x" = yes; then
  10168. # Not all programs may use this symbol, but it does not hurt to define it.
  10169. $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
  10170. X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
  10171. else
  10172. if test -n "$x_includes"; then
  10173. X_CFLAGS="$X_CFLAGS -I$x_includes"
  10174. fi
  10175. # It would also be nice to do this for all -L options, not just this one.
  10176. if test -n "$x_libraries"; then
  10177. X_LIBS="$X_LIBS -L$x_libraries"
  10178. # For Solaris; some versions of Sun CC require a space after -R and
  10179. # others require no space. Words are not sufficient . . . .
  10180. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
  10181. $as_echo_n "checking whether -R must be followed by a space... " >&6; }
  10182. ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  10183. ac_xsave_c_werror_flag=$ac_c_werror_flag
  10184. ac_c_werror_flag=yes
  10185. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10186. /* end confdefs.h. */
  10187. int
  10188. main ()
  10189. {
  10190. ;
  10191. return 0;
  10192. }
  10193. _ACEOF
  10194. if ac_fn_c_try_link "$LINENO"; then :
  10195. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10196. $as_echo "no" >&6; }
  10197. X_LIBS="$X_LIBS -R$x_libraries"
  10198. else
  10199. LIBS="$ac_xsave_LIBS -R $x_libraries"
  10200. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10201. /* end confdefs.h. */
  10202. int
  10203. main ()
  10204. {
  10205. ;
  10206. return 0;
  10207. }
  10208. _ACEOF
  10209. if ac_fn_c_try_link "$LINENO"; then :
  10210. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10211. $as_echo "yes" >&6; }
  10212. X_LIBS="$X_LIBS -R $x_libraries"
  10213. else
  10214. { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
  10215. $as_echo "neither works" >&6; }
  10216. fi
  10217. rm -f core conftest.err conftest.$ac_objext \
  10218. conftest$ac_exeext conftest.$ac_ext
  10219. fi
  10220. rm -f core conftest.err conftest.$ac_objext \
  10221. conftest$ac_exeext conftest.$ac_ext
  10222. ac_c_werror_flag=$ac_xsave_c_werror_flag
  10223. LIBS=$ac_xsave_LIBS
  10224. fi
  10225. # Check for system-dependent libraries X programs must link with.
  10226. # Do this before checking for the system-independent R6 libraries
  10227. # (-lICE), since we may need -lsocket or whatever for X linking.
  10228. if test "$ISC" = yes; then
  10229. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
  10230. else
  10231. # Martyn Johnson says this is needed for Ultrix, if the X
  10232. # libraries were built with DECnet support. And Karl Berry says
  10233. # the Alpha needs dnet_stub (dnet does not exist).
  10234. ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
  10235. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10236. /* end confdefs.h. */
  10237. /* Override any GCC internal prototype to avoid an error.
  10238. Use char because int might match the return type of a GCC
  10239. builtin and then its argument prototype would still apply. */
  10240. #ifdef __cplusplus
  10241. extern "C"
  10242. #endif
  10243. char XOpenDisplay ();
  10244. int
  10245. main ()
  10246. {
  10247. return XOpenDisplay ();
  10248. ;
  10249. return 0;
  10250. }
  10251. _ACEOF
  10252. if ac_fn_c_try_link "$LINENO"; then :
  10253. else
  10254. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
  10255. $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
  10256. if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
  10257. $as_echo_n "(cached) " >&6
  10258. else
  10259. ac_check_lib_save_LIBS=$LIBS
  10260. LIBS="-ldnet $LIBS"
  10261. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10262. /* end confdefs.h. */
  10263. /* Override any GCC internal prototype to avoid an error.
  10264. Use char because int might match the return type of a GCC
  10265. builtin and then its argument prototype would still apply. */
  10266. #ifdef __cplusplus
  10267. extern "C"
  10268. #endif
  10269. char dnet_ntoa ();
  10270. int
  10271. main ()
  10272. {
  10273. return dnet_ntoa ();
  10274. ;
  10275. return 0;
  10276. }
  10277. _ACEOF
  10278. if ac_fn_c_try_link "$LINENO"; then :
  10279. ac_cv_lib_dnet_dnet_ntoa=yes
  10280. else
  10281. ac_cv_lib_dnet_dnet_ntoa=no
  10282. fi
  10283. rm -f core conftest.err conftest.$ac_objext \
  10284. conftest$ac_exeext conftest.$ac_ext
  10285. LIBS=$ac_check_lib_save_LIBS
  10286. fi
  10287. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  10288. $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
  10289. if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
  10290. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  10291. fi
  10292. if test $ac_cv_lib_dnet_dnet_ntoa = no; then
  10293. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
  10294. $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
  10295. if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
  10296. $as_echo_n "(cached) " >&6
  10297. else
  10298. ac_check_lib_save_LIBS=$LIBS
  10299. LIBS="-ldnet_stub $LIBS"
  10300. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10301. /* end confdefs.h. */
  10302. /* Override any GCC internal prototype to avoid an error.
  10303. Use char because int might match the return type of a GCC
  10304. builtin and then its argument prototype would still apply. */
  10305. #ifdef __cplusplus
  10306. extern "C"
  10307. #endif
  10308. char dnet_ntoa ();
  10309. int
  10310. main ()
  10311. {
  10312. return dnet_ntoa ();
  10313. ;
  10314. return 0;
  10315. }
  10316. _ACEOF
  10317. if ac_fn_c_try_link "$LINENO"; then :
  10318. ac_cv_lib_dnet_stub_dnet_ntoa=yes
  10319. else
  10320. ac_cv_lib_dnet_stub_dnet_ntoa=no
  10321. fi
  10322. rm -f core conftest.err conftest.$ac_objext \
  10323. conftest$ac_exeext conftest.$ac_ext
  10324. LIBS=$ac_check_lib_save_LIBS
  10325. fi
  10326. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
  10327. $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
  10328. if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
  10329. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  10330. fi
  10331. fi
  10332. fi
  10333. rm -f core conftest.err conftest.$ac_objext \
  10334. conftest$ac_exeext conftest.$ac_ext
  10335. LIBS="$ac_xsave_LIBS"
  10336. # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
  10337. # to get the SysV transport functions.
  10338. # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
  10339. # needs -lnsl.
  10340. # The nsl library prevents programs from opening the X display
  10341. # on Irix 5.2, according to T.E. Dickey.
  10342. # The functions gethostbyname, getservbyname, and inet_addr are
  10343. # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
  10344. ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
  10345. if test "x$ac_cv_func_gethostbyname" = xyes; then :
  10346. fi
  10347. if test $ac_cv_func_gethostbyname = no; then
  10348. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
  10349. $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
  10350. if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
  10351. $as_echo_n "(cached) " >&6
  10352. else
  10353. ac_check_lib_save_LIBS=$LIBS
  10354. LIBS="-lnsl $LIBS"
  10355. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10356. /* end confdefs.h. */
  10357. /* Override any GCC internal prototype to avoid an error.
  10358. Use char because int might match the return type of a GCC
  10359. builtin and then its argument prototype would still apply. */
  10360. #ifdef __cplusplus
  10361. extern "C"
  10362. #endif
  10363. char gethostbyname ();
  10364. int
  10365. main ()
  10366. {
  10367. return gethostbyname ();
  10368. ;
  10369. return 0;
  10370. }
  10371. _ACEOF
  10372. if ac_fn_c_try_link "$LINENO"; then :
  10373. ac_cv_lib_nsl_gethostbyname=yes
  10374. else
  10375. ac_cv_lib_nsl_gethostbyname=no
  10376. fi
  10377. rm -f core conftest.err conftest.$ac_objext \
  10378. conftest$ac_exeext conftest.$ac_ext
  10379. LIBS=$ac_check_lib_save_LIBS
  10380. fi
  10381. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
  10382. $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
  10383. if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
  10384. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  10385. fi
  10386. if test $ac_cv_lib_nsl_gethostbyname = no; then
  10387. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
  10388. $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
  10389. if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
  10390. $as_echo_n "(cached) " >&6
  10391. else
  10392. ac_check_lib_save_LIBS=$LIBS
  10393. LIBS="-lbsd $LIBS"
  10394. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10395. /* end confdefs.h. */
  10396. /* Override any GCC internal prototype to avoid an error.
  10397. Use char because int might match the return type of a GCC
  10398. builtin and then its argument prototype would still apply. */
  10399. #ifdef __cplusplus
  10400. extern "C"
  10401. #endif
  10402. char gethostbyname ();
  10403. int
  10404. main ()
  10405. {
  10406. return gethostbyname ();
  10407. ;
  10408. return 0;
  10409. }
  10410. _ACEOF
  10411. if ac_fn_c_try_link "$LINENO"; then :
  10412. ac_cv_lib_bsd_gethostbyname=yes
  10413. else
  10414. ac_cv_lib_bsd_gethostbyname=no
  10415. fi
  10416. rm -f core conftest.err conftest.$ac_objext \
  10417. conftest$ac_exeext conftest.$ac_ext
  10418. LIBS=$ac_check_lib_save_LIBS
  10419. fi
  10420. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
  10421. $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
  10422. if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
  10423. X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
  10424. fi
  10425. fi
  10426. fi
  10427. # lieder@skyler.mavd.honeywell.com says without -lsocket,
  10428. # socket/setsockopt and other routines are undefined under SCO ODT
  10429. # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
  10430. # on later versions), says Simon Leinen: it contains gethostby*
  10431. # variants that don't use the name server (or something). -lsocket
  10432. # must be given before -lnsl if both are needed. We assume that
  10433. # if connect needs -lnsl, so does gethostbyname.
  10434. ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
  10435. if test "x$ac_cv_func_connect" = xyes; then :
  10436. fi
  10437. if test $ac_cv_func_connect = no; then
  10438. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
  10439. $as_echo_n "checking for connect in -lsocket... " >&6; }
  10440. if ${ac_cv_lib_socket_connect+:} false; then :
  10441. $as_echo_n "(cached) " >&6
  10442. else
  10443. ac_check_lib_save_LIBS=$LIBS
  10444. LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
  10445. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10446. /* end confdefs.h. */
  10447. /* Override any GCC internal prototype to avoid an error.
  10448. Use char because int might match the return type of a GCC
  10449. builtin and then its argument prototype would still apply. */
  10450. #ifdef __cplusplus
  10451. extern "C"
  10452. #endif
  10453. char connect ();
  10454. int
  10455. main ()
  10456. {
  10457. return connect ();
  10458. ;
  10459. return 0;
  10460. }
  10461. _ACEOF
  10462. if ac_fn_c_try_link "$LINENO"; then :
  10463. ac_cv_lib_socket_connect=yes
  10464. else
  10465. ac_cv_lib_socket_connect=no
  10466. fi
  10467. rm -f core conftest.err conftest.$ac_objext \
  10468. conftest$ac_exeext conftest.$ac_ext
  10469. LIBS=$ac_check_lib_save_LIBS
  10470. fi
  10471. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
  10472. $as_echo "$ac_cv_lib_socket_connect" >&6; }
  10473. if test "x$ac_cv_lib_socket_connect" = xyes; then :
  10474. X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
  10475. fi
  10476. fi
  10477. # Guillermo Gomez says -lposix is necessary on A/UX.
  10478. ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
  10479. if test "x$ac_cv_func_remove" = xyes; then :
  10480. fi
  10481. if test $ac_cv_func_remove = no; then
  10482. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
  10483. $as_echo_n "checking for remove in -lposix... " >&6; }
  10484. if ${ac_cv_lib_posix_remove+:} false; then :
  10485. $as_echo_n "(cached) " >&6
  10486. else
  10487. ac_check_lib_save_LIBS=$LIBS
  10488. LIBS="-lposix $LIBS"
  10489. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10490. /* end confdefs.h. */
  10491. /* Override any GCC internal prototype to avoid an error.
  10492. Use char because int might match the return type of a GCC
  10493. builtin and then its argument prototype would still apply. */
  10494. #ifdef __cplusplus
  10495. extern "C"
  10496. #endif
  10497. char remove ();
  10498. int
  10499. main ()
  10500. {
  10501. return remove ();
  10502. ;
  10503. return 0;
  10504. }
  10505. _ACEOF
  10506. if ac_fn_c_try_link "$LINENO"; then :
  10507. ac_cv_lib_posix_remove=yes
  10508. else
  10509. ac_cv_lib_posix_remove=no
  10510. fi
  10511. rm -f core conftest.err conftest.$ac_objext \
  10512. conftest$ac_exeext conftest.$ac_ext
  10513. LIBS=$ac_check_lib_save_LIBS
  10514. fi
  10515. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
  10516. $as_echo "$ac_cv_lib_posix_remove" >&6; }
  10517. if test "x$ac_cv_lib_posix_remove" = xyes; then :
  10518. X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
  10519. fi
  10520. fi
  10521. # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
  10522. ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
  10523. if test "x$ac_cv_func_shmat" = xyes; then :
  10524. fi
  10525. if test $ac_cv_func_shmat = no; then
  10526. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
  10527. $as_echo_n "checking for shmat in -lipc... " >&6; }
  10528. if ${ac_cv_lib_ipc_shmat+:} false; then :
  10529. $as_echo_n "(cached) " >&6
  10530. else
  10531. ac_check_lib_save_LIBS=$LIBS
  10532. LIBS="-lipc $LIBS"
  10533. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10534. /* end confdefs.h. */
  10535. /* Override any GCC internal prototype to avoid an error.
  10536. Use char because int might match the return type of a GCC
  10537. builtin and then its argument prototype would still apply. */
  10538. #ifdef __cplusplus
  10539. extern "C"
  10540. #endif
  10541. char shmat ();
  10542. int
  10543. main ()
  10544. {
  10545. return shmat ();
  10546. ;
  10547. return 0;
  10548. }
  10549. _ACEOF
  10550. if ac_fn_c_try_link "$LINENO"; then :
  10551. ac_cv_lib_ipc_shmat=yes
  10552. else
  10553. ac_cv_lib_ipc_shmat=no
  10554. fi
  10555. rm -f core conftest.err conftest.$ac_objext \
  10556. conftest$ac_exeext conftest.$ac_ext
  10557. LIBS=$ac_check_lib_save_LIBS
  10558. fi
  10559. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
  10560. $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
  10561. if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
  10562. X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
  10563. fi
  10564. fi
  10565. fi
  10566. # Check for libraries that X11R6 Xt/Xaw programs need.
  10567. ac_save_LDFLAGS=$LDFLAGS
  10568. test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
  10569. # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
  10570. # check for ICE first), but we must link in the order -lSM -lICE or
  10571. # we get undefined symbols. So assume we have SM if we have ICE.
  10572. # These have to be linked with before -lX11, unlike the other
  10573. # libraries we check for below, so use a different variable.
  10574. # John Interrante, Karl Berry
  10575. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
  10576. $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
  10577. if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
  10578. $as_echo_n "(cached) " >&6
  10579. else
  10580. ac_check_lib_save_LIBS=$LIBS
  10581. LIBS="-lICE $X_EXTRA_LIBS $LIBS"
  10582. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10583. /* end confdefs.h. */
  10584. /* Override any GCC internal prototype to avoid an error.
  10585. Use char because int might match the return type of a GCC
  10586. builtin and then its argument prototype would still apply. */
  10587. #ifdef __cplusplus
  10588. extern "C"
  10589. #endif
  10590. char IceConnectionNumber ();
  10591. int
  10592. main ()
  10593. {
  10594. return IceConnectionNumber ();
  10595. ;
  10596. return 0;
  10597. }
  10598. _ACEOF
  10599. if ac_fn_c_try_link "$LINENO"; then :
  10600. ac_cv_lib_ICE_IceConnectionNumber=yes
  10601. else
  10602. ac_cv_lib_ICE_IceConnectionNumber=no
  10603. fi
  10604. rm -f core conftest.err conftest.$ac_objext \
  10605. conftest$ac_exeext conftest.$ac_ext
  10606. LIBS=$ac_check_lib_save_LIBS
  10607. fi
  10608. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  10609. $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
  10610. if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
  10611. X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  10612. fi
  10613. LDFLAGS=$ac_save_LDFLAGS
  10614. fi
  10615. if test "$have_x" = "yes"
  10616. then
  10617. ac_save_CPPFLAGS="$CPPFLAGS"
  10618. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  10619. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
  10620. $as_echo_n "checking for -lX11... " >&6; }
  10621. if ${ac_cv_lib_soname_X11+:} false; then :
  10622. $as_echo_n "(cached) " >&6
  10623. else
  10624. ac_check_soname_save_LIBS=$LIBS
  10625. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  10626. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10627. /* end confdefs.h. */
  10628. /* Override any GCC internal prototype to avoid an error.
  10629. Use char because int might match the return type of a GCC
  10630. builtin and then its argument prototype would still apply. */
  10631. #ifdef __cplusplus
  10632. extern "C"
  10633. #endif
  10634. char XCreateWindow ();
  10635. int
  10636. main ()
  10637. {
  10638. return XCreateWindow ();
  10639. ;
  10640. return 0;
  10641. }
  10642. _ACEOF
  10643. if ac_fn_c_try_link "$LINENO"; then :
  10644. case "$LIBEXT" in
  10645. dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10646. dylib) ac_cv_lib_soname_X11=`$OTOOL -L conftest$ac_exeext | grep "libX11\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libX11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  10647. *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10648. if ${ac_cv_lib_soname_X11:+false} :; then :
  10649. ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10650. fi ;;
  10651. esac
  10652. else
  10653. ac_cv_lib_soname_X11=
  10654. fi
  10655. rm -f core conftest.err conftest.$ac_objext \
  10656. conftest$ac_exeext conftest.$ac_ext
  10657. LIBS=$ac_check_soname_save_LIBS
  10658. fi
  10659. if ${ac_cv_lib_soname_X11:+false} :; then :
  10660. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10661. $as_echo "not found" >&6; }
  10662. else
  10663. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
  10664. $as_echo "$ac_cv_lib_soname_X11" >&6; }
  10665. cat >>confdefs.h <<_ACEOF
  10666. #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
  10667. _ACEOF
  10668. fi
  10669. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
  10670. $as_echo_n "checking for -lXext... " >&6; }
  10671. if ${ac_cv_lib_soname_Xext+:} false; then :
  10672. $as_echo_n "(cached) " >&6
  10673. else
  10674. ac_check_soname_save_LIBS=$LIBS
  10675. LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
  10676. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10677. /* end confdefs.h. */
  10678. /* Override any GCC internal prototype to avoid an error.
  10679. Use char because int might match the return type of a GCC
  10680. builtin and then its argument prototype would still apply. */
  10681. #ifdef __cplusplus
  10682. extern "C"
  10683. #endif
  10684. char XextCreateExtension ();
  10685. int
  10686. main ()
  10687. {
  10688. return XextCreateExtension ();
  10689. ;
  10690. return 0;
  10691. }
  10692. _ACEOF
  10693. if ac_fn_c_try_link "$LINENO"; then :
  10694. case "$LIBEXT" in
  10695. dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10696. dylib) ac_cv_lib_soname_Xext=`$OTOOL -L conftest$ac_exeext | grep "libXext\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXext\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  10697. *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10698. if ${ac_cv_lib_soname_Xext:+false} :; then :
  10699. ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10700. fi ;;
  10701. esac
  10702. else
  10703. ac_cv_lib_soname_Xext=
  10704. fi
  10705. rm -f core conftest.err conftest.$ac_objext \
  10706. conftest$ac_exeext conftest.$ac_ext
  10707. LIBS=$ac_check_soname_save_LIBS
  10708. fi
  10709. if ${ac_cv_lib_soname_Xext:+false} :; then :
  10710. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10711. $as_echo "not found" >&6; }
  10712. else
  10713. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
  10714. $as_echo "$ac_cv_lib_soname_Xext" >&6; }
  10715. cat >>confdefs.h <<_ACEOF
  10716. #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
  10717. _ACEOF
  10718. X_LIBS="$X_LIBS -lXext"
  10719. fi
  10720. X_LIBS="$X_LIBS -lX11"
  10721. for ac_header in X11/Xlib.h \
  10722. X11/XKBlib.h \
  10723. X11/Xutil.h \
  10724. X11/Xcursor/Xcursor.h \
  10725. X11/extensions/shape.h \
  10726. X11/extensions/XInput.h \
  10727. X11/extensions/XInput2.h \
  10728. X11/extensions/XShm.h \
  10729. X11/extensions/Xcomposite.h \
  10730. X11/extensions/Xfixes.h \
  10731. X11/extensions/Xinerama.h \
  10732. X11/extensions/Xrandr.h \
  10733. X11/extensions/Xrender.h \
  10734. X11/extensions/xf86vmode.h \
  10735. X11/extensions/xf86vmproto.h
  10736. do :
  10737. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  10738. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
  10739. # include <X11/Xlib.h>
  10740. #endif
  10741. #ifdef HAVE_X11_XUTIL_H
  10742. # include <X11/Xutil.h>
  10743. #endif
  10744. "
  10745. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  10746. cat >>confdefs.h <<_ACEOF
  10747. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  10748. _ACEOF
  10749. fi
  10750. done
  10751. if test "$ac_cv_header_X11_XKBlib_h" = "yes"
  10752. then
  10753. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
  10754. $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
  10755. if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
  10756. $as_echo_n "(cached) " >&6
  10757. else
  10758. ac_check_lib_save_LIBS=$LIBS
  10759. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  10760. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10761. /* end confdefs.h. */
  10762. /* Override any GCC internal prototype to avoid an error.
  10763. Use char because int might match the return type of a GCC
  10764. builtin and then its argument prototype would still apply. */
  10765. #ifdef __cplusplus
  10766. extern "C"
  10767. #endif
  10768. char XkbQueryExtension ();
  10769. int
  10770. main ()
  10771. {
  10772. return XkbQueryExtension ();
  10773. ;
  10774. return 0;
  10775. }
  10776. _ACEOF
  10777. if ac_fn_c_try_link "$LINENO"; then :
  10778. ac_cv_lib_X11_XkbQueryExtension=yes
  10779. else
  10780. ac_cv_lib_X11_XkbQueryExtension=no
  10781. fi
  10782. rm -f core conftest.err conftest.$ac_objext \
  10783. conftest$ac_exeext conftest.$ac_ext
  10784. LIBS=$ac_check_lib_save_LIBS
  10785. fi
  10786. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
  10787. $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
  10788. if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
  10789. $as_echo "#define HAVE_XKB 1" >>confdefs.h
  10790. fi
  10791. fi
  10792. if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
  10793. then
  10794. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
  10795. $as_echo_n "checking for -lXcursor... " >&6; }
  10796. if ${ac_cv_lib_soname_Xcursor+:} false; then :
  10797. $as_echo_n "(cached) " >&6
  10798. else
  10799. ac_check_soname_save_LIBS=$LIBS
  10800. LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
  10801. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10802. /* end confdefs.h. */
  10803. /* Override any GCC internal prototype to avoid an error.
  10804. Use char because int might match the return type of a GCC
  10805. builtin and then its argument prototype would still apply. */
  10806. #ifdef __cplusplus
  10807. extern "C"
  10808. #endif
  10809. char XcursorImageLoadCursor ();
  10810. int
  10811. main ()
  10812. {
  10813. return XcursorImageLoadCursor ();
  10814. ;
  10815. return 0;
  10816. }
  10817. _ACEOF
  10818. if ac_fn_c_try_link "$LINENO"; then :
  10819. case "$LIBEXT" in
  10820. dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10821. dylib) ac_cv_lib_soname_Xcursor=`$OTOOL -L conftest$ac_exeext | grep "libXcursor\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcursor\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  10822. *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10823. if ${ac_cv_lib_soname_Xcursor:+false} :; then :
  10824. ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10825. fi ;;
  10826. esac
  10827. else
  10828. ac_cv_lib_soname_Xcursor=
  10829. fi
  10830. rm -f core conftest.err conftest.$ac_objext \
  10831. conftest$ac_exeext conftest.$ac_ext
  10832. LIBS=$ac_check_soname_save_LIBS
  10833. fi
  10834. if ${ac_cv_lib_soname_Xcursor:+false} :; then :
  10835. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10836. $as_echo "not found" >&6; }
  10837. else
  10838. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
  10839. $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
  10840. cat >>confdefs.h <<_ACEOF
  10841. #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
  10842. _ACEOF
  10843. fi
  10844. fi
  10845. if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
  10846. case "x$with_xcursor" in
  10847. x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
  10848. xno) ;;
  10849. *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
  10850. This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
  10851. esac
  10852. fi
  10853. if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
  10854. then
  10855. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
  10856. $as_echo_n "checking for -lXi... " >&6; }
  10857. if ${ac_cv_lib_soname_Xi+:} false; then :
  10858. $as_echo_n "(cached) " >&6
  10859. else
  10860. ac_check_soname_save_LIBS=$LIBS
  10861. LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
  10862. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10863. /* end confdefs.h. */
  10864. /* Override any GCC internal prototype to avoid an error.
  10865. Use char because int might match the return type of a GCC
  10866. builtin and then its argument prototype would still apply. */
  10867. #ifdef __cplusplus
  10868. extern "C"
  10869. #endif
  10870. char XOpenDevice ();
  10871. int
  10872. main ()
  10873. {
  10874. return XOpenDevice ();
  10875. ;
  10876. return 0;
  10877. }
  10878. _ACEOF
  10879. if ac_fn_c_try_link "$LINENO"; then :
  10880. case "$LIBEXT" in
  10881. dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10882. dylib) ac_cv_lib_soname_Xi=`$OTOOL -L conftest$ac_exeext | grep "libXi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  10883. *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10884. if ${ac_cv_lib_soname_Xi:+false} :; then :
  10885. ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10886. fi ;;
  10887. esac
  10888. else
  10889. ac_cv_lib_soname_Xi=
  10890. fi
  10891. rm -f core conftest.err conftest.$ac_objext \
  10892. conftest$ac_exeext conftest.$ac_ext
  10893. LIBS=$ac_check_soname_save_LIBS
  10894. fi
  10895. if ${ac_cv_lib_soname_Xi:+false} :; then :
  10896. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10897. $as_echo "not found" >&6; }
  10898. else
  10899. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
  10900. $as_echo "$ac_cv_lib_soname_Xi" >&6; }
  10901. cat >>confdefs.h <<_ACEOF
  10902. #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
  10903. _ACEOF
  10904. fi
  10905. fi
  10906. if test "x$ac_cv_lib_soname_Xi" = "x"; then :
  10907. case "x$with_xinput" in
  10908. x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
  10909. xno) ;;
  10910. *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
  10911. This is an error since --with-xinput was requested." "$LINENO" 5 ;;
  10912. esac
  10913. fi
  10914. if test "x$ac_cv_lib_soname_Xi" != x
  10915. then
  10916. if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
  10917. case "x$with_xinput2" in
  10918. x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
  10919. xno) ;;
  10920. *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
  10921. This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
  10922. esac
  10923. fi
  10924. fi
  10925. if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
  10926. then
  10927. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
  10928. $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
  10929. if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
  10930. $as_echo_n "(cached) " >&6
  10931. else
  10932. ac_check_lib_save_LIBS=$LIBS
  10933. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  10934. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10935. /* end confdefs.h. */
  10936. /* Override any GCC internal prototype to avoid an error.
  10937. Use char because int might match the return type of a GCC
  10938. builtin and then its argument prototype would still apply. */
  10939. #ifdef __cplusplus
  10940. extern "C"
  10941. #endif
  10942. char XShmQueryExtension ();
  10943. int
  10944. main ()
  10945. {
  10946. return XShmQueryExtension ();
  10947. ;
  10948. return 0;
  10949. }
  10950. _ACEOF
  10951. if ac_fn_c_try_link "$LINENO"; then :
  10952. ac_cv_lib_Xext_XShmQueryExtension=yes
  10953. else
  10954. ac_cv_lib_Xext_XShmQueryExtension=no
  10955. fi
  10956. rm -f core conftest.err conftest.$ac_objext \
  10957. conftest$ac_exeext conftest.$ac_ext
  10958. LIBS=$ac_check_lib_save_LIBS
  10959. fi
  10960. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
  10961. $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
  10962. if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
  10963. $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
  10964. fi
  10965. fi
  10966. if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
  10967. case "x$with_xshm" in
  10968. x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
  10969. xno) ;;
  10970. *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
  10971. This is an error since --with-xshm was requested." "$LINENO" 5 ;;
  10972. esac
  10973. fi
  10974. if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
  10975. then
  10976. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
  10977. $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
  10978. if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
  10979. $as_echo_n "(cached) " >&6
  10980. else
  10981. ac_check_lib_save_LIBS=$LIBS
  10982. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  10983. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10984. /* end confdefs.h. */
  10985. /* Override any GCC internal prototype to avoid an error.
  10986. Use char because int might match the return type of a GCC
  10987. builtin and then its argument prototype would still apply. */
  10988. #ifdef __cplusplus
  10989. extern "C"
  10990. #endif
  10991. char XShapeQueryExtension ();
  10992. int
  10993. main ()
  10994. {
  10995. return XShapeQueryExtension ();
  10996. ;
  10997. return 0;
  10998. }
  10999. _ACEOF
  11000. if ac_fn_c_try_link "$LINENO"; then :
  11001. ac_cv_lib_Xext_XShapeQueryExtension=yes
  11002. else
  11003. ac_cv_lib_Xext_XShapeQueryExtension=no
  11004. fi
  11005. rm -f core conftest.err conftest.$ac_objext \
  11006. conftest$ac_exeext conftest.$ac_ext
  11007. LIBS=$ac_check_lib_save_LIBS
  11008. fi
  11009. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  11010. $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
  11011. if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
  11012. $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
  11013. fi
  11014. fi
  11015. if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
  11016. case "x$with_xshape" in
  11017. x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
  11018. xno) ;;
  11019. *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
  11020. This is an error since --with-xshape was requested." "$LINENO" 5 ;;
  11021. esac
  11022. fi
  11023. if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
  11024. then
  11025. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
  11026. $as_echo_n "checking for -lXxf86vm... " >&6; }
  11027. if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
  11028. $as_echo_n "(cached) " >&6
  11029. else
  11030. ac_check_soname_save_LIBS=$LIBS
  11031. LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
  11032. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11033. /* end confdefs.h. */
  11034. /* Override any GCC internal prototype to avoid an error.
  11035. Use char because int might match the return type of a GCC
  11036. builtin and then its argument prototype would still apply. */
  11037. #ifdef __cplusplus
  11038. extern "C"
  11039. #endif
  11040. char XF86VidModeQueryExtension ();
  11041. int
  11042. main ()
  11043. {
  11044. return XF86VidModeQueryExtension ();
  11045. ;
  11046. return 0;
  11047. }
  11048. _ACEOF
  11049. if ac_fn_c_try_link "$LINENO"; then :
  11050. case "$LIBEXT" in
  11051. dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11052. dylib) ac_cv_lib_soname_Xxf86vm=`$OTOOL -L conftest$ac_exeext | grep "libXxf86vm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXxf86vm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11053. *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11054. if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
  11055. ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11056. fi ;;
  11057. esac
  11058. else
  11059. ac_cv_lib_soname_Xxf86vm=
  11060. fi
  11061. rm -f core conftest.err conftest.$ac_objext \
  11062. conftest$ac_exeext conftest.$ac_ext
  11063. LIBS=$ac_check_soname_save_LIBS
  11064. fi
  11065. if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
  11066. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11067. $as_echo "not found" >&6; }
  11068. else
  11069. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
  11070. $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
  11071. cat >>confdefs.h <<_ACEOF
  11072. #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
  11073. _ACEOF
  11074. fi
  11075. fi
  11076. if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
  11077. case "x$with_xxf86vm" in
  11078. x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
  11079. xno) ;;
  11080. *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
  11081. This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
  11082. esac
  11083. fi
  11084. if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
  11085. then
  11086. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
  11087. $as_echo_n "checking for -lXrender... " >&6; }
  11088. if ${ac_cv_lib_soname_Xrender+:} false; then :
  11089. $as_echo_n "(cached) " >&6
  11090. else
  11091. ac_check_soname_save_LIBS=$LIBS
  11092. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  11093. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11094. /* end confdefs.h. */
  11095. /* Override any GCC internal prototype to avoid an error.
  11096. Use char because int might match the return type of a GCC
  11097. builtin and then its argument prototype would still apply. */
  11098. #ifdef __cplusplus
  11099. extern "C"
  11100. #endif
  11101. char XRenderQueryExtension ();
  11102. int
  11103. main ()
  11104. {
  11105. return XRenderQueryExtension ();
  11106. ;
  11107. return 0;
  11108. }
  11109. _ACEOF
  11110. if ac_fn_c_try_link "$LINENO"; then :
  11111. case "$LIBEXT" in
  11112. dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11113. dylib) ac_cv_lib_soname_Xrender=`$OTOOL -L conftest$ac_exeext | grep "libXrender\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrender\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11114. *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11115. if ${ac_cv_lib_soname_Xrender:+false} :; then :
  11116. ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11117. fi ;;
  11118. esac
  11119. else
  11120. ac_cv_lib_soname_Xrender=
  11121. fi
  11122. rm -f core conftest.err conftest.$ac_objext \
  11123. conftest$ac_exeext conftest.$ac_ext
  11124. LIBS=$ac_check_soname_save_LIBS
  11125. fi
  11126. if ${ac_cv_lib_soname_Xrender:+false} :; then :
  11127. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11128. $as_echo "not found" >&6; }
  11129. else
  11130. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
  11131. $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
  11132. cat >>confdefs.h <<_ACEOF
  11133. #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
  11134. _ACEOF
  11135. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
  11136. $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
  11137. if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
  11138. $as_echo_n "(cached) " >&6
  11139. else
  11140. ac_check_lib_save_LIBS=$LIBS
  11141. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  11142. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11143. /* end confdefs.h. */
  11144. /* Override any GCC internal prototype to avoid an error.
  11145. Use char because int might match the return type of a GCC
  11146. builtin and then its argument prototype would still apply. */
  11147. #ifdef __cplusplus
  11148. extern "C"
  11149. #endif
  11150. char XRenderSetPictureTransform ();
  11151. int
  11152. main ()
  11153. {
  11154. return XRenderSetPictureTransform ();
  11155. ;
  11156. return 0;
  11157. }
  11158. _ACEOF
  11159. if ac_fn_c_try_link "$LINENO"; then :
  11160. ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
  11161. else
  11162. ac_cv_lib_Xrender_XRenderSetPictureTransform=no
  11163. fi
  11164. rm -f core conftest.err conftest.$ac_objext \
  11165. conftest$ac_exeext conftest.$ac_ext
  11166. LIBS=$ac_check_lib_save_LIBS
  11167. fi
  11168. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
  11169. $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
  11170. if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
  11171. $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
  11172. fi
  11173. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
  11174. $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
  11175. if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
  11176. $as_echo_n "(cached) " >&6
  11177. else
  11178. ac_check_lib_save_LIBS=$LIBS
  11179. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  11180. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11181. /* end confdefs.h. */
  11182. /* Override any GCC internal prototype to avoid an error.
  11183. Use char because int might match the return type of a GCC
  11184. builtin and then its argument prototype would still apply. */
  11185. #ifdef __cplusplus
  11186. extern "C"
  11187. #endif
  11188. char XRenderCreateLinearGradient ();
  11189. int
  11190. main ()
  11191. {
  11192. return XRenderCreateLinearGradient ();
  11193. ;
  11194. return 0;
  11195. }
  11196. _ACEOF
  11197. if ac_fn_c_try_link "$LINENO"; then :
  11198. ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
  11199. else
  11200. ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
  11201. fi
  11202. rm -f core conftest.err conftest.$ac_objext \
  11203. conftest$ac_exeext conftest.$ac_ext
  11204. LIBS=$ac_check_lib_save_LIBS
  11205. fi
  11206. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
  11207. $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
  11208. if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
  11209. $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
  11210. fi
  11211. fi
  11212. fi
  11213. if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
  11214. case "x$with_xrender" in
  11215. x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
  11216. xno) ;;
  11217. *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
  11218. This is an error since --with-xrender was requested." "$LINENO" 5 ;;
  11219. esac
  11220. fi
  11221. if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
  11222. then
  11223. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11224. /* end confdefs.h. */
  11225. #include <X11/Xlib.h>
  11226. #include <X11/extensions/Xrandr.h>
  11227. int
  11228. main ()
  11229. {
  11230. static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
  11231. ;
  11232. return 0;
  11233. }
  11234. _ACEOF
  11235. if ac_fn_c_try_compile "$LINENO"; then :
  11236. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
  11237. $as_echo_n "checking for -lXrandr... " >&6; }
  11238. if ${ac_cv_lib_soname_Xrandr+:} false; then :
  11239. $as_echo_n "(cached) " >&6
  11240. else
  11241. ac_check_soname_save_LIBS=$LIBS
  11242. LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
  11243. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11244. /* end confdefs.h. */
  11245. /* Override any GCC internal prototype to avoid an error.
  11246. Use char because int might match the return type of a GCC
  11247. builtin and then its argument prototype would still apply. */
  11248. #ifdef __cplusplus
  11249. extern "C"
  11250. #endif
  11251. char XRRQueryExtension ();
  11252. int
  11253. main ()
  11254. {
  11255. return XRRQueryExtension ();
  11256. ;
  11257. return 0;
  11258. }
  11259. _ACEOF
  11260. if ac_fn_c_try_link "$LINENO"; then :
  11261. case "$LIBEXT" in
  11262. dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11263. dylib) ac_cv_lib_soname_Xrandr=`$OTOOL -L conftest$ac_exeext | grep "libXrandr\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXrandr\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11264. *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11265. if ${ac_cv_lib_soname_Xrandr:+false} :; then :
  11266. ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11267. fi ;;
  11268. esac
  11269. else
  11270. ac_cv_lib_soname_Xrandr=
  11271. fi
  11272. rm -f core conftest.err conftest.$ac_objext \
  11273. conftest$ac_exeext conftest.$ac_ext
  11274. LIBS=$ac_check_soname_save_LIBS
  11275. fi
  11276. if ${ac_cv_lib_soname_Xrandr:+false} :; then :
  11277. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11278. $as_echo "not found" >&6; }
  11279. else
  11280. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
  11281. $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
  11282. cat >>confdefs.h <<_ACEOF
  11283. #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
  11284. _ACEOF
  11285. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11286. /* end confdefs.h. */
  11287. #include <X11/Xlib.h>
  11288. #include <X11/extensions/Xrandr.h>
  11289. int
  11290. main ()
  11291. {
  11292. static typeof(XRRGetScreenResources) *f; if (f) return 0;
  11293. ;
  11294. return 0;
  11295. }
  11296. _ACEOF
  11297. if ac_fn_c_try_compile "$LINENO"; then :
  11298. $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
  11299. fi
  11300. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11301. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11302. /* end confdefs.h. */
  11303. #include <X11/Xlib.h>
  11304. #include <X11/extensions/Xrandr.h>
  11305. int
  11306. main ()
  11307. {
  11308. static typeof(XRRGetProviderResources) *f; if (f) return 0;
  11309. ;
  11310. return 0;
  11311. }
  11312. _ACEOF
  11313. if ac_fn_c_try_compile "$LINENO"; then :
  11314. $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
  11315. else
  11316. as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
  11317. fi
  11318. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11319. fi
  11320. fi
  11321. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11322. fi
  11323. if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
  11324. case "x$with_xrandr" in
  11325. x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
  11326. xno) ;;
  11327. *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
  11328. This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
  11329. esac
  11330. fi
  11331. if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
  11332. then
  11333. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11334. /* end confdefs.h. */
  11335. #include <X11/Xlib.h>
  11336. #include <X11/extensions/Xfixes.h>
  11337. int
  11338. main ()
  11339. {
  11340. static typeof(XFixesQueryVersion) * func; if (func) return 0;
  11341. ;
  11342. return 0;
  11343. }
  11344. _ACEOF
  11345. if ac_fn_c_try_compile "$LINENO"; then :
  11346. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
  11347. $as_echo_n "checking for -lXfixes... " >&6; }
  11348. if ${ac_cv_lib_soname_Xfixes+:} false; then :
  11349. $as_echo_n "(cached) " >&6
  11350. else
  11351. ac_check_soname_save_LIBS=$LIBS
  11352. LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
  11353. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11354. /* end confdefs.h. */
  11355. /* Override any GCC internal prototype to avoid an error.
  11356. Use char because int might match the return type of a GCC
  11357. builtin and then its argument prototype would still apply. */
  11358. #ifdef __cplusplus
  11359. extern "C"
  11360. #endif
  11361. char XFixesQueryVersion ();
  11362. int
  11363. main ()
  11364. {
  11365. return XFixesQueryVersion ();
  11366. ;
  11367. return 0;
  11368. }
  11369. _ACEOF
  11370. if ac_fn_c_try_link "$LINENO"; then :
  11371. case "$LIBEXT" in
  11372. dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11373. dylib) ac_cv_lib_soname_Xfixes=`$OTOOL -L conftest$ac_exeext | grep "libXfixes\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXfixes\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11374. *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11375. if ${ac_cv_lib_soname_Xfixes:+false} :; then :
  11376. ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11377. fi ;;
  11378. esac
  11379. else
  11380. ac_cv_lib_soname_Xfixes=
  11381. fi
  11382. rm -f core conftest.err conftest.$ac_objext \
  11383. conftest$ac_exeext conftest.$ac_ext
  11384. LIBS=$ac_check_soname_save_LIBS
  11385. fi
  11386. if ${ac_cv_lib_soname_Xfixes:+false} :; then :
  11387. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11388. $as_echo "not found" >&6; }
  11389. else
  11390. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
  11391. $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
  11392. cat >>confdefs.h <<_ACEOF
  11393. #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
  11394. _ACEOF
  11395. fi
  11396. fi
  11397. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11398. fi
  11399. if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
  11400. case "x$with_xfixes" in
  11401. x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
  11402. xno) ;;
  11403. *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
  11404. This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
  11405. esac
  11406. fi
  11407. if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
  11408. then
  11409. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11410. /* end confdefs.h. */
  11411. #include <X11/Xlib.h>
  11412. #include <X11/extensions/Xinerama.h>
  11413. int
  11414. main ()
  11415. {
  11416. static typeof(XineramaQueryScreens) * func; if (func) return 0;
  11417. ;
  11418. return 0;
  11419. }
  11420. _ACEOF
  11421. if ac_fn_c_try_compile "$LINENO"; then :
  11422. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
  11423. $as_echo_n "checking for -lXinerama... " >&6; }
  11424. if ${ac_cv_lib_soname_Xinerama+:} false; then :
  11425. $as_echo_n "(cached) " >&6
  11426. else
  11427. ac_check_soname_save_LIBS=$LIBS
  11428. LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
  11429. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11430. /* end confdefs.h. */
  11431. /* Override any GCC internal prototype to avoid an error.
  11432. Use char because int might match the return type of a GCC
  11433. builtin and then its argument prototype would still apply. */
  11434. #ifdef __cplusplus
  11435. extern "C"
  11436. #endif
  11437. char XineramaQueryScreens ();
  11438. int
  11439. main ()
  11440. {
  11441. return XineramaQueryScreens ();
  11442. ;
  11443. return 0;
  11444. }
  11445. _ACEOF
  11446. if ac_fn_c_try_link "$LINENO"; then :
  11447. case "$LIBEXT" in
  11448. dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11449. dylib) ac_cv_lib_soname_Xinerama=`$OTOOL -L conftest$ac_exeext | grep "libXinerama\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXinerama\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11450. *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11451. if ${ac_cv_lib_soname_Xinerama:+false} :; then :
  11452. ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11453. fi ;;
  11454. esac
  11455. else
  11456. ac_cv_lib_soname_Xinerama=
  11457. fi
  11458. rm -f core conftest.err conftest.$ac_objext \
  11459. conftest$ac_exeext conftest.$ac_ext
  11460. LIBS=$ac_check_soname_save_LIBS
  11461. fi
  11462. if ${ac_cv_lib_soname_Xinerama:+false} :; then :
  11463. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11464. $as_echo "not found" >&6; }
  11465. else
  11466. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
  11467. $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
  11468. cat >>confdefs.h <<_ACEOF
  11469. #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
  11470. _ACEOF
  11471. fi
  11472. fi
  11473. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11474. fi
  11475. if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
  11476. case "x$with_xinerama" in
  11477. x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
  11478. xno) ;;
  11479. *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
  11480. This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
  11481. esac
  11482. fi
  11483. if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
  11484. then
  11485. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
  11486. $as_echo_n "checking for -lXcomposite... " >&6; }
  11487. if ${ac_cv_lib_soname_Xcomposite+:} false; then :
  11488. $as_echo_n "(cached) " >&6
  11489. else
  11490. ac_check_soname_save_LIBS=$LIBS
  11491. LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
  11492. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11493. /* end confdefs.h. */
  11494. /* Override any GCC internal prototype to avoid an error.
  11495. Use char because int might match the return type of a GCC
  11496. builtin and then its argument prototype would still apply. */
  11497. #ifdef __cplusplus
  11498. extern "C"
  11499. #endif
  11500. char XCompositeRedirectWindow ();
  11501. int
  11502. main ()
  11503. {
  11504. return XCompositeRedirectWindow ();
  11505. ;
  11506. return 0;
  11507. }
  11508. _ACEOF
  11509. if ac_fn_c_try_link "$LINENO"; then :
  11510. case "$LIBEXT" in
  11511. dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11512. dylib) ac_cv_lib_soname_Xcomposite=`$OTOOL -L conftest$ac_exeext | grep "libXcomposite\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libXcomposite\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11513. *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11514. if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
  11515. ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11516. fi ;;
  11517. esac
  11518. else
  11519. ac_cv_lib_soname_Xcomposite=
  11520. fi
  11521. rm -f core conftest.err conftest.$ac_objext \
  11522. conftest$ac_exeext conftest.$ac_ext
  11523. LIBS=$ac_check_soname_save_LIBS
  11524. fi
  11525. if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
  11526. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11527. $as_echo "not found" >&6; }
  11528. else
  11529. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
  11530. $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
  11531. cat >>confdefs.h <<_ACEOF
  11532. #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
  11533. _ACEOF
  11534. fi
  11535. fi
  11536. if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
  11537. case "x$with_xcomposite" in
  11538. x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
  11539. xno) ;;
  11540. *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
  11541. This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
  11542. esac
  11543. fi
  11544. ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
  11545. #include <X11/Xlib.h>
  11546. #endif
  11547. "
  11548. if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
  11549. cat >>confdefs.h <<_ACEOF
  11550. #define HAVE_XICCALLBACK_CALLBACK 1
  11551. _ACEOF
  11552. fi
  11553. ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
  11554. #include <X11/Xlib.h>
  11555. #endif
  11556. "
  11557. if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
  11558. cat >>confdefs.h <<_ACEOF
  11559. #define HAVE_XEVENT_XCOOKIE 1
  11560. _ACEOF
  11561. fi
  11562. opengl_msg=""
  11563. if test "x$with_opengl" != "xno"
  11564. then
  11565. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  11566. $as_echo_n "checking for -lGL... " >&6; }
  11567. if ${ac_cv_lib_soname_GL+:} false; then :
  11568. $as_echo_n "(cached) " >&6
  11569. else
  11570. ac_check_soname_save_LIBS=$LIBS
  11571. LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  11572. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11573. /* end confdefs.h. */
  11574. /* Override any GCC internal prototype to avoid an error.
  11575. Use char because int might match the return type of a GCC
  11576. builtin and then its argument prototype would still apply. */
  11577. #ifdef __cplusplus
  11578. extern "C"
  11579. #endif
  11580. char glXCreateContext ();
  11581. int
  11582. main ()
  11583. {
  11584. return glXCreateContext ();
  11585. ;
  11586. return 0;
  11587. }
  11588. _ACEOF
  11589. if ac_fn_c_try_link "$LINENO"; then :
  11590. case "$LIBEXT" in
  11591. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11592. dylib) ac_cv_lib_soname_GL=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11593. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11594. if ${ac_cv_lib_soname_GL:+false} :; then :
  11595. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11596. fi ;;
  11597. esac
  11598. else
  11599. ac_cv_lib_soname_GL=
  11600. fi
  11601. rm -f core conftest.err conftest.$ac_objext \
  11602. conftest$ac_exeext conftest.$ac_ext
  11603. LIBS=$ac_check_soname_save_LIBS
  11604. fi
  11605. if ${ac_cv_lib_soname_GL:+false} :; then :
  11606. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11607. $as_echo "not found" >&6; }
  11608. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  11609. $as_echo_n "checking for -lGL... " >&6; }
  11610. if ${ac_cv_lib_soname_GL+:} false; then :
  11611. $as_echo_n "(cached) " >&6
  11612. else
  11613. ac_check_soname_save_LIBS=$LIBS
  11614. LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS -dylib_file /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib $LIBS"
  11615. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11616. /* end confdefs.h. */
  11617. /* Override any GCC internal prototype to avoid an error.
  11618. Use char because int might match the return type of a GCC
  11619. builtin and then its argument prototype would still apply. */
  11620. #ifdef __cplusplus
  11621. extern "C"
  11622. #endif
  11623. char glXCreateContext ();
  11624. int
  11625. main ()
  11626. {
  11627. return glXCreateContext ();
  11628. ;
  11629. return 0;
  11630. }
  11631. _ACEOF
  11632. if ac_fn_c_try_link "$LINENO"; then :
  11633. case "$LIBEXT" in
  11634. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11635. dylib) ac_cv_lib_soname_GL=`$OTOOL -L conftest$ac_exeext | grep "libGL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11636. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11637. if ${ac_cv_lib_soname_GL:+false} :; then :
  11638. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11639. fi ;;
  11640. esac
  11641. else
  11642. ac_cv_lib_soname_GL=
  11643. fi
  11644. rm -f core conftest.err conftest.$ac_objext \
  11645. conftest$ac_exeext conftest.$ac_ext
  11646. LIBS=$ac_check_soname_save_LIBS
  11647. fi
  11648. if ${ac_cv_lib_soname_GL:+false} :; then :
  11649. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11650. $as_echo "not found" >&6; }
  11651. if test -f /usr/X11R6/lib/libGL.a
  11652. then
  11653. opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
  11654. This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
  11655. else
  11656. opengl_msg="No OpenGL library found on this system."
  11657. fi
  11658. else
  11659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  11660. $as_echo "$ac_cv_lib_soname_GL" >&6; }
  11661. cat >>confdefs.h <<_ACEOF
  11662. #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
  11663. _ACEOF
  11664. OPENGL_LIBS="-Xlinker -dylib_file -Xlinker /System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib -lGL"
  11665. fi
  11666. else
  11667. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  11668. $as_echo "$ac_cv_lib_soname_GL" >&6; }
  11669. cat >>confdefs.h <<_ACEOF
  11670. #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
  11671. _ACEOF
  11672. OPENGL_LIBS="-lGL"
  11673. fi
  11674. if test "x$with_glu" != "xno"
  11675. then
  11676. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
  11677. $as_echo_n "checking for -lGLU... " >&6; }
  11678. if ${ac_cv_lib_soname_GLU+:} false; then :
  11679. $as_echo_n "(cached) " >&6
  11680. else
  11681. ac_check_soname_save_LIBS=$LIBS
  11682. LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  11683. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11684. /* end confdefs.h. */
  11685. /* Override any GCC internal prototype to avoid an error.
  11686. Use char because int might match the return type of a GCC
  11687. builtin and then its argument prototype would still apply. */
  11688. #ifdef __cplusplus
  11689. extern "C"
  11690. #endif
  11691. char gluLookAt ();
  11692. int
  11693. main ()
  11694. {
  11695. return gluLookAt ();
  11696. ;
  11697. return 0;
  11698. }
  11699. _ACEOF
  11700. if ac_fn_c_try_link "$LINENO"; then :
  11701. case "$LIBEXT" in
  11702. dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11703. dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11704. *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11705. if ${ac_cv_lib_soname_GLU:+false} :; then :
  11706. ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11707. fi ;;
  11708. esac
  11709. else
  11710. ac_cv_lib_soname_GLU=
  11711. fi
  11712. rm -f core conftest.err conftest.$ac_objext \
  11713. conftest$ac_exeext conftest.$ac_ext
  11714. LIBS=$ac_check_soname_save_LIBS
  11715. fi
  11716. if ${ac_cv_lib_soname_GLU:+false} :; then :
  11717. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11718. $as_echo "not found" >&6; }
  11719. else
  11720. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
  11721. $as_echo "$ac_cv_lib_soname_GLU" >&6; }
  11722. cat >>confdefs.h <<_ACEOF
  11723. #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
  11724. _ACEOF
  11725. fi
  11726. if test "x$ac_cv_lib_soname_GLU" = "x"; then :
  11727. case "x$with_glu" in
  11728. x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
  11729. xno) ;;
  11730. *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
  11731. This is an error since --with-glu was requested." "$LINENO" 5 ;;
  11732. esac
  11733. fi
  11734. fi
  11735. if test "x$with_osmesa" != "xno"
  11736. then
  11737. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
  11738. $as_echo_n "checking for -lOSMesa... " >&6; }
  11739. if ${ac_cv_lib_soname_OSMesa+:} false; then :
  11740. $as_echo_n "(cached) " >&6
  11741. else
  11742. ac_check_soname_save_LIBS=$LIBS
  11743. LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  11744. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11745. /* end confdefs.h. */
  11746. /* Override any GCC internal prototype to avoid an error.
  11747. Use char because int might match the return type of a GCC
  11748. builtin and then its argument prototype would still apply. */
  11749. #ifdef __cplusplus
  11750. extern "C"
  11751. #endif
  11752. char OSMesaGetProcAddress ();
  11753. int
  11754. main ()
  11755. {
  11756. return OSMesaGetProcAddress ();
  11757. ;
  11758. return 0;
  11759. }
  11760. _ACEOF
  11761. if ac_fn_c_try_link "$LINENO"; then :
  11762. case "$LIBEXT" in
  11763. dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11764. dylib) ac_cv_lib_soname_OSMesa=`$OTOOL -L conftest$ac_exeext | grep "libOSMesa\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOSMesa\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11765. *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11766. if ${ac_cv_lib_soname_OSMesa:+false} :; then :
  11767. ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11768. fi ;;
  11769. esac
  11770. else
  11771. ac_cv_lib_soname_OSMesa=
  11772. fi
  11773. rm -f core conftest.err conftest.$ac_objext \
  11774. conftest$ac_exeext conftest.$ac_ext
  11775. LIBS=$ac_check_soname_save_LIBS
  11776. fi
  11777. if ${ac_cv_lib_soname_OSMesa:+false} :; then :
  11778. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11779. $as_echo "not found" >&6; }
  11780. else
  11781. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
  11782. $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
  11783. cat >>confdefs.h <<_ACEOF
  11784. #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
  11785. _ACEOF
  11786. fi
  11787. if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
  11788. case "x$with_osmesa" in
  11789. x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
  11790. xno) ;;
  11791. *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
  11792. This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
  11793. esac
  11794. fi
  11795. fi
  11796. fi
  11797. if test -n "$opengl_msg"; then :
  11798. case "x$with_opengl" in
  11799. x) as_fn_append wine_warnings "|$opengl_msg
  11800. OpenGL and Direct3D won't be supported." ;;
  11801. xno) ;;
  11802. *) as_fn_error $? "$opengl_msg
  11803. OpenGL and Direct3D won't be supported.
  11804. This is an error since --with-opengl was requested." "$LINENO" 5 ;;
  11805. esac
  11806. fi
  11807. for ac_header in va/va_x11.h va/va_drm.h
  11808. do :
  11809. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11810. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  11811. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  11812. cat >>confdefs.h <<_ACEOF
  11813. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11814. _ACEOF
  11815. fi
  11816. done
  11817. if test "$ac_cv_header_va_va_x11_h" = "yes" -a "$ac_cv_header_va_va_drm_h" = "yes"
  11818. then
  11819. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lva" >&5
  11820. $as_echo_n "checking for -lva... " >&6; }
  11821. if ${ac_cv_lib_soname_va+:} false; then :
  11822. $as_echo_n "(cached) " >&6
  11823. else
  11824. ac_check_soname_save_LIBS=$LIBS
  11825. LIBS="-lva $X_LIBS $LIBS"
  11826. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11827. /* end confdefs.h. */
  11828. /* Override any GCC internal prototype to avoid an error.
  11829. Use char because int might match the return type of a GCC
  11830. builtin and then its argument prototype would still apply. */
  11831. #ifdef __cplusplus
  11832. extern "C"
  11833. #endif
  11834. char vaQuerySurfaceAttributes ();
  11835. int
  11836. main ()
  11837. {
  11838. return vaQuerySurfaceAttributes ();
  11839. ;
  11840. return 0;
  11841. }
  11842. _ACEOF
  11843. if ac_fn_c_try_link "$LINENO"; then :
  11844. case "$LIBEXT" in
  11845. dll) ac_cv_lib_soname_va=`$ac_cv_path_LDD conftest.exe | grep "va" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11846. dylib) ac_cv_lib_soname_va=`$OTOOL -L conftest$ac_exeext | grep "libva\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libva\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11847. *) ac_cv_lib_soname_va=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libva\\.$LIBEXT" | sed -e "s/^.*\\[\\(libva\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11848. if ${ac_cv_lib_soname_va:+false} :; then :
  11849. ac_cv_lib_soname_va=`$LDD conftest$ac_exeext | grep "libva\\.$LIBEXT" | sed -e "s/^.*\(libva\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11850. fi ;;
  11851. esac
  11852. else
  11853. ac_cv_lib_soname_va=
  11854. fi
  11855. rm -f core conftest.err conftest.$ac_objext \
  11856. conftest$ac_exeext conftest.$ac_ext
  11857. LIBS=$ac_check_soname_save_LIBS
  11858. fi
  11859. if ${ac_cv_lib_soname_va:+false} :; then :
  11860. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11861. $as_echo "not found" >&6; }
  11862. else
  11863. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_va" >&5
  11864. $as_echo "$ac_cv_lib_soname_va" >&6; }
  11865. cat >>confdefs.h <<_ACEOF
  11866. #define SONAME_LIBVA "$ac_cv_lib_soname_va"
  11867. _ACEOF
  11868. fi
  11869. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lva-x11" >&5
  11870. $as_echo_n "checking for -lva-x11... " >&6; }
  11871. if ${ac_cv_lib_soname_va_x11+:} false; then :
  11872. $as_echo_n "(cached) " >&6
  11873. else
  11874. ac_check_soname_save_LIBS=$LIBS
  11875. LIBS="-lva-x11 $X_LIBS -lva $LIBS"
  11876. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11877. /* end confdefs.h. */
  11878. /* Override any GCC internal prototype to avoid an error.
  11879. Use char because int might match the return type of a GCC
  11880. builtin and then its argument prototype would still apply. */
  11881. #ifdef __cplusplus
  11882. extern "C"
  11883. #endif
  11884. char vaGetDisplay ();
  11885. int
  11886. main ()
  11887. {
  11888. return vaGetDisplay ();
  11889. ;
  11890. return 0;
  11891. }
  11892. _ACEOF
  11893. if ac_fn_c_try_link "$LINENO"; then :
  11894. case "$LIBEXT" in
  11895. dll) ac_cv_lib_soname_va_x11=`$ac_cv_path_LDD conftest.exe | grep "va-x11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11896. dylib) ac_cv_lib_soname_va_x11=`$OTOOL -L conftest$ac_exeext | grep "libva-x11\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libva-x11\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11897. *) ac_cv_lib_soname_va_x11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libva-x11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libva-x11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11898. if ${ac_cv_lib_soname_va_x11:+false} :; then :
  11899. ac_cv_lib_soname_va_x11=`$LDD conftest$ac_exeext | grep "libva-x11\\.$LIBEXT" | sed -e "s/^.*\(libva-x11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11900. fi ;;
  11901. esac
  11902. else
  11903. ac_cv_lib_soname_va_x11=
  11904. fi
  11905. rm -f core conftest.err conftest.$ac_objext \
  11906. conftest$ac_exeext conftest.$ac_ext
  11907. LIBS=$ac_check_soname_save_LIBS
  11908. fi
  11909. if ${ac_cv_lib_soname_va_x11:+false} :; then :
  11910. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11911. $as_echo "not found" >&6; }
  11912. else
  11913. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_va_x11" >&5
  11914. $as_echo "$ac_cv_lib_soname_va_x11" >&6; }
  11915. cat >>confdefs.h <<_ACEOF
  11916. #define SONAME_LIBVA_X11 "$ac_cv_lib_soname_va_x11"
  11917. _ACEOF
  11918. fi
  11919. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lva-drm" >&5
  11920. $as_echo_n "checking for -lva-drm... " >&6; }
  11921. if ${ac_cv_lib_soname_va_drm+:} false; then :
  11922. $as_echo_n "(cached) " >&6
  11923. else
  11924. ac_check_soname_save_LIBS=$LIBS
  11925. LIBS="-lva-drm $X_LIBS -lva $LIBS"
  11926. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11927. /* end confdefs.h. */
  11928. /* Override any GCC internal prototype to avoid an error.
  11929. Use char because int might match the return type of a GCC
  11930. builtin and then its argument prototype would still apply. */
  11931. #ifdef __cplusplus
  11932. extern "C"
  11933. #endif
  11934. char vaGetDisplayDRM ();
  11935. int
  11936. main ()
  11937. {
  11938. return vaGetDisplayDRM ();
  11939. ;
  11940. return 0;
  11941. }
  11942. _ACEOF
  11943. if ac_fn_c_try_link "$LINENO"; then :
  11944. case "$LIBEXT" in
  11945. dll) ac_cv_lib_soname_va_drm=`$ac_cv_path_LDD conftest.exe | grep "va-drm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11946. dylib) ac_cv_lib_soname_va_drm=`$OTOOL -L conftest$ac_exeext | grep "libva-drm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libva-drm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  11947. *) ac_cv_lib_soname_va_drm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libva-drm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libva-drm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11948. if ${ac_cv_lib_soname_va_drm:+false} :; then :
  11949. ac_cv_lib_soname_va_drm=`$LDD conftest$ac_exeext | grep "libva-drm\\.$LIBEXT" | sed -e "s/^.*\(libva-drm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11950. fi ;;
  11951. esac
  11952. else
  11953. ac_cv_lib_soname_va_drm=
  11954. fi
  11955. rm -f core conftest.err conftest.$ac_objext \
  11956. conftest$ac_exeext conftest.$ac_ext
  11957. LIBS=$ac_check_soname_save_LIBS
  11958. fi
  11959. if ${ac_cv_lib_soname_va_drm:+false} :; then :
  11960. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11961. $as_echo "not found" >&6; }
  11962. else
  11963. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_va_drm" >&5
  11964. $as_echo "$ac_cv_lib_soname_va_drm" >&6; }
  11965. cat >>confdefs.h <<_ACEOF
  11966. #define SONAME_LIBVA_DRM "$ac_cv_lib_soname_va_drm"
  11967. _ACEOF
  11968. fi
  11969. if test "x$ac_cv_lib_soname_va" != "x" -a "x$ac_cv_lib_soname_va_x11" != "x" -a "x$ac_cv_lib_soname_va_drm" != "x"
  11970. then
  11971. $as_echo "#define HAVE_VAAPI 1" >>confdefs.h
  11972. fi
  11973. fi
  11974. if test "x$ac_cv_lib_soname_va" = "x" -o "x$ac_cv_lib_soname_va_x11" = "x" -o "x$ac_cv_lib_soname_va_drm" = "x"; then :
  11975. case "x$with_va" in
  11976. x) as_fn_append wine_notices "|libva ${notice_platform}development files not found, GPU video acceleration won't be supported." ;;
  11977. xno) ;;
  11978. *) as_fn_error $? "libva ${notice_platform}development files not found, GPU video acceleration won't be supported.
  11979. This is an error since --with-va was requested." "$LINENO" 5 ;;
  11980. esac
  11981. fi
  11982. CPPFLAGS="$ac_save_CPPFLAGS"
  11983. else
  11984. X_CFLAGS=""
  11985. X_LIBS=""
  11986. fi
  11987. if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
  11988. then
  11989. if test "x$X_LIBS" = "x"; then :
  11990. case "x$with_x" in
  11991. xno) ;;
  11992. *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
  11993. without X support, which probably isn't what you want. You will need
  11994. to install ${notice_platform}development packages of Xlib at the very least.
  11995. Use the --without-x option if you really want this." "$LINENO" 5 ;;
  11996. esac
  11997. enable_winex11_drv=${enable_winex11_drv:-no}
  11998. fi
  11999. else
  12000. if test "x$X_LIBS" = "x"; then :
  12001. case "x$with_x" in
  12002. x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
  12003. xno) ;;
  12004. *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
  12005. This is an error since --with-x was requested." "$LINENO" 5 ;;
  12006. esac
  12007. enable_winex11_drv=${enable_winex11_drv:-no}
  12008. fi
  12009. fi
  12010. if test "$ac_cv_header_CL_cl_h" = "yes"
  12011. then
  12012. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
  12013. $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
  12014. if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
  12015. $as_echo_n "(cached) " >&6
  12016. else
  12017. ac_check_lib_save_LIBS=$LIBS
  12018. LIBS="-lOpenCL $LIBS"
  12019. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12020. /* end confdefs.h. */
  12021. /* Override any GCC internal prototype to avoid an error.
  12022. Use char because int might match the return type of a GCC
  12023. builtin and then its argument prototype would still apply. */
  12024. #ifdef __cplusplus
  12025. extern "C"
  12026. #endif
  12027. char clGetPlatformInfo ();
  12028. int
  12029. main ()
  12030. {
  12031. return clGetPlatformInfo ();
  12032. ;
  12033. return 0;
  12034. }
  12035. _ACEOF
  12036. if ac_fn_c_try_link "$LINENO"; then :
  12037. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  12038. else
  12039. ac_cv_lib_OpenCL_clGetPlatformInfo=no
  12040. fi
  12041. rm -f core conftest.err conftest.$ac_objext \
  12042. conftest$ac_exeext conftest.$ac_ext
  12043. LIBS=$ac_check_lib_save_LIBS
  12044. fi
  12045. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
  12046. $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
  12047. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
  12048. OPENCL_LIBS="-lOpenCL"
  12049. fi
  12050. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOpenCL" >&5
  12051. $as_echo_n "checking for -lOpenCL... " >&6; }
  12052. if ${ac_cv_lib_soname_OpenCL+:} false; then :
  12053. $as_echo_n "(cached) " >&6
  12054. else
  12055. ac_check_soname_save_LIBS=$LIBS
  12056. LIBS="-lOpenCL $LIBS"
  12057. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12058. /* end confdefs.h. */
  12059. /* Override any GCC internal prototype to avoid an error.
  12060. Use char because int might match the return type of a GCC
  12061. builtin and then its argument prototype would still apply. */
  12062. #ifdef __cplusplus
  12063. extern "C"
  12064. #endif
  12065. char clGetPlatformInfo ();
  12066. int
  12067. main ()
  12068. {
  12069. return clGetPlatformInfo ();
  12070. ;
  12071. return 0;
  12072. }
  12073. _ACEOF
  12074. if ac_fn_c_try_link "$LINENO"; then :
  12075. case "$LIBEXT" in
  12076. dll) ac_cv_lib_soname_OpenCL=`$ac_cv_path_LDD conftest.exe | grep "OpenCL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12077. dylib) ac_cv_lib_soname_OpenCL=`$OTOOL -L conftest$ac_exeext | grep "libOpenCL\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libOpenCL\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  12078. *) ac_cv_lib_soname_OpenCL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOpenCL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOpenCL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12079. if ${ac_cv_lib_soname_OpenCL:+false} :; then :
  12080. ac_cv_lib_soname_OpenCL=`$LDD conftest$ac_exeext | grep "libOpenCL\\.$LIBEXT" | sed -e "s/^.*\(libOpenCL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12081. fi ;;
  12082. esac
  12083. else
  12084. ac_cv_lib_soname_OpenCL=
  12085. fi
  12086. rm -f core conftest.err conftest.$ac_objext \
  12087. conftest$ac_exeext conftest.$ac_ext
  12088. LIBS=$ac_check_soname_save_LIBS
  12089. fi
  12090. if ${ac_cv_lib_soname_OpenCL:+false} :; then :
  12091. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12092. $as_echo "not found" >&6; }
  12093. cat >>confdefs.h <<_ACEOF
  12094. #define SONAME_LIBOPENCL "libOpenCL.$LIBEXT"
  12095. _ACEOF
  12096. else
  12097. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OpenCL" >&5
  12098. $as_echo "$ac_cv_lib_soname_OpenCL" >&6; }
  12099. cat >>confdefs.h <<_ACEOF
  12100. #define SONAME_LIBOPENCL "$ac_cv_lib_soname_OpenCL"
  12101. _ACEOF
  12102. fi
  12103. fi
  12104. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
  12105. case "x$with_opencl" in
  12106. x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
  12107. xno) ;;
  12108. *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
  12109. This is an error since --with-opencl was requested." "$LINENO" 5 ;;
  12110. esac
  12111. enable_opencl=${enable_opencl:-no}
  12112. fi
  12113. if test "$ac_cv_header_pcap_pcap_h" = "yes"
  12114. then
  12115. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpcap" >&5
  12116. $as_echo_n "checking for -lpcap... " >&6; }
  12117. if ${ac_cv_lib_soname_pcap+:} false; then :
  12118. $as_echo_n "(cached) " >&6
  12119. else
  12120. ac_check_soname_save_LIBS=$LIBS
  12121. LIBS="-lpcap $LIBS"
  12122. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12123. /* end confdefs.h. */
  12124. /* Override any GCC internal prototype to avoid an error.
  12125. Use char because int might match the return type of a GCC
  12126. builtin and then its argument prototype would still apply. */
  12127. #ifdef __cplusplus
  12128. extern "C"
  12129. #endif
  12130. char pcap_create ();
  12131. int
  12132. main ()
  12133. {
  12134. return pcap_create ();
  12135. ;
  12136. return 0;
  12137. }
  12138. _ACEOF
  12139. if ac_fn_c_try_link "$LINENO"; then :
  12140. case "$LIBEXT" in
  12141. dll) ac_cv_lib_soname_pcap=`$ac_cv_path_LDD conftest.exe | grep "pcap" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12142. dylib) ac_cv_lib_soname_pcap=`$OTOOL -L conftest$ac_exeext | grep "libpcap\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpcap\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  12143. *) ac_cv_lib_soname_pcap=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpcap\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpcap\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12144. if ${ac_cv_lib_soname_pcap:+false} :; then :
  12145. ac_cv_lib_soname_pcap=`$LDD conftest$ac_exeext | grep "libpcap\\.$LIBEXT" | sed -e "s/^.*\(libpcap\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12146. fi ;;
  12147. esac
  12148. else
  12149. ac_cv_lib_soname_pcap=
  12150. fi
  12151. rm -f core conftest.err conftest.$ac_objext \
  12152. conftest$ac_exeext conftest.$ac_ext
  12153. LIBS=$ac_check_soname_save_LIBS
  12154. fi
  12155. if ${ac_cv_lib_soname_pcap:+false} :; then :
  12156. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12157. $as_echo "not found" >&6; }
  12158. else
  12159. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_pcap" >&5
  12160. $as_echo "$ac_cv_lib_soname_pcap" >&6; }
  12161. cat >>confdefs.h <<_ACEOF
  12162. #define SONAME_LIBPCAP "$ac_cv_lib_soname_pcap"
  12163. _ACEOF
  12164. fi
  12165. fi
  12166. if test "x$ac_cv_lib_soname_pcap" = "x"; then :
  12167. case "x$with_pcap" in
  12168. x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
  12169. xno) ;;
  12170. *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
  12171. This is an error since --with-pcap was requested." "$LINENO" 5 ;;
  12172. esac
  12173. enable_wpcap=${enable_wpcap:-no}
  12174. fi
  12175. if test "x$with_xml" != "xno"
  12176. then
  12177. if ${XML2_CFLAGS:+false} :; then :
  12178. if ${PKG_CONFIG+:} false; then :
  12179. XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
  12180. fi
  12181. fi
  12182. test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
  12183. if ${XML2_LIBS:+false} :; then :
  12184. if ${PKG_CONFIG+:} false; then :
  12185. XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
  12186. fi
  12187. fi
  12188. test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
  12189. XML2_LIBS=${XML2_LIBS:-"-lxml2"}
  12190. $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
  12191. $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
  12192. ac_save_CPPFLAGS=$CPPFLAGS
  12193. CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
  12194. for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
  12195. do :
  12196. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12197. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  12198. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  12199. cat >>confdefs.h <<_ACEOF
  12200. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12201. _ACEOF
  12202. fi
  12203. done
  12204. if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
  12205. then
  12206. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
  12207. $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
  12208. if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
  12209. $as_echo_n "(cached) " >&6
  12210. else
  12211. ac_check_lib_save_LIBS=$LIBS
  12212. LIBS="-lxml2 $XML2_LIBS $LIBS"
  12213. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12214. /* end confdefs.h. */
  12215. /* Override any GCC internal prototype to avoid an error.
  12216. Use char because int might match the return type of a GCC
  12217. builtin and then its argument prototype would still apply. */
  12218. #ifdef __cplusplus
  12219. extern "C"
  12220. #endif
  12221. char xmlParseMemory ();
  12222. int
  12223. main ()
  12224. {
  12225. return xmlParseMemory ();
  12226. ;
  12227. return 0;
  12228. }
  12229. _ACEOF
  12230. if ac_fn_c_try_link "$LINENO"; then :
  12231. ac_cv_lib_xml2_xmlParseMemory=yes
  12232. else
  12233. ac_cv_lib_xml2_xmlParseMemory=no
  12234. fi
  12235. rm -f core conftest.err conftest.$ac_objext \
  12236. conftest$ac_exeext conftest.$ac_ext
  12237. LIBS=$ac_check_lib_save_LIBS
  12238. fi
  12239. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
  12240. $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
  12241. if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
  12242. $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
  12243. else
  12244. XML2_LIBS=""
  12245. fi
  12246. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
  12247. $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
  12248. if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
  12249. $as_echo_n "(cached) " >&6
  12250. else
  12251. ac_check_lib_save_LIBS=$LIBS
  12252. LIBS="-lxml2 $XML2_LIBS $LIBS"
  12253. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12254. /* end confdefs.h. */
  12255. /* Override any GCC internal prototype to avoid an error.
  12256. Use char because int might match the return type of a GCC
  12257. builtin and then its argument prototype would still apply. */
  12258. #ifdef __cplusplus
  12259. extern "C"
  12260. #endif
  12261. char xmlReadMemory ();
  12262. int
  12263. main ()
  12264. {
  12265. return xmlReadMemory ();
  12266. ;
  12267. return 0;
  12268. }
  12269. _ACEOF
  12270. if ac_fn_c_try_link "$LINENO"; then :
  12271. ac_cv_lib_xml2_xmlReadMemory=yes
  12272. else
  12273. ac_cv_lib_xml2_xmlReadMemory=no
  12274. fi
  12275. rm -f core conftest.err conftest.$ac_objext \
  12276. conftest$ac_exeext conftest.$ac_ext
  12277. LIBS=$ac_check_lib_save_LIBS
  12278. fi
  12279. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
  12280. $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
  12281. if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
  12282. $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
  12283. fi
  12284. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
  12285. $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
  12286. if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
  12287. $as_echo_n "(cached) " >&6
  12288. else
  12289. ac_check_lib_save_LIBS=$LIBS
  12290. LIBS="-lxml2 $XML2_LIBS $LIBS"
  12291. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12292. /* end confdefs.h. */
  12293. /* Override any GCC internal prototype to avoid an error.
  12294. Use char because int might match the return type of a GCC
  12295. builtin and then its argument prototype would still apply. */
  12296. #ifdef __cplusplus
  12297. extern "C"
  12298. #endif
  12299. char xmlNewDocPI ();
  12300. int
  12301. main ()
  12302. {
  12303. return xmlNewDocPI ();
  12304. ;
  12305. return 0;
  12306. }
  12307. _ACEOF
  12308. if ac_fn_c_try_link "$LINENO"; then :
  12309. ac_cv_lib_xml2_xmlNewDocPI=yes
  12310. else
  12311. ac_cv_lib_xml2_xmlNewDocPI=no
  12312. fi
  12313. rm -f core conftest.err conftest.$ac_objext \
  12314. conftest$ac_exeext conftest.$ac_ext
  12315. LIBS=$ac_check_lib_save_LIBS
  12316. fi
  12317. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
  12318. $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
  12319. if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
  12320. $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
  12321. fi
  12322. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
  12323. $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
  12324. if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
  12325. $as_echo_n "(cached) " >&6
  12326. else
  12327. ac_check_lib_save_LIBS=$LIBS
  12328. LIBS="-lxml2 $XML2_LIBS $LIBS"
  12329. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12330. /* end confdefs.h. */
  12331. /* Override any GCC internal prototype to avoid an error.
  12332. Use char because int might match the return type of a GCC
  12333. builtin and then its argument prototype would still apply. */
  12334. #ifdef __cplusplus
  12335. extern "C"
  12336. #endif
  12337. char xmlSchemaSetParserStructuredErrors ();
  12338. int
  12339. main ()
  12340. {
  12341. return xmlSchemaSetParserStructuredErrors ();
  12342. ;
  12343. return 0;
  12344. }
  12345. _ACEOF
  12346. if ac_fn_c_try_link "$LINENO"; then :
  12347. ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
  12348. else
  12349. ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
  12350. fi
  12351. rm -f core conftest.err conftest.$ac_objext \
  12352. conftest$ac_exeext conftest.$ac_ext
  12353. LIBS=$ac_check_lib_save_LIBS
  12354. fi
  12355. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
  12356. $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
  12357. if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
  12358. $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
  12359. fi
  12360. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
  12361. $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
  12362. if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
  12363. $as_echo_n "(cached) " >&6
  12364. else
  12365. ac_check_lib_save_LIBS=$LIBS
  12366. LIBS="-lxml2 $XML2_LIBS $LIBS"
  12367. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12368. /* end confdefs.h. */
  12369. /* Override any GCC internal prototype to avoid an error.
  12370. Use char because int might match the return type of a GCC
  12371. builtin and then its argument prototype would still apply. */
  12372. #ifdef __cplusplus
  12373. extern "C"
  12374. #endif
  12375. char xmlSchemaSetValidStructuredErrors ();
  12376. int
  12377. main ()
  12378. {
  12379. return xmlSchemaSetValidStructuredErrors ();
  12380. ;
  12381. return 0;
  12382. }
  12383. _ACEOF
  12384. if ac_fn_c_try_link "$LINENO"; then :
  12385. ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
  12386. else
  12387. ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
  12388. fi
  12389. rm -f core conftest.err conftest.$ac_objext \
  12390. conftest$ac_exeext conftest.$ac_ext
  12391. LIBS=$ac_check_lib_save_LIBS
  12392. fi
  12393. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
  12394. $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
  12395. if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
  12396. $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
  12397. fi
  12398. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
  12399. $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
  12400. if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
  12401. $as_echo_n "(cached) " >&6
  12402. else
  12403. ac_check_lib_save_LIBS=$LIBS
  12404. LIBS="-lxml2 $XML2_LIBS $LIBS"
  12405. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12406. /* end confdefs.h. */
  12407. /* Override any GCC internal prototype to avoid an error.
  12408. Use char because int might match the return type of a GCC
  12409. builtin and then its argument prototype would still apply. */
  12410. #ifdef __cplusplus
  12411. extern "C"
  12412. #endif
  12413. char xmlFirstElementChild ();
  12414. int
  12415. main ()
  12416. {
  12417. return xmlFirstElementChild ();
  12418. ;
  12419. return 0;
  12420. }
  12421. _ACEOF
  12422. if ac_fn_c_try_link "$LINENO"; then :
  12423. ac_cv_lib_xml2_xmlFirstElementChild=yes
  12424. else
  12425. ac_cv_lib_xml2_xmlFirstElementChild=no
  12426. fi
  12427. rm -f core conftest.err conftest.$ac_objext \
  12428. conftest$ac_exeext conftest.$ac_ext
  12429. LIBS=$ac_check_lib_save_LIBS
  12430. fi
  12431. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
  12432. $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
  12433. if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
  12434. $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
  12435. fi
  12436. ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
  12437. "
  12438. if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
  12439. $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
  12440. fi
  12441. else
  12442. XML2_CFLAGS=""
  12443. XML2_LIBS=""
  12444. fi
  12445. CPPFLAGS=$ac_save_CPPFLAGS
  12446. test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12447. test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12448. fi
  12449. if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
  12450. case "x$with_xml" in
  12451. x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
  12452. xno) ;;
  12453. *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
  12454. This is an error since --with-xml was requested." "$LINENO" 5 ;;
  12455. esac
  12456. fi
  12457. if test "x$with_xslt" != "xno"
  12458. then
  12459. if ${XSLT_CFLAGS:+false} :; then :
  12460. if ${PKG_CONFIG+:} false; then :
  12461. XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
  12462. fi
  12463. fi
  12464. test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
  12465. if ${XSLT_LIBS:+false} :; then :
  12466. if ${PKG_CONFIG+:} false; then :
  12467. XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
  12468. fi
  12469. fi
  12470. test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
  12471. XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
  12472. $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
  12473. $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
  12474. ac_save_CPPFLAGS=$CPPFLAGS
  12475. CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
  12476. for ac_header in libxslt/pattern.h libxslt/transform.h
  12477. do :
  12478. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12479. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
  12480. # include <libxslt/pattern.h>
  12481. #endif
  12482. "
  12483. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  12484. cat >>confdefs.h <<_ACEOF
  12485. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12486. _ACEOF
  12487. fi
  12488. done
  12489. if test "$ac_cv_header_libxslt_transform_h" = "yes"
  12490. then
  12491. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
  12492. $as_echo_n "checking for -lxslt... " >&6; }
  12493. if ${ac_cv_lib_soname_xslt+:} false; then :
  12494. $as_echo_n "(cached) " >&6
  12495. else
  12496. ac_check_soname_save_LIBS=$LIBS
  12497. LIBS="-lxslt $XSLT_LIBS $LIBS"
  12498. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12499. /* end confdefs.h. */
  12500. /* Override any GCC internal prototype to avoid an error.
  12501. Use char because int might match the return type of a GCC
  12502. builtin and then its argument prototype would still apply. */
  12503. #ifdef __cplusplus
  12504. extern "C"
  12505. #endif
  12506. char xsltCompilePattern ();
  12507. int
  12508. main ()
  12509. {
  12510. return xsltCompilePattern ();
  12511. ;
  12512. return 0;
  12513. }
  12514. _ACEOF
  12515. if ac_fn_c_try_link "$LINENO"; then :
  12516. case "$LIBEXT" in
  12517. dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12518. dylib) ac_cv_lib_soname_xslt=`$OTOOL -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  12519. *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12520. if ${ac_cv_lib_soname_xslt:+false} :; then :
  12521. ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12522. fi ;;
  12523. esac
  12524. else
  12525. ac_cv_lib_soname_xslt=
  12526. fi
  12527. rm -f core conftest.err conftest.$ac_objext \
  12528. conftest$ac_exeext conftest.$ac_ext
  12529. LIBS=$ac_check_soname_save_LIBS
  12530. fi
  12531. if ${ac_cv_lib_soname_xslt:+false} :; then :
  12532. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12533. $as_echo "not found" >&6; }
  12534. else
  12535. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
  12536. $as_echo "$ac_cv_lib_soname_xslt" >&6; }
  12537. cat >>confdefs.h <<_ACEOF
  12538. #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
  12539. _ACEOF
  12540. fi
  12541. else
  12542. XSLT_CFLAGS=""
  12543. fi
  12544. CPPFLAGS=$ac_save_CPPFLAGS
  12545. test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12546. test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12547. fi
  12548. if test "x$ac_cv_lib_soname_xslt" = "x"; then :
  12549. case "x$with_xslt" in
  12550. x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
  12551. xno) ;;
  12552. *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
  12553. This is an error since --with-xslt was requested." "$LINENO" 5 ;;
  12554. esac
  12555. fi
  12556. if test "x$with_inotify" != "xno"
  12557. then
  12558. if ${INOTIFY_CFLAGS:+false} :; then :
  12559. if ${PKG_CONFIG+:} false; then :
  12560. INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
  12561. fi
  12562. fi
  12563. if ${INOTIFY_LIBS:+false} :; then :
  12564. if ${PKG_CONFIG+:} false; then :
  12565. INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
  12566. fi
  12567. fi
  12568. $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
  12569. $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
  12570. ac_save_CPPFLAGS=$CPPFLAGS
  12571. CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
  12572. for ac_header in sys/inotify.h
  12573. do :
  12574. ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
  12575. if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
  12576. cat >>confdefs.h <<_ACEOF
  12577. #define HAVE_SYS_INOTIFY_H 1
  12578. _ACEOF
  12579. fi
  12580. done
  12581. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
  12582. $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
  12583. if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
  12584. $as_echo_n "(cached) " >&6
  12585. else
  12586. ac_check_lib_save_LIBS=$LIBS
  12587. LIBS="-linotify $INOTIFY_LIBS $LIBS"
  12588. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12589. /* end confdefs.h. */
  12590. /* Override any GCC internal prototype to avoid an error.
  12591. Use char because int might match the return type of a GCC
  12592. builtin and then its argument prototype would still apply. */
  12593. #ifdef __cplusplus
  12594. extern "C"
  12595. #endif
  12596. char inotify_add_watch ();
  12597. int
  12598. main ()
  12599. {
  12600. return inotify_add_watch ();
  12601. ;
  12602. return 0;
  12603. }
  12604. _ACEOF
  12605. if ac_fn_c_try_link "$LINENO"; then :
  12606. ac_cv_lib_inotify_inotify_add_watch=yes
  12607. else
  12608. ac_cv_lib_inotify_inotify_add_watch=no
  12609. fi
  12610. rm -f core conftest.err conftest.$ac_objext \
  12611. conftest$ac_exeext conftest.$ac_ext
  12612. LIBS=$ac_check_lib_save_LIBS
  12613. fi
  12614. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
  12615. $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
  12616. if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
  12617. :
  12618. else
  12619. INOTIFY_LIBS=""
  12620. fi
  12621. CPPFLAGS=$ac_save_CPPFLAGS
  12622. test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12623. test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12624. fi
  12625. if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
  12626. case "x$with_inotify" in
  12627. x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
  12628. xno) ;;
  12629. *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
  12630. This is an error since --with-inotify was requested." "$LINENO" 5 ;;
  12631. esac
  12632. fi
  12633. if test "x$with_dbus" != "xno"
  12634. then
  12635. if ${DBUS_CFLAGS:+false} :; then :
  12636. if ${PKG_CONFIG+:} false; then :
  12637. DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
  12638. fi
  12639. fi
  12640. if ${DBUS_LIBS:+false} :; then :
  12641. if ${PKG_CONFIG+:} false; then :
  12642. DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
  12643. fi
  12644. fi
  12645. $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
  12646. $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
  12647. ac_save_CPPFLAGS=$CPPFLAGS
  12648. CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
  12649. ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
  12650. if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
  12651. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
  12652. $as_echo_n "checking for -ldbus-1... " >&6; }
  12653. if ${ac_cv_lib_soname_dbus_1+:} false; then :
  12654. $as_echo_n "(cached) " >&6
  12655. else
  12656. ac_check_soname_save_LIBS=$LIBS
  12657. LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
  12658. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12659. /* end confdefs.h. */
  12660. /* Override any GCC internal prototype to avoid an error.
  12661. Use char because int might match the return type of a GCC
  12662. builtin and then its argument prototype would still apply. */
  12663. #ifdef __cplusplus
  12664. extern "C"
  12665. #endif
  12666. char dbus_connection_close ();
  12667. int
  12668. main ()
  12669. {
  12670. return dbus_connection_close ();
  12671. ;
  12672. return 0;
  12673. }
  12674. _ACEOF
  12675. if ac_fn_c_try_link "$LINENO"; then :
  12676. case "$LIBEXT" in
  12677. dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12678. dylib) ac_cv_lib_soname_dbus_1=`$OTOOL -L conftest$ac_exeext | grep "libdbus-1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libdbus-1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  12679. *) ac_cv_lib_soname_dbus_1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libdbus-1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libdbus-1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12680. if ${ac_cv_lib_soname_dbus_1:+false} :; then :
  12681. ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12682. fi ;;
  12683. esac
  12684. else
  12685. ac_cv_lib_soname_dbus_1=
  12686. fi
  12687. rm -f core conftest.err conftest.$ac_objext \
  12688. conftest$ac_exeext conftest.$ac_ext
  12689. LIBS=$ac_check_soname_save_LIBS
  12690. fi
  12691. if ${ac_cv_lib_soname_dbus_1:+false} :; then :
  12692. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12693. $as_echo "not found" >&6; }
  12694. DBUS_CFLAGS=""
  12695. else
  12696. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
  12697. $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
  12698. cat >>confdefs.h <<_ACEOF
  12699. #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
  12700. _ACEOF
  12701. fi
  12702. else
  12703. DBUS_CFLAGS=""
  12704. fi
  12705. CPPFLAGS=$ac_save_CPPFLAGS
  12706. test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12707. test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12708. fi
  12709. if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
  12710. "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
  12711. case "x$with_dbus" in
  12712. x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
  12713. xno) ;;
  12714. *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
  12715. This is an error since --with-dbus was requested." "$LINENO" 5 ;;
  12716. esac
  12717. fi
  12718. if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
  12719. then
  12720. if ${HAL_CFLAGS:+false} :; then :
  12721. if ${PKG_CONFIG+:} false; then :
  12722. HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
  12723. fi
  12724. fi
  12725. if ${HAL_LIBS:+false} :; then :
  12726. if ${PKG_CONFIG+:} false; then :
  12727. HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
  12728. fi
  12729. fi
  12730. HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
  12731. $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
  12732. $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
  12733. ac_save_CPPFLAGS=$CPPFLAGS
  12734. CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
  12735. ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
  12736. if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
  12737. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
  12738. $as_echo_n "checking for -lhal... " >&6; }
  12739. if ${ac_cv_lib_soname_hal+:} false; then :
  12740. $as_echo_n "(cached) " >&6
  12741. else
  12742. ac_check_soname_save_LIBS=$LIBS
  12743. LIBS="-lhal $HAL_LIBS $LIBS"
  12744. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12745. /* end confdefs.h. */
  12746. /* Override any GCC internal prototype to avoid an error.
  12747. Use char because int might match the return type of a GCC
  12748. builtin and then its argument prototype would still apply. */
  12749. #ifdef __cplusplus
  12750. extern "C"
  12751. #endif
  12752. char libhal_ctx_new ();
  12753. int
  12754. main ()
  12755. {
  12756. return libhal_ctx_new ();
  12757. ;
  12758. return 0;
  12759. }
  12760. _ACEOF
  12761. if ac_fn_c_try_link "$LINENO"; then :
  12762. case "$LIBEXT" in
  12763. dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12764. dylib) ac_cv_lib_soname_hal=`$OTOOL -L conftest$ac_exeext | grep "libhal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  12765. *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12766. if ${ac_cv_lib_soname_hal:+false} :; then :
  12767. ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12768. fi ;;
  12769. esac
  12770. else
  12771. ac_cv_lib_soname_hal=
  12772. fi
  12773. rm -f core conftest.err conftest.$ac_objext \
  12774. conftest$ac_exeext conftest.$ac_ext
  12775. LIBS=$ac_check_soname_save_LIBS
  12776. fi
  12777. if ${ac_cv_lib_soname_hal:+false} :; then :
  12778. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12779. $as_echo "not found" >&6; }
  12780. HAL_CFLAGS=""
  12781. else
  12782. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
  12783. $as_echo "$ac_cv_lib_soname_hal" >&6; }
  12784. cat >>confdefs.h <<_ACEOF
  12785. #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
  12786. _ACEOF
  12787. fi
  12788. else
  12789. HAL_CFLAGS=""
  12790. fi
  12791. CPPFLAGS=$ac_save_CPPFLAGS
  12792. test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12793. test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12794. if test "x$ac_cv_lib_soname_hal" = "x" -a \
  12795. "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
  12796. case "x$with_hal" in
  12797. x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
  12798. xno) ;;
  12799. *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
  12800. This is an error since --with-hal was requested." "$LINENO" 5 ;;
  12801. esac
  12802. fi
  12803. fi
  12804. if test "x$with_gnutls" != "xno"
  12805. then
  12806. if ${GNUTLS_CFLAGS:+false} :; then :
  12807. if ${PKG_CONFIG+:} false; then :
  12808. GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
  12809. fi
  12810. fi
  12811. if ${GNUTLS_LIBS:+false} :; then :
  12812. if ${PKG_CONFIG+:} false; then :
  12813. GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
  12814. fi
  12815. fi
  12816. $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
  12817. $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
  12818. ac_save_CPPFLAGS=$CPPFLAGS
  12819. CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
  12820. ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
  12821. if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
  12822. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12823. /* end confdefs.h. */
  12824. #include <gnutls/gnutls.h>
  12825. #include <gnutls/crypto.h>
  12826. int
  12827. main ()
  12828. {
  12829. static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
  12830. ;
  12831. return 0;
  12832. }
  12833. _ACEOF
  12834. if ac_fn_c_try_compile "$LINENO"; then :
  12835. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
  12836. $as_echo_n "checking for -lgnutls... " >&6; }
  12837. if ${ac_cv_lib_soname_gnutls+:} false; then :
  12838. $as_echo_n "(cached) " >&6
  12839. else
  12840. ac_check_soname_save_LIBS=$LIBS
  12841. LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
  12842. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12843. /* end confdefs.h. */
  12844. /* Override any GCC internal prototype to avoid an error.
  12845. Use char because int might match the return type of a GCC
  12846. builtin and then its argument prototype would still apply. */
  12847. #ifdef __cplusplus
  12848. extern "C"
  12849. #endif
  12850. char gnutls_global_init ();
  12851. int
  12852. main ()
  12853. {
  12854. return gnutls_global_init ();
  12855. ;
  12856. return 0;
  12857. }
  12858. _ACEOF
  12859. if ac_fn_c_try_link "$LINENO"; then :
  12860. case "$LIBEXT" in
  12861. dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12862. dylib) ac_cv_lib_soname_gnutls=`$OTOOL -L conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgnutls\\(-deb0\\)\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  12863. *) ac_cv_lib_soname_gnutls=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12864. if ${ac_cv_lib_soname_gnutls:+false} :; then :
  12865. ac_cv_lib_soname_gnutls=`$LDD conftest$ac_exeext | grep "libgnutls\\(-deb0\\)\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libgnutls\\(-deb0\\)\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12866. fi ;;
  12867. esac
  12868. else
  12869. ac_cv_lib_soname_gnutls=
  12870. fi
  12871. rm -f core conftest.err conftest.$ac_objext \
  12872. conftest$ac_exeext conftest.$ac_ext
  12873. LIBS=$ac_check_soname_save_LIBS
  12874. fi
  12875. if ${ac_cv_lib_soname_gnutls:+false} :; then :
  12876. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12877. $as_echo "not found" >&6; }
  12878. GNUTLS_CFLAGS=""
  12879. else
  12880. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
  12881. $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
  12882. cat >>confdefs.h <<_ACEOF
  12883. #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
  12884. _ACEOF
  12885. fi
  12886. ac_wine_check_funcs_save_LIBS="$LIBS"
  12887. LIBS="$LIBS $GNUTLS_LIBS"
  12888. for ac_func in gnutls_cipher_init
  12889. do :
  12890. ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
  12891. if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
  12892. cat >>confdefs.h <<_ACEOF
  12893. #define HAVE_GNUTLS_CIPHER_INIT 1
  12894. _ACEOF
  12895. else
  12896. as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
  12897. fi
  12898. done
  12899. LIBS="$ac_wine_check_funcs_save_LIBS"
  12900. fi
  12901. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12902. else
  12903. GNUTLS_CFLAGS=""
  12904. fi
  12905. CPPFLAGS=$ac_save_CPPFLAGS
  12906. test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  12907. test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  12908. fi
  12909. if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
  12910. case "x$with_gnutls" in
  12911. x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
  12912. xno) ;;
  12913. *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
  12914. This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
  12915. esac
  12916. fi
  12917. CURSES_LIBS=""
  12918. if test "$ac_cv_header_ncurses_h" = "yes"
  12919. then
  12920. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
  12921. $as_echo_n "checking for -lncurses... " >&6; }
  12922. if ${ac_cv_lib_soname_ncurses+:} false; then :
  12923. $as_echo_n "(cached) " >&6
  12924. else
  12925. ac_check_soname_save_LIBS=$LIBS
  12926. LIBS="-lncurses $LIBS"
  12927. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12928. /* end confdefs.h. */
  12929. /* Override any GCC internal prototype to avoid an error.
  12930. Use char because int might match the return type of a GCC
  12931. builtin and then its argument prototype would still apply. */
  12932. #ifdef __cplusplus
  12933. extern "C"
  12934. #endif
  12935. char waddch ();
  12936. int
  12937. main ()
  12938. {
  12939. return waddch ();
  12940. ;
  12941. return 0;
  12942. }
  12943. _ACEOF
  12944. if ac_fn_c_try_link "$LINENO"; then :
  12945. case "$LIBEXT" in
  12946. dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12947. dylib) ac_cv_lib_soname_ncurses=`$OTOOL -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  12948. *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12949. if ${ac_cv_lib_soname_ncurses:+false} :; then :
  12950. ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12951. fi ;;
  12952. esac
  12953. else
  12954. ac_cv_lib_soname_ncurses=
  12955. fi
  12956. rm -f core conftest.err conftest.$ac_objext \
  12957. conftest$ac_exeext conftest.$ac_ext
  12958. LIBS=$ac_check_soname_save_LIBS
  12959. fi
  12960. if ${ac_cv_lib_soname_ncurses:+false} :; then :
  12961. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12962. $as_echo "not found" >&6; }
  12963. else
  12964. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
  12965. $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
  12966. cat >>confdefs.h <<_ACEOF
  12967. #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
  12968. _ACEOF
  12969. CURSES_LIBS="-lncurses"
  12970. fi
  12971. elif test "$ac_cv_header_curses_h" = "yes"
  12972. then
  12973. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
  12974. $as_echo_n "checking for -lcurses... " >&6; }
  12975. if ${ac_cv_lib_soname_curses+:} false; then :
  12976. $as_echo_n "(cached) " >&6
  12977. else
  12978. ac_check_soname_save_LIBS=$LIBS
  12979. LIBS="-lcurses $LIBS"
  12980. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12981. /* end confdefs.h. */
  12982. /* Override any GCC internal prototype to avoid an error.
  12983. Use char because int might match the return type of a GCC
  12984. builtin and then its argument prototype would still apply. */
  12985. #ifdef __cplusplus
  12986. extern "C"
  12987. #endif
  12988. char waddch ();
  12989. int
  12990. main ()
  12991. {
  12992. return waddch ();
  12993. ;
  12994. return 0;
  12995. }
  12996. _ACEOF
  12997. if ac_fn_c_try_link "$LINENO"; then :
  12998. case "$LIBEXT" in
  12999. dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13000. dylib) ac_cv_lib_soname_curses=`$OTOOL -L conftest$ac_exeext | grep "libcurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  13001. *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13002. if ${ac_cv_lib_soname_curses:+false} :; then :
  13003. ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13004. fi ;;
  13005. esac
  13006. else
  13007. ac_cv_lib_soname_curses=
  13008. fi
  13009. rm -f core conftest.err conftest.$ac_objext \
  13010. conftest$ac_exeext conftest.$ac_ext
  13011. LIBS=$ac_check_soname_save_LIBS
  13012. fi
  13013. if ${ac_cv_lib_soname_curses:+false} :; then :
  13014. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13015. $as_echo "not found" >&6; }
  13016. else
  13017. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
  13018. $as_echo "$ac_cv_lib_soname_curses" >&6; }
  13019. cat >>confdefs.h <<_ACEOF
  13020. #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
  13021. _ACEOF
  13022. CURSES_LIBS="-lcurses"
  13023. fi
  13024. fi
  13025. ac_save_LIBS="$LIBS"
  13026. LIBS="$LIBS $CURSES_LIBS"
  13027. for ac_func in mousemask
  13028. do :
  13029. ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
  13030. if test "x$ac_cv_func_mousemask" = xyes; then :
  13031. cat >>confdefs.h <<_ACEOF
  13032. #define HAVE_MOUSEMASK 1
  13033. _ACEOF
  13034. fi
  13035. done
  13036. LIBS="$ac_save_LIBS"
  13037. if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
  13038. case "x$with_curses" in
  13039. x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
  13040. xno) ;;
  13041. *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
  13042. This is an error since --with-curses was requested." "$LINENO" 5 ;;
  13043. esac
  13044. fi
  13045. if test "x$with_sane" != "xno"
  13046. then
  13047. if ${SANE_CFLAGS:+false} :; then :
  13048. if ${PKG_CONFIG+:} false; then :
  13049. SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
  13050. fi
  13051. fi
  13052. test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
  13053. if ${SANE_LIBS:+false} :; then :
  13054. if ${PKG_CONFIG+:} false; then :
  13055. SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
  13056. fi
  13057. fi
  13058. test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
  13059. $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
  13060. $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
  13061. ac_save_CPPFLAGS=$CPPFLAGS
  13062. CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
  13063. ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
  13064. if test "x$ac_cv_header_sane_sane_h" = xyes; then :
  13065. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
  13066. $as_echo_n "checking for -lsane... " >&6; }
  13067. if ${ac_cv_lib_soname_sane+:} false; then :
  13068. $as_echo_n "(cached) " >&6
  13069. else
  13070. ac_check_soname_save_LIBS=$LIBS
  13071. LIBS="-lsane $SANE_LIBS $LIBS"
  13072. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13073. /* end confdefs.h. */
  13074. /* Override any GCC internal prototype to avoid an error.
  13075. Use char because int might match the return type of a GCC
  13076. builtin and then its argument prototype would still apply. */
  13077. #ifdef __cplusplus
  13078. extern "C"
  13079. #endif
  13080. char sane_init ();
  13081. int
  13082. main ()
  13083. {
  13084. return sane_init ();
  13085. ;
  13086. return 0;
  13087. }
  13088. _ACEOF
  13089. if ac_fn_c_try_link "$LINENO"; then :
  13090. case "$LIBEXT" in
  13091. dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13092. dylib) ac_cv_lib_soname_sane=`$OTOOL -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  13093. *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13094. if ${ac_cv_lib_soname_sane:+false} :; then :
  13095. ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13096. fi ;;
  13097. esac
  13098. else
  13099. ac_cv_lib_soname_sane=
  13100. fi
  13101. rm -f core conftest.err conftest.$ac_objext \
  13102. conftest$ac_exeext conftest.$ac_ext
  13103. LIBS=$ac_check_soname_save_LIBS
  13104. fi
  13105. if ${ac_cv_lib_soname_sane:+false} :; then :
  13106. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13107. $as_echo "not found" >&6; }
  13108. SANE_CFLAGS=""
  13109. else
  13110. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
  13111. $as_echo "$ac_cv_lib_soname_sane" >&6; }
  13112. cat >>confdefs.h <<_ACEOF
  13113. #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
  13114. _ACEOF
  13115. fi
  13116. else
  13117. SANE_CFLAGS=""
  13118. fi
  13119. CPPFLAGS=$ac_save_CPPFLAGS
  13120. test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13121. test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13122. fi
  13123. if test "x$ac_cv_lib_soname_sane" = "x"; then :
  13124. case "x$with_sane" in
  13125. x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
  13126. xno) ;;
  13127. *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
  13128. This is an error since --with-sane was requested." "$LINENO" 5 ;;
  13129. esac
  13130. fi
  13131. if test "x$with_v4l2" != "xno"
  13132. then
  13133. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
  13134. $as_echo_n "checking for -lv4l2... " >&6; }
  13135. if ${ac_cv_lib_soname_v4l2+:} false; then :
  13136. $as_echo_n "(cached) " >&6
  13137. else
  13138. ac_check_soname_save_LIBS=$LIBS
  13139. LIBS="-lv4l2 $LIBS"
  13140. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13141. /* end confdefs.h. */
  13142. /* Override any GCC internal prototype to avoid an error.
  13143. Use char because int might match the return type of a GCC
  13144. builtin and then its argument prototype would still apply. */
  13145. #ifdef __cplusplus
  13146. extern "C"
  13147. #endif
  13148. char v4l2_open ();
  13149. int
  13150. main ()
  13151. {
  13152. return v4l2_open ();
  13153. ;
  13154. return 0;
  13155. }
  13156. _ACEOF
  13157. if ac_fn_c_try_link "$LINENO"; then :
  13158. case "$LIBEXT" in
  13159. dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13160. dylib) ac_cv_lib_soname_v4l2=`$OTOOL -L conftest$ac_exeext | grep "libv4l2\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l2\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  13161. *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13162. if ${ac_cv_lib_soname_v4l2:+false} :; then :
  13163. ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13164. fi ;;
  13165. esac
  13166. else
  13167. ac_cv_lib_soname_v4l2=
  13168. fi
  13169. rm -f core conftest.err conftest.$ac_objext \
  13170. conftest$ac_exeext conftest.$ac_ext
  13171. LIBS=$ac_check_soname_save_LIBS
  13172. fi
  13173. if ${ac_cv_lib_soname_v4l2:+false} :; then :
  13174. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13175. $as_echo "not found" >&6; }
  13176. else
  13177. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
  13178. $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
  13179. cat >>confdefs.h <<_ACEOF
  13180. #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
  13181. _ACEOF
  13182. fi
  13183. fi
  13184. if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
  13185. case "x$with_v4l2" in
  13186. x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
  13187. xno) ;;
  13188. *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
  13189. This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
  13190. esac
  13191. fi
  13192. if test "x$with_gphoto" != "xno"
  13193. then
  13194. if ${GPHOTO2_CFLAGS:+false} :; then :
  13195. if ${PKG_CONFIG+:} false; then :
  13196. GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
  13197. fi
  13198. fi
  13199. test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
  13200. if ${GPHOTO2_LIBS:+false} :; then :
  13201. if ${PKG_CONFIG+:} false; then :
  13202. GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
  13203. fi
  13204. fi
  13205. test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
  13206. GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
  13207. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
  13208. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
  13209. ac_save_CPPFLAGS=$CPPFLAGS
  13210. CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
  13211. ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
  13212. if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
  13213. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
  13214. $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
  13215. if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
  13216. $as_echo_n "(cached) " >&6
  13217. else
  13218. ac_check_lib_save_LIBS=$LIBS
  13219. LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
  13220. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13221. /* end confdefs.h. */
  13222. /* Override any GCC internal prototype to avoid an error.
  13223. Use char because int might match the return type of a GCC
  13224. builtin and then its argument prototype would still apply. */
  13225. #ifdef __cplusplus
  13226. extern "C"
  13227. #endif
  13228. char gp_camera_new ();
  13229. int
  13230. main ()
  13231. {
  13232. return gp_camera_new ();
  13233. ;
  13234. return 0;
  13235. }
  13236. _ACEOF
  13237. if ac_fn_c_try_link "$LINENO"; then :
  13238. ac_cv_lib_gphoto2_gp_camera_new=yes
  13239. else
  13240. ac_cv_lib_gphoto2_gp_camera_new=no
  13241. fi
  13242. rm -f core conftest.err conftest.$ac_objext \
  13243. conftest$ac_exeext conftest.$ac_ext
  13244. LIBS=$ac_check_lib_save_LIBS
  13245. fi
  13246. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
  13247. $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
  13248. if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
  13249. $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
  13250. else
  13251. GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
  13252. fi
  13253. else
  13254. GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
  13255. fi
  13256. CPPFLAGS=$ac_save_CPPFLAGS
  13257. test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13258. test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13259. if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
  13260. if ${PKG_CONFIG+:} false; then :
  13261. GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
  13262. fi
  13263. fi
  13264. test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
  13265. if ${GPHOTO2_PORT_LIBS:+false} :; then :
  13266. if ${PKG_CONFIG+:} false; then :
  13267. GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
  13268. fi
  13269. fi
  13270. test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
  13271. GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
  13272. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
  13273. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
  13274. ac_save_CPPFLAGS=$CPPFLAGS
  13275. CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
  13276. ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
  13277. if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
  13278. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
  13279. $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
  13280. if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
  13281. $as_echo_n "(cached) " >&6
  13282. else
  13283. ac_check_lib_save_LIBS=$LIBS
  13284. LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
  13285. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13286. /* end confdefs.h. */
  13287. /* Override any GCC internal prototype to avoid an error.
  13288. Use char because int might match the return type of a GCC
  13289. builtin and then its argument prototype would still apply. */
  13290. #ifdef __cplusplus
  13291. extern "C"
  13292. #endif
  13293. char gp_port_info_list_new ();
  13294. int
  13295. main ()
  13296. {
  13297. return gp_port_info_list_new ();
  13298. ;
  13299. return 0;
  13300. }
  13301. _ACEOF
  13302. if ac_fn_c_try_link "$LINENO"; then :
  13303. ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
  13304. else
  13305. ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
  13306. fi
  13307. rm -f core conftest.err conftest.$ac_objext \
  13308. conftest$ac_exeext conftest.$ac_ext
  13309. LIBS=$ac_check_lib_save_LIBS
  13310. fi
  13311. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
  13312. $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
  13313. if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
  13314. $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
  13315. else
  13316. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  13317. fi
  13318. else
  13319. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  13320. fi
  13321. CPPFLAGS=$ac_save_CPPFLAGS
  13322. test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13323. test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13324. fi
  13325. if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
  13326. case "x$with_gphoto" in
  13327. x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
  13328. xno) ;;
  13329. *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
  13330. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  13331. esac
  13332. fi
  13333. if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
  13334. case "x$with_gphoto" in
  13335. x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
  13336. xno) ;;
  13337. *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
  13338. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  13339. esac
  13340. fi
  13341. if test "$ac_cv_header_resolv_h" = "yes"
  13342. then
  13343. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
  13344. $as_echo_n "checking for resolver library... " >&6; }
  13345. if ${ac_cv_have_resolv+:} false; then :
  13346. $as_echo_n "(cached) " >&6
  13347. else
  13348. ac_save_LIBS="$LIBS"
  13349. for lib in '' -lresolv
  13350. do
  13351. LIBS="$lib $ac_save_LIBS"
  13352. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13353. /* end confdefs.h. */
  13354. #ifdef HAVE_NETINET_IN_H
  13355. #include <netinet/in.h>
  13356. #endif
  13357. #include <resolv.h>
  13358. int
  13359. main ()
  13360. {
  13361. if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
  13362. ;
  13363. return 0;
  13364. }
  13365. _ACEOF
  13366. if ac_fn_c_try_link "$LINENO"; then :
  13367. ac_cv_have_resolv=${lib:-"none required"}
  13368. else
  13369. ac_cv_have_resolv="not found"
  13370. fi
  13371. rm -f core conftest.err conftest.$ac_objext \
  13372. conftest$ac_exeext conftest.$ac_ext
  13373. test "x$ac_cv_have_resolv" = "xnot found" || break
  13374. done
  13375. LIBS="$ac_save_LIBS"
  13376. fi
  13377. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
  13378. $as_echo "$ac_cv_have_resolv" >&6; }
  13379. case "$ac_cv_have_resolv" in
  13380. "not found") ;;
  13381. "none required")
  13382. $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
  13383. ;;
  13384. *)
  13385. $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
  13386. RESOLV_LIBS=$ac_cv_have_resolv
  13387. ;;
  13388. esac
  13389. fi
  13390. if test "x$with_cms" != "xno"
  13391. then
  13392. if ${LCMS2_CFLAGS:+false} :; then :
  13393. if ${PKG_CONFIG+:} false; then :
  13394. LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
  13395. fi
  13396. fi
  13397. if ${LCMS2_LIBS:+false} :; then :
  13398. if ${PKG_CONFIG+:} false; then :
  13399. LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
  13400. fi
  13401. fi
  13402. LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
  13403. $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
  13404. $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
  13405. ac_save_CPPFLAGS=$CPPFLAGS
  13406. CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
  13407. for ac_header in lcms2.h
  13408. do :
  13409. ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
  13410. if test "x$ac_cv_header_lcms2_h" = xyes; then :
  13411. cat >>confdefs.h <<_ACEOF
  13412. #define HAVE_LCMS2_H 1
  13413. _ACEOF
  13414. fi
  13415. done
  13416. if test "$ac_cv_header_lcms2_h" = "yes"
  13417. then
  13418. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
  13419. $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
  13420. if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
  13421. $as_echo_n "(cached) " >&6
  13422. else
  13423. ac_check_lib_save_LIBS=$LIBS
  13424. LIBS="-llcms2 $LCMS2_LIBS $LIBS"
  13425. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13426. /* end confdefs.h. */
  13427. /* Override any GCC internal prototype to avoid an error.
  13428. Use char because int might match the return type of a GCC
  13429. builtin and then its argument prototype would still apply. */
  13430. #ifdef __cplusplus
  13431. extern "C"
  13432. #endif
  13433. char cmsOpenProfileFromFile ();
  13434. int
  13435. main ()
  13436. {
  13437. return cmsOpenProfileFromFile ();
  13438. ;
  13439. return 0;
  13440. }
  13441. _ACEOF
  13442. if ac_fn_c_try_link "$LINENO"; then :
  13443. ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
  13444. else
  13445. ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
  13446. fi
  13447. rm -f core conftest.err conftest.$ac_objext \
  13448. conftest$ac_exeext conftest.$ac_ext
  13449. LIBS=$ac_check_lib_save_LIBS
  13450. fi
  13451. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
  13452. $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
  13453. if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
  13454. $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
  13455. else
  13456. LCMS2_LIBS=""
  13457. fi
  13458. else
  13459. LCMS2_CFLAGS=""
  13460. LCMS2_LIBS=""
  13461. fi
  13462. CPPFLAGS=$ac_save_CPPFLAGS
  13463. test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13464. test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13465. fi
  13466. if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
  13467. case "x$with_cms" in
  13468. x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
  13469. xno) ;;
  13470. *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
  13471. This is an error since --with-cms was requested." "$LINENO" 5 ;;
  13472. esac
  13473. fi
  13474. if test "x$with_gtk3" != "xno";
  13475. then
  13476. if ${GTK3_CFLAGS:+false} :; then :
  13477. if ${PKG_CONFIG+:} false; then :
  13478. GTK3_CFLAGS=`$PKG_CONFIG --cflags gtk+-3.0 2>/dev/null`
  13479. fi
  13480. fi
  13481. if ${GTK3_LIBS:+false} :; then :
  13482. if ${PKG_CONFIG+:} false; then :
  13483. GTK3_LIBS=`$PKG_CONFIG --libs gtk+-3.0 2>/dev/null`
  13484. fi
  13485. fi
  13486. $as_echo "$as_me:${as_lineno-$LINENO}: gtk+-3.0 cflags: $GTK3_CFLAGS" >&5
  13487. $as_echo "$as_me:${as_lineno-$LINENO}: gtk+-3.0 libs: $GTK3_LIBS" >&5
  13488. ac_save_CPPFLAGS=$CPPFLAGS
  13489. CPPFLAGS="$CPPFLAGS $GTK3_CFLAGS"
  13490. for ac_header in gtk/gtk.h
  13491. do :
  13492. ac_fn_c_check_header_mongrel "$LINENO" "gtk/gtk.h" "ac_cv_header_gtk_gtk_h" "$ac_includes_default"
  13493. if test "x$ac_cv_header_gtk_gtk_h" = xyes; then :
  13494. cat >>confdefs.h <<_ACEOF
  13495. #define HAVE_GTK_GTK_H 1
  13496. _ACEOF
  13497. fi
  13498. done
  13499. if test "$ac_cv_header_gtk_gtk_h" = "yes"
  13500. then
  13501. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgobject-2.0" >&5
  13502. $as_echo_n "checking for -lgobject-2.0... " >&6; }
  13503. if ${ac_cv_lib_soname_gobject_2_0+:} false; then :
  13504. $as_echo_n "(cached) " >&6
  13505. else
  13506. ac_check_soname_save_LIBS=$LIBS
  13507. LIBS="-lgobject-2.0 $GTK3_LIBS $LIBS"
  13508. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13509. /* end confdefs.h. */
  13510. /* Override any GCC internal prototype to avoid an error.
  13511. Use char because int might match the return type of a GCC
  13512. builtin and then its argument prototype would still apply. */
  13513. #ifdef __cplusplus
  13514. extern "C"
  13515. #endif
  13516. char g_object_unref ();
  13517. int
  13518. main ()
  13519. {
  13520. return g_object_unref ();
  13521. ;
  13522. return 0;
  13523. }
  13524. _ACEOF
  13525. if ac_fn_c_try_link "$LINENO"; then :
  13526. case "$LIBEXT" in
  13527. dll) ac_cv_lib_soname_gobject_2_0=`$ac_cv_path_LDD conftest.exe | grep "gobject-2.0" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13528. dylib) ac_cv_lib_soname_gobject_2_0=`$OTOOL -L conftest$ac_exeext | grep "libgobject-2.0\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgobject-2.0\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  13529. *) ac_cv_lib_soname_gobject_2_0=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgobject-2.0\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgobject-2.0\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13530. if ${ac_cv_lib_soname_gobject_2_0:+false} :; then :
  13531. ac_cv_lib_soname_gobject_2_0=`$LDD conftest$ac_exeext | grep "libgobject-2.0\\.$LIBEXT" | sed -e "s/^.*\(libgobject-2.0\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13532. fi ;;
  13533. esac
  13534. else
  13535. ac_cv_lib_soname_gobject_2_0=
  13536. fi
  13537. rm -f core conftest.err conftest.$ac_objext \
  13538. conftest$ac_exeext conftest.$ac_ext
  13539. LIBS=$ac_check_soname_save_LIBS
  13540. fi
  13541. if ${ac_cv_lib_soname_gobject_2_0:+false} :; then :
  13542. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13543. $as_echo "not found" >&6; }
  13544. else
  13545. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gobject_2_0" >&5
  13546. $as_echo "$ac_cv_lib_soname_gobject_2_0" >&6; }
  13547. cat >>confdefs.h <<_ACEOF
  13548. #define SONAME_LIBGOBJECT_2_0 "$ac_cv_lib_soname_gobject_2_0"
  13549. _ACEOF
  13550. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcairo" >&5
  13551. $as_echo_n "checking for -lcairo... " >&6; }
  13552. if ${ac_cv_lib_soname_cairo+:} false; then :
  13553. $as_echo_n "(cached) " >&6
  13554. else
  13555. ac_check_soname_save_LIBS=$LIBS
  13556. LIBS="-lcairo $LIBS"
  13557. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13558. /* end confdefs.h. */
  13559. /* Override any GCC internal prototype to avoid an error.
  13560. Use char because int might match the return type of a GCC
  13561. builtin and then its argument prototype would still apply. */
  13562. #ifdef __cplusplus
  13563. extern "C"
  13564. #endif
  13565. char cairo_destroy ();
  13566. int
  13567. main ()
  13568. {
  13569. return cairo_destroy ();
  13570. ;
  13571. return 0;
  13572. }
  13573. _ACEOF
  13574. if ac_fn_c_try_link "$LINENO"; then :
  13575. case "$LIBEXT" in
  13576. dll) ac_cv_lib_soname_cairo=`$ac_cv_path_LDD conftest.exe | grep "cairo" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13577. dylib) ac_cv_lib_soname_cairo=`$OTOOL -L conftest$ac_exeext | grep "libcairo\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcairo\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  13578. *) ac_cv_lib_soname_cairo=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcairo\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcairo\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13579. if ${ac_cv_lib_soname_cairo:+false} :; then :
  13580. ac_cv_lib_soname_cairo=`$LDD conftest$ac_exeext | grep "libcairo\\.$LIBEXT" | sed -e "s/^.*\(libcairo\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13581. fi ;;
  13582. esac
  13583. else
  13584. ac_cv_lib_soname_cairo=
  13585. fi
  13586. rm -f core conftest.err conftest.$ac_objext \
  13587. conftest$ac_exeext conftest.$ac_ext
  13588. LIBS=$ac_check_soname_save_LIBS
  13589. fi
  13590. if ${ac_cv_lib_soname_cairo:+false} :; then :
  13591. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13592. $as_echo "not found" >&6; }
  13593. else
  13594. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cairo" >&5
  13595. $as_echo "$ac_cv_lib_soname_cairo" >&6; }
  13596. cat >>confdefs.h <<_ACEOF
  13597. #define SONAME_LIBCAIRO "$ac_cv_lib_soname_cairo"
  13598. _ACEOF
  13599. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgtk-3" >&5
  13600. $as_echo_n "checking for -lgtk-3... " >&6; }
  13601. if ${ac_cv_lib_soname_gtk_3+:} false; then :
  13602. $as_echo_n "(cached) " >&6
  13603. else
  13604. ac_check_soname_save_LIBS=$LIBS
  13605. LIBS="-lgtk-3 $LIBS"
  13606. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13607. /* end confdefs.h. */
  13608. /* Override any GCC internal prototype to avoid an error.
  13609. Use char because int might match the return type of a GCC
  13610. builtin and then its argument prototype would still apply. */
  13611. #ifdef __cplusplus
  13612. extern "C"
  13613. #endif
  13614. char gtk_style_context_save ();
  13615. int
  13616. main ()
  13617. {
  13618. return gtk_style_context_save ();
  13619. ;
  13620. return 0;
  13621. }
  13622. _ACEOF
  13623. if ac_fn_c_try_link "$LINENO"; then :
  13624. case "$LIBEXT" in
  13625. dll) ac_cv_lib_soname_gtk_3=`$ac_cv_path_LDD conftest.exe | grep "gtk-3" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13626. dylib) ac_cv_lib_soname_gtk_3=`$OTOOL -L conftest$ac_exeext | grep "libgtk-3\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgtk-3\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  13627. *) ac_cv_lib_soname_gtk_3=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgtk-3\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgtk-3\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13628. if ${ac_cv_lib_soname_gtk_3:+false} :; then :
  13629. ac_cv_lib_soname_gtk_3=`$LDD conftest$ac_exeext | grep "libgtk-3\\.$LIBEXT" | sed -e "s/^.*\(libgtk-3\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13630. fi ;;
  13631. esac
  13632. else
  13633. ac_cv_lib_soname_gtk_3=
  13634. fi
  13635. rm -f core conftest.err conftest.$ac_objext \
  13636. conftest$ac_exeext conftest.$ac_ext
  13637. LIBS=$ac_check_soname_save_LIBS
  13638. fi
  13639. if ${ac_cv_lib_soname_gtk_3:+false} :; then :
  13640. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13641. $as_echo "not found" >&6; }
  13642. else
  13643. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gtk_3" >&5
  13644. $as_echo "$ac_cv_lib_soname_gtk_3" >&6; }
  13645. cat >>confdefs.h <<_ACEOF
  13646. #define SONAME_LIBGTK_3 "$ac_cv_lib_soname_gtk_3"
  13647. _ACEOF
  13648. fi
  13649. fi
  13650. fi
  13651. fi
  13652. CPPFLAGS=$ac_save_CPPFLAGS
  13653. test -z "$GTK3_CFLAGS" || GTK3_CFLAGS=`echo " $GTK3_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13654. test -z "$GTK3_LIBS" || GTK3_LIBS=`echo " $GTK3_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13655. fi
  13656. if test "x$ac_cv_lib_soname_gtk_3" = x; then :
  13657. case "x$with_gtk3" in
  13658. x) as_fn_append wine_notices "|GTK3 ${notice_platform}development files not found, GTK themes won't be supported." ;;
  13659. xno) ;;
  13660. *) as_fn_error $? "GTK3 ${notice_platform}development files not found, GTK themes won't be supported.
  13661. This is an error since --with-gtk3 was requested." "$LINENO" 5 ;;
  13662. esac
  13663. fi
  13664. if test "x$with_freetype" != "xno"
  13665. then
  13666. if ${FREETYPE_CFLAGS:+false} :; then :
  13667. if ${PKG_CONFIG+:} false; then :
  13668. FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
  13669. fi
  13670. fi
  13671. test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
  13672. if ${FREETYPE_LIBS:+false} :; then :
  13673. if ${PKG_CONFIG+:} false; then :
  13674. FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
  13675. fi
  13676. fi
  13677. test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
  13678. FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
  13679. $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
  13680. $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
  13681. ac_save_CPPFLAGS=$CPPFLAGS
  13682. CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
  13683. for ac_header in ft2build.h
  13684. do :
  13685. ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
  13686. if test "x$ac_cv_header_ft2build_h" = xyes; then :
  13687. cat >>confdefs.h <<_ACEOF
  13688. #define HAVE_FT2BUILD_H 1
  13689. _ACEOF
  13690. fi
  13691. done
  13692. if test "$ac_cv_header_ft2build_h" = "yes"
  13693. then
  13694. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
  13695. $as_echo_n "checking for -lfreetype... " >&6; }
  13696. if ${ac_cv_lib_soname_freetype+:} false; then :
  13697. $as_echo_n "(cached) " >&6
  13698. else
  13699. ac_check_soname_save_LIBS=$LIBS
  13700. LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
  13701. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13702. /* end confdefs.h. */
  13703. /* Override any GCC internal prototype to avoid an error.
  13704. Use char because int might match the return type of a GCC
  13705. builtin and then its argument prototype would still apply. */
  13706. #ifdef __cplusplus
  13707. extern "C"
  13708. #endif
  13709. char FT_Init_FreeType ();
  13710. int
  13711. main ()
  13712. {
  13713. return FT_Init_FreeType ();
  13714. ;
  13715. return 0;
  13716. }
  13717. _ACEOF
  13718. if ac_fn_c_try_link "$LINENO"; then :
  13719. case "$LIBEXT" in
  13720. dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13721. dylib) ac_cv_lib_soname_freetype=`$OTOOL -L conftest$ac_exeext | grep "libfreetype\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfreetype\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  13722. *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13723. if ${ac_cv_lib_soname_freetype:+false} :; then :
  13724. ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13725. fi ;;
  13726. esac
  13727. else
  13728. ac_cv_lib_soname_freetype=
  13729. fi
  13730. rm -f core conftest.err conftest.$ac_objext \
  13731. conftest$ac_exeext conftest.$ac_ext
  13732. LIBS=$ac_check_soname_save_LIBS
  13733. fi
  13734. if ${ac_cv_lib_soname_freetype:+false} :; then :
  13735. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13736. $as_echo "not found" >&6; }
  13737. FREETYPE_LIBS=""
  13738. else
  13739. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
  13740. $as_echo "$ac_cv_lib_soname_freetype" >&6; }
  13741. cat >>confdefs.h <<_ACEOF
  13742. #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
  13743. _ACEOF
  13744. $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
  13745. ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
  13746. #include FT_MODULE_H
  13747. "
  13748. if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
  13749. cat >>confdefs.h <<_ACEOF
  13750. #define HAVE_FT_TRUETYPEENGINETYPE 1
  13751. _ACEOF
  13752. fi
  13753. fi
  13754. else
  13755. FREETYPE_CFLAGS=""
  13756. FREETYPE_LIBS=""
  13757. fi
  13758. CPPFLAGS=$ac_save_CPPFLAGS
  13759. test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13760. test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13761. fi
  13762. if test "x$ac_cv_lib_soname_freetype" = x; then :
  13763. case "x$with_freetype" in
  13764. xno) ;;
  13765. *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
  13766. Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
  13767. esac
  13768. enable_fonts=${enable_fonts:-no}
  13769. fi
  13770. ac_wine_check_funcs_save_LIBS="$LIBS"
  13771. LIBS="$LIBS $PTHREAD_LIBS"
  13772. for ac_func in \
  13773. pthread_getthreadid_np
  13774. do :
  13775. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  13776. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  13777. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  13778. cat >>confdefs.h <<_ACEOF
  13779. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  13780. _ACEOF
  13781. fi
  13782. done
  13783. LIBS="$ac_wine_check_funcs_save_LIBS"
  13784. if test "x$with_zlib" != "xno"
  13785. then
  13786. if ${Z_CFLAGS:+false} :; then :
  13787. if ${PKG_CONFIG+:} false; then :
  13788. Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
  13789. fi
  13790. fi
  13791. if ${Z_LIBS:+false} :; then :
  13792. if ${PKG_CONFIG+:} false; then :
  13793. Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
  13794. fi
  13795. fi
  13796. Z_LIBS=${Z_LIBS:-"-lz"}
  13797. $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
  13798. $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
  13799. ac_save_CPPFLAGS=$CPPFLAGS
  13800. CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
  13801. for ac_header in zlib.h
  13802. do :
  13803. ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
  13804. if test "x$ac_cv_header_zlib_h" = xyes; then :
  13805. cat >>confdefs.h <<_ACEOF
  13806. #define HAVE_ZLIB_H 1
  13807. _ACEOF
  13808. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
  13809. $as_echo_n "checking for inflate in -lz... " >&6; }
  13810. if ${ac_cv_lib_z_inflate+:} false; then :
  13811. $as_echo_n "(cached) " >&6
  13812. else
  13813. ac_check_lib_save_LIBS=$LIBS
  13814. LIBS="-lz $Z_LIBS $LIBS"
  13815. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13816. /* end confdefs.h. */
  13817. /* Override any GCC internal prototype to avoid an error.
  13818. Use char because int might match the return type of a GCC
  13819. builtin and then its argument prototype would still apply. */
  13820. #ifdef __cplusplus
  13821. extern "C"
  13822. #endif
  13823. char inflate ();
  13824. int
  13825. main ()
  13826. {
  13827. return inflate ();
  13828. ;
  13829. return 0;
  13830. }
  13831. _ACEOF
  13832. if ac_fn_c_try_link "$LINENO"; then :
  13833. ac_cv_lib_z_inflate=yes
  13834. else
  13835. ac_cv_lib_z_inflate=no
  13836. fi
  13837. rm -f core conftest.err conftest.$ac_objext \
  13838. conftest$ac_exeext conftest.$ac_ext
  13839. LIBS=$ac_check_lib_save_LIBS
  13840. fi
  13841. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
  13842. $as_echo "$ac_cv_lib_z_inflate" >&6; }
  13843. if test "x$ac_cv_lib_z_inflate" = xyes; then :
  13844. $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
  13845. else
  13846. Z_LIBS=""
  13847. fi
  13848. else
  13849. Z_LIBS=""
  13850. fi
  13851. done
  13852. CPPFLAGS=$ac_save_CPPFLAGS
  13853. test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13854. test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13855. fi
  13856. if test "x$Z_LIBS" = "x"; then :
  13857. case "x$with_zlib" in
  13858. x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
  13859. xno) ;;
  13860. *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
  13861. This is an error since --with-zlib was requested." "$LINENO" 5 ;;
  13862. esac
  13863. fi
  13864. if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
  13865. then
  13866. if test "$ac_cv_header_gettext_po_h" = "yes"
  13867. then
  13868. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
  13869. $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
  13870. if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
  13871. $as_echo_n "(cached) " >&6
  13872. else
  13873. ac_check_lib_save_LIBS=$LIBS
  13874. LIBS="-lgettextpo $LIBS"
  13875. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13876. /* end confdefs.h. */
  13877. /* Override any GCC internal prototype to avoid an error.
  13878. Use char because int might match the return type of a GCC
  13879. builtin and then its argument prototype would still apply. */
  13880. #ifdef __cplusplus
  13881. extern "C"
  13882. #endif
  13883. char po_message_msgctxt ();
  13884. int
  13885. main ()
  13886. {
  13887. return po_message_msgctxt ();
  13888. ;
  13889. return 0;
  13890. }
  13891. _ACEOF
  13892. if ac_fn_c_try_link "$LINENO"; then :
  13893. ac_cv_lib_gettextpo_po_message_msgctxt=yes
  13894. else
  13895. ac_cv_lib_gettextpo_po_message_msgctxt=no
  13896. fi
  13897. rm -f core conftest.err conftest.$ac_objext \
  13898. conftest$ac_exeext conftest.$ac_ext
  13899. LIBS=$ac_check_lib_save_LIBS
  13900. fi
  13901. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
  13902. $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
  13903. if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
  13904. $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
  13905. GETTEXTPO_LIBS="-lgettextpo"
  13906. fi
  13907. fi
  13908. if test "x$GETTEXTPO_LIBS" = "x"; then :
  13909. case "x$with_gettextpo" in
  13910. x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
  13911. xno) ;;
  13912. *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
  13913. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  13914. esac
  13915. fi
  13916. if test "$srcdir" != .; then :
  13917. case "x$with_gettextpo" in
  13918. x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
  13919. xno) ;;
  13920. *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
  13921. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  13922. esac
  13923. fi
  13924. fi
  13925. if test "x$with_pulse" != "xno";
  13926. then
  13927. if ${PULSE_CFLAGS:+false} :; then :
  13928. if ${PKG_CONFIG+:} false; then :
  13929. PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
  13930. fi
  13931. fi
  13932. if ${PULSE_LIBS:+false} :; then :
  13933. if ${PKG_CONFIG+:} false; then :
  13934. PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
  13935. fi
  13936. fi
  13937. $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
  13938. $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
  13939. ac_save_CPPFLAGS=$CPPFLAGS
  13940. CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
  13941. for ac_header in pulse/pulseaudio.h
  13942. do :
  13943. ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
  13944. if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
  13945. cat >>confdefs.h <<_ACEOF
  13946. #define HAVE_PULSE_PULSEAUDIO_H 1
  13947. _ACEOF
  13948. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
  13949. $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
  13950. if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
  13951. $as_echo_n "(cached) " >&6
  13952. else
  13953. ac_check_lib_save_LIBS=$LIBS
  13954. LIBS="-lpulse $PULSE_LIBS $LIBS"
  13955. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13956. /* end confdefs.h. */
  13957. /* Override any GCC internal prototype to avoid an error.
  13958. Use char because int might match the return type of a GCC
  13959. builtin and then its argument prototype would still apply. */
  13960. #ifdef __cplusplus
  13961. extern "C"
  13962. #endif
  13963. char pa_stream_is_corked ();
  13964. int
  13965. main ()
  13966. {
  13967. return pa_stream_is_corked ();
  13968. ;
  13969. return 0;
  13970. }
  13971. _ACEOF
  13972. if ac_fn_c_try_link "$LINENO"; then :
  13973. ac_cv_lib_pulse_pa_stream_is_corked=yes
  13974. else
  13975. ac_cv_lib_pulse_pa_stream_is_corked=no
  13976. fi
  13977. rm -f core conftest.err conftest.$ac_objext \
  13978. conftest$ac_exeext conftest.$ac_ext
  13979. LIBS=$ac_check_lib_save_LIBS
  13980. fi
  13981. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
  13982. $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
  13983. if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
  13984. :
  13985. else
  13986. PULSE_LIBS=""
  13987. fi
  13988. else
  13989. PULSE_LIBS=""
  13990. fi
  13991. done
  13992. CPPFLAGS=$ac_save_CPPFLAGS
  13993. test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  13994. test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  13995. fi
  13996. if test -z "$PULSE_LIBS"; then :
  13997. case "x$with_pulse" in
  13998. x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
  13999. xno) ;;
  14000. *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
  14001. This is an error since --with-pulse was requested." "$LINENO" 5 ;;
  14002. esac
  14003. enable_winepulse_drv=${enable_winepulse_drv:-no}
  14004. fi
  14005. if test "x$with_gstreamer" != "xno"
  14006. then
  14007. if ${GSTREAMER_CFLAGS:+false} :; then :
  14008. if ${PKG_CONFIG+:} false; then :
  14009. GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  14010. fi
  14011. fi
  14012. if ${GSTREAMER_LIBS:+false} :; then :
  14013. if ${PKG_CONFIG+:} false; then :
  14014. GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  14015. fi
  14016. fi
  14017. $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
  14018. $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
  14019. ac_save_CPPFLAGS=$CPPFLAGS
  14020. CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
  14021. ac_gst_incl=""
  14022. for i in $GSTREAMER_CFLAGS
  14023. do
  14024. case "$i" in
  14025. -I*) ac_gst_incl="$ac_gst_incl $i";;
  14026. esac
  14027. done
  14028. GSTREAMER_CFLAGS=$ac_gst_incl
  14029. CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
  14030. ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
  14031. if test "x$ac_cv_header_gst_gst_h" = xyes; then :
  14032. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
  14033. $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
  14034. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14035. /* end confdefs.h. */
  14036. #include <gst/gst.h>
  14037. int
  14038. main ()
  14039. {
  14040. static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
  14041. ;
  14042. return 0;
  14043. }
  14044. _ACEOF
  14045. if ac_fn_c_try_compile "$LINENO"; then :
  14046. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  14047. $as_echo "yes" >&6; }
  14048. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
  14049. $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
  14050. if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
  14051. $as_echo_n "(cached) " >&6
  14052. else
  14053. ac_check_lib_save_LIBS=$LIBS
  14054. LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
  14055. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14056. /* end confdefs.h. */
  14057. /* Override any GCC internal prototype to avoid an error.
  14058. Use char because int might match the return type of a GCC
  14059. builtin and then its argument prototype would still apply. */
  14060. #ifdef __cplusplus
  14061. extern "C"
  14062. #endif
  14063. char gst_pad_new ();
  14064. int
  14065. main ()
  14066. {
  14067. return gst_pad_new ();
  14068. ;
  14069. return 0;
  14070. }
  14071. _ACEOF
  14072. if ac_fn_c_try_link "$LINENO"; then :
  14073. ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
  14074. else
  14075. ac_cv_lib_gstreamer_1_0_gst_pad_new=no
  14076. fi
  14077. rm -f core conftest.err conftest.$ac_objext \
  14078. conftest$ac_exeext conftest.$ac_ext
  14079. LIBS=$ac_check_lib_save_LIBS
  14080. fi
  14081. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
  14082. $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
  14083. if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
  14084. :
  14085. fi
  14086. else
  14087. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  14088. $as_echo "no" >&6; }
  14089. ac_glib2_broken=yes
  14090. as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
  14091. fi
  14092. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14093. fi
  14094. CPPFLAGS=$ac_save_CPPFLAGS
  14095. test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14096. test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14097. fi
  14098. if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
  14099. case "x$with_gstreamer" in
  14100. x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
  14101. xno) ;;
  14102. *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
  14103. This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
  14104. esac
  14105. fi
  14106. test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
  14107. ALSA_LIBS=""
  14108. if test "x$with_alsa" != "xno"
  14109. then
  14110. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
  14111. $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
  14112. if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
  14113. $as_echo_n "(cached) " >&6
  14114. else
  14115. ac_check_lib_save_LIBS=$LIBS
  14116. LIBS="-lasound $LIBS"
  14117. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14118. /* end confdefs.h. */
  14119. /* Override any GCC internal prototype to avoid an error.
  14120. Use char because int might match the return type of a GCC
  14121. builtin and then its argument prototype would still apply. */
  14122. #ifdef __cplusplus
  14123. extern "C"
  14124. #endif
  14125. char snd_pcm_hw_params_get_access_mask ();
  14126. int
  14127. main ()
  14128. {
  14129. return snd_pcm_hw_params_get_access_mask ();
  14130. ;
  14131. return 0;
  14132. }
  14133. _ACEOF
  14134. if ac_fn_c_try_link "$LINENO"; then :
  14135. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
  14136. else
  14137. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
  14138. fi
  14139. rm -f core conftest.err conftest.$ac_objext \
  14140. conftest$ac_exeext conftest.$ac_ext
  14141. LIBS=$ac_check_lib_save_LIBS
  14142. fi
  14143. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
  14144. $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
  14145. if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
  14146. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14147. /* end confdefs.h. */
  14148. #include <alsa/asoundlib.h>
  14149. int
  14150. main ()
  14151. {
  14152. snd_pcm_hw_params_get_access_mask(NULL, NULL)
  14153. ;
  14154. return 0;
  14155. }
  14156. _ACEOF
  14157. if ac_fn_c_try_compile "$LINENO"; then :
  14158. ALSA_LIBS="-lasound"
  14159. fi
  14160. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  14161. fi
  14162. fi
  14163. test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
  14164. if test "x$with_oss" != xno
  14165. then
  14166. ac_save_CPPFLAGS="$CPPFLAGS"
  14167. if test -f /etc/oss.conf
  14168. then
  14169. . /etc/oss.conf
  14170. fi
  14171. ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
  14172. CPPFLAGS="$CPPFLAGS $ac_oss_incl"
  14173. ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
  14174. if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
  14175. ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
  14176. "
  14177. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
  14178. cat >>confdefs.h <<_ACEOF
  14179. #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
  14180. _ACEOF
  14181. OSS4_CFLAGS="$ac_oss_incl"
  14182. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
  14183. $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
  14184. if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
  14185. $as_echo_n "(cached) " >&6
  14186. else
  14187. ac_check_lib_save_LIBS=$LIBS
  14188. LIBS="-lossaudio $LIBS"
  14189. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14190. /* end confdefs.h. */
  14191. /* Override any GCC internal prototype to avoid an error.
  14192. Use char because int might match the return type of a GCC
  14193. builtin and then its argument prototype would still apply. */
  14194. #ifdef __cplusplus
  14195. extern "C"
  14196. #endif
  14197. char _oss_ioctl ();
  14198. int
  14199. main ()
  14200. {
  14201. return _oss_ioctl ();
  14202. ;
  14203. return 0;
  14204. }
  14205. _ACEOF
  14206. if ac_fn_c_try_link "$LINENO"; then :
  14207. ac_cv_lib_ossaudio__oss_ioctl=yes
  14208. else
  14209. ac_cv_lib_ossaudio__oss_ioctl=no
  14210. fi
  14211. rm -f core conftest.err conftest.$ac_objext \
  14212. conftest$ac_exeext conftest.$ac_ext
  14213. LIBS=$ac_check_lib_save_LIBS
  14214. fi
  14215. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
  14216. $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
  14217. if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
  14218. OSS4_LIBS="-lossaudio"
  14219. fi
  14220. fi
  14221. fi
  14222. CPPFLAGS="$ac_save_CPPFLAGS"
  14223. fi
  14224. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
  14225. case "x$with_oss" in
  14226. x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
  14227. xno) ;;
  14228. *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
  14229. This is an error since --with-oss was requested." "$LINENO" 5 ;;
  14230. esac
  14231. enable_wineoss_drv=${enable_wineoss_drv:-no}
  14232. fi
  14233. if test "x$with_udev" != "xno"
  14234. then
  14235. if ${UDEV_CFLAGS:+false} :; then :
  14236. if ${PKG_CONFIG+:} false; then :
  14237. UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
  14238. fi
  14239. fi
  14240. if ${UDEV_LIBS:+false} :; then :
  14241. if ${PKG_CONFIG+:} false; then :
  14242. UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
  14243. fi
  14244. fi
  14245. UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
  14246. $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
  14247. $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
  14248. ac_save_CPPFLAGS=$CPPFLAGS
  14249. CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
  14250. for ac_header in libudev.h
  14251. do :
  14252. ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
  14253. if test "x$ac_cv_header_libudev_h" = xyes; then :
  14254. cat >>confdefs.h <<_ACEOF
  14255. #define HAVE_LIBUDEV_H 1
  14256. _ACEOF
  14257. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
  14258. $as_echo_n "checking for udev_new in -ludev... " >&6; }
  14259. if ${ac_cv_lib_udev_udev_new+:} false; then :
  14260. $as_echo_n "(cached) " >&6
  14261. else
  14262. ac_check_lib_save_LIBS=$LIBS
  14263. LIBS="-ludev $UDEV_LIBS $LIBS"
  14264. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14265. /* end confdefs.h. */
  14266. /* Override any GCC internal prototype to avoid an error.
  14267. Use char because int might match the return type of a GCC
  14268. builtin and then its argument prototype would still apply. */
  14269. #ifdef __cplusplus
  14270. extern "C"
  14271. #endif
  14272. char udev_new ();
  14273. int
  14274. main ()
  14275. {
  14276. return udev_new ();
  14277. ;
  14278. return 0;
  14279. }
  14280. _ACEOF
  14281. if ac_fn_c_try_link "$LINENO"; then :
  14282. ac_cv_lib_udev_udev_new=yes
  14283. else
  14284. ac_cv_lib_udev_udev_new=no
  14285. fi
  14286. rm -f core conftest.err conftest.$ac_objext \
  14287. conftest$ac_exeext conftest.$ac_ext
  14288. LIBS=$ac_check_lib_save_LIBS
  14289. fi
  14290. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
  14291. $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
  14292. if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
  14293. $as_echo "#define HAVE_UDEV 1" >>confdefs.h
  14294. else
  14295. UDEV_LIBS=""
  14296. fi
  14297. else
  14298. UDEV_LIBS=""
  14299. fi
  14300. done
  14301. CPPFLAGS=$ac_save_CPPFLAGS
  14302. test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14303. test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14304. fi
  14305. if test "x$UDEV_LIBS" = "x"; then :
  14306. case "x$with_udev" in
  14307. x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
  14308. xno) ;;
  14309. *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
  14310. This is an error since --with-udev was requested." "$LINENO" 5 ;;
  14311. esac
  14312. fi
  14313. if test "x$with_unwind" != xno
  14314. then
  14315. if ${UNWIND_CFLAGS:+false} :; then :
  14316. if ${PKG_CONFIG+:} false; then :
  14317. UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
  14318. fi
  14319. fi
  14320. if ${UNWIND_LIBS:+false} :; then :
  14321. if ${PKG_CONFIG+:} false; then :
  14322. UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
  14323. fi
  14324. fi
  14325. UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
  14326. $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
  14327. $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
  14328. ac_save_CPPFLAGS=$CPPFLAGS
  14329. CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
  14330. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
  14331. $as_echo_n "checking for unw_step... " >&6; }
  14332. if ${wine_cv_have_unw_step+:} false; then :
  14333. $as_echo_n "(cached) " >&6
  14334. else
  14335. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14336. /* end confdefs.h. */
  14337. #define UNW_LOCAL_ONLY
  14338. #include <libunwind.h>
  14339. int
  14340. main ()
  14341. {
  14342. unw_cursor_t cursor; unw_step( &cursor );
  14343. ;
  14344. return 0;
  14345. }
  14346. _ACEOF
  14347. if ac_fn_c_try_link "$LINENO"; then :
  14348. wine_cv_have_unw_step="yes"
  14349. else
  14350. wine_cv_have_unw_step="no"
  14351. fi
  14352. rm -f core conftest.err conftest.$ac_objext \
  14353. conftest$ac_exeext conftest.$ac_ext
  14354. fi
  14355. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
  14356. $as_echo "$wine_cv_have_unw_step" >&6; }
  14357. if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
  14358. then
  14359. save_libs=$LIBS
  14360. LIBS="$UNWIND_LIBS $LIBS"
  14361. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
  14362. $as_echo_n "checking for unw_step in libunwind... " >&6; }
  14363. if ${wine_cv_have_libunwind_unw_step+:} false; then :
  14364. $as_echo_n "(cached) " >&6
  14365. else
  14366. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14367. /* end confdefs.h. */
  14368. #define UNW_LOCAL_ONLY
  14369. #include <libunwind.h>
  14370. int
  14371. main ()
  14372. {
  14373. unw_cursor_t cursor; unw_step( &cursor );
  14374. ;
  14375. return 0;
  14376. }
  14377. _ACEOF
  14378. if ac_fn_c_try_link "$LINENO"; then :
  14379. wine_cv_have_libunwind_unw_step="yes"
  14380. else
  14381. wine_cv_have_libunwind_unw_step="no"
  14382. fi
  14383. rm -f core conftest.err conftest.$ac_objext \
  14384. conftest$ac_exeext conftest.$ac_ext
  14385. fi
  14386. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
  14387. $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
  14388. LIBS=$save_libs
  14389. fi
  14390. test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
  14391. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
  14392. then
  14393. $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
  14394. fi
  14395. CPPFLAGS=$ac_save_CPPFLAGS
  14396. test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14397. test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14398. fi
  14399. case $host in
  14400. aarch64*|*-darwin*)
  14401. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
  14402. case "x$with_unwind" in
  14403. x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
  14404. xno) ;;
  14405. *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
  14406. This is an error since --with-unwind was requested." "$LINENO" 5 ;;
  14407. esac
  14408. fi ;;
  14409. esac
  14410. if test "x$with_sdl" != "xno"
  14411. then
  14412. if ${SDL2_CFLAGS:+false} :; then :
  14413. if ${PKG_CONFIG+:} false; then :
  14414. SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
  14415. fi
  14416. fi
  14417. if ${SDL2_LIBS:+false} :; then :
  14418. if ${PKG_CONFIG+:} false; then :
  14419. SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
  14420. fi
  14421. fi
  14422. SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
  14423. $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
  14424. $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
  14425. ac_save_CPPFLAGS=$CPPFLAGS
  14426. CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
  14427. for ac_header in SDL2/SDL.h
  14428. do :
  14429. ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
  14430. if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
  14431. cat >>confdefs.h <<_ACEOF
  14432. #define HAVE_SDL2_SDL_H 1
  14433. _ACEOF
  14434. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
  14435. $as_echo_n "checking for -lSDL2... " >&6; }
  14436. if ${ac_cv_lib_soname_SDL2+:} false; then :
  14437. $as_echo_n "(cached) " >&6
  14438. else
  14439. ac_check_soname_save_LIBS=$LIBS
  14440. LIBS="-lSDL2 $SDL2_LIBS $LIBS"
  14441. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14442. /* end confdefs.h. */
  14443. /* Override any GCC internal prototype to avoid an error.
  14444. Use char because int might match the return type of a GCC
  14445. builtin and then its argument prototype would still apply. */
  14446. #ifdef __cplusplus
  14447. extern "C"
  14448. #endif
  14449. char SDL_Init ();
  14450. int
  14451. main ()
  14452. {
  14453. return SDL_Init ();
  14454. ;
  14455. return 0;
  14456. }
  14457. _ACEOF
  14458. if ac_fn_c_try_link "$LINENO"; then :
  14459. case "$LIBEXT" in
  14460. dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14461. dylib) ac_cv_lib_soname_SDL2=`$OTOOL -L conftest$ac_exeext | grep "libSDL2-2.0*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libSDL2-2.0*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  14462. *) ac_cv_lib_soname_SDL2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libSDL2-2.0*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14463. if ${ac_cv_lib_soname_SDL2:+false} :; then :
  14464. ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14465. fi ;;
  14466. esac
  14467. else
  14468. ac_cv_lib_soname_SDL2=
  14469. fi
  14470. rm -f core conftest.err conftest.$ac_objext \
  14471. conftest$ac_exeext conftest.$ac_ext
  14472. LIBS=$ac_check_soname_save_LIBS
  14473. fi
  14474. if ${ac_cv_lib_soname_SDL2:+false} :; then :
  14475. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14476. $as_echo "not found" >&6; }
  14477. else
  14478. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
  14479. $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
  14480. cat >>confdefs.h <<_ACEOF
  14481. #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
  14482. _ACEOF
  14483. fi
  14484. fi
  14485. done
  14486. CPPFLAGS=$ac_save_CPPFLAGS
  14487. test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14488. test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14489. fi
  14490. if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
  14491. case "x$with_sdl" in
  14492. x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
  14493. xno) ;;
  14494. *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
  14495. This is an error since --with-sdl was requested." "$LINENO" 5 ;;
  14496. esac
  14497. fi
  14498. if test "x$with_faudio" != "xno"
  14499. then
  14500. if ${FAUDIO_CFLAGS:+false} :; then :
  14501. if ${PKG_CONFIG+:} false; then :
  14502. FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
  14503. fi
  14504. fi
  14505. if ${FAUDIO_LIBS:+false} :; then :
  14506. if ${PKG_CONFIG+:} false; then :
  14507. FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
  14508. fi
  14509. fi
  14510. FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
  14511. $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
  14512. $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
  14513. ac_save_CPPFLAGS=$CPPFLAGS
  14514. CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
  14515. for ac_header in FAudio.h
  14516. do :
  14517. ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
  14518. if test "x$ac_cv_header_FAudio_h" = xyes; then :
  14519. cat >>confdefs.h <<_ACEOF
  14520. #define HAVE_FAUDIO_H 1
  14521. _ACEOF
  14522. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
  14523. $as_echo_n "checking for -lFAudio... " >&6; }
  14524. if ${ac_cv_lib_soname_FAudio+:} false; then :
  14525. $as_echo_n "(cached) " >&6
  14526. else
  14527. ac_check_soname_save_LIBS=$LIBS
  14528. LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
  14529. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14530. /* end confdefs.h. */
  14531. /* Override any GCC internal prototype to avoid an error.
  14532. Use char because int might match the return type of a GCC
  14533. builtin and then its argument prototype would still apply. */
  14534. #ifdef __cplusplus
  14535. extern "C"
  14536. #endif
  14537. char FAudioCreate ();
  14538. int
  14539. main ()
  14540. {
  14541. return FAudioCreate ();
  14542. ;
  14543. return 0;
  14544. }
  14545. _ACEOF
  14546. if ac_fn_c_try_link "$LINENO"; then :
  14547. case "$LIBEXT" in
  14548. dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14549. dylib) ac_cv_lib_soname_FAudio=`$OTOOL -L conftest$ac_exeext | grep "libFAudio*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libFAudio*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  14550. *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14551. if ${ac_cv_lib_soname_FAudio:+false} :; then :
  14552. ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14553. fi ;;
  14554. esac
  14555. else
  14556. ac_cv_lib_soname_FAudio=
  14557. fi
  14558. rm -f core conftest.err conftest.$ac_objext \
  14559. conftest$ac_exeext conftest.$ac_ext
  14560. LIBS=$ac_check_soname_save_LIBS
  14561. fi
  14562. if ${ac_cv_lib_soname_FAudio:+false} :; then :
  14563. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14564. $as_echo "not found" >&6; }
  14565. else
  14566. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
  14567. $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
  14568. cat >>confdefs.h <<_ACEOF
  14569. #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
  14570. _ACEOF
  14571. fi
  14572. fi
  14573. done
  14574. ac_wine_check_funcs_save_LIBS="$LIBS"
  14575. LIBS="$LIBS $FAUDIO_LIBS"
  14576. for ac_func in FAudio_CommitOperationSet \
  14577. F3DAudioInitialize8 \
  14578. FAudioLinkedVersion
  14579. do :
  14580. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  14581. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  14582. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  14583. cat >>confdefs.h <<_ACEOF
  14584. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  14585. _ACEOF
  14586. fi
  14587. done
  14588. LIBS="$ac_wine_check_funcs_save_LIBS"
  14589. CPPFLAGS=$ac_save_CPPFLAGS
  14590. test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14591. test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14592. fi
  14593. if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
  14594. case "x$with_faudio" in
  14595. x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
  14596. xno) ;;
  14597. *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
  14598. This is an error since --with-faudio was requested." "$LINENO" 5 ;;
  14599. esac
  14600. fi
  14601. if test "x$with_capi" != "xno"
  14602. then
  14603. if ${CAPI20_CFLAGS:+false} :; then :
  14604. if ${PKG_CONFIG+:} false; then :
  14605. CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
  14606. fi
  14607. fi
  14608. if ${CAPI20_LIBS:+false} :; then :
  14609. if ${PKG_CONFIG+:} false; then :
  14610. CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
  14611. fi
  14612. fi
  14613. $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
  14614. $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
  14615. ac_save_CPPFLAGS=$CPPFLAGS
  14616. CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
  14617. for ac_header in capi20.h linux/capi.h
  14618. do :
  14619. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14620. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
  14621. "
  14622. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  14623. cat >>confdefs.h <<_ACEOF
  14624. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14625. _ACEOF
  14626. fi
  14627. done
  14628. if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
  14629. then
  14630. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
  14631. $as_echo_n "checking for -lcapi20... " >&6; }
  14632. if ${ac_cv_lib_soname_capi20+:} false; then :
  14633. $as_echo_n "(cached) " >&6
  14634. else
  14635. ac_check_soname_save_LIBS=$LIBS
  14636. LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
  14637. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14638. /* end confdefs.h. */
  14639. /* Override any GCC internal prototype to avoid an error.
  14640. Use char because int might match the return type of a GCC
  14641. builtin and then its argument prototype would still apply. */
  14642. #ifdef __cplusplus
  14643. extern "C"
  14644. #endif
  14645. char capi20_register ();
  14646. int
  14647. main ()
  14648. {
  14649. return capi20_register ();
  14650. ;
  14651. return 0;
  14652. }
  14653. _ACEOF
  14654. if ac_fn_c_try_link "$LINENO"; then :
  14655. case "$LIBEXT" in
  14656. dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14657. dylib) ac_cv_lib_soname_capi20=`$OTOOL -L conftest$ac_exeext | grep "libcapi20\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  14658. *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14659. if ${ac_cv_lib_soname_capi20:+false} :; then :
  14660. ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14661. fi ;;
  14662. esac
  14663. else
  14664. ac_cv_lib_soname_capi20=
  14665. fi
  14666. rm -f core conftest.err conftest.$ac_objext \
  14667. conftest$ac_exeext conftest.$ac_ext
  14668. LIBS=$ac_check_soname_save_LIBS
  14669. fi
  14670. if ${ac_cv_lib_soname_capi20:+false} :; then :
  14671. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14672. $as_echo "not found" >&6; }
  14673. else
  14674. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
  14675. $as_echo "$ac_cv_lib_soname_capi20" >&6; }
  14676. cat >>confdefs.h <<_ACEOF
  14677. #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
  14678. _ACEOF
  14679. fi
  14680. fi
  14681. CPPFLAGS=$ac_save_CPPFLAGS
  14682. test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14683. test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14684. fi
  14685. if test "x$ac_cv_lib_soname_capi20" = "x"; then :
  14686. case "x$with_capi" in
  14687. x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
  14688. xno) ;;
  14689. *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
  14690. This is an error since --with-capi was requested." "$LINENO" 5 ;;
  14691. esac
  14692. fi
  14693. if test "x$with_cups" != "xno"
  14694. then
  14695. if ${CUPS_CFLAGS:+false} :; then :
  14696. if ${PKG_CONFIG+:} false; then :
  14697. CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
  14698. fi
  14699. fi
  14700. test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
  14701. if ${CUPS_LIBS:+false} :; then :
  14702. if ${PKG_CONFIG+:} false; then :
  14703. CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
  14704. fi
  14705. fi
  14706. test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
  14707. CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
  14708. $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
  14709. $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
  14710. ac_save_CPPFLAGS=$CPPFLAGS
  14711. CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
  14712. for ac_header in cups/cups.h cups/ppd.h
  14713. do :
  14714. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14715. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  14716. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  14717. cat >>confdefs.h <<_ACEOF
  14718. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14719. _ACEOF
  14720. fi
  14721. done
  14722. if test "$ac_cv_header_cups_cups_h" = "yes"
  14723. then
  14724. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
  14725. $as_echo_n "checking for -lcups... " >&6; }
  14726. if ${ac_cv_lib_soname_cups+:} false; then :
  14727. $as_echo_n "(cached) " >&6
  14728. else
  14729. ac_check_soname_save_LIBS=$LIBS
  14730. LIBS="-lcups $CUPS_LIBS $LIBS"
  14731. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14732. /* end confdefs.h. */
  14733. /* Override any GCC internal prototype to avoid an error.
  14734. Use char because int might match the return type of a GCC
  14735. builtin and then its argument prototype would still apply. */
  14736. #ifdef __cplusplus
  14737. extern "C"
  14738. #endif
  14739. char cupsGetDefault ();
  14740. int
  14741. main ()
  14742. {
  14743. return cupsGetDefault ();
  14744. ;
  14745. return 0;
  14746. }
  14747. _ACEOF
  14748. if ac_fn_c_try_link "$LINENO"; then :
  14749. case "$LIBEXT" in
  14750. dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14751. dylib) ac_cv_lib_soname_cups=`$OTOOL -L conftest$ac_exeext | grep "libcups\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcups\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  14752. *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14753. if ${ac_cv_lib_soname_cups:+false} :; then :
  14754. ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14755. fi ;;
  14756. esac
  14757. else
  14758. ac_cv_lib_soname_cups=
  14759. fi
  14760. rm -f core conftest.err conftest.$ac_objext \
  14761. conftest$ac_exeext conftest.$ac_ext
  14762. LIBS=$ac_check_soname_save_LIBS
  14763. fi
  14764. if ${ac_cv_lib_soname_cups:+false} :; then :
  14765. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14766. $as_echo "not found" >&6; }
  14767. CUPS_LIBS=""
  14768. else
  14769. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
  14770. $as_echo "$ac_cv_lib_soname_cups" >&6; }
  14771. cat >>confdefs.h <<_ACEOF
  14772. #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
  14773. _ACEOF
  14774. fi
  14775. else
  14776. CUPS_CFLAGS=""
  14777. CUPS_LIBS=""
  14778. fi
  14779. CPPFLAGS=$ac_save_CPPFLAGS
  14780. test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14781. test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14782. fi
  14783. if test "x$ac_cv_lib_soname_cups" = "x"; then :
  14784. case "x$with_cups" in
  14785. x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
  14786. xno) ;;
  14787. *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
  14788. This is an error since --with-cups was requested." "$LINENO" 5 ;;
  14789. esac
  14790. fi
  14791. if test "x$with_fontconfig" != "xno"
  14792. then
  14793. if ${FONTCONFIG_CFLAGS:+false} :; then :
  14794. if ${PKG_CONFIG+:} false; then :
  14795. FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
  14796. fi
  14797. fi
  14798. test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
  14799. if ${FONTCONFIG_LIBS:+false} :; then :
  14800. if ${PKG_CONFIG+:} false; then :
  14801. FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
  14802. fi
  14803. fi
  14804. test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
  14805. $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
  14806. $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
  14807. ac_save_CPPFLAGS=$CPPFLAGS
  14808. CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
  14809. for ac_header in fontconfig/fontconfig.h
  14810. do :
  14811. ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
  14812. if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
  14813. cat >>confdefs.h <<_ACEOF
  14814. #define HAVE_FONTCONFIG_FONTCONFIG_H 1
  14815. _ACEOF
  14816. fi
  14817. done
  14818. if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
  14819. then
  14820. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
  14821. $as_echo_n "checking for -lfontconfig... " >&6; }
  14822. if ${ac_cv_lib_soname_fontconfig+:} false; then :
  14823. $as_echo_n "(cached) " >&6
  14824. else
  14825. ac_check_soname_save_LIBS=$LIBS
  14826. LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
  14827. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14828. /* end confdefs.h. */
  14829. /* Override any GCC internal prototype to avoid an error.
  14830. Use char because int might match the return type of a GCC
  14831. builtin and then its argument prototype would still apply. */
  14832. #ifdef __cplusplus
  14833. extern "C"
  14834. #endif
  14835. char FcInit ();
  14836. int
  14837. main ()
  14838. {
  14839. return FcInit ();
  14840. ;
  14841. return 0;
  14842. }
  14843. _ACEOF
  14844. if ac_fn_c_try_link "$LINENO"; then :
  14845. case "$LIBEXT" in
  14846. dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14847. dylib) ac_cv_lib_soname_fontconfig=`$OTOOL -L conftest$ac_exeext | grep "libfontconfig\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libfontconfig\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  14848. *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14849. if ${ac_cv_lib_soname_fontconfig:+false} :; then :
  14850. ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14851. fi ;;
  14852. esac
  14853. else
  14854. ac_cv_lib_soname_fontconfig=
  14855. fi
  14856. rm -f core conftest.err conftest.$ac_objext \
  14857. conftest$ac_exeext conftest.$ac_ext
  14858. LIBS=$ac_check_soname_save_LIBS
  14859. fi
  14860. if ${ac_cv_lib_soname_fontconfig:+false} :; then :
  14861. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14862. $as_echo "not found" >&6; }
  14863. FONTCONFIG_CFLAGS=""
  14864. else
  14865. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
  14866. $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
  14867. cat >>confdefs.h <<_ACEOF
  14868. #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
  14869. _ACEOF
  14870. fi
  14871. else
  14872. FONTCONFIG_CFLAGS=""
  14873. fi
  14874. CPPFLAGS=$ac_save_CPPFLAGS
  14875. test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  14876. test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  14877. fi
  14878. if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
  14879. case "x$with_fontconfig" in
  14880. x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
  14881. xno) ;;
  14882. *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
  14883. This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
  14884. esac
  14885. fi
  14886. if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
  14887. then
  14888. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
  14889. $as_echo_n "checking for -lgsm... " >&6; }
  14890. if ${ac_cv_lib_soname_gsm+:} false; then :
  14891. $as_echo_n "(cached) " >&6
  14892. else
  14893. ac_check_soname_save_LIBS=$LIBS
  14894. LIBS="-lgsm $LIBS"
  14895. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14896. /* end confdefs.h. */
  14897. /* Override any GCC internal prototype to avoid an error.
  14898. Use char because int might match the return type of a GCC
  14899. builtin and then its argument prototype would still apply. */
  14900. #ifdef __cplusplus
  14901. extern "C"
  14902. #endif
  14903. char gsm_create ();
  14904. int
  14905. main ()
  14906. {
  14907. return gsm_create ();
  14908. ;
  14909. return 0;
  14910. }
  14911. _ACEOF
  14912. if ac_fn_c_try_link "$LINENO"; then :
  14913. case "$LIBEXT" in
  14914. dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14915. dylib) ac_cv_lib_soname_gsm=`$OTOOL -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  14916. *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14917. if ${ac_cv_lib_soname_gsm:+false} :; then :
  14918. ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14919. fi ;;
  14920. esac
  14921. else
  14922. ac_cv_lib_soname_gsm=
  14923. fi
  14924. rm -f core conftest.err conftest.$ac_objext \
  14925. conftest$ac_exeext conftest.$ac_ext
  14926. LIBS=$ac_check_soname_save_LIBS
  14927. fi
  14928. if ${ac_cv_lib_soname_gsm:+false} :; then :
  14929. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14930. $as_echo "not found" >&6; }
  14931. else
  14932. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
  14933. $as_echo "$ac_cv_lib_soname_gsm" >&6; }
  14934. cat >>confdefs.h <<_ACEOF
  14935. #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
  14936. _ACEOF
  14937. fi
  14938. fi
  14939. if test "x$ac_cv_lib_soname_gsm" = "x"; then :
  14940. case "x$with_gsm" in
  14941. x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
  14942. xno) ;;
  14943. *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
  14944. This is an error since --with-gsm was requested." "$LINENO" 5 ;;
  14945. esac
  14946. fi
  14947. if test "x$with_krb5" != "xno"
  14948. then
  14949. if ${KRB5_CFLAGS:+false} :; then :
  14950. if ${PKG_CONFIG+:} false; then :
  14951. KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
  14952. fi
  14953. fi
  14954. test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
  14955. if ${KRB5_LIBS:+false} :; then :
  14956. if ${PKG_CONFIG+:} false; then :
  14957. KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
  14958. fi
  14959. fi
  14960. test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
  14961. $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
  14962. $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
  14963. ac_save_CPPFLAGS=$CPPFLAGS
  14964. CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
  14965. for ac_header in krb5/krb5.h
  14966. do :
  14967. ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
  14968. if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
  14969. cat >>confdefs.h <<_ACEOF
  14970. #define HAVE_KRB5_KRB5_H 1
  14971. _ACEOF
  14972. fi
  14973. done
  14974. if test "$ac_cv_header_krb5_krb5_h" = "yes"
  14975. then
  14976. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
  14977. $as_echo_n "checking for -lkrb5... " >&6; }
  14978. if ${ac_cv_lib_soname_krb5+:} false; then :
  14979. $as_echo_n "(cached) " >&6
  14980. else
  14981. ac_check_soname_save_LIBS=$LIBS
  14982. LIBS="-lkrb5 $KRB5_LIBS $LIBS"
  14983. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14984. /* end confdefs.h. */
  14985. /* Override any GCC internal prototype to avoid an error.
  14986. Use char because int might match the return type of a GCC
  14987. builtin and then its argument prototype would still apply. */
  14988. #ifdef __cplusplus
  14989. extern "C"
  14990. #endif
  14991. char krb5_is_config_principal ();
  14992. int
  14993. main ()
  14994. {
  14995. return krb5_is_config_principal ();
  14996. ;
  14997. return 0;
  14998. }
  14999. _ACEOF
  15000. if ac_fn_c_try_link "$LINENO"; then :
  15001. case "$LIBEXT" in
  15002. dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15003. dylib) ac_cv_lib_soname_krb5=`$OTOOL -L conftest$ac_exeext | grep "libkrb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libkrb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  15004. *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15005. if ${ac_cv_lib_soname_krb5:+false} :; then :
  15006. ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15007. fi ;;
  15008. esac
  15009. else
  15010. ac_cv_lib_soname_krb5=
  15011. fi
  15012. rm -f core conftest.err conftest.$ac_objext \
  15013. conftest$ac_exeext conftest.$ac_ext
  15014. LIBS=$ac_check_soname_save_LIBS
  15015. fi
  15016. if ${ac_cv_lib_soname_krb5:+false} :; then :
  15017. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15018. $as_echo "not found" >&6; }
  15019. KRB5_CFLAGS=""
  15020. else
  15021. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
  15022. $as_echo "$ac_cv_lib_soname_krb5" >&6; }
  15023. cat >>confdefs.h <<_ACEOF
  15024. #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
  15025. _ACEOF
  15026. fi
  15027. else
  15028. KRB5_CFLAGS=""
  15029. fi
  15030. CPPFLAGS=$ac_save_CPPFLAGS
  15031. test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  15032. test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  15033. fi
  15034. if test "x$ac_cv_lib_soname_krb5" = "x"; then :
  15035. case "x$with_krb5" in
  15036. x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
  15037. xno) ;;
  15038. *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
  15039. This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
  15040. esac
  15041. fi
  15042. test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
  15043. if test "x$with_gssapi" != "xno"
  15044. then
  15045. if ${GSSAPI_CFLAGS:+false} :; then :
  15046. if ${PKG_CONFIG+:} false; then :
  15047. GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
  15048. fi
  15049. fi
  15050. test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
  15051. if ${GSSAPI_LIBS:+false} :; then :
  15052. if ${PKG_CONFIG+:} false; then :
  15053. GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
  15054. fi
  15055. fi
  15056. test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
  15057. $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
  15058. $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
  15059. ac_save_CPPFLAGS=$CPPFLAGS
  15060. CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
  15061. for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
  15062. do :
  15063. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  15064. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  15065. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  15066. cat >>confdefs.h <<_ACEOF
  15067. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  15068. _ACEOF
  15069. fi
  15070. done
  15071. if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
  15072. then
  15073. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
  15074. $as_echo_n "checking for -lgssapi_krb5... " >&6; }
  15075. if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
  15076. $as_echo_n "(cached) " >&6
  15077. else
  15078. ac_check_soname_save_LIBS=$LIBS
  15079. LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
  15080. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15081. /* end confdefs.h. */
  15082. /* Override any GCC internal prototype to avoid an error.
  15083. Use char because int might match the return type of a GCC
  15084. builtin and then its argument prototype would still apply. */
  15085. #ifdef __cplusplus
  15086. extern "C"
  15087. #endif
  15088. char gss_init_sec_context ();
  15089. int
  15090. main ()
  15091. {
  15092. return gss_init_sec_context ();
  15093. ;
  15094. return 0;
  15095. }
  15096. _ACEOF
  15097. if ac_fn_c_try_link "$LINENO"; then :
  15098. case "$LIBEXT" in
  15099. dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15100. dylib) ac_cv_lib_soname_gssapi_krb5=`$OTOOL -L conftest$ac_exeext | grep "libgssapi_krb5\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgssapi_krb5\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  15101. *) ac_cv_lib_soname_gssapi_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgssapi_krb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15102. if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
  15103. ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15104. fi ;;
  15105. esac
  15106. else
  15107. ac_cv_lib_soname_gssapi_krb5=
  15108. fi
  15109. rm -f core conftest.err conftest.$ac_objext \
  15110. conftest$ac_exeext conftest.$ac_ext
  15111. LIBS=$ac_check_soname_save_LIBS
  15112. fi
  15113. if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
  15114. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15115. $as_echo "not found" >&6; }
  15116. GSSAPI_CFLAGS=""
  15117. else
  15118. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
  15119. $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
  15120. cat >>confdefs.h <<_ACEOF
  15121. #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
  15122. _ACEOF
  15123. fi
  15124. else
  15125. GSSAPI_CFLAGS=""
  15126. fi
  15127. CPPFLAGS=$ac_save_CPPFLAGS
  15128. test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  15129. test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  15130. fi
  15131. if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
  15132. case "x$with_gssapi" in
  15133. x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
  15134. xno) ;;
  15135. *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
  15136. This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
  15137. esac
  15138. fi
  15139. if test "x$with_jpeg" != "xno"
  15140. then
  15141. if ${JPEG_CFLAGS:+false} :; then :
  15142. if ${PKG_CONFIG+:} false; then :
  15143. JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
  15144. fi
  15145. fi
  15146. if ${JPEG_LIBS:+false} :; then :
  15147. if ${PKG_CONFIG+:} false; then :
  15148. JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
  15149. fi
  15150. fi
  15151. $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
  15152. $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
  15153. ac_save_CPPFLAGS=$CPPFLAGS
  15154. CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
  15155. for ac_header in jpeglib.h
  15156. do :
  15157. ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
  15158. if test "x$ac_cv_header_jpeglib_h" = xyes; then :
  15159. cat >>confdefs.h <<_ACEOF
  15160. #define HAVE_JPEGLIB_H 1
  15161. _ACEOF
  15162. fi
  15163. done
  15164. if test "$ac_cv_header_jpeglib_h" = "yes"
  15165. then
  15166. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
  15167. $as_echo_n "checking for -ljpeg... " >&6; }
  15168. if ${ac_cv_lib_soname_jpeg+:} false; then :
  15169. $as_echo_n "(cached) " >&6
  15170. else
  15171. ac_check_soname_save_LIBS=$LIBS
  15172. LIBS="-ljpeg $JPEG_LIBS $LIBS"
  15173. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15174. /* end confdefs.h. */
  15175. /* Override any GCC internal prototype to avoid an error.
  15176. Use char because int might match the return type of a GCC
  15177. builtin and then its argument prototype would still apply. */
  15178. #ifdef __cplusplus
  15179. extern "C"
  15180. #endif
  15181. char jpeg_start_decompress ();
  15182. int
  15183. main ()
  15184. {
  15185. return jpeg_start_decompress ();
  15186. ;
  15187. return 0;
  15188. }
  15189. _ACEOF
  15190. if ac_fn_c_try_link "$LINENO"; then :
  15191. case "$LIBEXT" in
  15192. dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15193. dylib) ac_cv_lib_soname_jpeg=`$OTOOL -L conftest$ac_exeext | grep "libjpeg\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  15194. *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15195. if ${ac_cv_lib_soname_jpeg:+false} :; then :
  15196. ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15197. fi ;;
  15198. esac
  15199. else
  15200. ac_cv_lib_soname_jpeg=
  15201. fi
  15202. rm -f core conftest.err conftest.$ac_objext \
  15203. conftest$ac_exeext conftest.$ac_ext
  15204. LIBS=$ac_check_soname_save_LIBS
  15205. fi
  15206. if ${ac_cv_lib_soname_jpeg:+false} :; then :
  15207. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15208. $as_echo "not found" >&6; }
  15209. JPEG_CFLAGS=""
  15210. else
  15211. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
  15212. $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
  15213. cat >>confdefs.h <<_ACEOF
  15214. #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
  15215. _ACEOF
  15216. fi
  15217. else
  15218. JPEG_CFLAGS=""
  15219. fi
  15220. CPPFLAGS=$ac_save_CPPFLAGS
  15221. test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  15222. test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  15223. fi
  15224. if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
  15225. case "x$with_jpeg" in
  15226. x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
  15227. xno) ;;
  15228. *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
  15229. This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
  15230. esac
  15231. fi
  15232. if test "x$with_png" != "xno"
  15233. then
  15234. if ${PNG_CFLAGS:+false} :; then :
  15235. if ${PKG_CONFIG+:} false; then :
  15236. PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
  15237. fi
  15238. fi
  15239. test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
  15240. if ${PNG_LIBS:+false} :; then :
  15241. if ${PKG_CONFIG+:} false; then :
  15242. PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
  15243. fi
  15244. fi
  15245. test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
  15246. $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
  15247. $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
  15248. ac_save_CPPFLAGS=$CPPFLAGS
  15249. CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
  15250. for ac_header in png.h
  15251. do :
  15252. ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
  15253. if test "x$ac_cv_header_png_h" = xyes; then :
  15254. cat >>confdefs.h <<_ACEOF
  15255. #define HAVE_PNG_H 1
  15256. _ACEOF
  15257. fi
  15258. done
  15259. if test "$ac_cv_header_png_h" = "yes"
  15260. then
  15261. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
  15262. $as_echo_n "checking for -lpng... " >&6; }
  15263. if ${ac_cv_lib_soname_png+:} false; then :
  15264. $as_echo_n "(cached) " >&6
  15265. else
  15266. ac_check_soname_save_LIBS=$LIBS
  15267. LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
  15268. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15269. /* end confdefs.h. */
  15270. /* Override any GCC internal prototype to avoid an error.
  15271. Use char because int might match the return type of a GCC
  15272. builtin and then its argument prototype would still apply. */
  15273. #ifdef __cplusplus
  15274. extern "C"
  15275. #endif
  15276. char png_create_read_struct ();
  15277. int
  15278. main ()
  15279. {
  15280. return png_create_read_struct ();
  15281. ;
  15282. return 0;
  15283. }
  15284. _ACEOF
  15285. if ac_fn_c_try_link "$LINENO"; then :
  15286. case "$LIBEXT" in
  15287. dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15288. dylib) ac_cv_lib_soname_png=`$OTOOL -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  15289. *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15290. if ${ac_cv_lib_soname_png:+false} :; then :
  15291. ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15292. fi ;;
  15293. esac
  15294. else
  15295. ac_cv_lib_soname_png=
  15296. fi
  15297. rm -f core conftest.err conftest.$ac_objext \
  15298. conftest$ac_exeext conftest.$ac_ext
  15299. LIBS=$ac_check_soname_save_LIBS
  15300. fi
  15301. if ${ac_cv_lib_soname_png:+false} :; then :
  15302. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15303. $as_echo "not found" >&6; }
  15304. PNG_CFLAGS=""
  15305. else
  15306. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
  15307. $as_echo "$ac_cv_lib_soname_png" >&6; }
  15308. cat >>confdefs.h <<_ACEOF
  15309. #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
  15310. _ACEOF
  15311. fi
  15312. else
  15313. PNG_CFLAGS=""
  15314. fi
  15315. CPPFLAGS=$ac_save_CPPFLAGS
  15316. test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  15317. test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  15318. fi
  15319. if test "x$ac_cv_lib_soname_png" = "x"; then :
  15320. case "x$with_png" in
  15321. x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
  15322. xno) ;;
  15323. *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
  15324. This is an error since --with-png was requested." "$LINENO" 5 ;;
  15325. esac
  15326. fi
  15327. if test "x$with_tiff" != "xno"
  15328. then
  15329. if ${TIFF_CFLAGS:+false} :; then :
  15330. if ${PKG_CONFIG+:} false; then :
  15331. TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
  15332. fi
  15333. fi
  15334. if ${TIFF_LIBS:+false} :; then :
  15335. if ${PKG_CONFIG+:} false; then :
  15336. TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
  15337. fi
  15338. fi
  15339. $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
  15340. $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
  15341. ac_save_CPPFLAGS=$CPPFLAGS
  15342. CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
  15343. for ac_header in tiffio.h
  15344. do :
  15345. ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
  15346. if test "x$ac_cv_header_tiffio_h" = xyes; then :
  15347. cat >>confdefs.h <<_ACEOF
  15348. #define HAVE_TIFFIO_H 1
  15349. _ACEOF
  15350. fi
  15351. done
  15352. if test "$ac_cv_header_tiffio_h" = "yes"
  15353. then
  15354. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
  15355. $as_echo_n "checking for -ltiff... " >&6; }
  15356. if ${ac_cv_lib_soname_tiff+:} false; then :
  15357. $as_echo_n "(cached) " >&6
  15358. else
  15359. ac_check_soname_save_LIBS=$LIBS
  15360. LIBS="-ltiff $TIFF_LIBS $LIBS"
  15361. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15362. /* end confdefs.h. */
  15363. /* Override any GCC internal prototype to avoid an error.
  15364. Use char because int might match the return type of a GCC
  15365. builtin and then its argument prototype would still apply. */
  15366. #ifdef __cplusplus
  15367. extern "C"
  15368. #endif
  15369. char TIFFClientOpen ();
  15370. int
  15371. main ()
  15372. {
  15373. return TIFFClientOpen ();
  15374. ;
  15375. return 0;
  15376. }
  15377. _ACEOF
  15378. if ac_fn_c_try_link "$LINENO"; then :
  15379. case "$LIBEXT" in
  15380. dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15381. dylib) ac_cv_lib_soname_tiff=`$OTOOL -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  15382. *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15383. if ${ac_cv_lib_soname_tiff:+false} :; then :
  15384. ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15385. fi ;;
  15386. esac
  15387. else
  15388. ac_cv_lib_soname_tiff=
  15389. fi
  15390. rm -f core conftest.err conftest.$ac_objext \
  15391. conftest$ac_exeext conftest.$ac_ext
  15392. LIBS=$ac_check_soname_save_LIBS
  15393. fi
  15394. if ${ac_cv_lib_soname_tiff:+false} :; then :
  15395. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15396. $as_echo "not found" >&6; }
  15397. else
  15398. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
  15399. $as_echo "$ac_cv_lib_soname_tiff" >&6; }
  15400. cat >>confdefs.h <<_ACEOF
  15401. #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
  15402. _ACEOF
  15403. fi
  15404. fi
  15405. CPPFLAGS=$ac_save_CPPFLAGS
  15406. test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  15407. test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  15408. fi
  15409. if test "x$ac_cv_lib_soname_tiff" = "x"; then :
  15410. case "x$with_tiff" in
  15411. x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
  15412. xno) ;;
  15413. *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
  15414. This is an error since --with-tiff was requested." "$LINENO" 5 ;;
  15415. esac
  15416. fi
  15417. if test "x$with_mpg123" != "xno"
  15418. then
  15419. if ${MPG123_CFLAGS:+false} :; then :
  15420. if ${PKG_CONFIG+:} false; then :
  15421. MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
  15422. fi
  15423. fi
  15424. if ${MPG123_LIBS:+false} :; then :
  15425. if ${PKG_CONFIG+:} false; then :
  15426. MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
  15427. fi
  15428. fi
  15429. MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
  15430. $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
  15431. $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
  15432. ac_save_CPPFLAGS=$CPPFLAGS
  15433. CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
  15434. for ac_header in mpg123.h
  15435. do :
  15436. ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
  15437. if test "x$ac_cv_header_mpg123_h" = xyes; then :
  15438. cat >>confdefs.h <<_ACEOF
  15439. #define HAVE_MPG123_H 1
  15440. _ACEOF
  15441. fi
  15442. done
  15443. if test "$ac_cv_header_mpg123_h" = "yes"
  15444. then
  15445. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
  15446. $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
  15447. if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
  15448. $as_echo_n "(cached) " >&6
  15449. else
  15450. ac_check_lib_save_LIBS=$LIBS
  15451. LIBS="-lmpg123 $MPG123_LIBS $LIBS"
  15452. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15453. /* end confdefs.h. */
  15454. /* Override any GCC internal prototype to avoid an error.
  15455. Use char because int might match the return type of a GCC
  15456. builtin and then its argument prototype would still apply. */
  15457. #ifdef __cplusplus
  15458. extern "C"
  15459. #endif
  15460. char mpg123_feed ();
  15461. int
  15462. main ()
  15463. {
  15464. return mpg123_feed ();
  15465. ;
  15466. return 0;
  15467. }
  15468. _ACEOF
  15469. if ac_fn_c_try_link "$LINENO"; then :
  15470. ac_cv_lib_mpg123_mpg123_feed=yes
  15471. else
  15472. ac_cv_lib_mpg123_mpg123_feed=no
  15473. fi
  15474. rm -f core conftest.err conftest.$ac_objext \
  15475. conftest$ac_exeext conftest.$ac_ext
  15476. LIBS=$ac_check_lib_save_LIBS
  15477. fi
  15478. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
  15479. $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
  15480. if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
  15481. :
  15482. else
  15483. MPG123_LIBS=""
  15484. fi
  15485. else
  15486. MPG123_CFLAGS=""
  15487. MPG123_LIBS=""
  15488. fi
  15489. CPPFLAGS=$ac_save_CPPFLAGS
  15490. test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  15491. test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  15492. fi
  15493. if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
  15494. case "x$with_mpg123" in
  15495. x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
  15496. xno) ;;
  15497. *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
  15498. This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
  15499. esac
  15500. enable_l3codeca_acm=${enable_l3codeca_acm:-no}
  15501. fi
  15502. test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
  15503. if test "$ac_cv_header_AL_al_h" = "yes"
  15504. then
  15505. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
  15506. $as_echo_n "checking for -lopenal... " >&6; }
  15507. if ${ac_cv_lib_soname_openal+:} false; then :
  15508. $as_echo_n "(cached) " >&6
  15509. else
  15510. ac_check_soname_save_LIBS=$LIBS
  15511. LIBS="-lopenal $LIBS"
  15512. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15513. /* end confdefs.h. */
  15514. /* Override any GCC internal prototype to avoid an error.
  15515. Use char because int might match the return type of a GCC
  15516. builtin and then its argument prototype would still apply. */
  15517. #ifdef __cplusplus
  15518. extern "C"
  15519. #endif
  15520. char alGetSource3i ();
  15521. int
  15522. main ()
  15523. {
  15524. return alGetSource3i ();
  15525. ;
  15526. return 0;
  15527. }
  15528. _ACEOF
  15529. if ac_fn_c_try_link "$LINENO"; then :
  15530. case "$LIBEXT" in
  15531. dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15532. dylib) ac_cv_lib_soname_openal=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  15533. *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15534. if ${ac_cv_lib_soname_openal:+false} :; then :
  15535. ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15536. fi ;;
  15537. esac
  15538. else
  15539. ac_cv_lib_soname_openal=
  15540. fi
  15541. rm -f core conftest.err conftest.$ac_objext \
  15542. conftest$ac_exeext conftest.$ac_ext
  15543. LIBS=$ac_check_soname_save_LIBS
  15544. fi
  15545. if ${ac_cv_lib_soname_openal:+false} :; then :
  15546. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15547. $as_echo "not found" >&6; }
  15548. else
  15549. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
  15550. $as_echo "$ac_cv_lib_soname_openal" >&6; }
  15551. cat >>confdefs.h <<_ACEOF
  15552. #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
  15553. _ACEOF
  15554. OPENAL_LIBS="-lopenal"
  15555. ac_cv_lib_openal=yes
  15556. cat >>confdefs.h <<_ACEOF
  15557. #define HAVE_OPENAL 1
  15558. _ACEOF
  15559. fi
  15560. fi
  15561. if test "x$ac_cv_lib_openal" != xyes; then :
  15562. case "x$with_openal" in
  15563. x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
  15564. xno) ;;
  15565. *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
  15566. This is an error since --with-openal was requested." "$LINENO" 5 ;;
  15567. esac
  15568. enable_openal32=${enable_openal32:-no}
  15569. fi
  15570. if test "x$ac_cv_lib_soname_FAudio" = "x"
  15571. then
  15572. enable_x3daudio1_0=${enable_x3daudio1_0:-no}
  15573. enable_x3daudio1_1=${enable_x3daudio1_1:-no}
  15574. enable_x3daudio1_2=${enable_x3daudio1_2:-no}
  15575. enable_x3daudio1_3=${enable_x3daudio1_3:-no}
  15576. enable_x3daudio1_4=${enable_x3daudio1_4:-no}
  15577. enable_x3daudio1_5=${enable_x3daudio1_5:-no}
  15578. enable_x3daudio1_6=${enable_x3daudio1_6:-no}
  15579. enable_x3daudio1_7=${enable_x3daudio1_7:-no}
  15580. enable_xactengine3_0=${enable_xactengine3_0:-no}
  15581. enable_xactengine3_1=${enable_xactengine3_1:-no}
  15582. enable_xactengine3_2=${enable_xactengine3_2:-no}
  15583. enable_xactengine3_3=${enable_xactengine3_3:-no}
  15584. enable_xactengine3_4=${enable_xactengine3_4:-no}
  15585. enable_xactengine3_5=${enable_xactengine3_5:-no}
  15586. enable_xactengine3_6=${enable_xactengine3_6:-no}
  15587. enable_xactengine3_7=${enable_xactengine3_7:-no}
  15588. enable_xapofx1_1=${enable_xapofx1_1:-no}
  15589. enable_xapofx1_2=${enable_xapofx1_2:-no}
  15590. enable_xapofx1_3=${enable_xapofx1_3:-no}
  15591. enable_xapofx1_4=${enable_xapofx1_4:-no}
  15592. enable_xapofx1_5=${enable_xapofx1_5:-no}
  15593. enable_xaudio2_0=${enable_xaudio2_0:-no}
  15594. enable_xaudio2_1=${enable_xaudio2_1:-no}
  15595. enable_xaudio2_2=${enable_xaudio2_2:-no}
  15596. enable_xaudio2_3=${enable_xaudio2_3:-no}
  15597. enable_xaudio2_4=${enable_xaudio2_4:-no}
  15598. enable_xaudio2_5=${enable_xaudio2_5:-no}
  15599. enable_xaudio2_6=${enable_xaudio2_6:-no}
  15600. enable_xaudio2_7=${enable_xaudio2_7:-no}
  15601. enable_xaudio2_8=${enable_xaudio2_8:-no}
  15602. enable_xaudio2_9=${enable_xaudio2_9:-no}
  15603. fi
  15604. if test "$ac_cv_header_kstat_h" = "yes"
  15605. then
  15606. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
  15607. $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
  15608. if ${ac_cv_lib_kstat_kstat_open+:} false; then :
  15609. $as_echo_n "(cached) " >&6
  15610. else
  15611. ac_check_lib_save_LIBS=$LIBS
  15612. LIBS="-lkstat $LIBS"
  15613. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15614. /* end confdefs.h. */
  15615. /* Override any GCC internal prototype to avoid an error.
  15616. Use char because int might match the return type of a GCC
  15617. builtin and then its argument prototype would still apply. */
  15618. #ifdef __cplusplus
  15619. extern "C"
  15620. #endif
  15621. char kstat_open ();
  15622. int
  15623. main ()
  15624. {
  15625. return kstat_open ();
  15626. ;
  15627. return 0;
  15628. }
  15629. _ACEOF
  15630. if ac_fn_c_try_link "$LINENO"; then :
  15631. ac_cv_lib_kstat_kstat_open=yes
  15632. else
  15633. ac_cv_lib_kstat_kstat_open=no
  15634. fi
  15635. rm -f core conftest.err conftest.$ac_objext \
  15636. conftest$ac_exeext conftest.$ac_ext
  15637. LIBS=$ac_check_lib_save_LIBS
  15638. fi
  15639. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
  15640. $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
  15641. if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
  15642. $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
  15643. KSTAT_LIBS="-lkstat"
  15644. fi
  15645. fi
  15646. if test "$ac_cv_header_libprocstat_h" = "yes"
  15647. then
  15648. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
  15649. $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
  15650. if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
  15651. $as_echo_n "(cached) " >&6
  15652. else
  15653. ac_check_lib_save_LIBS=$LIBS
  15654. LIBS="-lprocstat $LIBS"
  15655. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15656. /* end confdefs.h. */
  15657. /* Override any GCC internal prototype to avoid an error.
  15658. Use char because int might match the return type of a GCC
  15659. builtin and then its argument prototype would still apply. */
  15660. #ifdef __cplusplus
  15661. extern "C"
  15662. #endif
  15663. char procstat_open_sysctl ();
  15664. int
  15665. main ()
  15666. {
  15667. return procstat_open_sysctl ();
  15668. ;
  15669. return 0;
  15670. }
  15671. _ACEOF
  15672. if ac_fn_c_try_link "$LINENO"; then :
  15673. ac_cv_lib_procstat_procstat_open_sysctl=yes
  15674. else
  15675. ac_cv_lib_procstat_procstat_open_sysctl=no
  15676. fi
  15677. rm -f core conftest.err conftest.$ac_objext \
  15678. conftest$ac_exeext conftest.$ac_ext
  15679. LIBS=$ac_check_lib_save_LIBS
  15680. fi
  15681. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
  15682. $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
  15683. if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
  15684. $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
  15685. PROCSTAT_LIBS="-lprocstat"
  15686. fi
  15687. fi
  15688. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
  15689. $as_echo_n "checking for -lodbc... " >&6; }
  15690. if ${ac_cv_lib_soname_odbc+:} false; then :
  15691. $as_echo_n "(cached) " >&6
  15692. else
  15693. ac_check_soname_save_LIBS=$LIBS
  15694. LIBS="-lodbc $LIBS"
  15695. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15696. /* end confdefs.h. */
  15697. /* Override any GCC internal prototype to avoid an error.
  15698. Use char because int might match the return type of a GCC
  15699. builtin and then its argument prototype would still apply. */
  15700. #ifdef __cplusplus
  15701. extern "C"
  15702. #endif
  15703. char SQLConnect ();
  15704. int
  15705. main ()
  15706. {
  15707. return SQLConnect ();
  15708. ;
  15709. return 0;
  15710. }
  15711. _ACEOF
  15712. if ac_fn_c_try_link "$LINENO"; then :
  15713. case "$LIBEXT" in
  15714. dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15715. dylib) ac_cv_lib_soname_odbc=`$OTOOL -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  15716. *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15717. if ${ac_cv_lib_soname_odbc:+false} :; then :
  15718. ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15719. fi ;;
  15720. esac
  15721. else
  15722. ac_cv_lib_soname_odbc=
  15723. fi
  15724. rm -f core conftest.err conftest.$ac_objext \
  15725. conftest$ac_exeext conftest.$ac_ext
  15726. LIBS=$ac_check_soname_save_LIBS
  15727. fi
  15728. if ${ac_cv_lib_soname_odbc:+false} :; then :
  15729. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15730. $as_echo "not found" >&6; }
  15731. cat >>confdefs.h <<_ACEOF
  15732. #define SONAME_LIBODBC "libodbc.$LIBEXT"
  15733. _ACEOF
  15734. else
  15735. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
  15736. $as_echo "$ac_cv_lib_soname_odbc" >&6; }
  15737. cat >>confdefs.h <<_ACEOF
  15738. #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
  15739. _ACEOF
  15740. fi
  15741. if test "x$with_netapi" != "xno"
  15742. then
  15743. if ${NETAPI_CFLAGS:+false} :; then :
  15744. if ${PKG_CONFIG+:} false; then :
  15745. NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
  15746. fi
  15747. fi
  15748. if ${NETAPI_LIBS:+false} :; then :
  15749. if ${PKG_CONFIG+:} false; then :
  15750. NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
  15751. fi
  15752. fi
  15753. $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
  15754. $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
  15755. ac_save_CPPFLAGS=$CPPFLAGS
  15756. CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
  15757. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
  15758. $as_echo_n "checking for -lnetapi... " >&6; }
  15759. if ${ac_cv_lib_soname_netapi+:} false; then :
  15760. $as_echo_n "(cached) " >&6
  15761. else
  15762. ac_check_soname_save_LIBS=$LIBS
  15763. LIBS="-lnetapi $NETAPI_LIBS $LIBS"
  15764. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15765. /* end confdefs.h. */
  15766. /* Override any GCC internal prototype to avoid an error.
  15767. Use char because int might match the return type of a GCC
  15768. builtin and then its argument prototype would still apply. */
  15769. #ifdef __cplusplus
  15770. extern "C"
  15771. #endif
  15772. char libnetapi_init ();
  15773. int
  15774. main ()
  15775. {
  15776. return libnetapi_init ();
  15777. ;
  15778. return 0;
  15779. }
  15780. _ACEOF
  15781. if ac_fn_c_try_link "$LINENO"; then :
  15782. case "$LIBEXT" in
  15783. dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15784. dylib) ac_cv_lib_soname_netapi=`$OTOOL -L conftest$ac_exeext | grep "libnetapi\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libnetapi\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  15785. *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15786. if ${ac_cv_lib_soname_netapi:+false} :; then :
  15787. ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15788. fi ;;
  15789. esac
  15790. else
  15791. ac_cv_lib_soname_netapi=
  15792. fi
  15793. rm -f core conftest.err conftest.$ac_objext \
  15794. conftest$ac_exeext conftest.$ac_ext
  15795. LIBS=$ac_check_soname_save_LIBS
  15796. fi
  15797. if ${ac_cv_lib_soname_netapi:+false} :; then :
  15798. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15799. $as_echo "not found" >&6; }
  15800. cat >>confdefs.h <<_ACEOF
  15801. #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
  15802. _ACEOF
  15803. else
  15804. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
  15805. $as_echo "$ac_cv_lib_soname_netapi" >&6; }
  15806. cat >>confdefs.h <<_ACEOF
  15807. #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
  15808. _ACEOF
  15809. fi
  15810. CPPFLAGS=$ac_save_CPPFLAGS
  15811. test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  15812. test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  15813. fi
  15814. if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
  15815. "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
  15816. then
  15817. as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
  15818. fi
  15819. if test "x$with_vulkan" != "xno"
  15820. then
  15821. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
  15822. $as_echo_n "checking for -lvulkan... " >&6; }
  15823. if ${ac_cv_lib_soname_vulkan+:} false; then :
  15824. $as_echo_n "(cached) " >&6
  15825. else
  15826. ac_check_soname_save_LIBS=$LIBS
  15827. LIBS="-lvulkan $LIBS"
  15828. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15829. /* end confdefs.h. */
  15830. /* Override any GCC internal prototype to avoid an error.
  15831. Use char because int might match the return type of a GCC
  15832. builtin and then its argument prototype would still apply. */
  15833. #ifdef __cplusplus
  15834. extern "C"
  15835. #endif
  15836. char vkGetInstanceProcAddr ();
  15837. int
  15838. main ()
  15839. {
  15840. return vkGetInstanceProcAddr ();
  15841. ;
  15842. return 0;
  15843. }
  15844. _ACEOF
  15845. if ac_fn_c_try_link "$LINENO"; then :
  15846. case "$LIBEXT" in
  15847. dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15848. dylib) ac_cv_lib_soname_vulkan=`$OTOOL -L conftest$ac_exeext | grep "libvulkan\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvulkan\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  15849. *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15850. if ${ac_cv_lib_soname_vulkan:+false} :; then :
  15851. ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15852. fi ;;
  15853. esac
  15854. else
  15855. ac_cv_lib_soname_vulkan=
  15856. fi
  15857. rm -f core conftest.err conftest.$ac_objext \
  15858. conftest$ac_exeext conftest.$ac_ext
  15859. LIBS=$ac_check_soname_save_LIBS
  15860. fi
  15861. if ${ac_cv_lib_soname_vulkan:+false} :; then :
  15862. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15863. $as_echo "not found" >&6; }
  15864. else
  15865. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
  15866. $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
  15867. cat >>confdefs.h <<_ACEOF
  15868. #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
  15869. _ACEOF
  15870. fi
  15871. if test "x$ac_cv_lib_soname_vulkan" = "x"
  15872. then
  15873. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
  15874. $as_echo_n "checking for -lMoltenVK... " >&6; }
  15875. if ${ac_cv_lib_soname_MoltenVK+:} false; then :
  15876. $as_echo_n "(cached) " >&6
  15877. else
  15878. ac_check_soname_save_LIBS=$LIBS
  15879. LIBS="-lMoltenVK $LIBS"
  15880. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15881. /* end confdefs.h. */
  15882. /* Override any GCC internal prototype to avoid an error.
  15883. Use char because int might match the return type of a GCC
  15884. builtin and then its argument prototype would still apply. */
  15885. #ifdef __cplusplus
  15886. extern "C"
  15887. #endif
  15888. char vkGetInstanceProcAddr ();
  15889. int
  15890. main ()
  15891. {
  15892. return vkGetInstanceProcAddr ();
  15893. ;
  15894. return 0;
  15895. }
  15896. _ACEOF
  15897. if ac_fn_c_try_link "$LINENO"; then :
  15898. case "$LIBEXT" in
  15899. dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15900. dylib) ac_cv_lib_soname_MoltenVK=`$OTOOL -L conftest$ac_exeext | grep "libMoltenVK\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libMoltenVK\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  15901. *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15902. if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
  15903. ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15904. fi ;;
  15905. esac
  15906. else
  15907. ac_cv_lib_soname_MoltenVK=
  15908. fi
  15909. rm -f core conftest.err conftest.$ac_objext \
  15910. conftest$ac_exeext conftest.$ac_ext
  15911. LIBS=$ac_check_soname_save_LIBS
  15912. fi
  15913. if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
  15914. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15915. $as_echo "not found" >&6; }
  15916. else
  15917. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
  15918. $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
  15919. cat >>confdefs.h <<_ACEOF
  15920. #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
  15921. _ACEOF
  15922. fi
  15923. fi
  15924. fi
  15925. if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
  15926. case "x$with_vulkan" in
  15927. x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
  15928. xno) ;;
  15929. *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
  15930. This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
  15931. esac
  15932. fi
  15933. if test "x$with_vkd3d" != "xno"
  15934. then
  15935. if ${VKD3D_CFLAGS:+false} :; then :
  15936. if ${PKG_CONFIG+:} false; then :
  15937. VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
  15938. fi
  15939. fi
  15940. if ${VKD3D_LIBS:+false} :; then :
  15941. if ${PKG_CONFIG+:} false; then :
  15942. VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
  15943. fi
  15944. fi
  15945. $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
  15946. $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
  15947. ac_save_CPPFLAGS=$CPPFLAGS
  15948. CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
  15949. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
  15950. $as_echo_n "checking for -lvkd3d... " >&6; }
  15951. if ${ac_cv_lib_soname_vkd3d+:} false; then :
  15952. $as_echo_n "(cached) " >&6
  15953. else
  15954. ac_check_soname_save_LIBS=$LIBS
  15955. LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
  15956. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15957. /* end confdefs.h. */
  15958. /* Override any GCC internal prototype to avoid an error.
  15959. Use char because int might match the return type of a GCC
  15960. builtin and then its argument prototype would still apply. */
  15961. #ifdef __cplusplus
  15962. extern "C"
  15963. #endif
  15964. char vkd3d_get_dxgi_format ();
  15965. int
  15966. main ()
  15967. {
  15968. return vkd3d_get_dxgi_format ();
  15969. ;
  15970. return 0;
  15971. }
  15972. _ACEOF
  15973. if ac_fn_c_try_link "$LINENO"; then :
  15974. case "$LIBEXT" in
  15975. dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15976. dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  15977. *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15978. if ${ac_cv_lib_soname_vkd3d:+false} :; then :
  15979. ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15980. fi ;;
  15981. esac
  15982. else
  15983. ac_cv_lib_soname_vkd3d=
  15984. fi
  15985. rm -f core conftest.err conftest.$ac_objext \
  15986. conftest$ac_exeext conftest.$ac_ext
  15987. LIBS=$ac_check_soname_save_LIBS
  15988. fi
  15989. if ${ac_cv_lib_soname_vkd3d:+false} :; then :
  15990. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15991. $as_echo "not found" >&6; }
  15992. else
  15993. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
  15994. $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
  15995. cat >>confdefs.h <<_ACEOF
  15996. #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
  15997. _ACEOF
  15998. fi
  15999. CPPFLAGS=$ac_save_CPPFLAGS
  16000. test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  16001. test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  16002. fi
  16003. if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
  16004. case "x$with_vkd3d" in
  16005. x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
  16006. xno) ;;
  16007. *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
  16008. This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
  16009. esac
  16010. fi
  16011. test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
  16012. if test "x$with_gcrypt" != "xno"
  16013. then
  16014. if ${GCRYPT_CFLAGS:+false} :; then :
  16015. if ${PKG_CONFIG+:} false; then :
  16016. GCRYPT_CFLAGS=`$PKG_CONFIG --cflags libgcrypt 2>/dev/null`
  16017. fi
  16018. fi
  16019. if ${GCRYPT_LIBS:+false} :; then :
  16020. if ${PKG_CONFIG+:} false; then :
  16021. GCRYPT_LIBS=`$PKG_CONFIG --libs libgcrypt 2>/dev/null`
  16022. fi
  16023. fi
  16024. $as_echo "$as_me:${as_lineno-$LINENO}: libgcrypt cflags: $GCRYPT_CFLAGS" >&5
  16025. $as_echo "$as_me:${as_lineno-$LINENO}: libgcrypt libs: $GCRYPT_LIBS" >&5
  16026. ac_save_CPPFLAGS=$CPPFLAGS
  16027. CPPFLAGS="$CPPFLAGS $GCRYPT_CFLAGS"
  16028. for ac_header in gcrypt.h
  16029. do :
  16030. ac_fn_c_check_header_mongrel "$LINENO" "gcrypt.h" "ac_cv_header_gcrypt_h" "$ac_includes_default"
  16031. if test "x$ac_cv_header_gcrypt_h" = xyes; then :
  16032. cat >>confdefs.h <<_ACEOF
  16033. #define HAVE_GCRYPT_H 1
  16034. _ACEOF
  16035. fi
  16036. done
  16037. if test "$ac_cv_header_gcrypt_h" = "yes"
  16038. then
  16039. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgcrypt" >&5
  16040. $as_echo_n "checking for -lgcrypt... " >&6; }
  16041. if ${ac_cv_lib_soname_gcrypt+:} false; then :
  16042. $as_echo_n "(cached) " >&6
  16043. else
  16044. ac_check_soname_save_LIBS=$LIBS
  16045. LIBS="-lgcrypt $GCRYPT_LIBS $LIBS"
  16046. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16047. /* end confdefs.h. */
  16048. /* Override any GCC internal prototype to avoid an error.
  16049. Use char because int might match the return type of a GCC
  16050. builtin and then its argument prototype would still apply. */
  16051. #ifdef __cplusplus
  16052. extern "C"
  16053. #endif
  16054. char gcry_sexp_build ();
  16055. int
  16056. main ()
  16057. {
  16058. return gcry_sexp_build ();
  16059. ;
  16060. return 0;
  16061. }
  16062. _ACEOF
  16063. if ac_fn_c_try_link "$LINENO"; then :
  16064. case "$LIBEXT" in
  16065. dll) ac_cv_lib_soname_gcrypt=`$ac_cv_path_LDD conftest.exe | grep "gcrypt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  16066. dylib) ac_cv_lib_soname_gcrypt=`$OTOOL -L conftest$ac_exeext | grep "libgcrypt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgcrypt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  16067. *) ac_cv_lib_soname_gcrypt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgcrypt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgcrypt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  16068. if ${ac_cv_lib_soname_gcrypt:+false} :; then :
  16069. ac_cv_lib_soname_gcrypt=`$LDD conftest$ac_exeext | grep "libgcrypt\\.$LIBEXT" | sed -e "s/^.*\(libgcrypt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  16070. fi ;;
  16071. esac
  16072. else
  16073. ac_cv_lib_soname_gcrypt=
  16074. fi
  16075. rm -f core conftest.err conftest.$ac_objext \
  16076. conftest$ac_exeext conftest.$ac_ext
  16077. LIBS=$ac_check_soname_save_LIBS
  16078. fi
  16079. if ${ac_cv_lib_soname_gcrypt:+false} :; then :
  16080. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  16081. $as_echo "not found" >&6; }
  16082. else
  16083. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gcrypt" >&5
  16084. $as_echo "$ac_cv_lib_soname_gcrypt" >&6; }
  16085. cat >>confdefs.h <<_ACEOF
  16086. #define SONAME_LIBGCRYPT "$ac_cv_lib_soname_gcrypt"
  16087. _ACEOF
  16088. fi
  16089. fi
  16090. CPPFLAGS=$ac_save_CPPFLAGS
  16091. test -z "$GCRYPT_CFLAGS" || GCRYPT_CFLAGS=`echo " $GCRYPT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  16092. test -z "$GCRYPT_LIBS" || GCRYPT_LIBS=`echo " $GCRYPT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  16093. fi
  16094. if test "x$ac_cv_lib_soname_gcrypt" = "x"; then :
  16095. case "x$with_gcrypt" in
  16096. x) as_fn_append wine_notices "|libgcrypt ${notice_platform}development files not found, GCRYPT won't be supported." ;;
  16097. xno) ;;
  16098. *) as_fn_error $? "libgcrypt ${notice_platform}development files not found, GCRYPT won't be supported.
  16099. This is an error since --with-gcrypt was requested." "$LINENO" 5 ;;
  16100. esac
  16101. fi
  16102. EXTRACFLAGS=""
  16103. if test "x${GCC}" = "xyes"
  16104. then
  16105. EXTRACFLAGS="-Wall -pipe"
  16106. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
  16107. $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
  16108. if ${ac_cv_cflags__fcf_protection_none+:} false; then :
  16109. $as_echo_n "(cached) " >&6
  16110. else
  16111. ac_wine_try_cflags_saved=$CFLAGS
  16112. CFLAGS="$CFLAGS -fcf-protection=none"
  16113. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16114. /* end confdefs.h. */
  16115. int main(int argc, char **argv) { return 0; }
  16116. _ACEOF
  16117. if ac_fn_c_try_link "$LINENO"; then :
  16118. ac_cv_cflags__fcf_protection_none=yes
  16119. else
  16120. ac_cv_cflags__fcf_protection_none=no
  16121. fi
  16122. rm -f core conftest.err conftest.$ac_objext \
  16123. conftest$ac_exeext conftest.$ac_ext
  16124. CFLAGS=$ac_wine_try_cflags_saved
  16125. fi
  16126. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
  16127. $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
  16128. if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
  16129. EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
  16130. fi
  16131. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
  16132. $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
  16133. if ${ac_cv_cflags__fno_stack_protector+:} false; then :
  16134. $as_echo_n "(cached) " >&6
  16135. else
  16136. ac_wine_try_cflags_saved=$CFLAGS
  16137. CFLAGS="$CFLAGS -fno-stack-protector"
  16138. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16139. /* end confdefs.h. */
  16140. int main(int argc, char **argv) { return 0; }
  16141. _ACEOF
  16142. if ac_fn_c_try_link "$LINENO"; then :
  16143. ac_cv_cflags__fno_stack_protector=yes
  16144. else
  16145. ac_cv_cflags__fno_stack_protector=no
  16146. fi
  16147. rm -f core conftest.err conftest.$ac_objext \
  16148. conftest$ac_exeext conftest.$ac_ext
  16149. CFLAGS=$ac_wine_try_cflags_saved
  16150. fi
  16151. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
  16152. $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
  16153. if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
  16154. EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
  16155. fi
  16156. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
  16157. $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
  16158. if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
  16159. $as_echo_n "(cached) " >&6
  16160. else
  16161. ac_wine_try_cflags_saved=$CFLAGS
  16162. CFLAGS="$CFLAGS -fno-strict-aliasing"
  16163. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16164. /* end confdefs.h. */
  16165. int main(int argc, char **argv) { return 0; }
  16166. _ACEOF
  16167. if ac_fn_c_try_link "$LINENO"; then :
  16168. ac_cv_cflags__fno_strict_aliasing=yes
  16169. else
  16170. ac_cv_cflags__fno_strict_aliasing=no
  16171. fi
  16172. rm -f core conftest.err conftest.$ac_objext \
  16173. conftest$ac_exeext conftest.$ac_ext
  16174. CFLAGS=$ac_wine_try_cflags_saved
  16175. fi
  16176. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
  16177. $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
  16178. if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
  16179. EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
  16180. fi
  16181. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
  16182. $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
  16183. if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
  16184. $as_echo_n "(cached) " >&6
  16185. else
  16186. ac_wine_try_cflags_saved=$CFLAGS
  16187. CFLAGS="$CFLAGS -fexcess-precision=standard"
  16188. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16189. /* end confdefs.h. */
  16190. int main(int argc, char **argv) { return 0; }
  16191. _ACEOF
  16192. if ac_fn_c_try_link "$LINENO"; then :
  16193. ac_cv_cflags__fexcess_precision_standard=yes
  16194. else
  16195. ac_cv_cflags__fexcess_precision_standard=no
  16196. fi
  16197. rm -f core conftest.err conftest.$ac_objext \
  16198. conftest$ac_exeext conftest.$ac_ext
  16199. CFLAGS=$ac_wine_try_cflags_saved
  16200. fi
  16201. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
  16202. $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
  16203. if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
  16204. EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
  16205. fi
  16206. saved_CFLAGS=$CFLAGS
  16207. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
  16208. $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
  16209. if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
  16210. $as_echo_n "(cached) " >&6
  16211. else
  16212. ac_wine_try_cflags_saved=$CFLAGS
  16213. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  16214. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16215. /* end confdefs.h. */
  16216. int main(int argc, char **argv) { return 0; }
  16217. _ACEOF
  16218. if ac_fn_c_try_link "$LINENO"; then :
  16219. ac_cv_cflags__Werror_unknown_warning_option=yes
  16220. else
  16221. ac_cv_cflags__Werror_unknown_warning_option=no
  16222. fi
  16223. rm -f core conftest.err conftest.$ac_objext \
  16224. conftest$ac_exeext conftest.$ac_ext
  16225. CFLAGS=$ac_wine_try_cflags_saved
  16226. fi
  16227. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
  16228. $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
  16229. if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
  16230. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  16231. fi
  16232. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
  16233. $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
  16234. if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
  16235. $as_echo_n "(cached) " >&6
  16236. else
  16237. ac_wine_try_cflags_saved=$CFLAGS
  16238. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  16239. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16240. /* end confdefs.h. */
  16241. int main(int argc, char **argv) { return 0; }
  16242. _ACEOF
  16243. if ac_fn_c_try_link "$LINENO"; then :
  16244. ac_cv_cflags__Werror_unused_command_line_argument=yes
  16245. else
  16246. ac_cv_cflags__Werror_unused_command_line_argument=no
  16247. fi
  16248. rm -f core conftest.err conftest.$ac_objext \
  16249. conftest$ac_exeext conftest.$ac_ext
  16250. CFLAGS=$ac_wine_try_cflags_saved
  16251. fi
  16252. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
  16253. $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
  16254. if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
  16255. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  16256. fi
  16257. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
  16258. $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
  16259. if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
  16260. $as_echo_n "(cached) " >&6
  16261. else
  16262. ac_wine_try_cflags_saved=$CFLAGS
  16263. CFLAGS="$CFLAGS -Wdeclaration-after-statement"
  16264. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16265. /* end confdefs.h. */
  16266. int main(int argc, char **argv) { return 0; }
  16267. _ACEOF
  16268. if ac_fn_c_try_link "$LINENO"; then :
  16269. ac_cv_cflags__Wdeclaration_after_statement=yes
  16270. else
  16271. ac_cv_cflags__Wdeclaration_after_statement=no
  16272. fi
  16273. rm -f core conftest.err conftest.$ac_objext \
  16274. conftest$ac_exeext conftest.$ac_ext
  16275. CFLAGS=$ac_wine_try_cflags_saved
  16276. fi
  16277. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
  16278. $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
  16279. if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
  16280. EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
  16281. fi
  16282. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
  16283. $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
  16284. if ${ac_cv_cflags__Wempty_body+:} false; then :
  16285. $as_echo_n "(cached) " >&6
  16286. else
  16287. ac_wine_try_cflags_saved=$CFLAGS
  16288. CFLAGS="$CFLAGS -Wempty-body"
  16289. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16290. /* end confdefs.h. */
  16291. int main(int argc, char **argv) { return 0; }
  16292. _ACEOF
  16293. if ac_fn_c_try_link "$LINENO"; then :
  16294. ac_cv_cflags__Wempty_body=yes
  16295. else
  16296. ac_cv_cflags__Wempty_body=no
  16297. fi
  16298. rm -f core conftest.err conftest.$ac_objext \
  16299. conftest$ac_exeext conftest.$ac_ext
  16300. CFLAGS=$ac_wine_try_cflags_saved
  16301. fi
  16302. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
  16303. $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
  16304. if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
  16305. EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
  16306. fi
  16307. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
  16308. $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
  16309. if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
  16310. $as_echo_n "(cached) " >&6
  16311. else
  16312. ac_wine_try_cflags_saved=$CFLAGS
  16313. CFLAGS="$CFLAGS -Wignored-qualifiers"
  16314. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16315. /* end confdefs.h. */
  16316. int main(int argc, char **argv) { return 0; }
  16317. _ACEOF
  16318. if ac_fn_c_try_link "$LINENO"; then :
  16319. ac_cv_cflags__Wignored_qualifiers=yes
  16320. else
  16321. ac_cv_cflags__Wignored_qualifiers=no
  16322. fi
  16323. rm -f core conftest.err conftest.$ac_objext \
  16324. conftest$ac_exeext conftest.$ac_ext
  16325. CFLAGS=$ac_wine_try_cflags_saved
  16326. fi
  16327. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
  16328. $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
  16329. if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
  16330. EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
  16331. fi
  16332. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
  16333. $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
  16334. if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
  16335. $as_echo_n "(cached) " >&6
  16336. else
  16337. ac_wine_try_cflags_saved=$CFLAGS
  16338. CFLAGS="$CFLAGS -Wpacked-not-aligned"
  16339. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16340. /* end confdefs.h. */
  16341. int main(int argc, char **argv) { return 0; }
  16342. _ACEOF
  16343. if ac_fn_c_try_link "$LINENO"; then :
  16344. ac_cv_cflags__Wpacked_not_aligned=yes
  16345. else
  16346. ac_cv_cflags__Wpacked_not_aligned=no
  16347. fi
  16348. rm -f core conftest.err conftest.$ac_objext \
  16349. conftest$ac_exeext conftest.$ac_ext
  16350. CFLAGS=$ac_wine_try_cflags_saved
  16351. fi
  16352. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
  16353. $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
  16354. if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
  16355. EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
  16356. fi
  16357. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
  16358. $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
  16359. if ${ac_cv_cflags__Wpragma_pack+:} false; then :
  16360. $as_echo_n "(cached) " >&6
  16361. else
  16362. ac_wine_try_cflags_saved=$CFLAGS
  16363. CFLAGS="$CFLAGS -Wpragma-pack"
  16364. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16365. /* end confdefs.h. */
  16366. int main(int argc, char **argv) { return 0; }
  16367. _ACEOF
  16368. if ac_fn_c_try_link "$LINENO"; then :
  16369. ac_cv_cflags__Wpragma_pack=yes
  16370. else
  16371. ac_cv_cflags__Wpragma_pack=no
  16372. fi
  16373. rm -f core conftest.err conftest.$ac_objext \
  16374. conftest$ac_exeext conftest.$ac_ext
  16375. CFLAGS=$ac_wine_try_cflags_saved
  16376. fi
  16377. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
  16378. $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
  16379. if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
  16380. EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
  16381. fi
  16382. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
  16383. $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
  16384. if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
  16385. $as_echo_n "(cached) " >&6
  16386. else
  16387. ac_wine_try_cflags_saved=$CFLAGS
  16388. CFLAGS="$CFLAGS -Wshift-overflow=2"
  16389. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16390. /* end confdefs.h. */
  16391. int main(int argc, char **argv) { return 0; }
  16392. _ACEOF
  16393. if ac_fn_c_try_link "$LINENO"; then :
  16394. ac_cv_cflags__Wshift_overflow_2=yes
  16395. else
  16396. ac_cv_cflags__Wshift_overflow_2=no
  16397. fi
  16398. rm -f core conftest.err conftest.$ac_objext \
  16399. conftest$ac_exeext conftest.$ac_ext
  16400. CFLAGS=$ac_wine_try_cflags_saved
  16401. fi
  16402. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
  16403. $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
  16404. if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
  16405. EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
  16406. fi
  16407. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
  16408. $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
  16409. if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
  16410. $as_echo_n "(cached) " >&6
  16411. else
  16412. ac_wine_try_cflags_saved=$CFLAGS
  16413. CFLAGS="$CFLAGS -Wstrict-prototypes"
  16414. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16415. /* end confdefs.h. */
  16416. int main(int argc, char **argv) { return 0; }
  16417. _ACEOF
  16418. if ac_fn_c_try_link "$LINENO"; then :
  16419. ac_cv_cflags__Wstrict_prototypes=yes
  16420. else
  16421. ac_cv_cflags__Wstrict_prototypes=no
  16422. fi
  16423. rm -f core conftest.err conftest.$ac_objext \
  16424. conftest$ac_exeext conftest.$ac_ext
  16425. CFLAGS=$ac_wine_try_cflags_saved
  16426. fi
  16427. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
  16428. $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
  16429. if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
  16430. EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
  16431. fi
  16432. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
  16433. $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
  16434. if ${ac_cv_cflags__Wtype_limits+:} false; then :
  16435. $as_echo_n "(cached) " >&6
  16436. else
  16437. ac_wine_try_cflags_saved=$CFLAGS
  16438. CFLAGS="$CFLAGS -Wtype-limits"
  16439. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16440. /* end confdefs.h. */
  16441. int main(int argc, char **argv) { return 0; }
  16442. _ACEOF
  16443. if ac_fn_c_try_link "$LINENO"; then :
  16444. ac_cv_cflags__Wtype_limits=yes
  16445. else
  16446. ac_cv_cflags__Wtype_limits=no
  16447. fi
  16448. rm -f core conftest.err conftest.$ac_objext \
  16449. conftest$ac_exeext conftest.$ac_ext
  16450. CFLAGS=$ac_wine_try_cflags_saved
  16451. fi
  16452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
  16453. $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
  16454. if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
  16455. EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
  16456. fi
  16457. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
  16458. $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
  16459. if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
  16460. $as_echo_n "(cached) " >&6
  16461. else
  16462. ac_wine_try_cflags_saved=$CFLAGS
  16463. CFLAGS="$CFLAGS -Wunused-but-set-parameter"
  16464. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16465. /* end confdefs.h. */
  16466. int main(int argc, char **argv) { return 0; }
  16467. _ACEOF
  16468. if ac_fn_c_try_link "$LINENO"; then :
  16469. ac_cv_cflags__Wunused_but_set_parameter=yes
  16470. else
  16471. ac_cv_cflags__Wunused_but_set_parameter=no
  16472. fi
  16473. rm -f core conftest.err conftest.$ac_objext \
  16474. conftest$ac_exeext conftest.$ac_ext
  16475. CFLAGS=$ac_wine_try_cflags_saved
  16476. fi
  16477. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
  16478. $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
  16479. if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
  16480. EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
  16481. fi
  16482. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
  16483. $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
  16484. if ${ac_cv_cflags__Wvla+:} false; then :
  16485. $as_echo_n "(cached) " >&6
  16486. else
  16487. ac_wine_try_cflags_saved=$CFLAGS
  16488. CFLAGS="$CFLAGS -Wvla"
  16489. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16490. /* end confdefs.h. */
  16491. int main(int argc, char **argv) { return 0; }
  16492. _ACEOF
  16493. if ac_fn_c_try_link "$LINENO"; then :
  16494. ac_cv_cflags__Wvla=yes
  16495. else
  16496. ac_cv_cflags__Wvla=no
  16497. fi
  16498. rm -f core conftest.err conftest.$ac_objext \
  16499. conftest$ac_exeext conftest.$ac_ext
  16500. CFLAGS=$ac_wine_try_cflags_saved
  16501. fi
  16502. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
  16503. $as_echo "$ac_cv_cflags__Wvla" >&6; }
  16504. if test "x$ac_cv_cflags__Wvla" = xyes; then :
  16505. EXTRACFLAGS="$EXTRACFLAGS -Wvla"
  16506. fi
  16507. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
  16508. $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
  16509. if ${ac_cv_cflags__Wwrite_strings+:} false; then :
  16510. $as_echo_n "(cached) " >&6
  16511. else
  16512. ac_wine_try_cflags_saved=$CFLAGS
  16513. CFLAGS="$CFLAGS -Wwrite-strings"
  16514. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16515. /* end confdefs.h. */
  16516. int main(int argc, char **argv) { return 0; }
  16517. _ACEOF
  16518. if ac_fn_c_try_link "$LINENO"; then :
  16519. ac_cv_cflags__Wwrite_strings=yes
  16520. else
  16521. ac_cv_cflags__Wwrite_strings=no
  16522. fi
  16523. rm -f core conftest.err conftest.$ac_objext \
  16524. conftest$ac_exeext conftest.$ac_ext
  16525. CFLAGS=$ac_wine_try_cflags_saved
  16526. fi
  16527. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
  16528. $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
  16529. if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
  16530. EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
  16531. fi
  16532. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
  16533. $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
  16534. if ${ac_cv_cflags__Wpointer_arith+:} false; then :
  16535. $as_echo_n "(cached) " >&6
  16536. else
  16537. ac_wine_try_cflags_saved=$CFLAGS
  16538. CFLAGS="$CFLAGS -Wpointer-arith"
  16539. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16540. /* end confdefs.h. */
  16541. int main(int argc, char **argv) { return 0; }
  16542. _ACEOF
  16543. if ac_fn_c_try_link "$LINENO"; then :
  16544. ac_cv_cflags__Wpointer_arith=yes
  16545. else
  16546. ac_cv_cflags__Wpointer_arith=no
  16547. fi
  16548. rm -f core conftest.err conftest.$ac_objext \
  16549. conftest$ac_exeext conftest.$ac_ext
  16550. CFLAGS=$ac_wine_try_cflags_saved
  16551. fi
  16552. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
  16553. $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
  16554. if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
  16555. saved_string_h_CFLAGS=$CFLAGS
  16556. CFLAGS="$CFLAGS -Wpointer-arith -Werror"
  16557. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
  16558. $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
  16559. if ${ac_cv_c_string_h_warnings+:} false; then :
  16560. $as_echo_n "(cached) " >&6
  16561. else
  16562. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16563. /* end confdefs.h. */
  16564. #include <string.h>
  16565. int
  16566. main ()
  16567. {
  16568. ;
  16569. return 0;
  16570. }
  16571. _ACEOF
  16572. if ac_fn_c_try_compile "$LINENO"; then :
  16573. ac_cv_c_string_h_warnings=no
  16574. else
  16575. ac_cv_c_string_h_warnings=yes
  16576. fi
  16577. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16578. fi
  16579. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
  16580. $as_echo "$ac_cv_c_string_h_warnings" >&6; }
  16581. test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
  16582. CFLAGS=$saved_string_h_CFLAGS
  16583. fi
  16584. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
  16585. $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
  16586. if ${ac_cv_cflags__Wlogical_op+:} false; then :
  16587. $as_echo_n "(cached) " >&6
  16588. else
  16589. ac_wine_try_cflags_saved=$CFLAGS
  16590. CFLAGS="$CFLAGS -Wlogical-op"
  16591. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16592. /* end confdefs.h. */
  16593. int main(int argc, char **argv) { return 0; }
  16594. _ACEOF
  16595. if ac_fn_c_try_link "$LINENO"; then :
  16596. ac_cv_cflags__Wlogical_op=yes
  16597. else
  16598. ac_cv_cflags__Wlogical_op=no
  16599. fi
  16600. rm -f core conftest.err conftest.$ac_objext \
  16601. conftest$ac_exeext conftest.$ac_ext
  16602. CFLAGS=$ac_wine_try_cflags_saved
  16603. fi
  16604. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
  16605. $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
  16606. if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
  16607. saved_string_h_CFLAGS=$CFLAGS
  16608. CFLAGS="$CFLAGS -Wlogical-op -Werror"
  16609. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
  16610. $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
  16611. if ${ac_cv_c_logicalop_noisy+:} false; then :
  16612. $as_echo_n "(cached) " >&6
  16613. else
  16614. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16615. /* end confdefs.h. */
  16616. #include <string.h>
  16617. char*f(const char *h,char n) {return strchr(h,n);}
  16618. int
  16619. main ()
  16620. {
  16621. ;
  16622. return 0;
  16623. }
  16624. _ACEOF
  16625. if ac_fn_c_try_compile "$LINENO"; then :
  16626. ac_cv_c_logicalop_noisy=no
  16627. else
  16628. ac_cv_c_logicalop_noisy=yes
  16629. fi
  16630. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16631. fi
  16632. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
  16633. $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
  16634. CFLAGS=$saved_string_h_CFLAGS
  16635. test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
  16636. fi
  16637. for ac_flag in $CFLAGS; do
  16638. case $ac_flag in
  16639. -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
  16640. $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
  16641. if ${ac_cv_cflags__gdwarf_2+:} false; then :
  16642. $as_echo_n "(cached) " >&6
  16643. else
  16644. ac_wine_try_cflags_saved=$CFLAGS
  16645. CFLAGS="$CFLAGS -gdwarf-2"
  16646. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16647. /* end confdefs.h. */
  16648. int main(int argc, char **argv) { return 0; }
  16649. _ACEOF
  16650. if ac_fn_c_try_link "$LINENO"; then :
  16651. ac_cv_cflags__gdwarf_2=yes
  16652. else
  16653. ac_cv_cflags__gdwarf_2=no
  16654. fi
  16655. rm -f core conftest.err conftest.$ac_objext \
  16656. conftest$ac_exeext conftest.$ac_ext
  16657. CFLAGS=$ac_wine_try_cflags_saved
  16658. fi
  16659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
  16660. $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
  16661. if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
  16662. EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
  16663. fi
  16664. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
  16665. $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
  16666. if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
  16667. $as_echo_n "(cached) " >&6
  16668. else
  16669. ac_wine_try_cflags_saved=$CFLAGS
  16670. CFLAGS="$CFLAGS -gstrict-dwarf"
  16671. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16672. /* end confdefs.h. */
  16673. int main(int argc, char **argv) { return 0; }
  16674. _ACEOF
  16675. if ac_fn_c_try_link "$LINENO"; then :
  16676. ac_cv_cflags__gstrict_dwarf=yes
  16677. else
  16678. ac_cv_cflags__gstrict_dwarf=no
  16679. fi
  16680. rm -f core conftest.err conftest.$ac_objext \
  16681. conftest$ac_exeext conftest.$ac_ext
  16682. CFLAGS=$ac_wine_try_cflags_saved
  16683. fi
  16684. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
  16685. $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
  16686. if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
  16687. EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
  16688. fi ;;
  16689. esac
  16690. done
  16691. MSVCRTFLAGS=""
  16692. case $host_os in
  16693. mingw32*) ;;
  16694. *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
  16695. $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
  16696. if ${ac_cv_cflags__fno_builtin+:} false; then :
  16697. $as_echo_n "(cached) " >&6
  16698. else
  16699. ac_wine_try_cflags_saved=$CFLAGS
  16700. CFLAGS="$CFLAGS -fno-builtin"
  16701. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16702. /* end confdefs.h. */
  16703. int main(int argc, char **argv) { return 0; }
  16704. _ACEOF
  16705. if ac_fn_c_try_link "$LINENO"; then :
  16706. ac_cv_cflags__fno_builtin=yes
  16707. else
  16708. ac_cv_cflags__fno_builtin=no
  16709. fi
  16710. rm -f core conftest.err conftest.$ac_objext \
  16711. conftest$ac_exeext conftest.$ac_ext
  16712. CFLAGS=$ac_wine_try_cflags_saved
  16713. fi
  16714. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
  16715. $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
  16716. if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
  16717. MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
  16718. fi
  16719. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
  16720. $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
  16721. if ${ac_cv_cflags__fshort_wchar+:} false; then :
  16722. $as_echo_n "(cached) " >&6
  16723. else
  16724. ac_wine_try_cflags_saved=$CFLAGS
  16725. CFLAGS="$CFLAGS -fshort-wchar"
  16726. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16727. /* end confdefs.h. */
  16728. int main(int argc, char **argv) { return 0; }
  16729. _ACEOF
  16730. if ac_fn_c_try_link "$LINENO"; then :
  16731. ac_cv_cflags__fshort_wchar=yes
  16732. else
  16733. ac_cv_cflags__fshort_wchar=no
  16734. fi
  16735. rm -f core conftest.err conftest.$ac_objext \
  16736. conftest$ac_exeext conftest.$ac_ext
  16737. CFLAGS=$ac_wine_try_cflags_saved
  16738. fi
  16739. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
  16740. $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
  16741. if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
  16742. MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
  16743. fi ;;
  16744. esac
  16745. case $host_cpu in
  16746. *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
  16747. $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
  16748. if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
  16749. $as_echo_n "(cached) " >&6
  16750. else
  16751. ac_wine_try_cflags_saved=$CFLAGS
  16752. CFLAGS="$CFLAGS -fno-omit-frame-pointer"
  16753. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16754. /* end confdefs.h. */
  16755. int main(int argc, char **argv) { return 0; }
  16756. _ACEOF
  16757. if ac_fn_c_try_link "$LINENO"; then :
  16758. ac_cv_cflags__fno_omit_frame_pointer=yes
  16759. else
  16760. ac_cv_cflags__fno_omit_frame_pointer=no
  16761. fi
  16762. rm -f core conftest.err conftest.$ac_objext \
  16763. conftest$ac_exeext conftest.$ac_ext
  16764. CFLAGS=$ac_wine_try_cflags_saved
  16765. fi
  16766. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
  16767. $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
  16768. if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
  16769. EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
  16770. fi ;;
  16771. *x86_64*)
  16772. case $host_os in
  16773. cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
  16774. $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
  16775. if ${ac_cv_cflags__Wno_format+:} false; then :
  16776. $as_echo_n "(cached) " >&6
  16777. else
  16778. ac_wine_try_cflags_saved=$CFLAGS
  16779. CFLAGS="$CFLAGS -Wno-format"
  16780. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16781. /* end confdefs.h. */
  16782. int main(int argc, char **argv) { return 0; }
  16783. _ACEOF
  16784. if ac_fn_c_try_link "$LINENO"; then :
  16785. ac_cv_cflags__Wno_format=yes
  16786. else
  16787. ac_cv_cflags__Wno_format=no
  16788. fi
  16789. rm -f core conftest.err conftest.$ac_objext \
  16790. conftest$ac_exeext conftest.$ac_ext
  16791. CFLAGS=$ac_wine_try_cflags_saved
  16792. fi
  16793. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
  16794. $as_echo "$ac_cv_cflags__Wno_format" >&6; }
  16795. if test "x$ac_cv_cflags__Wno_format" = xyes; then :
  16796. EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
  16797. fi ;;
  16798. *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
  16799. $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
  16800. if ${ac_cv_cflags__mabi_ms+:} false; then :
  16801. $as_echo_n "(cached) " >&6
  16802. else
  16803. ac_wine_try_cflags_saved=$CFLAGS
  16804. CFLAGS="$CFLAGS -mabi=ms"
  16805. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16806. /* end confdefs.h. */
  16807. int main(int argc, char **argv) { return 0; }
  16808. _ACEOF
  16809. if ac_fn_c_try_link "$LINENO"; then :
  16810. ac_cv_cflags__mabi_ms=yes
  16811. else
  16812. ac_cv_cflags__mabi_ms=no
  16813. fi
  16814. rm -f core conftest.err conftest.$ac_objext \
  16815. conftest$ac_exeext conftest.$ac_ext
  16816. CFLAGS=$ac_wine_try_cflags_saved
  16817. fi
  16818. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
  16819. $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
  16820. if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
  16821. MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
  16822. fi ;;
  16823. esac ;;
  16824. esac
  16825. CFLAGS=$saved_CFLAGS
  16826. if test "x$enable_werror" = "xyes"
  16827. then
  16828. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
  16829. $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
  16830. if ${ac_cv_cflags__Werror+:} false; then :
  16831. $as_echo_n "(cached) " >&6
  16832. else
  16833. ac_wine_try_cflags_saved=$CFLAGS
  16834. CFLAGS="$CFLAGS -Werror"
  16835. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16836. /* end confdefs.h. */
  16837. int main(int argc, char **argv) { return 0; }
  16838. _ACEOF
  16839. if ac_fn_c_try_link "$LINENO"; then :
  16840. ac_cv_cflags__Werror=yes
  16841. else
  16842. ac_cv_cflags__Werror=no
  16843. fi
  16844. rm -f core conftest.err conftest.$ac_objext \
  16845. conftest$ac_exeext conftest.$ac_ext
  16846. CFLAGS=$ac_wine_try_cflags_saved
  16847. fi
  16848. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
  16849. $as_echo "$ac_cv_cflags__Werror" >&6; }
  16850. if test "x$ac_cv_cflags__Werror" = xyes; then :
  16851. EXTRACFLAGS="$EXTRACFLAGS -Werror"
  16852. fi
  16853. fi
  16854. fi
  16855. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
  16856. $as_echo_n "checking for the need to disable Fortify... " >&6; }
  16857. if ${ac_cv_c_fortify_enabled+:} false; then :
  16858. $as_echo_n "(cached) " >&6
  16859. else
  16860. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16861. /* end confdefs.h. */
  16862. #include <string.h>
  16863. int
  16864. main ()
  16865. {
  16866. #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
  16867. #error Fortify enabled
  16868. #endif
  16869. ;
  16870. return 0;
  16871. }
  16872. _ACEOF
  16873. if ac_fn_c_try_compile "$LINENO"; then :
  16874. ac_cv_c_fortify_enabled=no
  16875. else
  16876. ac_cv_c_fortify_enabled=yes
  16877. fi
  16878. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16879. fi
  16880. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
  16881. $as_echo "$ac_cv_c_fortify_enabled" >&6; }
  16882. if test "$ac_cv_c_fortify_enabled" = yes
  16883. then
  16884. CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
  16885. fi
  16886. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
  16887. $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
  16888. if ${ac_cv_c_cfi_support+:} false; then :
  16889. $as_echo_n "(cached) " >&6
  16890. else
  16891. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16892. /* end confdefs.h. */
  16893. asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
  16894. int
  16895. main ()
  16896. {
  16897. ;
  16898. return 0;
  16899. }
  16900. _ACEOF
  16901. if ac_fn_c_try_compile "$LINENO"; then :
  16902. ac_cv_c_cfi_support="yes"
  16903. else
  16904. ac_cv_c_cfi_support="no"
  16905. fi
  16906. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16907. fi
  16908. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
  16909. $as_echo "$ac_cv_c_cfi_support" >&6; }
  16910. if test "$ac_cv_c_cfi_support" = "yes"
  16911. then
  16912. LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
  16913. else
  16914. if test "x$enable_win64" = "xyes"
  16915. then
  16916. as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
  16917. fi
  16918. fi
  16919. case $build_os in
  16920. cygwin*|mingw32*) TOOLSEXT=".exe"
  16921. ;;
  16922. esac
  16923. case $host_os in
  16924. linux*)
  16925. case $host_cpu in
  16926. *i[3456789]86*|x86_64*|*aarch64*)
  16927. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  16928. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  16929. ;;
  16930. esac
  16931. ;;
  16932. esac
  16933. ac_save_CFLAGS="$CFLAGS"
  16934. CFLAGS="$CFLAGS $BUILTINFLAG"
  16935. for ac_func in \
  16936. __res_get_state \
  16937. __res_getservers \
  16938. _spawnvp \
  16939. dlopen \
  16940. epoll_create \
  16941. ffs \
  16942. finitef \
  16943. fnmatch \
  16944. fork \
  16945. fpclass \
  16946. fstatfs \
  16947. fstatvfs \
  16948. futimens \
  16949. futimes \
  16950. futimesat \
  16951. getattrlist \
  16952. getauxval \
  16953. getifaddrs \
  16954. getopt_long_only \
  16955. kqueue \
  16956. lstat \
  16957. mach_continuous_time \
  16958. pipe2 \
  16959. poll \
  16960. port_create \
  16961. ppoll \
  16962. prctl \
  16963. pread \
  16964. proc_pidinfo \
  16965. pwrite \
  16966. readdir \
  16967. readlink \
  16968. renameat \
  16969. renameat2 \
  16970. sched_yield \
  16971. select \
  16972. setproctitle \
  16973. setprogname \
  16974. settimeofday \
  16975. sigprocmask \
  16976. statfs \
  16977. statvfs \
  16978. strnlen \
  16979. strtold \
  16980. symlink \
  16981. sysinfo \
  16982. tcdrain \
  16983. thr_kill2 \
  16984. timegm \
  16985. usleep
  16986. do :
  16987. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16988. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16989. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16990. cat >>confdefs.h <<_ACEOF
  16991. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16992. _ACEOF
  16993. fi
  16994. done
  16995. CFLAGS="$ac_save_CFLAGS"
  16996. if test "$ac_cv_func_dlopen" = no
  16997. then
  16998. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
  16999. $as_echo_n "checking for dlopen in -ldl... " >&6; }
  17000. if ${ac_cv_lib_dl_dlopen+:} false; then :
  17001. $as_echo_n "(cached) " >&6
  17002. else
  17003. ac_check_lib_save_LIBS=$LIBS
  17004. LIBS="-ldl $LIBS"
  17005. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17006. /* end confdefs.h. */
  17007. /* Override any GCC internal prototype to avoid an error.
  17008. Use char because int might match the return type of a GCC
  17009. builtin and then its argument prototype would still apply. */
  17010. #ifdef __cplusplus
  17011. extern "C"
  17012. #endif
  17013. char dlopen ();
  17014. int
  17015. main ()
  17016. {
  17017. return dlopen ();
  17018. ;
  17019. return 0;
  17020. }
  17021. _ACEOF
  17022. if ac_fn_c_try_link "$LINENO"; then :
  17023. ac_cv_lib_dl_dlopen=yes
  17024. else
  17025. ac_cv_lib_dl_dlopen=no
  17026. fi
  17027. rm -f core conftest.err conftest.$ac_objext \
  17028. conftest$ac_exeext conftest.$ac_ext
  17029. LIBS=$ac_check_lib_save_LIBS
  17030. fi
  17031. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
  17032. $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
  17033. if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
  17034. $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
  17035. DL_LIBS="-ldl"
  17036. fi
  17037. fi
  17038. ac_wine_check_funcs_save_LIBS="$LIBS"
  17039. LIBS="$LIBS $DL_LIBS"
  17040. for ac_func in dladdr
  17041. do :
  17042. ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
  17043. if test "x$ac_cv_func_dladdr" = xyes; then :
  17044. cat >>confdefs.h <<_ACEOF
  17045. #define HAVE_DLADDR 1
  17046. _ACEOF
  17047. fi
  17048. done
  17049. LIBS="$ac_wine_check_funcs_save_LIBS"
  17050. if test "$ac_cv_func_poll" = no
  17051. then
  17052. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
  17053. $as_echo_n "checking for poll in -lpoll... " >&6; }
  17054. if ${ac_cv_lib_poll_poll+:} false; then :
  17055. $as_echo_n "(cached) " >&6
  17056. else
  17057. ac_check_lib_save_LIBS=$LIBS
  17058. LIBS="-lpoll $LIBS"
  17059. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17060. /* end confdefs.h. */
  17061. /* Override any GCC internal prototype to avoid an error.
  17062. Use char because int might match the return type of a GCC
  17063. builtin and then its argument prototype would still apply. */
  17064. #ifdef __cplusplus
  17065. extern "C"
  17066. #endif
  17067. char poll ();
  17068. int
  17069. main ()
  17070. {
  17071. return poll ();
  17072. ;
  17073. return 0;
  17074. }
  17075. _ACEOF
  17076. if ac_fn_c_try_link "$LINENO"; then :
  17077. ac_cv_lib_poll_poll=yes
  17078. else
  17079. ac_cv_lib_poll_poll=no
  17080. fi
  17081. rm -f core conftest.err conftest.$ac_objext \
  17082. conftest$ac_exeext conftest.$ac_ext
  17083. LIBS=$ac_check_lib_save_LIBS
  17084. fi
  17085. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
  17086. $as_echo "$ac_cv_lib_poll_poll" >&6; }
  17087. if test "x$ac_cv_lib_poll_poll" = xyes; then :
  17088. $as_echo "#define HAVE_POLL 1" >>confdefs.h
  17089. POLL_LIBS="-lpoll"
  17090. fi
  17091. fi
  17092. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
  17093. $as_echo_n "checking for library containing gethostbyname... " >&6; }
  17094. if ${ac_cv_search_gethostbyname+:} false; then :
  17095. $as_echo_n "(cached) " >&6
  17096. else
  17097. ac_func_search_save_LIBS=$LIBS
  17098. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17099. /* end confdefs.h. */
  17100. /* Override any GCC internal prototype to avoid an error.
  17101. Use char because int might match the return type of a GCC
  17102. builtin and then its argument prototype would still apply. */
  17103. #ifdef __cplusplus
  17104. extern "C"
  17105. #endif
  17106. char gethostbyname ();
  17107. int
  17108. main ()
  17109. {
  17110. return gethostbyname ();
  17111. ;
  17112. return 0;
  17113. }
  17114. _ACEOF
  17115. for ac_lib in '' nsl; do
  17116. if test -z "$ac_lib"; then
  17117. ac_res="none required"
  17118. else
  17119. ac_res=-l$ac_lib
  17120. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  17121. fi
  17122. if ac_fn_c_try_link "$LINENO"; then :
  17123. ac_cv_search_gethostbyname=$ac_res
  17124. fi
  17125. rm -f core conftest.err conftest.$ac_objext \
  17126. conftest$ac_exeext
  17127. if ${ac_cv_search_gethostbyname+:} false; then :
  17128. break
  17129. fi
  17130. done
  17131. if ${ac_cv_search_gethostbyname+:} false; then :
  17132. else
  17133. ac_cv_search_gethostbyname=no
  17134. fi
  17135. rm conftest.$ac_ext
  17136. LIBS=$ac_func_search_save_LIBS
  17137. fi
  17138. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
  17139. $as_echo "$ac_cv_search_gethostbyname" >&6; }
  17140. ac_res=$ac_cv_search_gethostbyname
  17141. if test "$ac_res" != no; then :
  17142. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  17143. fi
  17144. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
  17145. $as_echo_n "checking for library containing connect... " >&6; }
  17146. if ${ac_cv_search_connect+:} false; then :
  17147. $as_echo_n "(cached) " >&6
  17148. else
  17149. ac_func_search_save_LIBS=$LIBS
  17150. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17151. /* end confdefs.h. */
  17152. /* Override any GCC internal prototype to avoid an error.
  17153. Use char because int might match the return type of a GCC
  17154. builtin and then its argument prototype would still apply. */
  17155. #ifdef __cplusplus
  17156. extern "C"
  17157. #endif
  17158. char connect ();
  17159. int
  17160. main ()
  17161. {
  17162. return connect ();
  17163. ;
  17164. return 0;
  17165. }
  17166. _ACEOF
  17167. for ac_lib in '' socket; do
  17168. if test -z "$ac_lib"; then
  17169. ac_res="none required"
  17170. else
  17171. ac_res=-l$ac_lib
  17172. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  17173. fi
  17174. if ac_fn_c_try_link "$LINENO"; then :
  17175. ac_cv_search_connect=$ac_res
  17176. fi
  17177. rm -f core conftest.err conftest.$ac_objext \
  17178. conftest$ac_exeext
  17179. if ${ac_cv_search_connect+:} false; then :
  17180. break
  17181. fi
  17182. done
  17183. if ${ac_cv_search_connect+:} false; then :
  17184. else
  17185. ac_cv_search_connect=no
  17186. fi
  17187. rm conftest.$ac_ext
  17188. LIBS=$ac_func_search_save_LIBS
  17189. fi
  17190. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
  17191. $as_echo "$ac_cv_search_connect" >&6; }
  17192. ac_res=$ac_cv_search_connect
  17193. if test "$ac_res" != no; then :
  17194. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  17195. fi
  17196. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
  17197. $as_echo_n "checking for library containing inet_aton... " >&6; }
  17198. if ${ac_cv_search_inet_aton+:} false; then :
  17199. $as_echo_n "(cached) " >&6
  17200. else
  17201. ac_func_search_save_LIBS=$LIBS
  17202. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17203. /* end confdefs.h. */
  17204. /* Override any GCC internal prototype to avoid an error.
  17205. Use char because int might match the return type of a GCC
  17206. builtin and then its argument prototype would still apply. */
  17207. #ifdef __cplusplus
  17208. extern "C"
  17209. #endif
  17210. char inet_aton ();
  17211. int
  17212. main ()
  17213. {
  17214. return inet_aton ();
  17215. ;
  17216. return 0;
  17217. }
  17218. _ACEOF
  17219. for ac_lib in '' resolv; do
  17220. if test -z "$ac_lib"; then
  17221. ac_res="none required"
  17222. else
  17223. ac_res=-l$ac_lib
  17224. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  17225. fi
  17226. if ac_fn_c_try_link "$LINENO"; then :
  17227. ac_cv_search_inet_aton=$ac_res
  17228. fi
  17229. rm -f core conftest.err conftest.$ac_objext \
  17230. conftest$ac_exeext
  17231. if ${ac_cv_search_inet_aton+:} false; then :
  17232. break
  17233. fi
  17234. done
  17235. if ${ac_cv_search_inet_aton+:} false; then :
  17236. else
  17237. ac_cv_search_inet_aton=no
  17238. fi
  17239. rm conftest.$ac_ext
  17240. LIBS=$ac_func_search_save_LIBS
  17241. fi
  17242. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
  17243. $as_echo "$ac_cv_search_inet_aton" >&6; }
  17244. ac_res=$ac_cv_search_inet_aton
  17245. if test "$ac_res" != no; then :
  17246. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  17247. fi
  17248. for ac_func in \
  17249. getaddrinfo \
  17250. getnameinfo \
  17251. getnetbyname \
  17252. getprotobyname \
  17253. getprotobynumber \
  17254. getservbyport \
  17255. inet_addr \
  17256. inet_network \
  17257. inet_ntop \
  17258. inet_pton \
  17259. do :
  17260. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  17261. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  17262. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  17263. cat >>confdefs.h <<_ACEOF
  17264. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  17265. _ACEOF
  17266. fi
  17267. done
  17268. case $host_os in
  17269. darwin*|macosx*) ;;
  17270. *) ac_save_LIBS=$LIBS
  17271. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
  17272. $as_echo_n "checking for library containing clock_gettime... " >&6; }
  17273. if ${ac_cv_search_clock_gettime+:} false; then :
  17274. $as_echo_n "(cached) " >&6
  17275. else
  17276. ac_func_search_save_LIBS=$LIBS
  17277. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17278. /* end confdefs.h. */
  17279. /* Override any GCC internal prototype to avoid an error.
  17280. Use char because int might match the return type of a GCC
  17281. builtin and then its argument prototype would still apply. */
  17282. #ifdef __cplusplus
  17283. extern "C"
  17284. #endif
  17285. char clock_gettime ();
  17286. int
  17287. main ()
  17288. {
  17289. return clock_gettime ();
  17290. ;
  17291. return 0;
  17292. }
  17293. _ACEOF
  17294. for ac_lib in '' rt; do
  17295. if test -z "$ac_lib"; then
  17296. ac_res="none required"
  17297. else
  17298. ac_res=-l$ac_lib
  17299. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  17300. fi
  17301. if ac_fn_c_try_link "$LINENO"; then :
  17302. ac_cv_search_clock_gettime=$ac_res
  17303. fi
  17304. rm -f core conftest.err conftest.$ac_objext \
  17305. conftest$ac_exeext
  17306. if ${ac_cv_search_clock_gettime+:} false; then :
  17307. break
  17308. fi
  17309. done
  17310. if ${ac_cv_search_clock_gettime+:} false; then :
  17311. else
  17312. ac_cv_search_clock_gettime=no
  17313. fi
  17314. rm conftest.$ac_ext
  17315. LIBS=$ac_func_search_save_LIBS
  17316. fi
  17317. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
  17318. $as_echo "$ac_cv_search_clock_gettime" >&6; }
  17319. ac_res=$ac_cv_search_clock_gettime
  17320. if test "$ac_res" != no; then :
  17321. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  17322. $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
  17323. test "$ac_res" = "none required" || RT_LIBS="$ac_res"
  17324. fi
  17325. LIBS=$ac_save_LIBS
  17326. ;;
  17327. esac
  17328. if test "$ac_cv_header_sys_mman_h" = "yes" -a "x$RT_LIBS" = "x"
  17329. then
  17330. ac_save_LIBS=$LIBS
  17331. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing shm_open" >&5
  17332. $as_echo_n "checking for library containing shm_open... " >&6; }
  17333. if ${ac_cv_search_shm_open+:} false; then :
  17334. $as_echo_n "(cached) " >&6
  17335. else
  17336. ac_func_search_save_LIBS=$LIBS
  17337. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17338. /* end confdefs.h. */
  17339. /* Override any GCC internal prototype to avoid an error.
  17340. Use char because int might match the return type of a GCC
  17341. builtin and then its argument prototype would still apply. */
  17342. #ifdef __cplusplus
  17343. extern "C"
  17344. #endif
  17345. char shm_open ();
  17346. int
  17347. main ()
  17348. {
  17349. return shm_open ();
  17350. ;
  17351. return 0;
  17352. }
  17353. _ACEOF
  17354. for ac_lib in '' rt; do
  17355. if test -z "$ac_lib"; then
  17356. ac_res="none required"
  17357. else
  17358. ac_res=-l$ac_lib
  17359. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  17360. fi
  17361. if ac_fn_c_try_link "$LINENO"; then :
  17362. ac_cv_search_shm_open=$ac_res
  17363. fi
  17364. rm -f core conftest.err conftest.$ac_objext \
  17365. conftest$ac_exeext
  17366. if ${ac_cv_search_shm_open+:} false; then :
  17367. break
  17368. fi
  17369. done
  17370. if ${ac_cv_search_shm_open+:} false; then :
  17371. else
  17372. ac_cv_search_shm_open=no
  17373. fi
  17374. rm conftest.$ac_ext
  17375. LIBS=$ac_func_search_save_LIBS
  17376. fi
  17377. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_shm_open" >&5
  17378. $as_echo "$ac_cv_search_shm_open" >&6; }
  17379. ac_res=$ac_cv_search_shm_open
  17380. if test "$ac_res" != no; then :
  17381. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  17382. $as_echo "#define HAVE_SHM_OPEN 1" >>confdefs.h
  17383. test "$ac_res" = "none required" || RT_LIBS="$ac_res"
  17384. fi
  17385. fi
  17386. LIBS=$ac_save_LIBS
  17387. if test "x$with_ldap" != "xno"
  17388. then
  17389. if ${LDAP_CFLAGS:+false} :; then :
  17390. if ${PKG_CONFIG+:} false; then :
  17391. LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
  17392. fi
  17393. fi
  17394. if ${LDAP_LIBS:+false} :; then :
  17395. if ${PKG_CONFIG+:} false; then :
  17396. LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
  17397. fi
  17398. fi
  17399. LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
  17400. $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
  17401. $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
  17402. ac_save_CPPFLAGS=$CPPFLAGS
  17403. CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
  17404. for ac_header in ldap.h lber.h
  17405. do :
  17406. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  17407. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  17408. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  17409. cat >>confdefs.h <<_ACEOF
  17410. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  17411. _ACEOF
  17412. fi
  17413. done
  17414. if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
  17415. then
  17416. ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
  17417. "
  17418. if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
  17419. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
  17420. $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
  17421. if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
  17422. $as_echo_n "(cached) " >&6
  17423. else
  17424. ac_check_lib_save_LIBS=$LIBS
  17425. LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  17426. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17427. /* end confdefs.h. */
  17428. /* Override any GCC internal prototype to avoid an error.
  17429. Use char because int might match the return type of a GCC
  17430. builtin and then its argument prototype would still apply. */
  17431. #ifdef __cplusplus
  17432. extern "C"
  17433. #endif
  17434. char ldap_initialize ();
  17435. int
  17436. main ()
  17437. {
  17438. return ldap_initialize ();
  17439. ;
  17440. return 0;
  17441. }
  17442. _ACEOF
  17443. if ac_fn_c_try_link "$LINENO"; then :
  17444. ac_cv_lib_ldap_r_ldap_initialize=yes
  17445. else
  17446. ac_cv_lib_ldap_r_ldap_initialize=no
  17447. fi
  17448. rm -f core conftest.err conftest.$ac_objext \
  17449. conftest$ac_exeext conftest.$ac_ext
  17450. LIBS=$ac_check_lib_save_LIBS
  17451. fi
  17452. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
  17453. $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
  17454. if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
  17455. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
  17456. $as_echo_n "checking for ber_init in -llber... " >&6; }
  17457. if ${ac_cv_lib_lber_ber_init+:} false; then :
  17458. $as_echo_n "(cached) " >&6
  17459. else
  17460. ac_check_lib_save_LIBS=$LIBS
  17461. LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  17462. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17463. /* end confdefs.h. */
  17464. /* Override any GCC internal prototype to avoid an error.
  17465. Use char because int might match the return type of a GCC
  17466. builtin and then its argument prototype would still apply. */
  17467. #ifdef __cplusplus
  17468. extern "C"
  17469. #endif
  17470. char ber_init ();
  17471. int
  17472. main ()
  17473. {
  17474. return ber_init ();
  17475. ;
  17476. return 0;
  17477. }
  17478. _ACEOF
  17479. if ac_fn_c_try_link "$LINENO"; then :
  17480. ac_cv_lib_lber_ber_init=yes
  17481. else
  17482. ac_cv_lib_lber_ber_init=no
  17483. fi
  17484. rm -f core conftest.err conftest.$ac_objext \
  17485. conftest$ac_exeext conftest.$ac_ext
  17486. LIBS=$ac_check_lib_save_LIBS
  17487. fi
  17488. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
  17489. $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
  17490. if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
  17491. $as_echo "#define HAVE_LDAP 1" >>confdefs.h
  17492. else
  17493. LDAP_LIBS=""
  17494. fi
  17495. else
  17496. LDAP_LIBS=""
  17497. fi
  17498. else
  17499. LDAP_LIBS=""
  17500. fi
  17501. ac_wine_check_funcs_save_LIBS="$LIBS"
  17502. LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
  17503. for ac_func in \
  17504. ldap_count_references \
  17505. ldap_first_reference \
  17506. ldap_next_reference \
  17507. ldap_parse_reference \
  17508. ldap_parse_sort_control \
  17509. ldap_parse_sortresponse_control \
  17510. ldap_parse_vlv_control \
  17511. ldap_parse_vlvresponse_control
  17512. do :
  17513. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  17514. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  17515. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  17516. cat >>confdefs.h <<_ACEOF
  17517. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  17518. _ACEOF
  17519. fi
  17520. done
  17521. LIBS="$ac_wine_check_funcs_save_LIBS"
  17522. else
  17523. LDAP_LIBS=""
  17524. fi
  17525. CPPFLAGS=$ac_save_CPPFLAGS
  17526. test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
  17527. test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
  17528. fi
  17529. if test "x$LDAP_LIBS" = "x"; then :
  17530. case "x$with_ldap" in
  17531. x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
  17532. xno) ;;
  17533. *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
  17534. This is an error since --with-ldap was requested." "$LINENO" 5 ;;
  17535. esac
  17536. fi
  17537. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
  17538. $as_echo_n "checking for sched_setaffinity... " >&6; }
  17539. if ${wine_cv_have_sched_setaffinity+:} false; then :
  17540. $as_echo_n "(cached) " >&6
  17541. else
  17542. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17543. /* end confdefs.h. */
  17544. #define _GNU_SOURCE
  17545. #include <sched.h>
  17546. int
  17547. main ()
  17548. {
  17549. sched_setaffinity(0, 0, 0);
  17550. ;
  17551. return 0;
  17552. }
  17553. _ACEOF
  17554. if ac_fn_c_try_link "$LINENO"; then :
  17555. wine_cv_have_sched_setaffinity=yes
  17556. else
  17557. wine_cv_have_sched_setaffinity=no
  17558. fi
  17559. rm -f core conftest.err conftest.$ac_objext \
  17560. conftest$ac_exeext conftest.$ac_ext
  17561. fi
  17562. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
  17563. $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
  17564. if test "$wine_cv_have_sched_setaffinity" = "yes"
  17565. then
  17566. $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
  17567. fi
  17568. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
  17569. $as_echo_n "checking for fallocate... " >&6; }
  17570. if ${wine_cv_have_fallocate+:} false; then :
  17571. $as_echo_n "(cached) " >&6
  17572. else
  17573. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17574. /* end confdefs.h. */
  17575. #define _GNU_SOURCE
  17576. #include <fcntl.h>
  17577. int
  17578. main ()
  17579. {
  17580. fallocate(-1, 0, 0, 0);
  17581. ;
  17582. return 0;
  17583. }
  17584. _ACEOF
  17585. if ac_fn_c_try_link "$LINENO"; then :
  17586. wine_cv_have_fallocate=yes
  17587. else
  17588. wine_cv_have_fallocate=no
  17589. fi
  17590. rm -f core conftest.err conftest.$ac_objext \
  17591. conftest$ac_exeext conftest.$ac_ext
  17592. fi
  17593. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
  17594. $as_echo "$wine_cv_have_fallocate" >&6; }
  17595. if test "$wine_cv_have_fallocate" = "yes"
  17596. then
  17597. $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
  17598. fi
  17599. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  17600. $as_echo_n "checking for inline... " >&6; }
  17601. if ${ac_cv_c_inline+:} false; then :
  17602. $as_echo_n "(cached) " >&6
  17603. else
  17604. ac_cv_c_inline=no
  17605. for ac_kw in inline __inline__ __inline; do
  17606. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17607. /* end confdefs.h. */
  17608. #ifndef __cplusplus
  17609. typedef int foo_t;
  17610. static $ac_kw foo_t static_foo () {return 0; }
  17611. $ac_kw foo_t foo () {return 0; }
  17612. #endif
  17613. _ACEOF
  17614. if ac_fn_c_try_compile "$LINENO"; then :
  17615. ac_cv_c_inline=$ac_kw
  17616. fi
  17617. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17618. test "$ac_cv_c_inline" != no && break
  17619. done
  17620. fi
  17621. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  17622. $as_echo "$ac_cv_c_inline" >&6; }
  17623. case $ac_cv_c_inline in
  17624. inline | yes) ;;
  17625. *)
  17626. case $ac_cv_c_inline in
  17627. no) ac_val=;;
  17628. *) ac_val=$ac_cv_c_inline;;
  17629. esac
  17630. cat >>confdefs.h <<_ACEOF
  17631. #ifndef __cplusplus
  17632. #define inline $ac_val
  17633. #endif
  17634. _ACEOF
  17635. ;;
  17636. esac
  17637. ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
  17638. if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
  17639. cat >>confdefs.h <<_ACEOF
  17640. #define HAVE_FSBLKCNT_T 1
  17641. _ACEOF
  17642. fi
  17643. ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
  17644. if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
  17645. cat >>confdefs.h <<_ACEOF
  17646. #define HAVE_FSFILCNT_T 1
  17647. _ACEOF
  17648. fi
  17649. ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
  17650. #include <signal.h>
  17651. "
  17652. if test "x$ac_cv_type_sigset_t" = xyes; then :
  17653. cat >>confdefs.h <<_ACEOF
  17654. #define HAVE_SIGSET_T 1
  17655. _ACEOF
  17656. fi
  17657. ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
  17658. "
  17659. if test "x$ac_cv_type_request_sense" = xyes; then :
  17660. cat >>confdefs.h <<_ACEOF
  17661. #define HAVE_REQUEST_SENSE 1
  17662. _ACEOF
  17663. fi
  17664. ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
  17665. #ifdef HAVE_SYS_SOCKET_H
  17666. #include <sys/socket.h>
  17667. #endif
  17668. #ifdef HAVE_SYS_SOCKETVAR_H
  17669. #include <sys/socketvar.h>
  17670. #endif
  17671. #ifdef HAVE_NET_ROUTE_H
  17672. #include <net/route.h>
  17673. #endif
  17674. #ifdef HAVE_NETINET_IN_H
  17675. #include <netinet/in.h>
  17676. #endif
  17677. #ifdef HAVE_NETINET_IN_SYSTM_H
  17678. #include <netinet/in_systm.h>
  17679. #endif
  17680. #ifdef HAVE_NETINET_IP_H
  17681. #include <netinet/ip.h>
  17682. #endif
  17683. #ifdef HAVE_NETINET_IN_PCB_H
  17684. #include <netinet/in_pcb.h>
  17685. #endif
  17686. "
  17687. if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
  17688. cat >>confdefs.h <<_ACEOF
  17689. #define HAVE_STRUCT_XINPGEN 1
  17690. _ACEOF
  17691. fi
  17692. ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
  17693. #include <linux/input.h>
  17694. #endif
  17695. "
  17696. if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
  17697. cat >>confdefs.h <<_ACEOF
  17698. #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
  17699. _ACEOF
  17700. fi
  17701. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
  17702. $as_echo_n "checking for if_nameindex... " >&6; }
  17703. if ${wine_cv_have_if_nameindex+:} false; then :
  17704. $as_echo_n "(cached) " >&6
  17705. else
  17706. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17707. /* end confdefs.h. */
  17708. #ifdef HAVE_SYS_TYPES_H
  17709. #include <sys/types.h>
  17710. #endif
  17711. #ifdef HAVE_SYS_SOCKET_H
  17712. #include <sys/socket.h>
  17713. #endif
  17714. #ifdef HAVE_NET_IF_H
  17715. # include <net/if.h>
  17716. #endif
  17717. int
  17718. main ()
  17719. {
  17720. struct if_nameindex *p = if_nameindex(); return p->if_index;
  17721. ;
  17722. return 0;
  17723. }
  17724. _ACEOF
  17725. if ac_fn_c_try_link "$LINENO"; then :
  17726. wine_cv_have_if_nameindex=yes
  17727. else
  17728. wine_cv_have_if_nameindex=no
  17729. fi
  17730. rm -f core conftest.err conftest.$ac_objext \
  17731. conftest$ac_exeext conftest.$ac_ext
  17732. fi
  17733. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
  17734. $as_echo "$wine_cv_have_if_nameindex" >&6; }
  17735. if test "$wine_cv_have_if_nameindex" = "yes"
  17736. then
  17737. $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
  17738. fi
  17739. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
  17740. $as_echo_n "checking for sigaddset... " >&6; }
  17741. if ${wine_cv_have_sigaddset+:} false; then :
  17742. $as_echo_n "(cached) " >&6
  17743. else
  17744. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17745. /* end confdefs.h. */
  17746. #include <signal.h>
  17747. int
  17748. main ()
  17749. {
  17750. sigset_t set; sigaddset(&set,SIGTERM);
  17751. ;
  17752. return 0;
  17753. }
  17754. _ACEOF
  17755. if ac_fn_c_try_link "$LINENO"; then :
  17756. wine_cv_have_sigaddset=yes
  17757. else
  17758. wine_cv_have_sigaddset=no
  17759. fi
  17760. rm -f core conftest.err conftest.$ac_objext \
  17761. conftest$ac_exeext conftest.$ac_ext
  17762. fi
  17763. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
  17764. $as_echo "$wine_cv_have_sigaddset" >&6; }
  17765. if test "$wine_cv_have_sigaddset" = "yes"
  17766. then
  17767. $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
  17768. fi
  17769. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
  17770. $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
  17771. if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
  17772. $as_echo_n "(cached) " >&6
  17773. else
  17774. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17775. /* end confdefs.h. */
  17776. #include <netdb.h>
  17777. int
  17778. main ()
  17779. {
  17780. char *name=0;
  17781. struct hostent he;
  17782. struct hostent *result;
  17783. char *buf=0;
  17784. int bufsize=0;
  17785. int errnr;
  17786. char *addr=0;
  17787. int addrlen=0;
  17788. int addrtype=0;
  17789. gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
  17790. gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
  17791. ;
  17792. return 0;
  17793. }
  17794. _ACEOF
  17795. if ac_fn_c_try_link "$LINENO"; then :
  17796. wine_cv_linux_gethostbyname_r_6=yes
  17797. else
  17798. wine_cv_linux_gethostbyname_r_6=no
  17799. fi
  17800. rm -f core conftest.err conftest.$ac_objext \
  17801. conftest$ac_exeext conftest.$ac_ext
  17802. fi
  17803. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
  17804. $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
  17805. if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
  17806. then
  17807. $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
  17808. fi
  17809. if test "$ac_cv_header_linux_joystick_h" = "yes"
  17810. then
  17811. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
  17812. $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
  17813. if ${wine_cv_linux_joystick_22_api+:} false; then :
  17814. $as_echo_n "(cached) " >&6
  17815. else
  17816. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17817. /* end confdefs.h. */
  17818. #include <sys/ioctl.h>
  17819. #include <sys/types.h>
  17820. #include <linux/joystick.h>
  17821. struct js_event blub;
  17822. #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
  17823. #error "no 2.2 header"
  17824. #endif
  17825. int
  17826. main ()
  17827. {
  17828. /*empty*/
  17829. ;
  17830. return 0;
  17831. }
  17832. _ACEOF
  17833. if ac_fn_c_try_compile "$LINENO"; then :
  17834. wine_cv_linux_joystick_22_api=yes
  17835. else
  17836. wine_cv_linux_joystick_22_api=no
  17837. fi
  17838. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17839. fi
  17840. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
  17841. $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
  17842. if test "$wine_cv_linux_joystick_22_api" = "yes"
  17843. then
  17844. $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
  17845. fi
  17846. fi
  17847. ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
  17848. #ifdef HAVE_SYS_PARAM_H
  17849. # include <sys/param.h>
  17850. #endif
  17851. #ifdef HAVE_SYS_MOUNT_H
  17852. # include <sys/mount.h>
  17853. #endif
  17854. #ifdef HAVE_SYS_VFS_H
  17855. # include <sys/vfs.h>
  17856. #endif
  17857. #ifdef HAVE_SYS_STATFS_H
  17858. # include <sys/statfs.h>
  17859. #endif
  17860. "
  17861. if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
  17862. cat >>confdefs.h <<_ACEOF
  17863. #define HAVE_STRUCT_STATFS_F_BFREE 1
  17864. _ACEOF
  17865. fi
  17866. ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
  17867. #ifdef HAVE_SYS_PARAM_H
  17868. # include <sys/param.h>
  17869. #endif
  17870. #ifdef HAVE_SYS_MOUNT_H
  17871. # include <sys/mount.h>
  17872. #endif
  17873. #ifdef HAVE_SYS_VFS_H
  17874. # include <sys/vfs.h>
  17875. #endif
  17876. #ifdef HAVE_SYS_STATFS_H
  17877. # include <sys/statfs.h>
  17878. #endif
  17879. "
  17880. if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
  17881. cat >>confdefs.h <<_ACEOF
  17882. #define HAVE_STRUCT_STATFS_F_BAVAIL 1
  17883. _ACEOF
  17884. fi
  17885. ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
  17886. #ifdef HAVE_SYS_PARAM_H
  17887. # include <sys/param.h>
  17888. #endif
  17889. #ifdef HAVE_SYS_MOUNT_H
  17890. # include <sys/mount.h>
  17891. #endif
  17892. #ifdef HAVE_SYS_VFS_H
  17893. # include <sys/vfs.h>
  17894. #endif
  17895. #ifdef HAVE_SYS_STATFS_H
  17896. # include <sys/statfs.h>
  17897. #endif
  17898. "
  17899. if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
  17900. cat >>confdefs.h <<_ACEOF
  17901. #define HAVE_STRUCT_STATFS_F_FRSIZE 1
  17902. _ACEOF
  17903. fi
  17904. ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
  17905. #ifdef HAVE_SYS_PARAM_H
  17906. # include <sys/param.h>
  17907. #endif
  17908. #ifdef HAVE_SYS_MOUNT_H
  17909. # include <sys/mount.h>
  17910. #endif
  17911. #ifdef HAVE_SYS_VFS_H
  17912. # include <sys/vfs.h>
  17913. #endif
  17914. #ifdef HAVE_SYS_STATFS_H
  17915. # include <sys/statfs.h>
  17916. #endif
  17917. "
  17918. if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
  17919. cat >>confdefs.h <<_ACEOF
  17920. #define HAVE_STRUCT_STATFS_F_FFREE 1
  17921. _ACEOF
  17922. fi
  17923. ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
  17924. #ifdef HAVE_SYS_PARAM_H
  17925. # include <sys/param.h>
  17926. #endif
  17927. #ifdef HAVE_SYS_MOUNT_H
  17928. # include <sys/mount.h>
  17929. #endif
  17930. #ifdef HAVE_SYS_VFS_H
  17931. # include <sys/vfs.h>
  17932. #endif
  17933. #ifdef HAVE_SYS_STATFS_H
  17934. # include <sys/statfs.h>
  17935. #endif
  17936. "
  17937. if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
  17938. cat >>confdefs.h <<_ACEOF
  17939. #define HAVE_STRUCT_STATFS_F_FAVAIL 1
  17940. _ACEOF
  17941. fi
  17942. ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
  17943. #ifdef HAVE_SYS_PARAM_H
  17944. # include <sys/param.h>
  17945. #endif
  17946. #ifdef HAVE_SYS_MOUNT_H
  17947. # include <sys/mount.h>
  17948. #endif
  17949. #ifdef HAVE_SYS_VFS_H
  17950. # include <sys/vfs.h>
  17951. #endif
  17952. #ifdef HAVE_SYS_STATFS_H
  17953. # include <sys/statfs.h>
  17954. #endif
  17955. "
  17956. if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
  17957. cat >>confdefs.h <<_ACEOF
  17958. #define HAVE_STRUCT_STATFS_F_NAMELEN 1
  17959. _ACEOF
  17960. fi
  17961. ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
  17962. #include <sys/statvfs.h>
  17963. #endif
  17964. "
  17965. if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
  17966. cat >>confdefs.h <<_ACEOF
  17967. #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
  17968. _ACEOF
  17969. fi
  17970. ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
  17971. #include <dirent.h>
  17972. #endif
  17973. "
  17974. if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
  17975. cat >>confdefs.h <<_ACEOF
  17976. #define HAVE_STRUCT_DIRENT_D_RECLEN 1
  17977. _ACEOF
  17978. fi
  17979. ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
  17980. #ifdef HAVE_SYS_SOCKET_H
  17981. # include <sys/socket.h>
  17982. #endif
  17983. #ifdef HAVE_SYS_UN_H
  17984. # include <sys/un.h>
  17985. #endif
  17986. "
  17987. if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
  17988. cat >>confdefs.h <<_ACEOF
  17989. #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
  17990. _ACEOF
  17991. fi
  17992. ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
  17993. #ifdef HAVE_SYS_SOCKET_H
  17994. # include <sys/socket.h>
  17995. #endif
  17996. #ifdef HAVE_SYS_UN_H
  17997. # include <sys/un.h>
  17998. #endif
  17999. "
  18000. if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
  18001. cat >>confdefs.h <<_ACEOF
  18002. #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
  18003. _ACEOF
  18004. fi
  18005. ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
  18006. #ifdef HAVE_SYS_SOCKET_H
  18007. # include <sys/socket.h>
  18008. #endif
  18009. #ifdef HAVE_SYS_UN_H
  18010. # include <sys/un.h>
  18011. #endif
  18012. "
  18013. if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
  18014. cat >>confdefs.h <<_ACEOF
  18015. #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
  18016. _ACEOF
  18017. fi
  18018. ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
  18019. #ifdef HAVE_SCSI_SG_H
  18020. #include <scsi/sg.h>
  18021. #endif
  18022. "
  18023. if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
  18024. cat >>confdefs.h <<_ACEOF
  18025. #define HAVE_SCSIREQ_T_CMD 1
  18026. _ACEOF
  18027. fi
  18028. ac_fn_c_check_member "$LINENO" "sg_io_hdr_t" "interface_id" "ac_cv_member_sg_io_hdr_t_interface_id" "#include <sys/types.h>
  18029. #ifdef HAVE_SCSI_SG_H
  18030. #include <scsi/sg.h>
  18031. #endif
  18032. "
  18033. if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
  18034. cat >>confdefs.h <<_ACEOF
  18035. #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
  18036. _ACEOF
  18037. fi
  18038. ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
  18039. "
  18040. if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
  18041. cat >>confdefs.h <<_ACEOF
  18042. #define HAVE_SIGINFO_T_SI_FD 1
  18043. _ACEOF
  18044. fi
  18045. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
  18046. #ifdef HAVE_SYS_MTIO_H
  18047. #include <sys/mtio.h>
  18048. #endif
  18049. "
  18050. if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
  18051. cat >>confdefs.h <<_ACEOF
  18052. #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
  18053. _ACEOF
  18054. fi
  18055. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
  18056. #ifdef HAVE_SYS_MTIO_H
  18057. #include <sys/mtio.h>
  18058. #endif
  18059. "
  18060. if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
  18061. cat >>confdefs.h <<_ACEOF
  18062. #define HAVE_STRUCT_MTGET_MT_GSTAT 1
  18063. _ACEOF
  18064. fi
  18065. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
  18066. #ifdef HAVE_SYS_MTIO_H
  18067. #include <sys/mtio.h>
  18068. #endif
  18069. "
  18070. if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
  18071. cat >>confdefs.h <<_ACEOF
  18072. #define HAVE_STRUCT_MTGET_MT_BLKNO 1
  18073. _ACEOF
  18074. fi
  18075. ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
  18076. #include <getopt.h>
  18077. #endif
  18078. "
  18079. if test "x$ac_cv_member_struct_option_name" = xyes; then :
  18080. cat >>confdefs.h <<_ACEOF
  18081. #define HAVE_STRUCT_OPTION_NAME 1
  18082. _ACEOF
  18083. fi
  18084. ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
  18085. if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
  18086. cat >>confdefs.h <<_ACEOF
  18087. #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  18088. _ACEOF
  18089. fi
  18090. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
  18091. if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
  18092. cat >>confdefs.h <<_ACEOF
  18093. #define HAVE_STRUCT_STAT_ST_MTIM 1
  18094. _ACEOF
  18095. fi
  18096. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
  18097. if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
  18098. cat >>confdefs.h <<_ACEOF
  18099. #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
  18100. _ACEOF
  18101. fi
  18102. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
  18103. if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
  18104. cat >>confdefs.h <<_ACEOF
  18105. #define HAVE_STRUCT_STAT_ST_CTIM 1
  18106. _ACEOF
  18107. fi
  18108. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
  18109. if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
  18110. cat >>confdefs.h <<_ACEOF
  18111. #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
  18112. _ACEOF
  18113. fi
  18114. ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
  18115. if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
  18116. cat >>confdefs.h <<_ACEOF
  18117. #define HAVE_STRUCT_STAT_ST_ATIM 1
  18118. _ACEOF
  18119. fi
  18120. ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
  18121. if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
  18122. cat >>confdefs.h <<_ACEOF
  18123. #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
  18124. _ACEOF
  18125. fi
  18126. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
  18127. if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
  18128. cat >>confdefs.h <<_ACEOF
  18129. #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
  18130. _ACEOF
  18131. fi
  18132. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
  18133. if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
  18134. cat >>confdefs.h <<_ACEOF
  18135. #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
  18136. _ACEOF
  18137. fi
  18138. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
  18139. if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
  18140. cat >>confdefs.h <<_ACEOF
  18141. #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
  18142. _ACEOF
  18143. fi
  18144. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
  18145. if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
  18146. cat >>confdefs.h <<_ACEOF
  18147. #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
  18148. _ACEOF
  18149. fi
  18150. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
  18151. if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
  18152. cat >>confdefs.h <<_ACEOF
  18153. #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
  18154. _ACEOF
  18155. fi
  18156. ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef HAVE_SYS_TYPES_H
  18157. #include <sys/types.h>
  18158. #endif
  18159. #ifdef HAVE_NETINET_IN_H
  18160. #include <netinet/in.h>
  18161. #endif
  18162. "
  18163. if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
  18164. cat >>confdefs.h <<_ACEOF
  18165. #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
  18166. _ACEOF
  18167. fi
  18168. ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
  18169. #include <sys/types.h>
  18170. #endif
  18171. #ifdef HAVE_NETINET_IN_H
  18172. #include <netinet/in.h>
  18173. #endif
  18174. #ifdef HAVE_RESOLV_H
  18175. #include <resolv.h>
  18176. #endif
  18177. "
  18178. if test "x$ac_cv_type_struct___res_state" = xyes; then :
  18179. cat >>confdefs.h <<_ACEOF
  18180. #define HAVE_STRUCT___RES_STATE 1
  18181. _ACEOF
  18182. fi
  18183. ac_fn_c_check_member "$LINENO" "struct __res_state" "_u._ext.nscount6" "ac_cv_member_struct___res_state__u__ext_nscount6" "#ifdef HAVE_RESOLV_H
  18184. #include <resolv.h>
  18185. #endif
  18186. "
  18187. if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
  18188. cat >>confdefs.h <<_ACEOF
  18189. #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
  18190. _ACEOF
  18191. fi
  18192. ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
  18193. #include <sys/types.h>
  18194. #endif
  18195. #ifdef HAVE_NETINET_IN_H
  18196. # include <netinet/in.h>
  18197. #endif
  18198. #ifdef HAVE_ARPA_NAMESER_H
  18199. # include <arpa/nameser.h>
  18200. #endif
  18201. "
  18202. if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
  18203. cat >>confdefs.h <<_ACEOF
  18204. #define HAVE_NS_MSG__MSG_PTR 1
  18205. _ACEOF
  18206. fi
  18207. ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
  18208. #include <sys/types.h>
  18209. #endif
  18210. #ifdef HAVE_NETINET_IN_H
  18211. #include <netinet/in.h>
  18212. #endif
  18213. #ifdef HAVE_NETINET_IP_H
  18214. #include <netinet/ip.h>
  18215. #endif
  18216. #ifdef HAVE_NETINET_IP_ICMP_H
  18217. #include <netinet/ip_icmp.h>
  18218. #endif
  18219. #ifdef HAVE_NETINET_ICMP_VAR_H
  18220. #include <netinet/icmp_var.h>
  18221. #endif
  18222. "
  18223. if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
  18224. cat >>confdefs.h <<_ACEOF
  18225. #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
  18226. _ACEOF
  18227. fi
  18228. ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
  18229. #include <sys/types.h>
  18230. #endif
  18231. #ifdef HAVE_ALIAS_H
  18232. #include <alias.h>
  18233. #endif
  18234. #ifdef HAVE_SYS_SOCKET_H
  18235. #include <sys/socket.h>
  18236. #endif
  18237. #ifdef HAVE_SYS_SOCKETVAR_H
  18238. #include <sys/socketvar.h>
  18239. #endif
  18240. #ifdef HAVE_SYS_TIMEOUT_H
  18241. #include <sys/timeout.h>
  18242. #endif
  18243. #ifdef HAVE_NETINET_IN_H
  18244. #include <netinet/in.h>
  18245. #endif
  18246. #ifdef HAVE_NETINET_IN_SYSTM_H
  18247. #include <netinet/in_systm.h>
  18248. #endif
  18249. #ifdef HAVE_NETINET_IP_H
  18250. #include <netinet/ip.h>
  18251. #endif
  18252. #ifdef HAVE_NETINET_IP_VAR_H
  18253. #include <netinet/ip_var.h>
  18254. #endif
  18255. #ifdef HAVE_NETINET_IP_ICMP_H
  18256. #include <netinet/ip_icmp.h>
  18257. #endif
  18258. #ifdef HAVE_NETINET_ICMP_VAR_H
  18259. #include <netinet/icmp_var.h>
  18260. #endif
  18261. "
  18262. if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
  18263. cat >>confdefs.h <<_ACEOF
  18264. #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
  18265. _ACEOF
  18266. fi
  18267. ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
  18268. #include <sys/types.h>
  18269. #endif
  18270. #ifdef HAVE_SYS_SOCKETVAR_H
  18271. #include <sys/socketvar.h>
  18272. #endif
  18273. #ifdef HAVE_NETINET_IN_H
  18274. #include <netinet/in.h>
  18275. #endif
  18276. #ifdef HAVE_NETINET_IP_VAR_H
  18277. #include <netinet/ip_var.h>
  18278. #endif
  18279. "
  18280. if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
  18281. cat >>confdefs.h <<_ACEOF
  18282. #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
  18283. _ACEOF
  18284. fi
  18285. ac_fn_c_check_member "$LINENO" "struct ip_stats" "ips_total" "ac_cv_member_struct_ip_stats_ips_total" "#ifdef HAVE_NETINET_IP_VAR_H
  18286. #include <netinet/ip_var.h>
  18287. #endif
  18288. "
  18289. if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
  18290. cat >>confdefs.h <<_ACEOF
  18291. #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
  18292. _ACEOF
  18293. fi
  18294. ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
  18295. #include <sys/types.h>
  18296. #endif
  18297. #ifdef HAVE_SYS_SOCKETVAR_H
  18298. #include <sys/socketvar.h>
  18299. #endif
  18300. #ifdef HAVE_NETINET_IN_H
  18301. #include <netinet/in.h>
  18302. #endif
  18303. #ifdef HAVE_NETINET_TCP_H
  18304. #include <netinet/tcp.h>
  18305. #endif
  18306. #ifdef HAVE_NETINET_TCP_VAR_H
  18307. #include <netinet/tcp_var.h>
  18308. #endif
  18309. "
  18310. if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
  18311. cat >>confdefs.h <<_ACEOF
  18312. #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
  18313. _ACEOF
  18314. fi
  18315. ac_fn_c_check_member "$LINENO" "struct tcp_stats" "tcps_connattempt" "ac_cv_member_struct_tcp_stats_tcps_connattempt" "#ifdef HAVE_NETINET_TCP_VAR_H
  18316. #include <netinet/tcp_var.h>
  18317. #endif
  18318. "
  18319. if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
  18320. cat >>confdefs.h <<_ACEOF
  18321. #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
  18322. _ACEOF
  18323. fi
  18324. ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
  18325. #include <sys/types.h>
  18326. #endif
  18327. #ifdef HAVE_NETINET_IN_H
  18328. #include <netinet/in.h>
  18329. #endif
  18330. #ifdef HAVE_NETINET_IP_VAR_H
  18331. #include <netinet/ip_var.h>
  18332. #endif
  18333. #ifdef HAVE_NETINET_UDP_H
  18334. #include <netinet/udp.h>
  18335. #endif
  18336. #ifdef HAVE_NETINET_UDP_VAR_H
  18337. #include <netinet/udp_var.h>
  18338. #endif
  18339. "
  18340. if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
  18341. cat >>confdefs.h <<_ACEOF
  18342. #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
  18343. _ACEOF
  18344. fi
  18345. ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
  18346. #include <sys/types.h>
  18347. #endif
  18348. #ifdef HAVE_NET_IF_H
  18349. # include <net/if.h>
  18350. #endif
  18351. "
  18352. if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
  18353. cat >>confdefs.h <<_ACEOF
  18354. #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
  18355. _ACEOF
  18356. fi
  18357. ac_save_LIBS="$LIBS"
  18358. LIBS="$LIBS -lm"
  18359. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
  18360. $as_echo_n "checking for isfinite... " >&6; }
  18361. if ${ac_cv_have_isfinite+:} false; then :
  18362. $as_echo_n "(cached) " >&6
  18363. else
  18364. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18365. /* end confdefs.h. */
  18366. #define _GNU_SOURCE
  18367. #include <math.h>
  18368. int
  18369. main ()
  18370. {
  18371. float f = 0.0; return isfinite(f)
  18372. ;
  18373. return 0;
  18374. }
  18375. _ACEOF
  18376. if ac_fn_c_try_link "$LINENO"; then :
  18377. ac_cv_have_isfinite="yes"
  18378. else
  18379. ac_cv_have_isfinite="no"
  18380. fi
  18381. rm -f core conftest.err conftest.$ac_objext \
  18382. conftest$ac_exeext conftest.$ac_ext
  18383. fi
  18384. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
  18385. $as_echo "$ac_cv_have_isfinite" >&6; }
  18386. if test "$ac_cv_have_isfinite" = "yes"
  18387. then
  18388. $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
  18389. fi
  18390. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
  18391. $as_echo_n "checking for isinf... " >&6; }
  18392. if ${ac_cv_have_isinf+:} false; then :
  18393. $as_echo_n "(cached) " >&6
  18394. else
  18395. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18396. /* end confdefs.h. */
  18397. #include <math.h>
  18398. int
  18399. main ()
  18400. {
  18401. float f = 0.0; return isinf(f)
  18402. ;
  18403. return 0;
  18404. }
  18405. _ACEOF
  18406. if ac_fn_c_try_link "$LINENO"; then :
  18407. ac_cv_have_isinf="yes"
  18408. else
  18409. ac_cv_have_isinf="no"
  18410. fi
  18411. rm -f core conftest.err conftest.$ac_objext \
  18412. conftest$ac_exeext conftest.$ac_ext
  18413. fi
  18414. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
  18415. $as_echo "$ac_cv_have_isinf" >&6; }
  18416. if test "$ac_cv_have_isinf" = "yes"
  18417. then
  18418. $as_echo "#define HAVE_ISINF 1" >>confdefs.h
  18419. fi
  18420. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
  18421. $as_echo_n "checking for isnan... " >&6; }
  18422. if ${ac_cv_have_isnan+:} false; then :
  18423. $as_echo_n "(cached) " >&6
  18424. else
  18425. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18426. /* end confdefs.h. */
  18427. #include <math.h>
  18428. int
  18429. main ()
  18430. {
  18431. float f = 0.0; return isnan(f)
  18432. ;
  18433. return 0;
  18434. }
  18435. _ACEOF
  18436. if ac_fn_c_try_link "$LINENO"; then :
  18437. ac_cv_have_isnan="yes"
  18438. else
  18439. ac_cv_have_isnan="no"
  18440. fi
  18441. rm -f core conftest.err conftest.$ac_objext \
  18442. conftest$ac_exeext conftest.$ac_ext
  18443. fi
  18444. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
  18445. $as_echo "$ac_cv_have_isnan" >&6; }
  18446. if test "$ac_cv_have_isnan" = "yes"
  18447. then
  18448. $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
  18449. fi
  18450. for ac_func in \
  18451. acosh \
  18452. acoshf \
  18453. asinh \
  18454. asinhf \
  18455. atanh \
  18456. atanhf \
  18457. cbrt \
  18458. cbrtf \
  18459. erf \
  18460. erfc \
  18461. erfcf \
  18462. erff \
  18463. exp2 \
  18464. exp2f \
  18465. expm1 \
  18466. expm1f \
  18467. fma \
  18468. fmaf \
  18469. ilogb \
  18470. ilogbf \
  18471. j0 \
  18472. j1 \
  18473. jn \
  18474. lgamma \
  18475. lgammaf \
  18476. llrint \
  18477. llrintf \
  18478. llround \
  18479. llroundf \
  18480. log1p \
  18481. log1pf \
  18482. log2 \
  18483. log2f \
  18484. lrint \
  18485. lrintf \
  18486. lround \
  18487. lroundf \
  18488. nearbyint \
  18489. nearbyintf \
  18490. nexttoward \
  18491. nexttowardf \
  18492. remainder \
  18493. remainderf \
  18494. remquo \
  18495. remquof \
  18496. rint \
  18497. rintf \
  18498. round \
  18499. roundf \
  18500. tgamma \
  18501. tgammaf \
  18502. trunc \
  18503. truncf \
  18504. y0 \
  18505. y1 \
  18506. yn
  18507. do :
  18508. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  18509. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  18510. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  18511. cat >>confdefs.h <<_ACEOF
  18512. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  18513. _ACEOF
  18514. fi
  18515. done
  18516. LIBS="$ac_save_LIBS"
  18517. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_ctzl" >&5
  18518. $as_echo_n "checking for __builtin_ctzl... " >&6; }
  18519. if ${ac_cv_have___builtin_ctzl+:} false; then :
  18520. $as_echo_n "(cached) " >&6
  18521. else
  18522. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18523. /* end confdefs.h. */
  18524. int
  18525. main ()
  18526. {
  18527. return __builtin_ctzl(1)
  18528. ;
  18529. return 0;
  18530. }
  18531. _ACEOF
  18532. if ac_fn_c_try_link "$LINENO"; then :
  18533. ac_cv_have___builtin_ctzl="yes"
  18534. else
  18535. ac_cv_have___builtin_ctzl="no"
  18536. fi
  18537. rm -f core conftest.err conftest.$ac_objext \
  18538. conftest$ac_exeext conftest.$ac_ext
  18539. fi
  18540. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_ctzl" >&5
  18541. $as_echo "$ac_cv_have___builtin_ctzl" >&6; }
  18542. if test "$ac_cv_have___builtin_ctzl" = "yes"
  18543. then
  18544. $as_echo "#define HAVE___BUILTIN_CTZL 1" >>confdefs.h
  18545. fi
  18546. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
  18547. $as_echo_n "checking for __builtin_popcount... " >&6; }
  18548. if ${ac_cv_have___builtin_popcount+:} false; then :
  18549. $as_echo_n "(cached) " >&6
  18550. else
  18551. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18552. /* end confdefs.h. */
  18553. int
  18554. main ()
  18555. {
  18556. return __builtin_popcount(1)
  18557. ;
  18558. return 0;
  18559. }
  18560. _ACEOF
  18561. if ac_fn_c_try_link "$LINENO"; then :
  18562. ac_cv_have___builtin_popcount="yes"
  18563. else
  18564. ac_cv_have___builtin_popcount="no"
  18565. fi
  18566. rm -f core conftest.err conftest.$ac_objext \
  18567. conftest$ac_exeext conftest.$ac_ext
  18568. fi
  18569. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
  18570. $as_echo "$ac_cv_have___builtin_popcount" >&6; }
  18571. if test "$ac_cv_have___builtin_popcount" = "yes"
  18572. then
  18573. $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
  18574. fi
  18575. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
  18576. $as_echo_n "checking for __clear_cache... " >&6; }
  18577. if ${ac_cv_have___clear_cache+:} false; then :
  18578. $as_echo_n "(cached) " >&6
  18579. else
  18580. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18581. /* end confdefs.h. */
  18582. int
  18583. main ()
  18584. {
  18585. __clear_cache((void*)0, (void*)0); return 0;
  18586. ;
  18587. return 0;
  18588. }
  18589. _ACEOF
  18590. if ac_fn_c_try_link "$LINENO"; then :
  18591. ac_cv_have___clear_cache="yes"
  18592. else
  18593. ac_cv_have___clear_cache="no"
  18594. fi
  18595. rm -f core conftest.err conftest.$ac_objext \
  18596. conftest$ac_exeext conftest.$ac_ext
  18597. fi
  18598. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
  18599. $as_echo "$ac_cv_have___clear_cache" >&6; }
  18600. if test "$ac_cv_have___clear_cache" = "yes"
  18601. then
  18602. $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
  18603. fi
  18604. case $host_cpu in
  18605. *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
  18606. $as_echo_n "checking whether we need to define __i386__... " >&6; }
  18607. if ${ac_cv_cpp_def___i386__+:} false; then :
  18608. $as_echo_n "(cached) " >&6
  18609. else
  18610. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18611. /* end confdefs.h. */
  18612. #ifndef __i386__
  18613. yes
  18614. #endif
  18615. _ACEOF
  18616. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18617. $EGREP "yes" >/dev/null 2>&1; then :
  18618. ac_cv_cpp_def___i386__=yes
  18619. else
  18620. ac_cv_cpp_def___i386__=no
  18621. fi
  18622. rm -f conftest*
  18623. fi
  18624. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
  18625. $as_echo "$ac_cv_cpp_def___i386__" >&6; }
  18626. if test "x$ac_cv_cpp_def___i386__" = xyes; then :
  18627. CFLAGS="$CFLAGS -D__i386__"
  18628. LINTFLAGS="$LINTFLAGS -D__i386__"
  18629. fi ;;
  18630. *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
  18631. $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
  18632. if ${ac_cv_cpp_def___x86_64__+:} false; then :
  18633. $as_echo_n "(cached) " >&6
  18634. else
  18635. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18636. /* end confdefs.h. */
  18637. #ifndef __x86_64__
  18638. yes
  18639. #endif
  18640. _ACEOF
  18641. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18642. $EGREP "yes" >/dev/null 2>&1; then :
  18643. ac_cv_cpp_def___x86_64__=yes
  18644. else
  18645. ac_cv_cpp_def___x86_64__=no
  18646. fi
  18647. rm -f conftest*
  18648. fi
  18649. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
  18650. $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
  18651. if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
  18652. CFLAGS="$CFLAGS -D__x86_64__"
  18653. LINTFLAGS="$LINTFLAGS -D__x86_64__"
  18654. fi ;;
  18655. *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
  18656. $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
  18657. if ${ac_cv_cpp_def___sparc64__+:} false; then :
  18658. $as_echo_n "(cached) " >&6
  18659. else
  18660. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18661. /* end confdefs.h. */
  18662. #ifndef __sparc64__
  18663. yes
  18664. #endif
  18665. _ACEOF
  18666. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18667. $EGREP "yes" >/dev/null 2>&1; then :
  18668. ac_cv_cpp_def___sparc64__=yes
  18669. else
  18670. ac_cv_cpp_def___sparc64__=no
  18671. fi
  18672. rm -f conftest*
  18673. fi
  18674. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
  18675. $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
  18676. if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
  18677. CFLAGS="$CFLAGS -D__sparc64__"
  18678. LINTFLAGS="$LINTFLAGS -D__sparc64__"
  18679. fi ;;
  18680. *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
  18681. $as_echo_n "checking whether we need to define __sparc__... " >&6; }
  18682. if ${ac_cv_cpp_def___sparc__+:} false; then :
  18683. $as_echo_n "(cached) " >&6
  18684. else
  18685. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18686. /* end confdefs.h. */
  18687. #ifndef __sparc__
  18688. yes
  18689. #endif
  18690. _ACEOF
  18691. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18692. $EGREP "yes" >/dev/null 2>&1; then :
  18693. ac_cv_cpp_def___sparc__=yes
  18694. else
  18695. ac_cv_cpp_def___sparc__=no
  18696. fi
  18697. rm -f conftest*
  18698. fi
  18699. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
  18700. $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
  18701. if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
  18702. CFLAGS="$CFLAGS -D__sparc__"
  18703. LINTFLAGS="$LINTFLAGS -D__sparc__"
  18704. fi ;;
  18705. *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
  18706. $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
  18707. if ${ac_cv_cpp_def___powerpc64__+:} false; then :
  18708. $as_echo_n "(cached) " >&6
  18709. else
  18710. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18711. /* end confdefs.h. */
  18712. #ifndef __powerpc64__
  18713. yes
  18714. #endif
  18715. _ACEOF
  18716. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18717. $EGREP "yes" >/dev/null 2>&1; then :
  18718. ac_cv_cpp_def___powerpc64__=yes
  18719. else
  18720. ac_cv_cpp_def___powerpc64__=no
  18721. fi
  18722. rm -f conftest*
  18723. fi
  18724. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
  18725. $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
  18726. if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
  18727. CFLAGS="$CFLAGS -D__powerpc64__"
  18728. LINTFLAGS="$LINTFLAGS -D__powerpc64__"
  18729. fi ;;
  18730. *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
  18731. $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
  18732. if ${ac_cv_cpp_def___powerpc__+:} false; then :
  18733. $as_echo_n "(cached) " >&6
  18734. else
  18735. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18736. /* end confdefs.h. */
  18737. #ifndef __powerpc__
  18738. yes
  18739. #endif
  18740. _ACEOF
  18741. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18742. $EGREP "yes" >/dev/null 2>&1; then :
  18743. ac_cv_cpp_def___powerpc__=yes
  18744. else
  18745. ac_cv_cpp_def___powerpc__=no
  18746. fi
  18747. rm -f conftest*
  18748. fi
  18749. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
  18750. $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
  18751. if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
  18752. CFLAGS="$CFLAGS -D__powerpc__"
  18753. LINTFLAGS="$LINTFLAGS -D__powerpc__"
  18754. fi ;;
  18755. *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
  18756. $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
  18757. if ${ac_cv_cpp_def___aarch64__+:} false; then :
  18758. $as_echo_n "(cached) " >&6
  18759. else
  18760. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18761. /* end confdefs.h. */
  18762. #ifndef __aarch64__
  18763. yes
  18764. #endif
  18765. _ACEOF
  18766. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18767. $EGREP "yes" >/dev/null 2>&1; then :
  18768. ac_cv_cpp_def___aarch64__=yes
  18769. else
  18770. ac_cv_cpp_def___aarch64__=no
  18771. fi
  18772. rm -f conftest*
  18773. fi
  18774. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
  18775. $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
  18776. if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
  18777. CFLAGS="$CFLAGS -D__aarch64__"
  18778. LINTFLAGS="$LINTFLAGS -D__aarch64__"
  18779. fi ;;
  18780. *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
  18781. $as_echo_n "checking whether we need to define __arm__... " >&6; }
  18782. if ${ac_cv_cpp_def___arm__+:} false; then :
  18783. $as_echo_n "(cached) " >&6
  18784. else
  18785. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18786. /* end confdefs.h. */
  18787. #ifndef __arm__
  18788. yes
  18789. #endif
  18790. _ACEOF
  18791. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18792. $EGREP "yes" >/dev/null 2>&1; then :
  18793. ac_cv_cpp_def___arm__=yes
  18794. else
  18795. ac_cv_cpp_def___arm__=no
  18796. fi
  18797. rm -f conftest*
  18798. fi
  18799. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
  18800. $as_echo "$ac_cv_cpp_def___arm__" >&6; }
  18801. if test "x$ac_cv_cpp_def___arm__" = xyes; then :
  18802. CFLAGS="$CFLAGS -D__arm__"
  18803. LINTFLAGS="$LINTFLAGS -D__arm__"
  18804. fi ;;
  18805. esac
  18806. case $host_vendor in
  18807. *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
  18808. $as_echo_n "checking whether we need to define __sun__... " >&6; }
  18809. if ${ac_cv_cpp_def___sun__+:} false; then :
  18810. $as_echo_n "(cached) " >&6
  18811. else
  18812. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18813. /* end confdefs.h. */
  18814. #ifndef __sun__
  18815. yes
  18816. #endif
  18817. _ACEOF
  18818. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18819. $EGREP "yes" >/dev/null 2>&1; then :
  18820. ac_cv_cpp_def___sun__=yes
  18821. else
  18822. ac_cv_cpp_def___sun__=no
  18823. fi
  18824. rm -f conftest*
  18825. fi
  18826. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
  18827. $as_echo "$ac_cv_cpp_def___sun__" >&6; }
  18828. if test "x$ac_cv_cpp_def___sun__" = xyes; then :
  18829. CFLAGS="$CFLAGS -D__sun__"
  18830. LINTFLAGS="$LINTFLAGS -D__sun__"
  18831. fi ;;
  18832. esac
  18833. ac_config_commands="$ac_config_commands include/stamp-h"
  18834. $as_echo_n "creating Makefile rules..." >&6
  18835. ALL_VARS_RULES="I386_LIBS = $I386_LIBS
  18836. OPENGL_LIBS = $OPENGL_LIBS
  18837. COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
  18838. IOKIT_LIBS = $IOKIT_LIBS
  18839. FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
  18840. APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
  18841. CORESERVICES_LIBS = $CORESERVICES_LIBS
  18842. APPKIT_LIBS = $APPKIT_LIBS
  18843. SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
  18844. DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
  18845. SECURITY_LIBS = $SECURITY_LIBS
  18846. COREAUDIO_LIBS = $COREAUDIO_LIBS
  18847. OPENAL_LIBS = $OPENAL_LIBS
  18848. OPENCL_LIBS = $OPENCL_LIBS
  18849. QUICKTIME_LIBS = $QUICKTIME_LIBS
  18850. CARBON_LIBS = $CARBON_LIBS
  18851. METAL_LIBS = $METAL_LIBS
  18852. PTHREAD_LIBS = $PTHREAD_LIBS
  18853. X_CFLAGS = $X_CFLAGS
  18854. X_PRE_LIBS = $X_PRE_LIBS
  18855. X_LIBS = $X_LIBS
  18856. X_EXTRA_LIBS = $X_EXTRA_LIBS
  18857. XML2_CFLAGS = $XML2_CFLAGS
  18858. XML2_LIBS = $XML2_LIBS
  18859. XSLT_CFLAGS = $XSLT_CFLAGS
  18860. XSLT_LIBS = $XSLT_LIBS
  18861. INOTIFY_CFLAGS = $INOTIFY_CFLAGS
  18862. INOTIFY_LIBS = $INOTIFY_LIBS
  18863. DBUS_CFLAGS = $DBUS_CFLAGS
  18864. DBUS_LIBS = $DBUS_LIBS
  18865. HAL_CFLAGS = $HAL_CFLAGS
  18866. HAL_LIBS = $HAL_LIBS
  18867. GNUTLS_CFLAGS = $GNUTLS_CFLAGS
  18868. GNUTLS_LIBS = $GNUTLS_LIBS
  18869. SANE_CFLAGS = $SANE_CFLAGS
  18870. SANE_LIBS = $SANE_LIBS
  18871. GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
  18872. GPHOTO2_LIBS = $GPHOTO2_LIBS
  18873. GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
  18874. GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
  18875. RESOLV_LIBS = $RESOLV_LIBS
  18876. LCMS2_CFLAGS = $LCMS2_CFLAGS
  18877. LCMS2_LIBS = $LCMS2_LIBS
  18878. GTK3_CFLAGS = $GTK3_CFLAGS
  18879. GTK3_LIBS = $GTK3_LIBS
  18880. FREETYPE_CFLAGS = $FREETYPE_CFLAGS
  18881. FREETYPE_LIBS = $FREETYPE_LIBS
  18882. Z_CFLAGS = $Z_CFLAGS
  18883. Z_LIBS = $Z_LIBS
  18884. GETTEXTPO_LIBS = $GETTEXTPO_LIBS
  18885. PULSE_CFLAGS = $PULSE_CFLAGS
  18886. PULSE_LIBS = $PULSE_LIBS
  18887. GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
  18888. GSTREAMER_LIBS = $GSTREAMER_LIBS
  18889. ALSA_LIBS = $ALSA_LIBS
  18890. OSS4_CFLAGS = $OSS4_CFLAGS
  18891. OSS4_LIBS = $OSS4_LIBS
  18892. UDEV_CFLAGS = $UDEV_CFLAGS
  18893. UDEV_LIBS = $UDEV_LIBS
  18894. UNWIND_CFLAGS = $UNWIND_CFLAGS
  18895. UNWIND_LIBS = $UNWIND_LIBS
  18896. SDL2_CFLAGS = $SDL2_CFLAGS
  18897. SDL2_LIBS = $SDL2_LIBS
  18898. FAUDIO_CFLAGS = $FAUDIO_CFLAGS
  18899. FAUDIO_LIBS = $FAUDIO_LIBS
  18900. CAPI20_CFLAGS = $CAPI20_CFLAGS
  18901. CAPI20_LIBS = $CAPI20_LIBS
  18902. CUPS_CFLAGS = $CUPS_CFLAGS
  18903. CUPS_LIBS = $CUPS_LIBS
  18904. FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
  18905. FONTCONFIG_LIBS = $FONTCONFIG_LIBS
  18906. KRB5_CFLAGS = $KRB5_CFLAGS
  18907. KRB5_LIBS = $KRB5_LIBS
  18908. GSSAPI_CFLAGS = $GSSAPI_CFLAGS
  18909. GSSAPI_LIBS = $GSSAPI_LIBS
  18910. JPEG_CFLAGS = $JPEG_CFLAGS
  18911. JPEG_LIBS = $JPEG_LIBS
  18912. PNG_CFLAGS = $PNG_CFLAGS
  18913. PNG_LIBS = $PNG_LIBS
  18914. TIFF_CFLAGS = $TIFF_CFLAGS
  18915. TIFF_LIBS = $TIFF_LIBS
  18916. MPG123_CFLAGS = $MPG123_CFLAGS
  18917. MPG123_LIBS = $MPG123_LIBS
  18918. KSTAT_LIBS = $KSTAT_LIBS
  18919. PROCSTAT_LIBS = $PROCSTAT_LIBS
  18920. NETAPI_CFLAGS = $NETAPI_CFLAGS
  18921. NETAPI_LIBS = $NETAPI_LIBS
  18922. VKD3D_CFLAGS = $VKD3D_CFLAGS
  18923. VKD3D_LIBS = $VKD3D_LIBS
  18924. GCRYPT_CFLAGS = $GCRYPT_CFLAGS
  18925. GCRYPT_LIBS = $GCRYPT_LIBS
  18926. EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
  18927. DL_LIBS = $DL_LIBS
  18928. POLL_LIBS = $POLL_LIBS
  18929. RT_LIBS = $RT_LIBS
  18930. LDAP_CFLAGS = $LDAP_CFLAGS
  18931. LDAP_LIBS = $LDAP_LIBS
  18932. "
  18933. wine_fn_append_rule "
  18934. # Rules automatically generated by configure
  18935. .INIT: Makefile
  18936. .MAKEFILEDEPS:
  18937. all: Makefile
  18938. Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
  18939. @./config.status Make.tmp Makefile
  18940. depend: \$(MAKEDEP) dummy
  18941. \$(MAKEDEP)"
  18942. ac_config_links="$ac_config_links wine:tools/winewrapper"
  18943. wine_fn_config_symlink wine
  18944. if test "x$enable_win64" != xno -o -n "$with_wine64"; then
  18945. ac_config_links="$ac_config_links wine64:tools/winewrapper"
  18946. wine_fn_config_symlink wine64
  18947. fi
  18948. wine_fn_config_makefile dlls/acledit enable_acledit
  18949. wine_fn_config_makefile dlls/aclui enable_aclui
  18950. wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
  18951. wine_fn_config_makefile dlls/activeds enable_activeds
  18952. wine_fn_config_makefile dlls/activeds/tests enable_tests
  18953. wine_fn_config_makefile dlls/actxprxy enable_actxprxy
  18954. wine_fn_config_makefile dlls/adsiid enable_adsiid
  18955. wine_fn_config_makefile dlls/adsldp enable_adsldp
  18956. wine_fn_config_makefile dlls/adsldp/tests enable_tests
  18957. wine_fn_config_makefile dlls/adsldpc enable_adsldpc
  18958. wine_fn_config_makefile dlls/advapi32 enable_advapi32
  18959. wine_fn_config_makefile dlls/advapi32/tests enable_tests
  18960. wine_fn_config_makefile dlls/advpack enable_advpack
  18961. wine_fn_config_makefile dlls/advpack/tests enable_tests
  18962. wine_fn_config_makefile dlls/amsi enable_amsi
  18963. wine_fn_config_makefile dlls/amstream enable_amstream
  18964. wine_fn_config_makefile dlls/amstream/tests enable_tests
  18965. wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
  18966. wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
  18967. wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
  18968. wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
  18969. wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
  18970. wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
  18971. wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
  18972. wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
  18973. wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
  18974. wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
  18975. wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
  18976. wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
  18977. wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
  18978. wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
  18979. wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
  18980. wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
  18981. wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
  18982. wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
  18983. wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
  18984. wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
  18985. wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
  18986. wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
  18987. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
  18988. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
  18989. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
  18990. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
  18991. wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
  18992. wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
  18993. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
  18994. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
  18995. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
  18996. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
  18997. wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
  18998. wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
  18999. wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
  19000. wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
  19001. wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
  19002. wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
  19003. wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
  19004. wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
  19005. wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
  19006. wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
  19007. wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
  19008. wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
  19009. wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
  19010. wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
  19011. wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
  19012. wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
  19013. wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
  19014. wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
  19015. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
  19016. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
  19017. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
  19018. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
  19019. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
  19020. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
  19021. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
  19022. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
  19023. wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
  19024. wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
  19025. wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
  19026. wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
  19027. wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
  19028. wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
  19029. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
  19030. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
  19031. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
  19032. wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
  19033. wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
  19034. wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
  19035. wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
  19036. wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
  19037. wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
  19038. wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
  19039. wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
  19040. wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
  19041. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
  19042. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
  19043. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
  19044. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
  19045. wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
  19046. wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
  19047. wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
  19048. wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
  19049. wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
  19050. wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
  19051. wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
  19052. wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
  19053. wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
  19054. wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
  19055. wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
  19056. wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
  19057. wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
  19058. wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
  19059. wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
  19060. wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
  19061. wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
  19062. wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
  19063. wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
  19064. wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
  19065. wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
  19066. wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
  19067. wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
  19068. wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
  19069. wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
  19070. wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
  19071. wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
  19072. wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
  19073. wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
  19074. wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
  19075. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
  19076. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
  19077. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
  19078. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
  19079. wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
  19080. wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
  19081. wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
  19082. wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
  19083. wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
  19084. wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
  19085. wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
  19086. wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
  19087. wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
  19088. wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
  19089. wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
  19090. wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
  19091. wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
  19092. wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
  19093. wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
  19094. wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
  19095. wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
  19096. wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
  19097. wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
  19098. wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
  19099. wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
  19100. wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
  19101. wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
  19102. wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
  19103. wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
  19104. wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
  19105. wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
  19106. wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
  19107. wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
  19108. wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
  19109. wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
  19110. wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
  19111. wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
  19112. wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
  19113. wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
  19114. wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
  19115. wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
  19116. wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
  19117. wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
  19118. wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
  19119. wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
  19120. wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
  19121. wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
  19122. wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
  19123. wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
  19124. wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
  19125. wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
  19126. wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
  19127. wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
  19128. wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
  19129. wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
  19130. wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
  19131. wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
  19132. wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
  19133. wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
  19134. wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
  19135. wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
  19136. wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
  19137. wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
  19138. wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
  19139. wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
  19140. wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
  19141. wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
  19142. wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
  19143. wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
  19144. wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
  19145. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
  19146. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
  19147. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
  19148. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
  19149. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
  19150. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
  19151. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
  19152. wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
  19153. wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
  19154. wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
  19155. wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
  19156. wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
  19157. wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
  19158. wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
  19159. wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
  19160. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
  19161. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
  19162. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
  19163. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
  19164. wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
  19165. wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
  19166. wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
  19167. wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
  19168. wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
  19169. wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
  19170. wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
  19171. wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
  19172. wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
  19173. wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
  19174. wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
  19175. wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
  19176. wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
  19177. wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
  19178. wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
  19179. wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
  19180. wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
  19181. wine_fn_config_makefile dlls/apphelp enable_apphelp
  19182. wine_fn_config_makefile dlls/apphelp/tests enable_tests
  19183. wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
  19184. wine_fn_config_makefile dlls/atl enable_atl
  19185. wine_fn_config_makefile dlls/atl/tests enable_tests
  19186. wine_fn_config_makefile dlls/atl100 enable_atl100
  19187. wine_fn_config_makefile dlls/atl100/tests enable_tests
  19188. wine_fn_config_makefile dlls/atl110 enable_atl110
  19189. wine_fn_config_makefile dlls/atl80 enable_atl80
  19190. wine_fn_config_makefile dlls/atl80/tests enable_tests
  19191. wine_fn_config_makefile dlls/atl90 enable_atl90
  19192. wine_fn_config_makefile dlls/atlthunk enable_atlthunk
  19193. wine_fn_config_makefile dlls/atlthunk/tests enable_tests
  19194. wine_fn_config_makefile dlls/atmlib enable_atmlib
  19195. wine_fn_config_makefile dlls/authz enable_authz
  19196. wine_fn_config_makefile dlls/avicap32 enable_avicap32
  19197. wine_fn_config_makefile dlls/avifil32 enable_avifil32
  19198. wine_fn_config_makefile dlls/avifil32/tests enable_tests
  19199. wine_fn_config_makefile dlls/avifile.dll16 enable_win16
  19200. wine_fn_config_makefile dlls/avrt enable_avrt
  19201. wine_fn_config_makefile dlls/bcrypt enable_bcrypt
  19202. wine_fn_config_makefile dlls/bcrypt/tests enable_tests
  19203. wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
  19204. wine_fn_config_makefile dlls/browseui enable_browseui
  19205. wine_fn_config_makefile dlls/browseui/tests enable_tests
  19206. wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
  19207. wine_fn_config_makefile dlls/cabinet enable_cabinet
  19208. wine_fn_config_makefile dlls/cabinet/tests enable_tests
  19209. wine_fn_config_makefile dlls/capi2032 enable_capi2032
  19210. wine_fn_config_makefile dlls/cards enable_cards
  19211. wine_fn_config_makefile dlls/cdosys enable_cdosys
  19212. wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
  19213. wine_fn_config_makefile dlls/clusapi enable_clusapi
  19214. wine_fn_config_makefile dlls/combase enable_combase
  19215. wine_fn_config_makefile dlls/combase/tests enable_tests
  19216. wine_fn_config_makefile dlls/comcat enable_comcat
  19217. wine_fn_config_makefile dlls/comcat/tests enable_tests
  19218. wine_fn_config_makefile dlls/comctl32 enable_comctl32
  19219. wine_fn_config_makefile dlls/comctl32/tests enable_tests
  19220. wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
  19221. wine_fn_config_makefile dlls/comdlg32/tests enable_tests
  19222. wine_fn_config_makefile dlls/comm.drv16 enable_win16
  19223. wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
  19224. wine_fn_config_makefile dlls/compobj.dll16 enable_win16
  19225. wine_fn_config_makefile dlls/compstui enable_compstui
  19226. wine_fn_config_makefile dlls/comsvcs enable_comsvcs
  19227. wine_fn_config_makefile dlls/comsvcs/tests enable_tests
  19228. wine_fn_config_makefile dlls/concrt140 enable_concrt140
  19229. wine_fn_config_makefile dlls/connect enable_connect
  19230. wine_fn_config_makefile dlls/credui enable_credui
  19231. wine_fn_config_makefile dlls/credui/tests enable_tests
  19232. wine_fn_config_makefile dlls/crtdll enable_crtdll
  19233. wine_fn_config_makefile dlls/crypt32 enable_crypt32
  19234. wine_fn_config_makefile dlls/crypt32/tests enable_tests
  19235. wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
  19236. wine_fn_config_makefile dlls/cryptdll enable_cryptdll
  19237. wine_fn_config_makefile dlls/cryptext enable_cryptext
  19238. wine_fn_config_makefile dlls/cryptext/tests enable_tests
  19239. wine_fn_config_makefile dlls/cryptnet enable_cryptnet
  19240. wine_fn_config_makefile dlls/cryptnet/tests enable_tests
  19241. wine_fn_config_makefile dlls/cryptui enable_cryptui
  19242. wine_fn_config_makefile dlls/cryptui/tests enable_tests
  19243. wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
  19244. wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
  19245. wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
  19246. wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
  19247. wine_fn_config_makefile dlls/d2d1 enable_d2d1
  19248. wine_fn_config_makefile dlls/d2d1/tests enable_tests
  19249. wine_fn_config_makefile dlls/d3d10 enable_d3d10
  19250. wine_fn_config_makefile dlls/d3d10/tests enable_tests
  19251. wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
  19252. wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
  19253. wine_fn_config_makefile dlls/d3d10core enable_d3d10core
  19254. wine_fn_config_makefile dlls/d3d10core/tests enable_tests
  19255. wine_fn_config_makefile dlls/d3d11 enable_d3d11
  19256. wine_fn_config_makefile dlls/d3d11/tests enable_tests
  19257. wine_fn_config_makefile dlls/d3d12 enable_d3d12
  19258. wine_fn_config_makefile dlls/d3d12/tests enable_tests
  19259. wine_fn_config_makefile dlls/d3d8 enable_d3d8
  19260. wine_fn_config_makefile dlls/d3d8/tests enable_tests
  19261. wine_fn_config_makefile dlls/d3d9 enable_d3d9
  19262. wine_fn_config_makefile dlls/d3d9/tests enable_tests
  19263. wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
  19264. wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
  19265. wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
  19266. wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
  19267. wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
  19268. wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
  19269. wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
  19270. wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
  19271. wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
  19272. wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
  19273. wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
  19274. wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
  19275. wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
  19276. wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
  19277. wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
  19278. wine_fn_config_makefile dlls/d3dim enable_d3dim
  19279. wine_fn_config_makefile dlls/d3drm enable_d3drm
  19280. wine_fn_config_makefile dlls/d3drm/tests enable_tests
  19281. wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
  19282. wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
  19283. wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
  19284. wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
  19285. wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
  19286. wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
  19287. wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
  19288. wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
  19289. wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
  19290. wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
  19291. wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
  19292. wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
  19293. wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
  19294. wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
  19295. wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
  19296. wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
  19297. wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
  19298. wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
  19299. wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
  19300. wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
  19301. wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
  19302. wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
  19303. wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
  19304. wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
  19305. wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
  19306. wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
  19307. wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
  19308. wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
  19309. wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
  19310. wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
  19311. wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
  19312. wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
  19313. wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
  19314. wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
  19315. wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
  19316. wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
  19317. wine_fn_config_makefile dlls/d3dxof enable_d3dxof
  19318. wine_fn_config_makefile dlls/d3dxof/tests enable_tests
  19319. wine_fn_config_makefile dlls/davclnt enable_davclnt
  19320. wine_fn_config_makefile dlls/dbgeng enable_dbgeng
  19321. wine_fn_config_makefile dlls/dbgeng/tests enable_tests
  19322. wine_fn_config_makefile dlls/dbghelp enable_dbghelp
  19323. wine_fn_config_makefile dlls/dbghelp/tests enable_tests
  19324. wine_fn_config_makefile dlls/dciman32 enable_dciman32
  19325. wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
  19326. wine_fn_config_makefile dlls/ddraw enable_ddraw
  19327. wine_fn_config_makefile dlls/ddraw/tests enable_tests
  19328. wine_fn_config_makefile dlls/ddrawex enable_ddrawex
  19329. wine_fn_config_makefile dlls/ddrawex/tests enable_tests
  19330. wine_fn_config_makefile dlls/devenum enable_devenum
  19331. wine_fn_config_makefile dlls/devenum/tests enable_tests
  19332. wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
  19333. wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
  19334. wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
  19335. wine_fn_config_makefile dlls/difxapi enable_difxapi
  19336. wine_fn_config_makefile dlls/dinput enable_dinput
  19337. wine_fn_config_makefile dlls/dinput/tests enable_tests
  19338. wine_fn_config_makefile dlls/dinput8 enable_dinput8
  19339. wine_fn_config_makefile dlls/dinput8/tests enable_tests
  19340. wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
  19341. wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
  19342. wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
  19343. wine_fn_config_makefile dlls/dispex enable_dispex
  19344. wine_fn_config_makefile dlls/dispex/tests enable_tests
  19345. wine_fn_config_makefile dlls/display.drv16 enable_win16
  19346. wine_fn_config_makefile dlls/dmband enable_dmband
  19347. wine_fn_config_makefile dlls/dmband/tests enable_tests
  19348. wine_fn_config_makefile dlls/dmcompos enable_dmcompos
  19349. wine_fn_config_makefile dlls/dmcompos/tests enable_tests
  19350. wine_fn_config_makefile dlls/dmime enable_dmime
  19351. wine_fn_config_makefile dlls/dmime/tests enable_tests
  19352. wine_fn_config_makefile dlls/dmloader enable_dmloader
  19353. wine_fn_config_makefile dlls/dmloader/tests enable_tests
  19354. wine_fn_config_makefile dlls/dmoguids enable_dmoguids
  19355. wine_fn_config_makefile dlls/dmscript enable_dmscript
  19356. wine_fn_config_makefile dlls/dmscript/tests enable_tests
  19357. wine_fn_config_makefile dlls/dmstyle enable_dmstyle
  19358. wine_fn_config_makefile dlls/dmstyle/tests enable_tests
  19359. wine_fn_config_makefile dlls/dmsynth enable_dmsynth
  19360. wine_fn_config_makefile dlls/dmsynth/tests enable_tests
  19361. wine_fn_config_makefile dlls/dmusic enable_dmusic
  19362. wine_fn_config_makefile dlls/dmusic/tests enable_tests
  19363. wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
  19364. wine_fn_config_makefile dlls/dnsapi enable_dnsapi
  19365. wine_fn_config_makefile dlls/dnsapi/tests enable_tests
  19366. wine_fn_config_makefile dlls/dplay enable_dplay
  19367. wine_fn_config_makefile dlls/dplayx enable_dplayx
  19368. wine_fn_config_makefile dlls/dplayx/tests enable_tests
  19369. wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
  19370. wine_fn_config_makefile dlls/dpnet enable_dpnet
  19371. wine_fn_config_makefile dlls/dpnet/tests enable_tests
  19372. wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
  19373. wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
  19374. wine_fn_config_makefile dlls/dpvoice enable_dpvoice
  19375. wine_fn_config_makefile dlls/dpvoice/tests enable_tests
  19376. wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
  19377. wine_fn_config_makefile dlls/drmclien enable_drmclien
  19378. wine_fn_config_makefile dlls/dsdmo enable_dsdmo
  19379. wine_fn_config_makefile dlls/dsound enable_dsound
  19380. wine_fn_config_makefile dlls/dsound/tests enable_tests
  19381. wine_fn_config_makefile dlls/dsquery enable_dsquery
  19382. wine_fn_config_makefile dlls/dssenh enable_dssenh
  19383. wine_fn_config_makefile dlls/dssenh/tests enable_tests
  19384. wine_fn_config_makefile dlls/dswave enable_dswave
  19385. wine_fn_config_makefile dlls/dswave/tests enable_tests
  19386. wine_fn_config_makefile dlls/dwmapi enable_dwmapi
  19387. wine_fn_config_makefile dlls/dwmapi/tests enable_tests
  19388. wine_fn_config_makefile dlls/dwrite enable_dwrite
  19389. wine_fn_config_makefile dlls/dwrite/tests enable_tests
  19390. wine_fn_config_makefile dlls/dx8vb enable_dx8vb
  19391. wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
  19392. wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
  19393. wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
  19394. wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
  19395. wine_fn_config_makefile dlls/dxgi enable_dxgi
  19396. wine_fn_config_makefile dlls/dxgi/tests enable_tests
  19397. wine_fn_config_makefile dlls/dxgkrnl.sys enable_dxgkrnl_sys
  19398. wine_fn_config_makefile dlls/dxgmms1.sys enable_dxgmms1_sys
  19399. wine_fn_config_makefile dlls/dxguid enable_dxguid
  19400. wine_fn_config_makefile dlls/dxva2 enable_dxva2
  19401. wine_fn_config_makefile dlls/dxva2/tests enable_tests
  19402. wine_fn_config_makefile dlls/esent enable_esent
  19403. wine_fn_config_makefile dlls/evr enable_evr
  19404. wine_fn_config_makefile dlls/evr/tests enable_tests
  19405. wine_fn_config_makefile dlls/explorerframe enable_explorerframe
  19406. wine_fn_config_makefile dlls/explorerframe/tests enable_tests
  19407. wine_fn_config_makefile dlls/ext-ms-win-appmodel-usercontext-l1-1-0 enable_ext_ms_win_appmodel_usercontext_l1_1_0
  19408. wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
  19409. wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
  19410. wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
  19411. wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
  19412. wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
  19413. wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
  19414. wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
  19415. wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
  19416. wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
  19417. wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
  19418. wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
  19419. wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
  19420. wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
  19421. wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
  19422. wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
  19423. wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
  19424. wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
  19425. wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
  19426. wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
  19427. wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
  19428. wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
  19429. wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
  19430. wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
  19431. wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
  19432. wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
  19433. wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
  19434. wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
  19435. wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
  19436. wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
  19437. wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
  19438. wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
  19439. wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
  19440. wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
  19441. wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
  19442. wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
  19443. wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
  19444. wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
  19445. wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
  19446. wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
  19447. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
  19448. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
  19449. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
  19450. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
  19451. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
  19452. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
  19453. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
  19454. wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
  19455. wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
  19456. wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
  19457. wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
  19458. wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
  19459. wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
  19460. wine_fn_config_makefile dlls/ext-ms-win-xaml-pal-l1-1-0 enable_ext_ms_win_xaml_pal_l1_1_0
  19461. wine_fn_config_makefile dlls/faultrep enable_faultrep
  19462. wine_fn_config_makefile dlls/faultrep/tests enable_tests
  19463. wine_fn_config_makefile dlls/feclient enable_feclient
  19464. wine_fn_config_makefile dlls/fltlib enable_fltlib
  19465. wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
  19466. wine_fn_config_makefile dlls/fntcache enable_fntcache
  19467. wine_fn_config_makefile dlls/fontsub enable_fontsub
  19468. wine_fn_config_makefile dlls/fusion enable_fusion
  19469. wine_fn_config_makefile dlls/fusion/tests enable_tests
  19470. wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
  19471. wine_fn_config_makefile dlls/gameux enable_gameux
  19472. wine_fn_config_makefile dlls/gameux/tests enable_tests
  19473. wine_fn_config_makefile dlls/gdi.exe16 enable_win16
  19474. wine_fn_config_makefile dlls/gdi32 enable_gdi32
  19475. wine_fn_config_makefile dlls/gdi32/tests enable_tests
  19476. wine_fn_config_makefile dlls/gdiplus enable_gdiplus
  19477. wine_fn_config_makefile dlls/gdiplus/tests enable_tests
  19478. wine_fn_config_makefile dlls/glu32 enable_glu32
  19479. wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
  19480. wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
  19481. wine_fn_config_makefile dlls/hal enable_hal
  19482. wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
  19483. wine_fn_config_makefile dlls/hid enable_hid
  19484. wine_fn_config_makefile dlls/hid/tests enable_tests
  19485. wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
  19486. wine_fn_config_makefile dlls/hlink enable_hlink
  19487. wine_fn_config_makefile dlls/hlink/tests enable_tests
  19488. wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
  19489. wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
  19490. wine_fn_config_makefile dlls/http.sys enable_http_sys
  19491. wine_fn_config_makefile dlls/httpapi enable_httpapi
  19492. wine_fn_config_makefile dlls/httpapi/tests enable_tests
  19493. wine_fn_config_makefile dlls/iccvid enable_iccvid
  19494. wine_fn_config_makefile dlls/icmp enable_icmp
  19495. wine_fn_config_makefile dlls/ieframe enable_ieframe
  19496. wine_fn_config_makefile dlls/ieframe/tests enable_tests
  19497. wine_fn_config_makefile dlls/ieproxy enable_ieproxy
  19498. wine_fn_config_makefile dlls/iertutil enable_iertutil
  19499. wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
  19500. wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
  19501. wine_fn_config_makefile dlls/imagehlp enable_imagehlp
  19502. wine_fn_config_makefile dlls/imagehlp/tests enable_tests
  19503. wine_fn_config_makefile dlls/imm.dll16 enable_win16
  19504. wine_fn_config_makefile dlls/imm32 enable_imm32
  19505. wine_fn_config_makefile dlls/imm32/tests enable_tests
  19506. wine_fn_config_makefile dlls/inetcomm enable_inetcomm
  19507. wine_fn_config_makefile dlls/inetcomm/tests enable_tests
  19508. wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
  19509. wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
  19510. wine_fn_config_makefile dlls/inetmib1/tests enable_tests
  19511. wine_fn_config_makefile dlls/infosoft enable_infosoft
  19512. wine_fn_config_makefile dlls/infosoft/tests enable_tests
  19513. wine_fn_config_makefile dlls/initpki enable_initpki
  19514. wine_fn_config_makefile dlls/inkobj enable_inkobj
  19515. wine_fn_config_makefile dlls/inseng enable_inseng
  19516. wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
  19517. wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
  19518. wine_fn_config_makefile dlls/iprop enable_iprop
  19519. wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
  19520. wine_fn_config_makefile dlls/itircl enable_itircl
  19521. wine_fn_config_makefile dlls/itss enable_itss
  19522. wine_fn_config_makefile dlls/itss/tests enable_tests
  19523. wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
  19524. wine_fn_config_makefile dlls/jscript enable_jscript
  19525. wine_fn_config_makefile dlls/jscript/tests enable_tests
  19526. wine_fn_config_makefile dlls/jsproxy enable_jsproxy
  19527. wine_fn_config_makefile dlls/jsproxy/tests enable_tests
  19528. wine_fn_config_makefile dlls/kerberos enable_kerberos
  19529. wine_fn_config_makefile dlls/kernel32 enable_kernel32
  19530. wine_fn_config_makefile dlls/kernel32/tests enable_tests
  19531. wine_fn_config_makefile dlls/kernelbase enable_kernelbase
  19532. wine_fn_config_makefile dlls/kernelbase/tests enable_tests
  19533. wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
  19534. wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
  19535. wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
  19536. wine_fn_config_makefile dlls/ksuser enable_ksuser
  19537. wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
  19538. wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
  19539. wine_fn_config_makefile dlls/loadperf enable_loadperf
  19540. wine_fn_config_makefile dlls/localspl enable_localspl
  19541. wine_fn_config_makefile dlls/localspl/tests enable_tests
  19542. wine_fn_config_makefile dlls/localui enable_localui
  19543. wine_fn_config_makefile dlls/localui/tests enable_tests
  19544. wine_fn_config_makefile dlls/lz32 enable_lz32
  19545. wine_fn_config_makefile dlls/lz32/tests enable_tests
  19546. wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
  19547. wine_fn_config_makefile dlls/mapi32 enable_mapi32
  19548. wine_fn_config_makefile dlls/mapi32/tests enable_tests
  19549. wine_fn_config_makefile dlls/mapistub enable_mapistub
  19550. wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
  19551. wine_fn_config_makefile dlls/mcicda enable_mcicda
  19552. wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
  19553. wine_fn_config_makefile dlls/mciseq enable_mciseq
  19554. wine_fn_config_makefile dlls/mciwave enable_mciwave
  19555. wine_fn_config_makefile dlls/mf enable_mf
  19556. wine_fn_config_makefile dlls/mf/tests enable_tests
  19557. wine_fn_config_makefile dlls/mf3216 enable_mf3216
  19558. wine_fn_config_makefile dlls/mferror enable_mferror
  19559. wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
  19560. wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
  19561. wine_fn_config_makefile dlls/mfplat enable_mfplat
  19562. wine_fn_config_makefile dlls/mfplat/tests enable_tests
  19563. wine_fn_config_makefile dlls/mfplay enable_mfplay
  19564. wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
  19565. wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
  19566. wine_fn_config_makefile dlls/mfuuid enable_mfuuid
  19567. wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
  19568. wine_fn_config_makefile dlls/midimap enable_midimap
  19569. wine_fn_config_makefile dlls/mlang enable_mlang
  19570. wine_fn_config_makefile dlls/mlang/tests enable_tests
  19571. wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
  19572. wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
  19573. wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
  19574. wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
  19575. wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
  19576. wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
  19577. wine_fn_config_makefile dlls/monodebg.vxd enable_win16
  19578. wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
  19579. wine_fn_config_makefile dlls/mouse.drv16 enable_win16
  19580. wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
  19581. wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
  19582. wine_fn_config_makefile dlls/mpr enable_mpr
  19583. wine_fn_config_makefile dlls/mpr/tests enable_tests
  19584. wine_fn_config_makefile dlls/mprapi enable_mprapi
  19585. wine_fn_config_makefile dlls/msacm.dll16 enable_win16
  19586. wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
  19587. wine_fn_config_makefile dlls/msacm32 enable_msacm32
  19588. wine_fn_config_makefile dlls/msacm32/tests enable_tests
  19589. wine_fn_config_makefile dlls/msado15 enable_msado15
  19590. wine_fn_config_makefile dlls/msado15/tests enable_tests
  19591. wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
  19592. wine_fn_config_makefile dlls/msasn1 enable_msasn1
  19593. wine_fn_config_makefile dlls/mscat32 enable_mscat32
  19594. wine_fn_config_makefile dlls/mscms enable_mscms
  19595. wine_fn_config_makefile dlls/mscms/tests enable_tests
  19596. wine_fn_config_makefile dlls/mscoree enable_mscoree
  19597. wine_fn_config_makefile dlls/mscoree/tests enable_tests
  19598. wine_fn_config_makefile dlls/mscorwks enable_mscorwks
  19599. wine_fn_config_makefile dlls/msctf enable_msctf
  19600. wine_fn_config_makefile dlls/msctf/tests enable_tests
  19601. wine_fn_config_makefile dlls/msctfp enable_msctfp
  19602. wine_fn_config_makefile dlls/msdaps enable_msdaps
  19603. wine_fn_config_makefile dlls/msdelta enable_msdelta
  19604. wine_fn_config_makefile dlls/msdmo enable_msdmo
  19605. wine_fn_config_makefile dlls/msdmo/tests enable_tests
  19606. wine_fn_config_makefile dlls/msdrm enable_msdrm
  19607. wine_fn_config_makefile dlls/msftedit enable_msftedit
  19608. wine_fn_config_makefile dlls/msftedit/tests enable_tests
  19609. wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
  19610. wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
  19611. wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
  19612. wine_fn_config_makefile dlls/mshtml enable_mshtml
  19613. wine_fn_config_makefile dlls/mshtml/tests enable_tests
  19614. wine_fn_config_makefile dlls/msi enable_msi
  19615. wine_fn_config_makefile dlls/msi/tests enable_tests
  19616. wine_fn_config_makefile dlls/msident enable_msident
  19617. wine_fn_config_makefile dlls/msimg32 enable_msimg32
  19618. wine_fn_config_makefile dlls/msimsg enable_msimsg
  19619. wine_fn_config_makefile dlls/msimtf enable_msimtf
  19620. wine_fn_config_makefile dlls/msisip enable_msisip
  19621. wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
  19622. wine_fn_config_makefile dlls/msls31 enable_msls31
  19623. wine_fn_config_makefile dlls/msnet32 enable_msnet32
  19624. wine_fn_config_makefile dlls/mspatcha enable_mspatcha
  19625. wine_fn_config_makefile dlls/mspatcha/tests enable_tests
  19626. wine_fn_config_makefile dlls/msports enable_msports
  19627. wine_fn_config_makefile dlls/msrle32 enable_msrle32
  19628. wine_fn_config_makefile dlls/msrle32/tests enable_tests
  19629. wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
  19630. wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
  19631. wine_fn_config_makefile dlls/mssign32 enable_mssign32
  19632. wine_fn_config_makefile dlls/mssip32 enable_mssip32
  19633. wine_fn_config_makefile dlls/mstask enable_mstask
  19634. wine_fn_config_makefile dlls/mstask/tests enable_tests
  19635. wine_fn_config_makefile dlls/msvcirt enable_msvcirt
  19636. wine_fn_config_makefile dlls/msvcirt/tests enable_tests
  19637. wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
  19638. wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
  19639. wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
  19640. wine_fn_config_makefile dlls/msvcp100/tests enable_tests
  19641. wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
  19642. wine_fn_config_makefile dlls/msvcp110/tests enable_tests
  19643. wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
  19644. wine_fn_config_makefile dlls/msvcp120/tests enable_tests
  19645. wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
  19646. wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
  19647. wine_fn_config_makefile dlls/msvcp140/tests enable_tests
  19648. wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
  19649. wine_fn_config_makefile dlls/msvcp60/tests enable_tests
  19650. wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
  19651. wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
  19652. wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
  19653. wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
  19654. wine_fn_config_makefile dlls/msvcp90/tests enable_tests
  19655. wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
  19656. wine_fn_config_makefile dlls/msvcr100/tests enable_tests
  19657. wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
  19658. wine_fn_config_makefile dlls/msvcr110/tests enable_tests
  19659. wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
  19660. wine_fn_config_makefile dlls/msvcr120/tests enable_tests
  19661. wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
  19662. wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
  19663. wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
  19664. wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
  19665. wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
  19666. wine_fn_config_makefile dlls/msvcr90/tests enable_tests
  19667. wine_fn_config_makefile dlls/msvcrt enable_msvcrt
  19668. wine_fn_config_makefile dlls/msvcrt/tests enable_tests
  19669. wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
  19670. wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
  19671. wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
  19672. wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
  19673. wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
  19674. wine_fn_config_makefile dlls/msvfw32/tests enable_tests
  19675. wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
  19676. wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
  19677. wine_fn_config_makefile dlls/mswsock enable_mswsock
  19678. wine_fn_config_makefile dlls/msxml enable_msxml
  19679. wine_fn_config_makefile dlls/msxml2 enable_msxml2
  19680. wine_fn_config_makefile dlls/msxml3 enable_msxml3
  19681. wine_fn_config_makefile dlls/msxml3/tests enable_tests
  19682. wine_fn_config_makefile dlls/msxml4 enable_msxml4
  19683. wine_fn_config_makefile dlls/msxml6 enable_msxml6
  19684. wine_fn_config_makefile dlls/mtxdm enable_mtxdm
  19685. wine_fn_config_makefile dlls/ncrypt enable_ncrypt
  19686. wine_fn_config_makefile dlls/nddeapi enable_nddeapi
  19687. wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
  19688. wine_fn_config_makefile dlls/netapi32 enable_netapi32
  19689. wine_fn_config_makefile dlls/netapi32/tests enable_tests
  19690. wine_fn_config_makefile dlls/netcfgx enable_netcfgx
  19691. wine_fn_config_makefile dlls/netcfgx/tests enable_tests
  19692. wine_fn_config_makefile dlls/netprofm enable_netprofm
  19693. wine_fn_config_makefile dlls/netprofm/tests enable_tests
  19694. wine_fn_config_makefile dlls/newdev enable_newdev
  19695. wine_fn_config_makefile dlls/ninput enable_ninput
  19696. wine_fn_config_makefile dlls/ninput/tests enable_tests
  19697. wine_fn_config_makefile dlls/normaliz enable_normaliz
  19698. wine_fn_config_makefile dlls/npmshtml enable_npmshtml
  19699. wine_fn_config_makefile dlls/npptools enable_npptools
  19700. wine_fn_config_makefile dlls/ntdll enable_ntdll
  19701. wine_fn_config_makefile dlls/ntdll/tests enable_tests
  19702. wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
  19703. wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
  19704. wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
  19705. wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
  19706. wine_fn_config_makefile dlls/ntprint enable_ntprint
  19707. wine_fn_config_makefile dlls/ntprint/tests enable_tests
  19708. wine_fn_config_makefile dlls/nvapi enable_win32
  19709. wine_fn_config_makefile dlls/nvapi/tests enable_tests
  19710. wine_fn_config_makefile dlls/nvapi64 enable_win64
  19711. wine_fn_config_makefile dlls/nvcuda enable_nvcuda
  19712. wine_fn_config_makefile dlls/nvcuda/tests enable_tests
  19713. wine_fn_config_makefile dlls/nvcuvid enable_nvcuvid
  19714. wine_fn_config_makefile dlls/nvencodeapi enable_win32
  19715. wine_fn_config_makefile dlls/nvencodeapi64 enable_win64
  19716. wine_fn_config_makefile dlls/objsel enable_objsel
  19717. wine_fn_config_makefile dlls/odbc32 enable_odbc32
  19718. wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
  19719. wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
  19720. wine_fn_config_makefile dlls/odbccp32/tests enable_tests
  19721. wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
  19722. wine_fn_config_makefile dlls/ole2.dll16 enable_win16
  19723. wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
  19724. wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
  19725. wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
  19726. wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
  19727. wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
  19728. wine_fn_config_makefile dlls/ole32 enable_ole32
  19729. wine_fn_config_makefile dlls/ole32/tests enable_tests
  19730. wine_fn_config_makefile dlls/oleacc enable_oleacc
  19731. wine_fn_config_makefile dlls/oleacc/tests enable_tests
  19732. wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
  19733. wine_fn_config_makefile dlls/oleaut32/tests enable_tests
  19734. wine_fn_config_makefile dlls/olecli.dll16 enable_win16
  19735. wine_fn_config_makefile dlls/olecli32 enable_olecli32
  19736. wine_fn_config_makefile dlls/oledb32 enable_oledb32
  19737. wine_fn_config_makefile dlls/oledb32/tests enable_tests
  19738. wine_fn_config_makefile dlls/oledlg enable_oledlg
  19739. wine_fn_config_makefile dlls/oledlg/tests enable_tests
  19740. wine_fn_config_makefile dlls/olepro32 enable_olepro32
  19741. wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
  19742. wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
  19743. wine_fn_config_makefile dlls/olethk32 enable_olethk32
  19744. wine_fn_config_makefile dlls/opcservices enable_opcservices
  19745. wine_fn_config_makefile dlls/opcservices/tests enable_tests
  19746. wine_fn_config_makefile dlls/openal32 enable_openal32
  19747. wine_fn_config_makefile dlls/opencl enable_opencl
  19748. wine_fn_config_makefile dlls/opengl32 enable_opengl32
  19749. wine_fn_config_makefile dlls/opengl32/tests enable_tests
  19750. wine_fn_config_makefile dlls/packager enable_packager
  19751. wine_fn_config_makefile dlls/packager/tests enable_tests
  19752. wine_fn_config_makefile dlls/pdh enable_pdh
  19753. wine_fn_config_makefile dlls/pdh/tests enable_tests
  19754. wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
  19755. wine_fn_config_makefile dlls/pidgen enable_pidgen
  19756. wine_fn_config_makefile dlls/powrprof enable_powrprof
  19757. wine_fn_config_makefile dlls/printui enable_printui
  19758. wine_fn_config_makefile dlls/prntvpt enable_prntvpt
  19759. wine_fn_config_makefile dlls/propsys enable_propsys
  19760. wine_fn_config_makefile dlls/propsys/tests enable_tests
  19761. wine_fn_config_makefile dlls/psapi enable_psapi
  19762. wine_fn_config_makefile dlls/psapi/tests enable_tests
  19763. wine_fn_config_makefile dlls/pstorec enable_pstorec
  19764. wine_fn_config_makefile dlls/pstorec/tests enable_tests
  19765. wine_fn_config_makefile dlls/qasf enable_qasf
  19766. wine_fn_config_makefile dlls/qasf/tests enable_tests
  19767. wine_fn_config_makefile dlls/qcap enable_qcap
  19768. wine_fn_config_makefile dlls/qcap/tests enable_tests
  19769. wine_fn_config_makefile dlls/qedit enable_qedit
  19770. wine_fn_config_makefile dlls/qedit/tests enable_tests
  19771. wine_fn_config_makefile dlls/qmgr enable_qmgr
  19772. wine_fn_config_makefile dlls/qmgr/tests enable_tests
  19773. wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
  19774. wine_fn_config_makefile dlls/quartz enable_quartz
  19775. wine_fn_config_makefile dlls/quartz/tests enable_tests
  19776. wine_fn_config_makefile dlls/query enable_query
  19777. wine_fn_config_makefile dlls/qwave enable_qwave
  19778. wine_fn_config_makefile dlls/qwave/tests enable_tests
  19779. wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
  19780. wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
  19781. wine_fn_config_makefile dlls/rasapi32/tests enable_tests
  19782. wine_fn_config_makefile dlls/rasdlg enable_rasdlg
  19783. wine_fn_config_makefile dlls/regapi enable_regapi
  19784. wine_fn_config_makefile dlls/resutils enable_resutils
  19785. wine_fn_config_makefile dlls/riched20 enable_riched20
  19786. wine_fn_config_makefile dlls/riched20/tests enable_tests
  19787. wine_fn_config_makefile dlls/riched32 enable_riched32
  19788. wine_fn_config_makefile dlls/riched32/tests enable_tests
  19789. wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
  19790. wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
  19791. wine_fn_config_makefile dlls/rsabase enable_rsabase
  19792. wine_fn_config_makefile dlls/rsaenh enable_rsaenh
  19793. wine_fn_config_makefile dlls/rsaenh/tests enable_tests
  19794. wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
  19795. wine_fn_config_makefile dlls/rtutils enable_rtutils
  19796. wine_fn_config_makefile dlls/rtworkq enable_rtworkq
  19797. wine_fn_config_makefile dlls/rtworkq/tests enable_tests
  19798. wine_fn_config_makefile dlls/samlib enable_samlib
  19799. wine_fn_config_makefile dlls/sane.ds enable_sane_ds
  19800. wine_fn_config_makefile dlls/sapi enable_sapi
  19801. wine_fn_config_makefile dlls/sapi/tests enable_tests
  19802. wine_fn_config_makefile dlls/sas enable_sas
  19803. wine_fn_config_makefile dlls/scarddlg enable_scarddlg
  19804. wine_fn_config_makefile dlls/sccbase enable_sccbase
  19805. wine_fn_config_makefile dlls/schannel enable_schannel
  19806. wine_fn_config_makefile dlls/schannel/tests enable_tests
  19807. wine_fn_config_makefile dlls/schedsvc enable_schedsvc
  19808. wine_fn_config_makefile dlls/schedsvc/tests enable_tests
  19809. wine_fn_config_makefile dlls/scrobj enable_scrobj
  19810. wine_fn_config_makefile dlls/scrobj/tests enable_tests
  19811. wine_fn_config_makefile dlls/scrrun enable_scrrun
  19812. wine_fn_config_makefile dlls/scrrun/tests enable_tests
  19813. wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
  19814. wine_fn_config_makefile dlls/secur32 enable_secur32
  19815. wine_fn_config_makefile dlls/secur32/tests enable_tests
  19816. wine_fn_config_makefile dlls/security enable_security
  19817. wine_fn_config_makefile dlls/sensapi enable_sensapi
  19818. wine_fn_config_makefile dlls/serialui enable_serialui
  19819. wine_fn_config_makefile dlls/serialui/tests enable_tests
  19820. wine_fn_config_makefile dlls/setupapi enable_setupapi
  19821. wine_fn_config_makefile dlls/setupapi/tests enable_tests
  19822. wine_fn_config_makefile dlls/setupx.dll16 enable_win16
  19823. wine_fn_config_makefile dlls/sfc enable_sfc
  19824. wine_fn_config_makefile dlls/sfc_os enable_sfc_os
  19825. wine_fn_config_makefile dlls/shcore enable_shcore
  19826. wine_fn_config_makefile dlls/shcore/tests enable_tests
  19827. wine_fn_config_makefile dlls/shdoclc enable_shdoclc
  19828. wine_fn_config_makefile dlls/shdocvw enable_shdocvw
  19829. wine_fn_config_makefile dlls/shdocvw/tests enable_tests
  19830. wine_fn_config_makefile dlls/shell.dll16 enable_win16
  19831. wine_fn_config_makefile dlls/shell32 enable_shell32
  19832. wine_fn_config_makefile dlls/shell32/tests enable_tests
  19833. wine_fn_config_makefile dlls/shfolder enable_shfolder
  19834. wine_fn_config_makefile dlls/shlwapi enable_shlwapi
  19835. wine_fn_config_makefile dlls/shlwapi/tests enable_tests
  19836. wine_fn_config_makefile dlls/slbcsp enable_slbcsp
  19837. wine_fn_config_makefile dlls/slc enable_slc
  19838. wine_fn_config_makefile dlls/slc/tests enable_tests
  19839. wine_fn_config_makefile dlls/snmpapi enable_snmpapi
  19840. wine_fn_config_makefile dlls/snmpapi/tests enable_tests
  19841. wine_fn_config_makefile dlls/softpub enable_softpub
  19842. wine_fn_config_makefile dlls/sound.drv16 enable_win16
  19843. wine_fn_config_makefile dlls/spoolss enable_spoolss
  19844. wine_fn_config_makefile dlls/spoolss/tests enable_tests
  19845. wine_fn_config_makefile dlls/srclient enable_srclient
  19846. wine_fn_config_makefile dlls/sspicli enable_sspicli
  19847. wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
  19848. wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
  19849. wine_fn_config_makefile dlls/sti enable_sti
  19850. wine_fn_config_makefile dlls/sti/tests enable_tests
  19851. wine_fn_config_makefile dlls/storage.dll16 enable_win16
  19852. wine_fn_config_makefile dlls/stress.dll16 enable_win16
  19853. wine_fn_config_makefile dlls/strmbase enable_strmbase
  19854. wine_fn_config_makefile dlls/strmdll enable_strmdll
  19855. wine_fn_config_makefile dlls/strmiids enable_strmiids
  19856. wine_fn_config_makefile dlls/svrapi enable_svrapi
  19857. wine_fn_config_makefile dlls/sxs enable_sxs
  19858. wine_fn_config_makefile dlls/sxs/tests enable_tests
  19859. wine_fn_config_makefile dlls/system.drv16 enable_win16
  19860. wine_fn_config_makefile dlls/t2embed enable_t2embed
  19861. wine_fn_config_makefile dlls/t2embed/tests enable_tests
  19862. wine_fn_config_makefile dlls/tapi32 enable_tapi32
  19863. wine_fn_config_makefile dlls/tapi32/tests enable_tests
  19864. wine_fn_config_makefile dlls/taskschd enable_taskschd
  19865. wine_fn_config_makefile dlls/taskschd/tests enable_tests
  19866. wine_fn_config_makefile dlls/tdh enable_tdh
  19867. wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
  19868. wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
  19869. wine_fn_config_makefile dlls/traffic enable_traffic
  19870. wine_fn_config_makefile dlls/twain.dll16 enable_win16
  19871. wine_fn_config_makefile dlls/twain_32 enable_twain_32
  19872. wine_fn_config_makefile dlls/twain_32/tests enable_tests
  19873. wine_fn_config_makefile dlls/typelib.dll16 enable_win16
  19874. wine_fn_config_makefile dlls/tzres enable_tzres
  19875. wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
  19876. wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
  19877. wine_fn_config_makefile dlls/uianimation enable_uianimation
  19878. wine_fn_config_makefile dlls/uianimation/tests enable_tests
  19879. wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
  19880. wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
  19881. wine_fn_config_makefile dlls/uiribbon enable_uiribbon
  19882. wine_fn_config_makefile dlls/unicows enable_unicows
  19883. wine_fn_config_makefile dlls/updspapi enable_updspapi
  19884. wine_fn_config_makefile dlls/url enable_url
  19885. wine_fn_config_makefile dlls/urlmon enable_urlmon
  19886. wine_fn_config_makefile dlls/urlmon/tests enable_tests
  19887. wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
  19888. wine_fn_config_makefile dlls/user.exe16 enable_win16
  19889. wine_fn_config_makefile dlls/user32 enable_user32
  19890. wine_fn_config_makefile dlls/user32/tests enable_tests
  19891. wine_fn_config_makefile dlls/userenv enable_userenv
  19892. wine_fn_config_makefile dlls/userenv/tests enable_tests
  19893. wine_fn_config_makefile dlls/usp10 enable_usp10
  19894. wine_fn_config_makefile dlls/usp10/tests enable_tests
  19895. wine_fn_config_makefile dlls/utildll enable_utildll
  19896. wine_fn_config_makefile dlls/uuid enable_uuid
  19897. wine_fn_config_makefile dlls/uxtheme enable_uxtheme
  19898. wine_fn_config_makefile dlls/uxtheme/tests enable_tests
  19899. wine_fn_config_makefile dlls/vbscript enable_vbscript
  19900. wine_fn_config_makefile dlls/vbscript/tests enable_tests
  19901. wine_fn_config_makefile dlls/vcomp enable_vcomp
  19902. wine_fn_config_makefile dlls/vcomp/tests enable_tests
  19903. wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
  19904. wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
  19905. wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
  19906. wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
  19907. wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
  19908. wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
  19909. wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
  19910. wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
  19911. wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
  19912. wine_fn_config_makefile dlls/ver.dll16 enable_win16
  19913. wine_fn_config_makefile dlls/version enable_version
  19914. wine_fn_config_makefile dlls/version/tests enable_tests
  19915. wine_fn_config_makefile dlls/vga enable_vga
  19916. wine_fn_config_makefile dlls/virtdisk enable_virtdisk
  19917. wine_fn_config_makefile dlls/virtdisk/tests enable_tests
  19918. wine_fn_config_makefile dlls/vmm.vxd enable_win16
  19919. wine_fn_config_makefile dlls/vnbt.vxd enable_win16
  19920. wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
  19921. wine_fn_config_makefile dlls/vssapi enable_vssapi
  19922. wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
  19923. wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
  19924. wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
  19925. wine_fn_config_makefile dlls/vwin32.vxd enable_win16
  19926. wine_fn_config_makefile dlls/w32skrnl enable_win16
  19927. wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
  19928. wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
  19929. wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
  19930. wine_fn_config_makefile dlls/wbemprox enable_wbemprox
  19931. wine_fn_config_makefile dlls/wbemprox/tests enable_tests
  19932. wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
  19933. wine_fn_config_makefile dlls/wdscore enable_wdscore
  19934. wine_fn_config_makefile dlls/webservices enable_webservices
  19935. wine_fn_config_makefile dlls/webservices/tests enable_tests
  19936. wine_fn_config_makefile dlls/wer enable_wer
  19937. wine_fn_config_makefile dlls/wer/tests enable_tests
  19938. wine_fn_config_makefile dlls/wevtapi enable_wevtapi
  19939. wine_fn_config_makefile dlls/wiaservc enable_wiaservc
  19940. wine_fn_config_makefile dlls/wiaservc/tests enable_tests
  19941. wine_fn_config_makefile dlls/wimgapi enable_wimgapi
  19942. wine_fn_config_makefile dlls/win32k.sys enable_win32k_sys
  19943. wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
  19944. wine_fn_config_makefile dlls/win87em.dll16 enable_win16
  19945. wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
  19946. wine_fn_config_makefile dlls/windebug.dll16 enable_win16
  19947. wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
  19948. wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
  19949. wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
  19950. wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
  19951. wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
  19952. wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
  19953. wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
  19954. wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
  19955. wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
  19956. wine_fn_config_makefile dlls/wined3d enable_wined3d
  19957. wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
  19958. wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
  19959. wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
  19960. wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
  19961. wine_fn_config_makefile dlls/winemapi enable_winemapi
  19962. wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
  19963. wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
  19964. wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
  19965. wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
  19966. wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
  19967. wine_fn_config_makefile dlls/winevulkan enable_winevulkan
  19968. wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
  19969. wine_fn_config_makefile dlls/wing.dll16 enable_win16
  19970. wine_fn_config_makefile dlls/wing32 enable_wing32
  19971. wine_fn_config_makefile dlls/winhttp enable_winhttp
  19972. wine_fn_config_makefile dlls/winhttp/tests enable_tests
  19973. wine_fn_config_makefile dlls/wininet enable_wininet
  19974. wine_fn_config_makefile dlls/wininet/tests enable_tests
  19975. wine_fn_config_makefile dlls/winmm enable_winmm
  19976. wine_fn_config_makefile dlls/winmm/tests enable_tests
  19977. wine_fn_config_makefile dlls/winnls.dll16 enable_win16
  19978. wine_fn_config_makefile dlls/winnls32 enable_winnls32
  19979. wine_fn_config_makefile dlls/winscard enable_winscard
  19980. wine_fn_config_makefile dlls/winsock.dll16 enable_win16
  19981. wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
  19982. wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
  19983. wine_fn_config_makefile dlls/winsta enable_winsta
  19984. wine_fn_config_makefile dlls/wintab.dll16 enable_win16
  19985. wine_fn_config_makefile dlls/wintab32 enable_wintab32
  19986. wine_fn_config_makefile dlls/wintab32/tests enable_tests
  19987. wine_fn_config_makefile dlls/wintrust enable_wintrust
  19988. wine_fn_config_makefile dlls/wintrust/tests enable_tests
  19989. wine_fn_config_makefile dlls/winusb enable_winusb
  19990. wine_fn_config_makefile dlls/wlanapi enable_wlanapi
  19991. wine_fn_config_makefile dlls/wlanapi/tests enable_tests
  19992. wine_fn_config_makefile dlls/wlanui enable_wlanui
  19993. wine_fn_config_makefile dlls/wldap32 enable_wldap32
  19994. wine_fn_config_makefile dlls/wldap32/tests enable_tests
  19995. wine_fn_config_makefile dlls/wmasf enable_wmasf
  19996. wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
  19997. wine_fn_config_makefile dlls/wmi enable_wmi
  19998. wine_fn_config_makefile dlls/wmiutils enable_wmiutils
  19999. wine_fn_config_makefile dlls/wmiutils/tests enable_tests
  20000. wine_fn_config_makefile dlls/wmp enable_wmp
  20001. wine_fn_config_makefile dlls/wmp/tests enable_tests
  20002. wine_fn_config_makefile dlls/wmphoto enable_wmphoto
  20003. wine_fn_config_makefile dlls/wmvcore enable_wmvcore
  20004. wine_fn_config_makefile dlls/wmvcore/tests enable_tests
  20005. wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
  20006. wine_fn_config_makefile dlls/wow32 enable_win16
  20007. wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
  20008. wine_fn_config_makefile dlls/wpc enable_wpc
  20009. wine_fn_config_makefile dlls/wpc/tests enable_tests
  20010. wine_fn_config_makefile dlls/wpcap enable_wpcap
  20011. wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
  20012. wine_fn_config_makefile dlls/ws2_32/tests enable_tests
  20013. wine_fn_config_makefile dlls/wsdapi enable_wsdapi
  20014. wine_fn_config_makefile dlls/wsdapi/tests enable_tests
  20015. wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
  20016. wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
  20017. wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
  20018. wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
  20019. wine_fn_config_makefile dlls/wsock32 enable_wsock32
  20020. wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
  20021. wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
  20022. wine_fn_config_makefile dlls/wuapi enable_wuapi
  20023. wine_fn_config_makefile dlls/wuaueng enable_wuaueng
  20024. wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
  20025. wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
  20026. wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
  20027. wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
  20028. wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
  20029. wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
  20030. wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
  20031. wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
  20032. wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
  20033. wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
  20034. wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
  20035. wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
  20036. wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
  20037. wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
  20038. wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
  20039. wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
  20040. wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
  20041. wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
  20042. wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
  20043. wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
  20044. wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
  20045. wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
  20046. wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
  20047. wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
  20048. wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
  20049. wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
  20050. wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
  20051. wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
  20052. wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
  20053. wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
  20054. wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
  20055. wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
  20056. wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
  20057. wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
  20058. wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
  20059. wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
  20060. wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
  20061. wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
  20062. wine_fn_config_makefile dlls/xmllite enable_xmllite
  20063. wine_fn_config_makefile dlls/xmllite/tests enable_tests
  20064. wine_fn_config_makefile dlls/xolehlp enable_xolehlp
  20065. wine_fn_config_makefile dlls/xpsprint enable_xpsprint
  20066. wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
  20067. wine_fn_config_makefile fonts enable_fonts
  20068. wine_fn_config_makefile include enable_include
  20069. wine_fn_config_makefile libs/port enable_port
  20070. wine_fn_config_makefile libs/wine enable_wine
  20071. wine_fn_config_makefile libs/wpp enable_wpp
  20072. wine_fn_config_makefile loader enable_loader
  20073. wine_fn_config_makefile nls enable_nls
  20074. wine_fn_config_makefile po enable_po
  20075. wine_fn_config_makefile programs/arp enable_arp
  20076. wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
  20077. wine_fn_config_makefile programs/attrib enable_attrib
  20078. wine_fn_config_makefile programs/cabarc enable_cabarc
  20079. wine_fn_config_makefile programs/cacls enable_cacls
  20080. wine_fn_config_makefile programs/chcp.com enable_chcp_com
  20081. wine_fn_config_makefile programs/clock enable_clock
  20082. wine_fn_config_makefile programs/cmd enable_cmd
  20083. wine_fn_config_makefile programs/cmd/tests enable_tests
  20084. wine_fn_config_makefile programs/conhost enable_conhost
  20085. wine_fn_config_makefile programs/control enable_control
  20086. wine_fn_config_makefile programs/cscript enable_cscript
  20087. wine_fn_config_makefile programs/dism enable_dism
  20088. wine_fn_config_makefile programs/dllhost enable_dllhost
  20089. wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
  20090. wine_fn_config_makefile programs/dxdiag enable_dxdiag
  20091. wine_fn_config_makefile programs/eject enable_eject
  20092. wine_fn_config_makefile programs/expand enable_expand
  20093. wine_fn_config_makefile programs/explorer enable_explorer
  20094. wine_fn_config_makefile programs/extrac32 enable_extrac32
  20095. wine_fn_config_makefile programs/fc enable_fc
  20096. wine_fn_config_makefile programs/find enable_find
  20097. wine_fn_config_makefile programs/find/tests enable_tests
  20098. wine_fn_config_makefile programs/findstr enable_findstr
  20099. wine_fn_config_makefile programs/fsutil enable_fsutil
  20100. wine_fn_config_makefile programs/hh enable_hh
  20101. wine_fn_config_makefile programs/hostname enable_hostname
  20102. wine_fn_config_makefile programs/icacls enable_icacls
  20103. wine_fn_config_makefile programs/icinfo enable_icinfo
  20104. wine_fn_config_makefile programs/iexplore enable_iexplore
  20105. wine_fn_config_makefile programs/ipconfig enable_ipconfig
  20106. wine_fn_config_makefile programs/lodctr enable_lodctr
  20107. wine_fn_config_makefile programs/mofcomp enable_mofcomp
  20108. wine_fn_config_makefile programs/mshta enable_mshta
  20109. wine_fn_config_makefile programs/msidb enable_msidb
  20110. wine_fn_config_makefile programs/msiexec enable_msiexec
  20111. wine_fn_config_makefile programs/msinfo32 enable_msinfo32
  20112. wine_fn_config_makefile programs/net enable_net
  20113. wine_fn_config_makefile programs/netsh enable_netsh
  20114. wine_fn_config_makefile programs/netstat enable_netstat
  20115. wine_fn_config_makefile programs/ngen enable_ngen
  20116. wine_fn_config_makefile programs/notepad enable_notepad
  20117. wine_fn_config_makefile programs/oleview enable_oleview
  20118. wine_fn_config_makefile programs/ping enable_ping
  20119. wine_fn_config_makefile programs/plugplay enable_plugplay
  20120. wine_fn_config_makefile programs/powershell enable_powershell
  20121. wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
  20122. wine_fn_config_makefile programs/progman enable_progman
  20123. wine_fn_config_makefile programs/reg enable_reg
  20124. wine_fn_config_makefile programs/reg/tests enable_tests
  20125. wine_fn_config_makefile programs/regasm enable_regasm
  20126. wine_fn_config_makefile programs/regedit enable_regedit
  20127. wine_fn_config_makefile programs/regedit/tests enable_tests
  20128. wine_fn_config_makefile programs/regini enable_regini
  20129. wine_fn_config_makefile programs/regsvcs enable_regsvcs
  20130. wine_fn_config_makefile programs/regsvr32 enable_regsvr32
  20131. wine_fn_config_makefile programs/rpcss enable_rpcss
  20132. wine_fn_config_makefile programs/runas enable_runas
  20133. wine_fn_config_makefile programs/rundll.exe16 enable_win16
  20134. wine_fn_config_makefile programs/rundll32 enable_rundll32
  20135. wine_fn_config_makefile programs/sc enable_sc
  20136. wine_fn_config_makefile programs/schtasks enable_schtasks
  20137. wine_fn_config_makefile programs/schtasks/tests enable_tests
  20138. wine_fn_config_makefile programs/sdbinst enable_sdbinst
  20139. wine_fn_config_makefile programs/secedit enable_secedit
  20140. wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
  20141. wine_fn_config_makefile programs/services enable_services
  20142. wine_fn_config_makefile programs/services/tests enable_tests
  20143. wine_fn_config_makefile programs/shutdown enable_shutdown
  20144. wine_fn_config_makefile programs/spoolsv enable_spoolsv
  20145. wine_fn_config_makefile programs/start enable_start
  20146. wine_fn_config_makefile programs/subst enable_subst
  20147. wine_fn_config_makefile programs/svchost enable_svchost
  20148. wine_fn_config_makefile programs/systeminfo enable_systeminfo
  20149. wine_fn_config_makefile programs/taskkill enable_taskkill
  20150. wine_fn_config_makefile programs/tasklist enable_tasklist
  20151. wine_fn_config_makefile programs/taskmgr enable_taskmgr
  20152. wine_fn_config_makefile programs/termsv enable_termsv
  20153. wine_fn_config_makefile programs/uninstaller enable_uninstaller
  20154. wine_fn_config_makefile programs/unlodctr enable_unlodctr
  20155. wine_fn_config_makefile programs/view enable_view
  20156. wine_fn_config_makefile programs/wevtutil enable_wevtutil
  20157. wine_fn_config_makefile programs/whoami enable_whoami
  20158. wine_fn_config_makefile programs/wineboot enable_wineboot
  20159. wine_fn_config_makefile programs/winebrowser enable_winebrowser
  20160. wine_fn_config_makefile programs/winecfg enable_winecfg
  20161. wine_fn_config_makefile programs/wineconsole enable_wineconsole
  20162. wine_fn_config_makefile programs/winedbg enable_winedbg
  20163. wine_fn_config_makefile programs/winedevice enable_winedevice
  20164. wine_fn_config_makefile programs/winefile enable_winefile
  20165. wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
  20166. wine_fn_config_makefile programs/winemine enable_winemine
  20167. wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
  20168. wine_fn_config_makefile programs/winepath enable_winepath
  20169. wine_fn_config_makefile programs/winetest enable_winetest
  20170. wine_fn_config_makefile programs/winevdm enable_win16
  20171. wine_fn_config_makefile programs/winhelp.exe16 enable_win16
  20172. wine_fn_config_makefile programs/winhlp32 enable_winhlp32
  20173. wine_fn_config_makefile programs/winmgmt enable_winmgmt
  20174. wine_fn_config_makefile programs/winoldap.mod16 enable_win16
  20175. wine_fn_config_makefile programs/winver enable_winver
  20176. wine_fn_config_makefile programs/wmic enable_wmic
  20177. wine_fn_config_makefile programs/wmplayer enable_wmplayer
  20178. wine_fn_config_makefile programs/wordpad enable_wordpad
  20179. wine_fn_config_makefile programs/write enable_write
  20180. wine_fn_config_makefile programs/wscript enable_wscript
  20181. wine_fn_config_makefile programs/wscript/tests enable_tests
  20182. wine_fn_config_makefile programs/wuauserv enable_wuauserv
  20183. wine_fn_config_makefile programs/wusa enable_wusa
  20184. wine_fn_config_makefile programs/xcopy enable_xcopy
  20185. wine_fn_config_makefile programs/xcopy/tests enable_tests
  20186. wine_fn_config_makefile server enable_server
  20187. test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
  20188. test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
  20189. test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
  20190. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
  20191. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
  20192. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
  20193. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
  20194. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
  20195. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
  20196. wine_fn_append_file CONFIGURE_TARGETS "TAGS"
  20197. wine_fn_append_file CONFIGURE_TARGETS "tags"
  20198. wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
  20199. wine_fn_append_file CONFIGURE_TARGETS "config.log"
  20200. wine_fn_append_file CONFIGURE_TARGETS "config.status"
  20201. wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
  20202. wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
  20203. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
  20204. if test "x$enable_tools" != xno
  20205. then
  20206. wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
  20207. ac_config_commands="$ac_config_commands tools/makedep"
  20208. fi
  20209. ac_config_commands="$ac_config_commands Makefile"
  20210. ac_config_files="$ac_config_files Make.tmp:Makefile.in"
  20211. if test "x$enable_maintainer_mode" = xyes
  20212. then
  20213. wine_fn_append_rule "configure: configure.ac aclocal.m4
  20214. autoconf --warnings=all
  20215. include/config.h.in: include/stamp-h.in
  20216. include/stamp-h.in: configure.ac aclocal.m4
  20217. autoheader --warnings=all
  20218. @echo timestamp > \$@"
  20219. fi
  20220. if test "x$enable_tools" != xno
  20221. then
  20222. wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
  20223. @./config.status tools/makedep
  20224. Makefile: tools/makedep$ac_exeext
  20225. fonts: tools/sfnt2fon
  20226. include: tools tools/widl"
  20227. else
  20228. wine_fn_append_rule "\$(MAKEDEP):
  20229. @echo \"You need to run make in $TOOLSDIR first\" && false"
  20230. fi
  20231. if test -n "$with_wine64"
  20232. then
  20233. case "$with_wine64" in
  20234. /*) reldir="" ;;
  20235. *) reldir="../" ;;
  20236. esac
  20237. rm -f fonts server 2>/dev/null
  20238. wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
  20239. loader/wine64 loader/wine64-preloader:
  20240. rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
  20241. $with_wine64/loader/wine:
  20242. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
  20243. $with_wine64/loader/wine-preloader:
  20244. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
  20245. clean::
  20246. rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
  20247. else
  20248. TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
  20249. TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
  20250. fonts \
  20251. loader/wine.inf \
  20252. loader/winebus.inf \
  20253. loader/winehid.inf \
  20254. nls \
  20255. programs/msidb/msidb \
  20256. programs/msiexec/msiexec \
  20257. programs/notepad/notepad \
  20258. programs/regedit/regedit \
  20259. programs/regsvr32/regsvr32 \
  20260. programs/wineboot/wineboot \
  20261. programs/winecfg/winecfg \
  20262. programs/wineconsole/wineconsole \
  20263. programs/winedbg/winedbg \
  20264. programs/winefile/winefile \
  20265. programs/winemine/winemine \
  20266. programs/winepath/winepath \
  20267. server/wineserver"
  20268. case $host_os in
  20269. cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
  20270. *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
  20271. esac
  20272. fi
  20273. $as_echo " done" >&6
  20274. cat >confcache <<\_ACEOF
  20275. # This file is a shell script that caches the results of configure
  20276. # tests run on this system so they can be shared between configure
  20277. # scripts and configure runs, see configure's option --config-cache.
  20278. # It is not useful on other systems. If it contains results you don't
  20279. # want to keep, you may remove or edit it.
  20280. #
  20281. # config.status only pays attention to the cache file if you give it
  20282. # the --recheck option to rerun configure.
  20283. #
  20284. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  20285. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  20286. # following values.
  20287. _ACEOF
  20288. # The following way of writing the cache mishandles newlines in values,
  20289. # but we know of no workaround that is simple, portable, and efficient.
  20290. # So, we kill variables containing newlines.
  20291. # Ultrix sh set writes to stderr and can't be redirected directly,
  20292. # and sets the high bit in the cache file unless we assign to the vars.
  20293. (
  20294. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  20295. eval ac_val=\$$ac_var
  20296. case $ac_val in #(
  20297. *${as_nl}*)
  20298. case $ac_var in #(
  20299. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  20300. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  20301. esac
  20302. case $ac_var in #(
  20303. _ | IFS | as_nl) ;; #(
  20304. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  20305. *) { eval $ac_var=; unset $ac_var;} ;;
  20306. esac ;;
  20307. esac
  20308. done
  20309. (set) 2>&1 |
  20310. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  20311. *${as_nl}ac_space=\ *)
  20312. # `set' does not quote correctly, so add quotes: double-quote
  20313. # substitution turns \\\\ into \\, and sed turns \\ into \.
  20314. sed -n \
  20315. "s/'/'\\\\''/g;
  20316. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  20317. ;; #(
  20318. *)
  20319. # `set' quotes correctly as required by POSIX, so do not add quotes.
  20320. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  20321. ;;
  20322. esac |
  20323. sort
  20324. ) |
  20325. sed '
  20326. /^ac_cv_env_/b end
  20327. t clear
  20328. :clear
  20329. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  20330. t end
  20331. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  20332. :end' >>confcache
  20333. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  20334. if test -w "$cache_file"; then
  20335. if test "x$cache_file" != "x/dev/null"; then
  20336. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  20337. $as_echo "$as_me: updating cache $cache_file" >&6;}
  20338. if test ! -f "$cache_file" || test -h "$cache_file"; then
  20339. cat confcache >"$cache_file"
  20340. else
  20341. case $cache_file in #(
  20342. */* | ?:*)
  20343. mv -f confcache "$cache_file"$$ &&
  20344. mv -f "$cache_file"$$ "$cache_file" ;; #(
  20345. *)
  20346. mv -f confcache "$cache_file" ;;
  20347. esac
  20348. fi
  20349. fi
  20350. else
  20351. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  20352. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  20353. fi
  20354. fi
  20355. rm -f confcache
  20356. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  20357. # Let make expand exec_prefix.
  20358. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  20359. DEFS=-DHAVE_CONFIG_H
  20360. ac_libobjs=
  20361. ac_ltlibobjs=
  20362. U=
  20363. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  20364. # 1. Remove the extension, and $U if already installed.
  20365. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  20366. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  20367. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  20368. # will be set to the directory where LIBOBJS objects are built.
  20369. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  20370. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  20371. done
  20372. LIBOBJS=$ac_libobjs
  20373. LTLIBOBJS=$ac_ltlibobjs
  20374. : "${CONFIG_STATUS=./config.status}"
  20375. ac_write_fail=0
  20376. ac_clean_files_save=$ac_clean_files
  20377. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  20378. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  20379. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  20380. as_write_fail=0
  20381. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  20382. #! $SHELL
  20383. # Generated by $as_me.
  20384. # Run this file to recreate the current configuration.
  20385. # Compiler output produced by configure, useful for debugging
  20386. # configure, is in config.log if it exists.
  20387. debug=false
  20388. ac_cs_recheck=false
  20389. ac_cs_silent=false
  20390. SHELL=\${CONFIG_SHELL-$SHELL}
  20391. export SHELL
  20392. _ASEOF
  20393. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  20394. ## -------------------- ##
  20395. ## M4sh Initialization. ##
  20396. ## -------------------- ##
  20397. # Be more Bourne compatible
  20398. DUALCASE=1; export DUALCASE # for MKS sh
  20399. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  20400. emulate sh
  20401. NULLCMD=:
  20402. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  20403. # is contrary to our usage. Disable this feature.
  20404. alias -g '${1+"$@"}'='"$@"'
  20405. setopt NO_GLOB_SUBST
  20406. else
  20407. case `(set -o) 2>/dev/null` in #(
  20408. *posix*) :
  20409. set -o posix ;; #(
  20410. *) :
  20411. ;;
  20412. esac
  20413. fi
  20414. as_nl='
  20415. '
  20416. export as_nl
  20417. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  20418. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  20419. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  20420. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  20421. # Prefer a ksh shell builtin over an external printf program on Solaris,
  20422. # but without wasting forks for bash or zsh.
  20423. if test -z "$BASH_VERSION$ZSH_VERSION" \
  20424. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  20425. as_echo='print -r --'
  20426. as_echo_n='print -rn --'
  20427. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  20428. as_echo='printf %s\n'
  20429. as_echo_n='printf %s'
  20430. else
  20431. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  20432. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  20433. as_echo_n='/usr/ucb/echo -n'
  20434. else
  20435. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  20436. as_echo_n_body='eval
  20437. arg=$1;
  20438. case $arg in #(
  20439. *"$as_nl"*)
  20440. expr "X$arg" : "X\\(.*\\)$as_nl";
  20441. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  20442. esac;
  20443. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  20444. '
  20445. export as_echo_n_body
  20446. as_echo_n='sh -c $as_echo_n_body as_echo'
  20447. fi
  20448. export as_echo_body
  20449. as_echo='sh -c $as_echo_body as_echo'
  20450. fi
  20451. # The user is always right.
  20452. if test "${PATH_SEPARATOR+set}" != set; then
  20453. PATH_SEPARATOR=:
  20454. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  20455. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  20456. PATH_SEPARATOR=';'
  20457. }
  20458. fi
  20459. # IFS
  20460. # We need space, tab and new line, in precisely that order. Quoting is
  20461. # there to prevent editors from complaining about space-tab.
  20462. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  20463. # splitting by setting IFS to empty value.)
  20464. IFS=" "" $as_nl"
  20465. # Find who we are. Look in the path if we contain no directory separator.
  20466. as_myself=
  20467. case $0 in #((
  20468. *[\\/]* ) as_myself=$0 ;;
  20469. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  20470. for as_dir in $PATH
  20471. do
  20472. IFS=$as_save_IFS
  20473. test -z "$as_dir" && as_dir=.
  20474. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  20475. done
  20476. IFS=$as_save_IFS
  20477. ;;
  20478. esac
  20479. # We did not find ourselves, most probably we were run as `sh COMMAND'
  20480. # in which case we are not to be found in the path.
  20481. if test "x$as_myself" = x; then
  20482. as_myself=$0
  20483. fi
  20484. if test ! -f "$as_myself"; then
  20485. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  20486. exit 1
  20487. fi
  20488. # Unset variables that we do not need and which cause bugs (e.g. in
  20489. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  20490. # suppresses any "Segmentation fault" message there. '((' could
  20491. # trigger a bug in pdksh 5.2.14.
  20492. for as_var in BASH_ENV ENV MAIL MAILPATH
  20493. do eval test x\${$as_var+set} = xset \
  20494. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  20495. done
  20496. PS1='$ '
  20497. PS2='> '
  20498. PS4='+ '
  20499. # NLS nuisances.
  20500. LC_ALL=C
  20501. export LC_ALL
  20502. LANGUAGE=C
  20503. export LANGUAGE
  20504. # CDPATH.
  20505. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  20506. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  20507. # ----------------------------------------
  20508. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  20509. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  20510. # script with STATUS, using 1 if that was 0.
  20511. as_fn_error ()
  20512. {
  20513. as_status=$1; test $as_status -eq 0 && as_status=1
  20514. if test "$4"; then
  20515. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  20516. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  20517. fi
  20518. $as_echo "$as_me: error: $2" >&2
  20519. as_fn_exit $as_status
  20520. } # as_fn_error
  20521. # as_fn_set_status STATUS
  20522. # -----------------------
  20523. # Set $? to STATUS, without forking.
  20524. as_fn_set_status ()
  20525. {
  20526. return $1
  20527. } # as_fn_set_status
  20528. # as_fn_exit STATUS
  20529. # -----------------
  20530. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  20531. as_fn_exit ()
  20532. {
  20533. set +e
  20534. as_fn_set_status $1
  20535. exit $1
  20536. } # as_fn_exit
  20537. # as_fn_unset VAR
  20538. # ---------------
  20539. # Portably unset VAR.
  20540. as_fn_unset ()
  20541. {
  20542. { eval $1=; unset $1;}
  20543. }
  20544. as_unset=as_fn_unset
  20545. # as_fn_append VAR VALUE
  20546. # ----------------------
  20547. # Append the text in VALUE to the end of the definition contained in VAR. Take
  20548. # advantage of any shell optimizations that allow amortized linear growth over
  20549. # repeated appends, instead of the typical quadratic growth present in naive
  20550. # implementations.
  20551. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  20552. eval 'as_fn_append ()
  20553. {
  20554. eval $1+=\$2
  20555. }'
  20556. else
  20557. as_fn_append ()
  20558. {
  20559. eval $1=\$$1\$2
  20560. }
  20561. fi # as_fn_append
  20562. # as_fn_arith ARG...
  20563. # ------------------
  20564. # Perform arithmetic evaluation on the ARGs, and store the result in the
  20565. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  20566. # must be portable across $(()) and expr.
  20567. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  20568. eval 'as_fn_arith ()
  20569. {
  20570. as_val=$(( $* ))
  20571. }'
  20572. else
  20573. as_fn_arith ()
  20574. {
  20575. as_val=`expr "$@" || test $? -eq 1`
  20576. }
  20577. fi # as_fn_arith
  20578. if expr a : '\(a\)' >/dev/null 2>&1 &&
  20579. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  20580. as_expr=expr
  20581. else
  20582. as_expr=false
  20583. fi
  20584. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  20585. as_basename=basename
  20586. else
  20587. as_basename=false
  20588. fi
  20589. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  20590. as_dirname=dirname
  20591. else
  20592. as_dirname=false
  20593. fi
  20594. as_me=`$as_basename -- "$0" ||
  20595. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  20596. X"$0" : 'X\(//\)$' \| \
  20597. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  20598. $as_echo X/"$0" |
  20599. sed '/^.*\/\([^/][^/]*\)\/*$/{
  20600. s//\1/
  20601. q
  20602. }
  20603. /^X\/\(\/\/\)$/{
  20604. s//\1/
  20605. q
  20606. }
  20607. /^X\/\(\/\).*/{
  20608. s//\1/
  20609. q
  20610. }
  20611. s/.*/./; q'`
  20612. # Avoid depending upon Character Ranges.
  20613. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  20614. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  20615. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  20616. as_cr_digits='0123456789'
  20617. as_cr_alnum=$as_cr_Letters$as_cr_digits
  20618. ECHO_C= ECHO_N= ECHO_T=
  20619. case `echo -n x` in #(((((
  20620. -n*)
  20621. case `echo 'xy\c'` in
  20622. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  20623. xy) ECHO_C='\c';;
  20624. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  20625. ECHO_T=' ';;
  20626. esac;;
  20627. *)
  20628. ECHO_N='-n';;
  20629. esac
  20630. rm -f conf$$ conf$$.exe conf$$.file
  20631. if test -d conf$$.dir; then
  20632. rm -f conf$$.dir/conf$$.file
  20633. else
  20634. rm -f conf$$.dir
  20635. mkdir conf$$.dir 2>/dev/null
  20636. fi
  20637. if (echo >conf$$.file) 2>/dev/null; then
  20638. if ln -s conf$$.file conf$$ 2>/dev/null; then
  20639. as_ln_s='ln -s'
  20640. # ... but there are two gotchas:
  20641. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  20642. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  20643. # In both cases, we have to default to `cp -pR'.
  20644. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  20645. as_ln_s='cp -pR'
  20646. elif ln conf$$.file conf$$ 2>/dev/null; then
  20647. as_ln_s=ln
  20648. else
  20649. as_ln_s='cp -pR'
  20650. fi
  20651. else
  20652. as_ln_s='cp -pR'
  20653. fi
  20654. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  20655. rmdir conf$$.dir 2>/dev/null
  20656. # as_fn_mkdir_p
  20657. # -------------
  20658. # Create "$as_dir" as a directory, including parents if necessary.
  20659. as_fn_mkdir_p ()
  20660. {
  20661. case $as_dir in #(
  20662. -*) as_dir=./$as_dir;;
  20663. esac
  20664. test -d "$as_dir" || eval $as_mkdir_p || {
  20665. as_dirs=
  20666. while :; do
  20667. case $as_dir in #(
  20668. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  20669. *) as_qdir=$as_dir;;
  20670. esac
  20671. as_dirs="'$as_qdir' $as_dirs"
  20672. as_dir=`$as_dirname -- "$as_dir" ||
  20673. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20674. X"$as_dir" : 'X\(//\)[^/]' \| \
  20675. X"$as_dir" : 'X\(//\)$' \| \
  20676. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  20677. $as_echo X"$as_dir" |
  20678. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20679. s//\1/
  20680. q
  20681. }
  20682. /^X\(\/\/\)[^/].*/{
  20683. s//\1/
  20684. q
  20685. }
  20686. /^X\(\/\/\)$/{
  20687. s//\1/
  20688. q
  20689. }
  20690. /^X\(\/\).*/{
  20691. s//\1/
  20692. q
  20693. }
  20694. s/.*/./; q'`
  20695. test -d "$as_dir" && break
  20696. done
  20697. test -z "$as_dirs" || eval "mkdir $as_dirs"
  20698. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  20699. } # as_fn_mkdir_p
  20700. if mkdir -p . 2>/dev/null; then
  20701. as_mkdir_p='mkdir -p "$as_dir"'
  20702. else
  20703. test -d ./-p && rmdir ./-p
  20704. as_mkdir_p=false
  20705. fi
  20706. # as_fn_executable_p FILE
  20707. # -----------------------
  20708. # Test if FILE is an executable regular file.
  20709. as_fn_executable_p ()
  20710. {
  20711. test -f "$1" && test -x "$1"
  20712. } # as_fn_executable_p
  20713. as_test_x='test -x'
  20714. as_executable_p=as_fn_executable_p
  20715. # Sed expression to map a string onto a valid CPP name.
  20716. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  20717. # Sed expression to map a string onto a valid variable name.
  20718. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  20719. exec 6>&1
  20720. ## ----------------------------------- ##
  20721. ## Main body of $CONFIG_STATUS script. ##
  20722. ## ----------------------------------- ##
  20723. _ASEOF
  20724. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  20725. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20726. # Save the log message, to keep $0 and so on meaningful, and to
  20727. # report actual input values of CONFIG_FILES etc. instead of their
  20728. # values after options handling.
  20729. ac_log="
  20730. This file was extended by Wine $as_me 5.5, which was
  20731. generated by GNU Autoconf 2.69. Invocation command line was
  20732. CONFIG_FILES = $CONFIG_FILES
  20733. CONFIG_HEADERS = $CONFIG_HEADERS
  20734. CONFIG_LINKS = $CONFIG_LINKS
  20735. CONFIG_COMMANDS = $CONFIG_COMMANDS
  20736. $ $0 $@
  20737. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  20738. "
  20739. _ACEOF
  20740. case $ac_config_files in *"
  20741. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  20742. esac
  20743. case $ac_config_headers in *"
  20744. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  20745. esac
  20746. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20747. # Files that config.status was made for.
  20748. config_files="$ac_config_files"
  20749. config_headers="$ac_config_headers"
  20750. config_links="$ac_config_links"
  20751. config_commands="$ac_config_commands"
  20752. _ACEOF
  20753. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20754. ac_cs_usage="\
  20755. \`$as_me' instantiates files and other configuration actions
  20756. from templates according to the current configuration. Unless the files
  20757. and actions are specified as TAGs, all are instantiated by default.
  20758. Usage: $0 [OPTION]... [TAG]...
  20759. -h, --help print this help, then exit
  20760. -V, --version print version number and configuration settings, then exit
  20761. --config print configuration, then exit
  20762. -q, --quiet, --silent
  20763. do not print progress messages
  20764. -d, --debug don't remove temporary files
  20765. --recheck update $as_me by reconfiguring in the same conditions
  20766. --file=FILE[:TEMPLATE]
  20767. instantiate the configuration file FILE
  20768. --header=FILE[:TEMPLATE]
  20769. instantiate the configuration header FILE
  20770. Configuration files:
  20771. $config_files
  20772. Configuration headers:
  20773. $config_headers
  20774. Configuration links:
  20775. $config_links
  20776. Configuration commands:
  20777. $config_commands
  20778. Report bugs to <wine-devel@winehq.org>.
  20779. Wine home page: <https://www.winehq.org>."
  20780. _ACEOF
  20781. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20782. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  20783. ac_cs_version="\\
  20784. Wine config.status 5.5
  20785. configured by $0, generated by GNU Autoconf 2.69,
  20786. with options \\"\$ac_cs_config\\"
  20787. Copyright (C) 2012 Free Software Foundation, Inc.
  20788. This config.status script is free software; the Free Software Foundation
  20789. gives unlimited permission to copy, distribute and modify it."
  20790. ac_pwd='$ac_pwd'
  20791. srcdir='$srcdir'
  20792. test -n "\$AWK" || AWK=awk
  20793. _ACEOF
  20794. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20795. # The default lists apply if the user does not specify any file.
  20796. ac_need_defaults=:
  20797. while test $# != 0
  20798. do
  20799. case $1 in
  20800. --*=?*)
  20801. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  20802. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  20803. ac_shift=:
  20804. ;;
  20805. --*=)
  20806. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  20807. ac_optarg=
  20808. ac_shift=:
  20809. ;;
  20810. *)
  20811. ac_option=$1
  20812. ac_optarg=$2
  20813. ac_shift=shift
  20814. ;;
  20815. esac
  20816. case $ac_option in
  20817. # Handling of the options.
  20818. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  20819. ac_cs_recheck=: ;;
  20820. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  20821. $as_echo "$ac_cs_version"; exit ;;
  20822. --config | --confi | --conf | --con | --co | --c )
  20823. $as_echo "$ac_cs_config"; exit ;;
  20824. --debug | --debu | --deb | --de | --d | -d )
  20825. debug=: ;;
  20826. --file | --fil | --fi | --f )
  20827. $ac_shift
  20828. case $ac_optarg in
  20829. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  20830. '') as_fn_error $? "missing file argument" ;;
  20831. esac
  20832. as_fn_append CONFIG_FILES " '$ac_optarg'"
  20833. ac_need_defaults=false;;
  20834. --header | --heade | --head | --hea )
  20835. $ac_shift
  20836. case $ac_optarg in
  20837. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  20838. esac
  20839. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  20840. ac_need_defaults=false;;
  20841. --he | --h)
  20842. # Conflict between --help and --header
  20843. as_fn_error $? "ambiguous option: \`$1'
  20844. Try \`$0 --help' for more information.";;
  20845. --help | --hel | -h )
  20846. $as_echo "$ac_cs_usage"; exit ;;
  20847. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  20848. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  20849. ac_cs_silent=: ;;
  20850. # This is an error.
  20851. -*) as_fn_error $? "unrecognized option: \`$1'
  20852. Try \`$0 --help' for more information." ;;
  20853. *) as_fn_append ac_config_targets " $1"
  20854. ac_need_defaults=false ;;
  20855. esac
  20856. shift
  20857. done
  20858. ac_configure_extra_args=
  20859. if $ac_cs_silent; then
  20860. exec 6>/dev/null
  20861. ac_configure_extra_args="$ac_configure_extra_args --silent"
  20862. fi
  20863. _ACEOF
  20864. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20865. if \$ac_cs_recheck; then
  20866. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  20867. shift
  20868. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  20869. CONFIG_SHELL='$SHELL'
  20870. export CONFIG_SHELL
  20871. exec "\$@"
  20872. fi
  20873. _ACEOF
  20874. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20875. exec 5>>config.log
  20876. {
  20877. echo
  20878. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  20879. ## Running $as_me. ##
  20880. _ASBOX
  20881. $as_echo "$ac_log"
  20882. } >&5
  20883. _ACEOF
  20884. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20885. #
  20886. # INIT-COMMANDS
  20887. #
  20888. wine_fn_output_makedep ()
  20889. {
  20890. as_dir=tools; as_fn_mkdir_p
  20891. $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
  20892. }
  20893. wine_fn_output_makefile ()
  20894. {
  20895. cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
  20896. `cat $wine_rules_file`
  20897. _WINE_EOF
  20898. as_fn_error $? "could not create Makefile" "$LINENO" 5
  20899. }
  20900. _ACEOF
  20901. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20902. # Handling of arguments.
  20903. for ac_config_target in $ac_config_targets
  20904. do
  20905. case $ac_config_target in
  20906. "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
  20907. "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
  20908. "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
  20909. "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
  20910. "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
  20911. "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
  20912. "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
  20913. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  20914. esac
  20915. done
  20916. # If the user did not use the arguments to specify the items to instantiate,
  20917. # then the envvar interface is used. Set only those that are not.
  20918. # We use the long form for the default assignment because of an extremely
  20919. # bizarre bug on SunOS 4.1.3.
  20920. if $ac_need_defaults; then
  20921. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  20922. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  20923. test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
  20924. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  20925. fi
  20926. # Have a temporary directory for convenience. Make it in the build tree
  20927. # simply because there is no reason against having it here, and in addition,
  20928. # creating and moving files from /tmp can sometimes cause problems.
  20929. # Hook for its removal unless debugging.
  20930. # Note that there is a small window in which the directory will not be cleaned:
  20931. # after its creation but before its name has been assigned to `$tmp'.
  20932. $debug ||
  20933. {
  20934. tmp= ac_tmp=
  20935. trap 'exit_status=$?
  20936. : "${ac_tmp:=$tmp}"
  20937. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  20938. ' 0
  20939. trap 'as_fn_exit 1' 1 2 13 15
  20940. }
  20941. # Create a (secure) tmp directory for tmp files.
  20942. {
  20943. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  20944. test -d "$tmp"
  20945. } ||
  20946. {
  20947. tmp=./conf$$-$RANDOM
  20948. (umask 077 && mkdir "$tmp")
  20949. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  20950. ac_tmp=$tmp
  20951. # Set up the scripts for CONFIG_FILES section.
  20952. # No need to generate them if there are no CONFIG_FILES.
  20953. # This happens for instance with `./config.status config.h'.
  20954. if test -n "$CONFIG_FILES"; then
  20955. ac_cr=`echo X | tr X '\015'`
  20956. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  20957. # But we know of no other shell where ac_cr would be empty at this
  20958. # point, so we can use a bashism as a fallback.
  20959. if test "x$ac_cr" = x; then
  20960. eval ac_cr=\$\'\\r\'
  20961. fi
  20962. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  20963. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  20964. ac_cs_awk_cr='\\r'
  20965. else
  20966. ac_cs_awk_cr=$ac_cr
  20967. fi
  20968. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  20969. _ACEOF
  20970. {
  20971. echo "cat >conf$$subs.awk <<_ACEOF" &&
  20972. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  20973. echo "_ACEOF"
  20974. } >conf$$subs.sh ||
  20975. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  20976. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  20977. ac_delim='%!_!# '
  20978. for ac_last_try in false false false false false :; do
  20979. . ./conf$$subs.sh ||
  20980. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  20981. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  20982. if test $ac_delim_n = $ac_delim_num; then
  20983. break
  20984. elif $ac_last_try; then
  20985. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  20986. else
  20987. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  20988. fi
  20989. done
  20990. rm -f conf$$subs.sh
  20991. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20992. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  20993. _ACEOF
  20994. sed -n '
  20995. h
  20996. s/^/S["/; s/!.*/"]=/
  20997. p
  20998. g
  20999. s/^[^!]*!//
  21000. :repl
  21001. t repl
  21002. s/'"$ac_delim"'$//
  21003. t delim
  21004. :nl
  21005. h
  21006. s/\(.\{148\}\)..*/\1/
  21007. t more1
  21008. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  21009. p
  21010. n
  21011. b repl
  21012. :more1
  21013. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  21014. p
  21015. g
  21016. s/.\{148\}//
  21017. t nl
  21018. :delim
  21019. h
  21020. s/\(.\{148\}\)..*/\1/
  21021. t more2
  21022. s/["\\]/\\&/g; s/^/"/; s/$/"/
  21023. p
  21024. b
  21025. :more2
  21026. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  21027. p
  21028. g
  21029. s/.\{148\}//
  21030. t delim
  21031. ' <conf$$subs.awk | sed '
  21032. /^[^""]/{
  21033. N
  21034. s/\n//
  21035. }
  21036. ' >>$CONFIG_STATUS || ac_write_fail=1
  21037. rm -f conf$$subs.awk
  21038. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  21039. _ACAWK
  21040. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  21041. for (key in S) S_is_set[key] = 1
  21042. FS = ""
  21043. }
  21044. {
  21045. line = $ 0
  21046. nfields = split(line, field, "@")
  21047. substed = 0
  21048. len = length(field[1])
  21049. for (i = 2; i < nfields; i++) {
  21050. key = field[i]
  21051. keylen = length(key)
  21052. if (S_is_set[key]) {
  21053. value = S[key]
  21054. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  21055. len += length(value) + length(field[++i])
  21056. substed = 1
  21057. } else
  21058. len += 1 + keylen
  21059. }
  21060. print line
  21061. }
  21062. _ACAWK
  21063. _ACEOF
  21064. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21065. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  21066. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  21067. else
  21068. cat
  21069. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  21070. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  21071. _ACEOF
  21072. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  21073. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  21074. # trailing colons and then remove the whole line if VPATH becomes empty
  21075. # (actually we leave an empty line to preserve line numbers).
  21076. if test "x$srcdir" = x.; then
  21077. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  21078. h
  21079. s///
  21080. s/^/:/
  21081. s/[ ]*$/:/
  21082. s/:\$(srcdir):/:/g
  21083. s/:\${srcdir}:/:/g
  21084. s/:@srcdir@:/:/g
  21085. s/^:*//
  21086. s/:*$//
  21087. x
  21088. s/\(=[ ]*\).*/\1/
  21089. G
  21090. s/\n//
  21091. s/^[^=]*=[ ]*$//
  21092. }'
  21093. fi
  21094. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21095. fi # test -n "$CONFIG_FILES"
  21096. # Set up the scripts for CONFIG_HEADERS section.
  21097. # No need to generate them if there are no CONFIG_HEADERS.
  21098. # This happens for instance with `./config.status Makefile'.
  21099. if test -n "$CONFIG_HEADERS"; then
  21100. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  21101. BEGIN {
  21102. _ACEOF
  21103. # Transform confdefs.h into an awk script `defines.awk', embedded as
  21104. # here-document in config.status, that substitutes the proper values into
  21105. # config.h.in to produce config.h.
  21106. # Create a delimiter string that does not exist in confdefs.h, to ease
  21107. # handling of long lines.
  21108. ac_delim='%!_!# '
  21109. for ac_last_try in false false :; do
  21110. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  21111. if test -z "$ac_tt"; then
  21112. break
  21113. elif $ac_last_try; then
  21114. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  21115. else
  21116. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  21117. fi
  21118. done
  21119. # For the awk script, D is an array of macro values keyed by name,
  21120. # likewise P contains macro parameters if any. Preserve backslash
  21121. # newline sequences.
  21122. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  21123. sed -n '
  21124. s/.\{148\}/&'"$ac_delim"'/g
  21125. t rset
  21126. :rset
  21127. s/^[ ]*#[ ]*define[ ][ ]*/ /
  21128. t def
  21129. d
  21130. :def
  21131. s/\\$//
  21132. t bsnl
  21133. s/["\\]/\\&/g
  21134. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  21135. D["\1"]=" \3"/p
  21136. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  21137. d
  21138. :bsnl
  21139. s/["\\]/\\&/g
  21140. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  21141. D["\1"]=" \3\\\\\\n"\\/p
  21142. t cont
  21143. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  21144. t cont
  21145. d
  21146. :cont
  21147. n
  21148. s/.\{148\}/&'"$ac_delim"'/g
  21149. t clear
  21150. :clear
  21151. s/\\$//
  21152. t bsnlc
  21153. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  21154. d
  21155. :bsnlc
  21156. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  21157. b cont
  21158. ' <confdefs.h | sed '
  21159. s/'"$ac_delim"'/"\\\
  21160. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  21161. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  21162. for (key in D) D_is_set[key] = 1
  21163. FS = ""
  21164. }
  21165. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  21166. line = \$ 0
  21167. split(line, arg, " ")
  21168. if (arg[1] == "#") {
  21169. defundef = arg[2]
  21170. mac1 = arg[3]
  21171. } else {
  21172. defundef = substr(arg[1], 2)
  21173. mac1 = arg[2]
  21174. }
  21175. split(mac1, mac2, "(") #)
  21176. macro = mac2[1]
  21177. prefix = substr(line, 1, index(line, defundef) - 1)
  21178. if (D_is_set[macro]) {
  21179. # Preserve the white space surrounding the "#".
  21180. print prefix "define", macro P[macro] D[macro]
  21181. next
  21182. } else {
  21183. # Replace #undef with comments. This is necessary, for example,
  21184. # in the case of _POSIX_SOURCE, which is predefined and required
  21185. # on some systems where configure will not decide to define it.
  21186. if (defundef == "undef") {
  21187. print "/*", prefix defundef, macro, "*/"
  21188. next
  21189. }
  21190. }
  21191. }
  21192. { print }
  21193. _ACAWK
  21194. _ACEOF
  21195. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21196. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  21197. fi # test -n "$CONFIG_HEADERS"
  21198. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
  21199. shift
  21200. for ac_tag
  21201. do
  21202. case $ac_tag in
  21203. :[FHLC]) ac_mode=$ac_tag; continue;;
  21204. esac
  21205. case $ac_mode$ac_tag in
  21206. :[FHL]*:*);;
  21207. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  21208. :[FH]-) ac_tag=-:-;;
  21209. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  21210. esac
  21211. ac_save_IFS=$IFS
  21212. IFS=:
  21213. set x $ac_tag
  21214. IFS=$ac_save_IFS
  21215. shift
  21216. ac_file=$1
  21217. shift
  21218. case $ac_mode in
  21219. :L) ac_source=$1;;
  21220. :[FH])
  21221. ac_file_inputs=
  21222. for ac_f
  21223. do
  21224. case $ac_f in
  21225. -) ac_f="$ac_tmp/stdin";;
  21226. *) # Look for the file first in the build tree, then in the source tree
  21227. # (if the path is not absolute). The absolute path cannot be DOS-style,
  21228. # because $ac_f cannot contain `:'.
  21229. test -f "$ac_f" ||
  21230. case $ac_f in
  21231. [\\/$]*) false;;
  21232. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  21233. esac ||
  21234. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  21235. esac
  21236. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  21237. as_fn_append ac_file_inputs " '$ac_f'"
  21238. done
  21239. # Let's still pretend it is `configure' which instantiates (i.e., don't
  21240. # use $as_me), people would be surprised to read:
  21241. # /* config.h. Generated by config.status. */
  21242. configure_input='Generated from '`
  21243. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  21244. `' by configure.'
  21245. if test x"$ac_file" != x-; then
  21246. configure_input="$ac_file. $configure_input"
  21247. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  21248. $as_echo "$as_me: creating $ac_file" >&6;}
  21249. fi
  21250. # Neutralize special characters interpreted by sed in replacement strings.
  21251. case $configure_input in #(
  21252. *\&* | *\|* | *\\* )
  21253. ac_sed_conf_input=`$as_echo "$configure_input" |
  21254. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  21255. *) ac_sed_conf_input=$configure_input;;
  21256. esac
  21257. case $ac_tag in
  21258. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  21259. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  21260. esac
  21261. ;;
  21262. esac
  21263. ac_dir=`$as_dirname -- "$ac_file" ||
  21264. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  21265. X"$ac_file" : 'X\(//\)[^/]' \| \
  21266. X"$ac_file" : 'X\(//\)$' \| \
  21267. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  21268. $as_echo X"$ac_file" |
  21269. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  21270. s//\1/
  21271. q
  21272. }
  21273. /^X\(\/\/\)[^/].*/{
  21274. s//\1/
  21275. q
  21276. }
  21277. /^X\(\/\/\)$/{
  21278. s//\1/
  21279. q
  21280. }
  21281. /^X\(\/\).*/{
  21282. s//\1/
  21283. q
  21284. }
  21285. s/.*/./; q'`
  21286. as_dir="$ac_dir"; as_fn_mkdir_p
  21287. ac_builddir=.
  21288. case "$ac_dir" in
  21289. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  21290. *)
  21291. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  21292. # A ".." for each directory in $ac_dir_suffix.
  21293. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  21294. case $ac_top_builddir_sub in
  21295. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  21296. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  21297. esac ;;
  21298. esac
  21299. ac_abs_top_builddir=$ac_pwd
  21300. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  21301. # for backward compatibility:
  21302. ac_top_builddir=$ac_top_build_prefix
  21303. case $srcdir in
  21304. .) # We are building in place.
  21305. ac_srcdir=.
  21306. ac_top_srcdir=$ac_top_builddir_sub
  21307. ac_abs_top_srcdir=$ac_pwd ;;
  21308. [\\/]* | ?:[\\/]* ) # Absolute name.
  21309. ac_srcdir=$srcdir$ac_dir_suffix;
  21310. ac_top_srcdir=$srcdir
  21311. ac_abs_top_srcdir=$srcdir ;;
  21312. *) # Relative name.
  21313. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  21314. ac_top_srcdir=$ac_top_build_prefix$srcdir
  21315. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  21316. esac
  21317. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  21318. case $ac_mode in
  21319. :F)
  21320. #
  21321. # CONFIG_FILE
  21322. #
  21323. _ACEOF
  21324. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21325. # If the template does not know about datarootdir, expand it.
  21326. # FIXME: This hack should be removed a few years after 2.60.
  21327. ac_datarootdir_hack=; ac_datarootdir_seen=
  21328. ac_sed_dataroot='
  21329. /datarootdir/ {
  21330. p
  21331. q
  21332. }
  21333. /@datadir@/p
  21334. /@docdir@/p
  21335. /@infodir@/p
  21336. /@localedir@/p
  21337. /@mandir@/p'
  21338. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  21339. *datarootdir*) ac_datarootdir_seen=yes;;
  21340. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  21341. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  21342. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  21343. _ACEOF
  21344. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  21345. ac_datarootdir_hack='
  21346. s&@datadir@&$datadir&g
  21347. s&@docdir@&$docdir&g
  21348. s&@infodir@&$infodir&g
  21349. s&@localedir@&$localedir&g
  21350. s&@mandir@&$mandir&g
  21351. s&\\\${datarootdir}&$datarootdir&g' ;;
  21352. esac
  21353. _ACEOF
  21354. # Neutralize VPATH when `$srcdir' = `.'.
  21355. # Shell code in configure.ac might set extrasub.
  21356. # FIXME: do we really want to maintain this feature?
  21357. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  21358. ac_sed_extra="$ac_vpsub
  21359. $extrasub
  21360. _ACEOF
  21361. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  21362. :t
  21363. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  21364. s|@configure_input@|$ac_sed_conf_input|;t t
  21365. s&@top_builddir@&$ac_top_builddir_sub&;t t
  21366. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  21367. s&@srcdir@&$ac_srcdir&;t t
  21368. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  21369. s&@top_srcdir@&$ac_top_srcdir&;t t
  21370. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  21371. s&@builddir@&$ac_builddir&;t t
  21372. s&@abs_builddir@&$ac_abs_builddir&;t t
  21373. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  21374. $ac_datarootdir_hack
  21375. "
  21376. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  21377. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  21378. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  21379. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  21380. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  21381. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  21382. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  21383. which seems to be undefined. Please make sure it is defined" >&5
  21384. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  21385. which seems to be undefined. Please make sure it is defined" >&2;}
  21386. rm -f "$ac_tmp/stdin"
  21387. case $ac_file in
  21388. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  21389. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  21390. esac \
  21391. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  21392. ;;
  21393. :H)
  21394. #
  21395. # CONFIG_HEADER
  21396. #
  21397. if test x"$ac_file" != x-; then
  21398. {
  21399. $as_echo "/* $configure_input */" \
  21400. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  21401. } >"$ac_tmp/config.h" \
  21402. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  21403. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  21404. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  21405. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  21406. else
  21407. rm -f "$ac_file"
  21408. mv "$ac_tmp/config.h" "$ac_file" \
  21409. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  21410. fi
  21411. else
  21412. $as_echo "/* $configure_input */" \
  21413. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  21414. || as_fn_error $? "could not create -" "$LINENO" 5
  21415. fi
  21416. ;;
  21417. :L)
  21418. #
  21419. # CONFIG_LINK
  21420. #
  21421. if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
  21422. :
  21423. else
  21424. # Prefer the file from the source tree if names are identical.
  21425. if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
  21426. ac_source=$srcdir/$ac_source
  21427. fi
  21428. { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
  21429. $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
  21430. if test ! -r "$ac_source"; then
  21431. as_fn_error $? "$ac_source: file not found" "$LINENO" 5
  21432. fi
  21433. rm -f "$ac_file"
  21434. # Try a relative symlink, then a hard link, then a copy.
  21435. case $ac_source in
  21436. [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
  21437. *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
  21438. esac
  21439. ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
  21440. ln "$ac_source" "$ac_file" 2>/dev/null ||
  21441. cp -p "$ac_source" "$ac_file" ||
  21442. as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
  21443. fi
  21444. ;;
  21445. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  21446. $as_echo "$as_me: executing $ac_file commands" >&6;}
  21447. ;;
  21448. esac
  21449. case $ac_file$ac_mode in
  21450. "include/stamp-h":C) echo timestamp > include/stamp-h ;;
  21451. "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
  21452. "Makefile":C) wine_fn_output_makefile Makefile ;;
  21453. esac
  21454. done # for ac_tag
  21455. as_fn_exit 0
  21456. _ACEOF
  21457. ac_clean_files=$ac_clean_files_save
  21458. test $ac_write_fail = 0 ||
  21459. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  21460. # configure is writing to config.log, and then calls config.status.
  21461. # config.status does its own redirection, appending to config.log.
  21462. # Unfortunately, on DOS this fails, as config.log is still kept open
  21463. # by configure, so config.status won't be able to write to it; its
  21464. # output is simply discarded. So we exec the FD to /dev/null,
  21465. # effectively closing config.log, so it can be properly (re)opened and
  21466. # appended to by config.status. When coming back to configure, we
  21467. # need to make the FD available again.
  21468. if test "$no_create" != yes; then
  21469. ac_cs_success=:
  21470. ac_config_status_args=
  21471. test "$silent" = yes &&
  21472. ac_config_status_args="$ac_config_status_args --quiet"
  21473. exec 5>/dev/null
  21474. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  21475. exec 5>>config.log
  21476. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  21477. # would make configure fail if this is the last instruction.
  21478. $ac_cs_success || as_fn_exit 1
  21479. fi
  21480. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  21481. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  21482. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  21483. fi
  21484. if test "$no_create" = "yes"
  21485. then
  21486. exit 0
  21487. fi
  21488. ac_save_IFS="$IFS"
  21489. if test "x$wine_notices" != x; then
  21490. echo >&6
  21491. IFS="|"
  21492. for msg in $wine_notices; do
  21493. IFS="$ac_save_IFS"
  21494. if ${msg:+false} :; then :
  21495. else
  21496. { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
  21497. $as_echo "$as_me: $msg" >&6;}
  21498. fi
  21499. done
  21500. fi
  21501. IFS="|"
  21502. for msg in $wine_warnings; do
  21503. IFS="$ac_save_IFS"
  21504. if ${msg:+false} :; then :
  21505. else
  21506. echo >&2
  21507. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
  21508. $as_echo "$as_me: WARNING: $msg" >&2;}
  21509. fi
  21510. done
  21511. IFS="$ac_save_IFS"
  21512. $as_echo "
  21513. $as_me: Finished. Do '${ac_make}' to compile Wine.
  21514. " >&6