configure 712 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597159815991600160116021603160416051606160716081609161016111612161316141615161616171618161916201621162216231624162516261627162816291630163116321633163416351636163716381639164016411642164316441645164616471648164916501651165216531654165516561657165816591660166116621663166416651666166716681669167016711672167316741675167616771678167916801681168216831684168516861687168816891690169116921693169416951696169716981699170017011702170317041705170617071708170917101711171217131714171517161717171817191720172117221723172417251726172717281729173017311732173317341735173617371738173917401741174217431744174517461747174817491750175117521753175417551756175717581759176017611762176317641765176617671768176917701771177217731774177517761777177817791780178117821783178417851786178717881789179017911792179317941795179617971798179918001801180218031804180518061807180818091810181118121813181418151816181718181819182018211822182318241825182618271828182918301831183218331834183518361837183818391840184118421843184418451846184718481849185018511852185318541855185618571858185918601861186218631864186518661867186818691870187118721873187418751876187718781879188018811882188318841885188618871888188918901891189218931894189518961897189818991900190119021903190419051906190719081909191019111912191319141915191619171918191919201921192219231924192519261927192819291930193119321933193419351936193719381939194019411942194319441945194619471948194919501951195219531954195519561957195819591960196119621963196419651966196719681969197019711972197319741975197619771978197919801981198219831984198519861987198819891990199119921993199419951996199719981999200020012002200320042005200620072008200920102011201220132014201520162017201820192020202120222023202420252026202720282029203020312032203320342035203620372038203920402041204220432044204520462047204820492050205120522053205420552056205720582059206020612062206320642065206620672068206920702071207220732074207520762077207820792080208120822083208420852086208720882089209020912092209320942095209620972098209921002101210221032104210521062107210821092110211121122113211421152116211721182119212021212122212321242125212621272128212921302131213221332134213521362137213821392140214121422143214421452146214721482149215021512152215321542155215621572158215921602161216221632164216521662167216821692170217121722173217421752176217721782179218021812182218321842185218621872188218921902191219221932194219521962197219821992200220122022203220422052206220722082209221022112212221322142215221622172218221922202221222222232224222522262227222822292230223122322233223422352236223722382239224022412242224322442245224622472248224922502251225222532254225522562257225822592260226122622263226422652266226722682269227022712272227322742275227622772278227922802281228222832284228522862287228822892290229122922293229422952296229722982299230023012302230323042305230623072308230923102311231223132314231523162317231823192320232123222323232423252326232723282329233023312332233323342335233623372338233923402341234223432344234523462347234823492350235123522353235423552356235723582359236023612362236323642365236623672368236923702371237223732374237523762377237823792380238123822383238423852386238723882389239023912392239323942395239623972398239924002401240224032404240524062407240824092410241124122413241424152416241724182419242024212422242324242425242624272428242924302431243224332434243524362437243824392440244124422443244424452446244724482449245024512452245324542455245624572458245924602461246224632464246524662467246824692470247124722473247424752476247724782479248024812482248324842485248624872488248924902491249224932494249524962497249824992500250125022503250425052506250725082509251025112512251325142515251625172518251925202521252225232524252525262527252825292530253125322533253425352536253725382539254025412542254325442545254625472548254925502551255225532554255525562557255825592560256125622563256425652566256725682569257025712572257325742575257625772578257925802581258225832584258525862587258825892590259125922593259425952596259725982599260026012602260326042605260626072608260926102611261226132614261526162617261826192620262126222623262426252626262726282629263026312632263326342635263626372638263926402641264226432644264526462647264826492650265126522653265426552656265726582659266026612662266326642665266626672668266926702671267226732674267526762677267826792680268126822683268426852686268726882689269026912692269326942695269626972698269927002701270227032704270527062707270827092710271127122713271427152716271727182719272027212722272327242725272627272728272927302731273227332734273527362737273827392740274127422743274427452746274727482749275027512752275327542755275627572758275927602761276227632764276527662767276827692770277127722773277427752776277727782779278027812782278327842785278627872788278927902791279227932794279527962797279827992800280128022803280428052806280728082809281028112812281328142815281628172818281928202821282228232824282528262827282828292830283128322833283428352836283728382839284028412842284328442845284628472848284928502851285228532854285528562857285828592860286128622863286428652866286728682869287028712872287328742875287628772878287928802881288228832884288528862887288828892890289128922893289428952896289728982899290029012902290329042905290629072908290929102911291229132914291529162917291829192920292129222923292429252926292729282929293029312932293329342935293629372938293929402941294229432944294529462947294829492950295129522953295429552956295729582959296029612962296329642965296629672968296929702971297229732974297529762977297829792980298129822983298429852986298729882989299029912992299329942995299629972998299930003001300230033004300530063007300830093010301130123013301430153016301730183019302030213022302330243025302630273028302930303031303230333034303530363037303830393040304130423043304430453046304730483049305030513052305330543055305630573058305930603061306230633064306530663067306830693070307130723073307430753076307730783079308030813082308330843085308630873088308930903091309230933094309530963097309830993100310131023103310431053106310731083109311031113112311331143115311631173118311931203121312231233124312531263127312831293130313131323133313431353136313731383139314031413142314331443145314631473148314931503151315231533154315531563157315831593160316131623163316431653166316731683169317031713172317331743175317631773178317931803181318231833184318531863187318831893190319131923193319431953196319731983199320032013202320332043205320632073208320932103211321232133214321532163217321832193220322132223223322432253226322732283229323032313232323332343235323632373238323932403241324232433244324532463247324832493250325132523253325432553256325732583259326032613262326332643265326632673268326932703271327232733274327532763277327832793280328132823283328432853286328732883289329032913292329332943295329632973298329933003301330233033304330533063307330833093310331133123313331433153316331733183319332033213322332333243325332633273328332933303331333233333334333533363337333833393340334133423343334433453346334733483349335033513352335333543355335633573358335933603361336233633364336533663367336833693370337133723373337433753376337733783379338033813382338333843385338633873388338933903391339233933394339533963397339833993400340134023403340434053406340734083409341034113412341334143415341634173418341934203421342234233424342534263427342834293430343134323433343434353436343734383439344034413442344334443445344634473448344934503451345234533454345534563457345834593460346134623463346434653466346734683469347034713472347334743475347634773478347934803481348234833484348534863487348834893490349134923493349434953496349734983499350035013502350335043505350635073508350935103511351235133514351535163517351835193520352135223523352435253526352735283529353035313532353335343535353635373538353935403541354235433544354535463547354835493550355135523553355435553556355735583559356035613562356335643565356635673568356935703571357235733574357535763577357835793580358135823583358435853586358735883589359035913592359335943595359635973598359936003601360236033604360536063607360836093610361136123613361436153616361736183619362036213622362336243625362636273628362936303631363236333634363536363637363836393640364136423643364436453646364736483649365036513652365336543655365636573658365936603661366236633664366536663667366836693670367136723673367436753676367736783679368036813682368336843685368636873688368936903691369236933694369536963697369836993700370137023703370437053706370737083709371037113712371337143715371637173718371937203721372237233724372537263727372837293730373137323733373437353736373737383739374037413742374337443745374637473748374937503751375237533754375537563757375837593760376137623763376437653766376737683769377037713772377337743775377637773778377937803781378237833784378537863787378837893790379137923793379437953796379737983799380038013802380338043805380638073808380938103811381238133814381538163817381838193820382138223823382438253826382738283829383038313832383338343835383638373838383938403841384238433844384538463847384838493850385138523853385438553856385738583859386038613862386338643865386638673868386938703871387238733874387538763877387838793880388138823883388438853886388738883889389038913892389338943895389638973898389939003901390239033904390539063907390839093910391139123913391439153916391739183919392039213922392339243925392639273928392939303931393239333934393539363937393839393940394139423943394439453946394739483949395039513952395339543955395639573958395939603961396239633964396539663967396839693970397139723973397439753976397739783979398039813982398339843985398639873988398939903991399239933994399539963997399839994000400140024003400440054006400740084009401040114012401340144015401640174018401940204021402240234024402540264027402840294030403140324033403440354036403740384039404040414042404340444045404640474048404940504051405240534054405540564057405840594060406140624063406440654066406740684069407040714072407340744075407640774078407940804081408240834084408540864087408840894090409140924093409440954096409740984099410041014102410341044105410641074108410941104111411241134114411541164117411841194120412141224123412441254126412741284129413041314132413341344135413641374138413941404141414241434144414541464147414841494150415141524153415441554156415741584159416041614162416341644165416641674168416941704171417241734174417541764177417841794180418141824183418441854186418741884189419041914192419341944195419641974198419942004201420242034204420542064207420842094210421142124213421442154216421742184219422042214222422342244225422642274228422942304231423242334234423542364237423842394240424142424243424442454246424742484249425042514252425342544255425642574258425942604261426242634264426542664267426842694270427142724273427442754276427742784279428042814282428342844285428642874288428942904291429242934294429542964297429842994300430143024303430443054306430743084309431043114312431343144315431643174318431943204321432243234324432543264327432843294330433143324333433443354336433743384339434043414342434343444345434643474348434943504351435243534354435543564357435843594360436143624363436443654366436743684369437043714372437343744375437643774378437943804381438243834384438543864387438843894390439143924393439443954396439743984399440044014402440344044405440644074408440944104411441244134414441544164417441844194420442144224423442444254426442744284429443044314432443344344435443644374438443944404441444244434444444544464447444844494450445144524453445444554456445744584459446044614462446344644465446644674468446944704471447244734474447544764477447844794480448144824483448444854486448744884489449044914492449344944495449644974498449945004501450245034504450545064507450845094510451145124513451445154516451745184519452045214522452345244525452645274528452945304531453245334534453545364537453845394540454145424543454445454546454745484549455045514552455345544555455645574558455945604561456245634564456545664567456845694570457145724573457445754576457745784579458045814582458345844585458645874588458945904591459245934594459545964597459845994600460146024603460446054606460746084609461046114612461346144615461646174618461946204621462246234624462546264627462846294630463146324633463446354636463746384639464046414642464346444645464646474648464946504651465246534654465546564657465846594660466146624663466446654666466746684669467046714672467346744675467646774678467946804681468246834684468546864687468846894690469146924693469446954696469746984699470047014702470347044705470647074708470947104711471247134714471547164717471847194720472147224723472447254726472747284729473047314732473347344735473647374738473947404741474247434744474547464747474847494750475147524753475447554756475747584759476047614762476347644765476647674768476947704771477247734774477547764777477847794780478147824783478447854786478747884789479047914792479347944795479647974798479948004801480248034804480548064807480848094810481148124813481448154816481748184819482048214822482348244825482648274828482948304831483248334834483548364837483848394840484148424843484448454846484748484849485048514852485348544855485648574858485948604861486248634864486548664867486848694870487148724873487448754876487748784879488048814882488348844885488648874888488948904891489248934894489548964897489848994900490149024903490449054906490749084909491049114912491349144915491649174918491949204921492249234924492549264927492849294930493149324933493449354936493749384939494049414942494349444945494649474948494949504951495249534954495549564957495849594960496149624963496449654966496749684969497049714972497349744975497649774978497949804981498249834984498549864987498849894990499149924993499449954996499749984999500050015002500350045005500650075008500950105011501250135014501550165017501850195020502150225023502450255026502750285029503050315032503350345035503650375038503950405041504250435044504550465047504850495050505150525053505450555056505750585059506050615062506350645065506650675068506950705071507250735074507550765077507850795080508150825083508450855086508750885089509050915092509350945095509650975098509951005101510251035104510551065107510851095110511151125113511451155116511751185119512051215122512351245125512651275128512951305131513251335134513551365137513851395140514151425143514451455146514751485149515051515152515351545155515651575158515951605161516251635164516551665167516851695170517151725173517451755176517751785179518051815182518351845185518651875188518951905191519251935194519551965197519851995200520152025203520452055206520752085209521052115212521352145215521652175218521952205221522252235224522552265227522852295230523152325233523452355236523752385239524052415242524352445245524652475248524952505251525252535254525552565257525852595260526152625263526452655266526752685269527052715272527352745275527652775278527952805281528252835284528552865287528852895290529152925293529452955296529752985299530053015302530353045305530653075308530953105311531253135314531553165317531853195320532153225323532453255326532753285329533053315332533353345335533653375338533953405341534253435344534553465347534853495350535153525353535453555356535753585359536053615362536353645365536653675368536953705371537253735374537553765377537853795380538153825383538453855386538753885389539053915392539353945395539653975398539954005401540254035404540554065407540854095410541154125413541454155416541754185419542054215422542354245425542654275428542954305431543254335434543554365437543854395440544154425443544454455446544754485449545054515452545354545455545654575458545954605461546254635464546554665467546854695470547154725473547454755476547754785479548054815482548354845485548654875488548954905491549254935494549554965497549854995500550155025503550455055506550755085509551055115512551355145515551655175518551955205521552255235524552555265527552855295530553155325533553455355536553755385539554055415542554355445545554655475548554955505551555255535554555555565557555855595560556155625563556455655566556755685569557055715572557355745575557655775578557955805581558255835584558555865587558855895590559155925593559455955596559755985599560056015602560356045605560656075608560956105611561256135614561556165617561856195620562156225623562456255626562756285629563056315632563356345635563656375638563956405641564256435644564556465647564856495650565156525653565456555656565756585659566056615662566356645665566656675668566956705671567256735674567556765677567856795680568156825683568456855686568756885689569056915692569356945695569656975698569957005701570257035704570557065707570857095710571157125713571457155716571757185719572057215722572357245725572657275728572957305731573257335734573557365737573857395740574157425743574457455746574757485749575057515752575357545755575657575758575957605761576257635764576557665767576857695770577157725773577457755776577757785779578057815782578357845785578657875788578957905791579257935794579557965797579857995800580158025803580458055806580758085809581058115812581358145815581658175818581958205821582258235824582558265827582858295830583158325833583458355836583758385839584058415842584358445845584658475848584958505851585258535854585558565857585858595860586158625863586458655866586758685869587058715872587358745875587658775878587958805881588258835884588558865887588858895890589158925893589458955896589758985899590059015902590359045905590659075908590959105911591259135914591559165917591859195920592159225923592459255926592759285929593059315932593359345935593659375938593959405941594259435944594559465947594859495950595159525953595459555956595759585959596059615962596359645965596659675968596959705971597259735974597559765977597859795980598159825983598459855986598759885989599059915992599359945995599659975998599960006001600260036004600560066007600860096010601160126013601460156016601760186019602060216022602360246025602660276028602960306031603260336034603560366037603860396040604160426043604460456046604760486049605060516052605360546055605660576058605960606061606260636064606560666067606860696070607160726073607460756076607760786079608060816082608360846085608660876088608960906091609260936094609560966097609860996100610161026103610461056106610761086109611061116112611361146115611661176118611961206121612261236124612561266127612861296130613161326133613461356136613761386139614061416142614361446145614661476148614961506151615261536154615561566157615861596160616161626163616461656166616761686169617061716172617361746175617661776178617961806181618261836184618561866187618861896190619161926193619461956196619761986199620062016202620362046205620662076208620962106211621262136214621562166217621862196220622162226223622462256226622762286229623062316232623362346235623662376238623962406241624262436244624562466247624862496250625162526253625462556256625762586259626062616262626362646265626662676268626962706271627262736274627562766277627862796280628162826283628462856286628762886289629062916292629362946295629662976298629963006301630263036304630563066307630863096310631163126313631463156316631763186319632063216322632363246325632663276328632963306331633263336334633563366337633863396340634163426343634463456346634763486349635063516352635363546355635663576358635963606361636263636364636563666367636863696370637163726373637463756376637763786379638063816382638363846385638663876388638963906391639263936394639563966397639863996400640164026403640464056406640764086409641064116412641364146415641664176418641964206421642264236424642564266427642864296430643164326433643464356436643764386439644064416442644364446445644664476448644964506451645264536454645564566457645864596460646164626463646464656466646764686469647064716472647364746475647664776478647964806481648264836484648564866487648864896490649164926493649464956496649764986499650065016502650365046505650665076508650965106511651265136514651565166517651865196520652165226523652465256526652765286529653065316532653365346535653665376538653965406541654265436544654565466547654865496550655165526553655465556556655765586559656065616562656365646565656665676568656965706571657265736574657565766577657865796580658165826583658465856586658765886589659065916592659365946595659665976598659966006601660266036604660566066607660866096610661166126613661466156616661766186619662066216622662366246625662666276628662966306631663266336634663566366637663866396640664166426643664466456646664766486649665066516652665366546655665666576658665966606661666266636664666566666667666866696670667166726673667466756676667766786679668066816682668366846685668666876688668966906691669266936694669566966697669866996700670167026703670467056706670767086709671067116712671367146715671667176718671967206721672267236724672567266727672867296730673167326733673467356736673767386739674067416742674367446745674667476748674967506751675267536754675567566757675867596760676167626763676467656766676767686769677067716772677367746775677667776778677967806781678267836784678567866787678867896790679167926793679467956796679767986799680068016802680368046805680668076808680968106811681268136814681568166817681868196820682168226823682468256826682768286829683068316832683368346835683668376838683968406841684268436844684568466847684868496850685168526853685468556856685768586859686068616862686368646865686668676868686968706871687268736874687568766877687868796880688168826883688468856886688768886889689068916892689368946895689668976898689969006901690269036904690569066907690869096910691169126913691469156916691769186919692069216922692369246925692669276928692969306931693269336934693569366937693869396940694169426943694469456946694769486949695069516952695369546955695669576958695969606961696269636964696569666967696869696970697169726973697469756976697769786979698069816982698369846985698669876988698969906991699269936994699569966997699869997000700170027003700470057006700770087009701070117012701370147015701670177018701970207021702270237024702570267027702870297030703170327033703470357036703770387039704070417042704370447045704670477048704970507051705270537054705570567057705870597060706170627063706470657066706770687069707070717072707370747075707670777078707970807081708270837084708570867087708870897090709170927093709470957096709770987099710071017102710371047105710671077108710971107111711271137114711571167117711871197120712171227123712471257126712771287129713071317132713371347135713671377138713971407141714271437144714571467147714871497150715171527153715471557156715771587159716071617162716371647165716671677168716971707171717271737174717571767177717871797180718171827183718471857186718771887189719071917192719371947195719671977198719972007201720272037204720572067207720872097210721172127213721472157216721772187219722072217222722372247225722672277228722972307231723272337234723572367237723872397240724172427243724472457246724772487249725072517252725372547255725672577258725972607261726272637264726572667267726872697270727172727273727472757276727772787279728072817282728372847285728672877288728972907291729272937294729572967297729872997300730173027303730473057306730773087309731073117312731373147315731673177318731973207321732273237324732573267327732873297330733173327333733473357336733773387339734073417342734373447345734673477348734973507351735273537354735573567357735873597360736173627363736473657366736773687369737073717372737373747375737673777378737973807381738273837384738573867387738873897390739173927393739473957396739773987399740074017402740374047405740674077408740974107411741274137414741574167417741874197420742174227423742474257426742774287429743074317432743374347435743674377438743974407441744274437444744574467447744874497450745174527453745474557456745774587459746074617462746374647465746674677468746974707471747274737474747574767477747874797480748174827483748474857486748774887489749074917492749374947495749674977498749975007501750275037504750575067507750875097510751175127513751475157516751775187519752075217522752375247525752675277528752975307531753275337534753575367537753875397540754175427543754475457546754775487549755075517552755375547555755675577558755975607561756275637564756575667567756875697570757175727573757475757576757775787579758075817582758375847585758675877588758975907591759275937594759575967597759875997600760176027603760476057606760776087609761076117612761376147615761676177618761976207621762276237624762576267627762876297630763176327633763476357636763776387639764076417642764376447645764676477648764976507651765276537654765576567657765876597660766176627663766476657666766776687669767076717672767376747675767676777678767976807681768276837684768576867687768876897690769176927693769476957696769776987699770077017702770377047705770677077708770977107711771277137714771577167717771877197720772177227723772477257726772777287729773077317732773377347735773677377738773977407741774277437744774577467747774877497750775177527753775477557756775777587759776077617762776377647765776677677768776977707771777277737774777577767777777877797780778177827783778477857786778777887789779077917792779377947795779677977798779978007801780278037804780578067807780878097810781178127813781478157816781778187819782078217822782378247825782678277828782978307831783278337834783578367837783878397840784178427843784478457846784778487849785078517852785378547855785678577858785978607861786278637864786578667867786878697870787178727873787478757876787778787879788078817882788378847885788678877888788978907891789278937894789578967897789878997900790179027903790479057906790779087909791079117912791379147915791679177918791979207921792279237924792579267927792879297930793179327933793479357936793779387939794079417942794379447945794679477948794979507951795279537954795579567957795879597960796179627963796479657966796779687969797079717972797379747975797679777978797979807981798279837984798579867987798879897990799179927993799479957996799779987999800080018002800380048005800680078008800980108011801280138014801580168017801880198020802180228023802480258026802780288029803080318032803380348035803680378038803980408041804280438044804580468047804880498050805180528053805480558056805780588059806080618062806380648065806680678068806980708071807280738074807580768077807880798080808180828083808480858086808780888089809080918092809380948095809680978098809981008101810281038104810581068107810881098110811181128113811481158116811781188119812081218122812381248125812681278128812981308131813281338134813581368137813881398140814181428143814481458146814781488149815081518152815381548155815681578158815981608161816281638164816581668167816881698170817181728173817481758176817781788179818081818182818381848185818681878188818981908191819281938194819581968197819881998200820182028203820482058206820782088209821082118212821382148215821682178218821982208221822282238224822582268227822882298230823182328233823482358236823782388239824082418242824382448245824682478248824982508251825282538254825582568257825882598260826182628263826482658266826782688269827082718272827382748275827682778278827982808281828282838284828582868287828882898290829182928293829482958296829782988299830083018302830383048305830683078308830983108311831283138314831583168317831883198320832183228323832483258326832783288329833083318332833383348335833683378338833983408341834283438344834583468347834883498350835183528353835483558356835783588359836083618362836383648365836683678368836983708371837283738374837583768377837883798380838183828383838483858386838783888389839083918392839383948395839683978398839984008401840284038404840584068407840884098410841184128413841484158416841784188419842084218422842384248425842684278428842984308431843284338434843584368437843884398440844184428443844484458446844784488449845084518452845384548455845684578458845984608461846284638464846584668467846884698470847184728473847484758476847784788479848084818482848384848485848684878488848984908491849284938494849584968497849884998500850185028503850485058506850785088509851085118512851385148515851685178518851985208521852285238524852585268527852885298530853185328533853485358536853785388539854085418542854385448545854685478548854985508551855285538554855585568557855885598560856185628563856485658566856785688569857085718572857385748575857685778578857985808581858285838584858585868587858885898590859185928593859485958596859785988599860086018602860386048605860686078608860986108611861286138614861586168617861886198620862186228623862486258626862786288629863086318632863386348635863686378638863986408641864286438644864586468647864886498650865186528653865486558656865786588659866086618662866386648665866686678668866986708671867286738674867586768677867886798680868186828683868486858686868786888689869086918692869386948695869686978698869987008701870287038704870587068707870887098710871187128713871487158716871787188719872087218722872387248725872687278728872987308731873287338734873587368737873887398740874187428743874487458746874787488749875087518752875387548755875687578758875987608761876287638764876587668767876887698770877187728773877487758776877787788779878087818782878387848785878687878788878987908791879287938794879587968797879887998800880188028803880488058806880788088809881088118812881388148815881688178818881988208821882288238824882588268827882888298830883188328833883488358836883788388839884088418842884388448845884688478848884988508851885288538854885588568857885888598860886188628863886488658866886788688869887088718872887388748875887688778878887988808881888288838884888588868887888888898890889188928893889488958896889788988899890089018902890389048905890689078908890989108911891289138914891589168917891889198920892189228923892489258926892789288929893089318932893389348935893689378938893989408941894289438944894589468947894889498950895189528953895489558956895789588959896089618962896389648965896689678968896989708971897289738974897589768977897889798980898189828983898489858986898789888989899089918992899389948995899689978998899990009001900290039004900590069007900890099010901190129013901490159016901790189019902090219022902390249025902690279028902990309031903290339034903590369037903890399040904190429043904490459046904790489049905090519052905390549055905690579058905990609061906290639064906590669067906890699070907190729073907490759076907790789079908090819082908390849085908690879088908990909091909290939094909590969097909890999100910191029103910491059106910791089109911091119112911391149115911691179118911991209121912291239124912591269127912891299130913191329133913491359136913791389139914091419142914391449145914691479148914991509151915291539154915591569157915891599160916191629163916491659166916791689169917091719172917391749175917691779178917991809181918291839184918591869187918891899190919191929193919491959196919791989199920092019202920392049205920692079208920992109211921292139214921592169217921892199220922192229223922492259226922792289229923092319232923392349235923692379238923992409241924292439244924592469247924892499250925192529253925492559256925792589259926092619262926392649265926692679268926992709271927292739274927592769277927892799280928192829283928492859286928792889289929092919292929392949295929692979298929993009301930293039304930593069307930893099310931193129313931493159316931793189319932093219322932393249325932693279328932993309331933293339334933593369337933893399340934193429343934493459346934793489349935093519352935393549355935693579358935993609361936293639364936593669367936893699370937193729373937493759376937793789379938093819382938393849385938693879388938993909391939293939394939593969397939893999400940194029403940494059406940794089409941094119412941394149415941694179418941994209421942294239424942594269427942894299430943194329433943494359436943794389439944094419442944394449445944694479448944994509451945294539454945594569457945894599460946194629463946494659466946794689469947094719472947394749475947694779478947994809481948294839484948594869487948894899490949194929493949494959496949794989499950095019502950395049505950695079508950995109511951295139514951595169517951895199520952195229523952495259526952795289529953095319532953395349535953695379538953995409541954295439544954595469547954895499550955195529553955495559556955795589559956095619562956395649565956695679568956995709571957295739574957595769577957895799580958195829583958495859586958795889589959095919592959395949595959695979598959996009601960296039604960596069607960896099610961196129613961496159616961796189619962096219622962396249625962696279628962996309631963296339634963596369637963896399640964196429643964496459646964796489649965096519652965396549655965696579658965996609661966296639664966596669667966896699670967196729673967496759676967796789679968096819682968396849685968696879688968996909691969296939694969596969697969896999700970197029703970497059706970797089709971097119712971397149715971697179718971997209721972297239724972597269727972897299730973197329733973497359736973797389739974097419742974397449745974697479748974997509751975297539754975597569757975897599760976197629763976497659766976797689769977097719772977397749775977697779778977997809781978297839784978597869787978897899790979197929793979497959796979797989799980098019802980398049805980698079808980998109811981298139814981598169817981898199820982198229823982498259826982798289829983098319832983398349835983698379838983998409841984298439844984598469847984898499850985198529853985498559856985798589859986098619862986398649865986698679868986998709871987298739874987598769877987898799880988198829883988498859886988798889889989098919892989398949895989698979898989999009901990299039904990599069907990899099910991199129913991499159916991799189919992099219922992399249925992699279928992999309931993299339934993599369937993899399940994199429943994499459946994799489949995099519952995399549955995699579958995999609961996299639964996599669967996899699970997199729973997499759976997799789979998099819982998399849985998699879988998999909991999299939994999599969997999899991000010001100021000310004100051000610007100081000910010100111001210013100141001510016100171001810019100201002110022100231002410025100261002710028100291003010031100321003310034100351003610037100381003910040100411004210043100441004510046100471004810049100501005110052100531005410055100561005710058100591006010061100621006310064100651006610067100681006910070100711007210073100741007510076100771007810079100801008110082100831008410085100861008710088100891009010091100921009310094100951009610097100981009910100101011010210103101041010510106101071010810109101101011110112101131011410115101161011710118101191012010121101221012310124101251012610127101281012910130101311013210133101341013510136101371013810139101401014110142101431014410145101461014710148101491015010151101521015310154101551015610157101581015910160101611016210163101641016510166101671016810169101701017110172101731017410175101761017710178101791018010181101821018310184101851018610187101881018910190101911019210193101941019510196101971019810199102001020110202102031020410205102061020710208102091021010211102121021310214102151021610217102181021910220102211022210223102241022510226102271022810229102301023110232102331023410235102361023710238102391024010241102421024310244102451024610247102481024910250102511025210253102541025510256102571025810259102601026110262102631026410265102661026710268102691027010271102721027310274102751027610277102781027910280102811028210283102841028510286102871028810289102901029110292102931029410295102961029710298102991030010301103021030310304103051030610307103081030910310103111031210313103141031510316103171031810319103201032110322103231032410325103261032710328103291033010331103321033310334103351033610337103381033910340103411034210343103441034510346103471034810349103501035110352103531035410355103561035710358103591036010361103621036310364103651036610367103681036910370103711037210373103741037510376103771037810379103801038110382103831038410385103861038710388103891039010391103921039310394103951039610397103981039910400104011040210403104041040510406104071040810409104101041110412104131041410415104161041710418104191042010421104221042310424104251042610427104281042910430104311043210433104341043510436104371043810439104401044110442104431044410445104461044710448104491045010451104521045310454104551045610457104581045910460104611046210463104641046510466104671046810469104701047110472104731047410475104761047710478104791048010481104821048310484104851048610487104881048910490104911049210493104941049510496104971049810499105001050110502105031050410505105061050710508105091051010511105121051310514105151051610517105181051910520105211052210523105241052510526105271052810529105301053110532105331053410535105361053710538105391054010541105421054310544105451054610547105481054910550105511055210553105541055510556105571055810559105601056110562105631056410565105661056710568105691057010571105721057310574105751057610577105781057910580105811058210583105841058510586105871058810589105901059110592105931059410595105961059710598105991060010601106021060310604106051060610607106081060910610106111061210613106141061510616106171061810619106201062110622106231062410625106261062710628106291063010631106321063310634106351063610637106381063910640106411064210643106441064510646106471064810649106501065110652106531065410655106561065710658106591066010661106621066310664106651066610667106681066910670106711067210673106741067510676106771067810679106801068110682106831068410685106861068710688106891069010691106921069310694106951069610697106981069910700107011070210703107041070510706107071070810709107101071110712107131071410715107161071710718107191072010721107221072310724107251072610727107281072910730107311073210733107341073510736107371073810739107401074110742107431074410745107461074710748107491075010751107521075310754107551075610757107581075910760107611076210763107641076510766107671076810769107701077110772107731077410775107761077710778107791078010781107821078310784107851078610787107881078910790107911079210793107941079510796107971079810799108001080110802108031080410805108061080710808108091081010811108121081310814108151081610817108181081910820108211082210823108241082510826108271082810829108301083110832108331083410835108361083710838108391084010841108421084310844108451084610847108481084910850108511085210853108541085510856108571085810859108601086110862108631086410865108661086710868108691087010871108721087310874108751087610877108781087910880108811088210883108841088510886108871088810889108901089110892108931089410895108961089710898108991090010901109021090310904109051090610907109081090910910109111091210913109141091510916109171091810919109201092110922109231092410925109261092710928109291093010931109321093310934109351093610937109381093910940109411094210943109441094510946109471094810949109501095110952109531095410955109561095710958109591096010961109621096310964109651096610967109681096910970109711097210973109741097510976109771097810979109801098110982109831098410985109861098710988109891099010991109921099310994109951099610997109981099911000110011100211003110041100511006110071100811009110101101111012110131101411015110161101711018110191102011021110221102311024110251102611027110281102911030110311103211033110341103511036110371103811039110401104111042110431104411045110461104711048110491105011051110521105311054110551105611057110581105911060110611106211063110641106511066110671106811069110701107111072110731107411075110761107711078110791108011081110821108311084110851108611087110881108911090110911109211093110941109511096110971109811099111001110111102111031110411105111061110711108111091111011111111121111311114111151111611117111181111911120111211112211123111241112511126111271112811129111301113111132111331113411135111361113711138111391114011141111421114311144111451114611147111481114911150111511115211153111541115511156111571115811159111601116111162111631116411165111661116711168111691117011171111721117311174111751117611177111781117911180111811118211183111841118511186111871118811189111901119111192111931119411195111961119711198111991120011201112021120311204112051120611207112081120911210112111121211213112141121511216112171121811219112201122111222112231122411225112261122711228112291123011231112321123311234112351123611237112381123911240112411124211243112441124511246112471124811249112501125111252112531125411255112561125711258112591126011261112621126311264112651126611267112681126911270112711127211273112741127511276112771127811279112801128111282112831128411285112861128711288112891129011291112921129311294112951129611297112981129911300113011130211303113041130511306113071130811309113101131111312113131131411315113161131711318113191132011321113221132311324113251132611327113281132911330113311133211333113341133511336113371133811339113401134111342113431134411345113461134711348113491135011351113521135311354113551135611357113581135911360113611136211363113641136511366113671136811369113701137111372113731137411375113761137711378113791138011381113821138311384113851138611387113881138911390113911139211393113941139511396113971139811399114001140111402114031140411405114061140711408114091141011411114121141311414114151141611417114181141911420114211142211423114241142511426114271142811429114301143111432114331143411435114361143711438114391144011441114421144311444114451144611447114481144911450114511145211453114541145511456114571145811459114601146111462114631146411465114661146711468114691147011471114721147311474114751147611477114781147911480114811148211483114841148511486114871148811489114901149111492114931149411495114961149711498114991150011501115021150311504115051150611507115081150911510115111151211513115141151511516115171151811519115201152111522115231152411525115261152711528115291153011531115321153311534115351153611537115381153911540115411154211543115441154511546115471154811549115501155111552115531155411555115561155711558115591156011561115621156311564115651156611567115681156911570115711157211573115741157511576115771157811579115801158111582115831158411585115861158711588115891159011591115921159311594115951159611597115981159911600116011160211603116041160511606116071160811609116101161111612116131161411615116161161711618116191162011621116221162311624116251162611627116281162911630116311163211633116341163511636116371163811639116401164111642116431164411645116461164711648116491165011651116521165311654116551165611657116581165911660116611166211663116641166511666116671166811669116701167111672116731167411675116761167711678116791168011681116821168311684116851168611687116881168911690116911169211693116941169511696116971169811699117001170111702117031170411705117061170711708117091171011711117121171311714117151171611717117181171911720117211172211723117241172511726117271172811729117301173111732117331173411735117361173711738117391174011741117421174311744117451174611747117481174911750117511175211753117541175511756117571175811759117601176111762117631176411765117661176711768117691177011771117721177311774117751177611777117781177911780117811178211783117841178511786117871178811789117901179111792117931179411795117961179711798117991180011801118021180311804118051180611807118081180911810118111181211813118141181511816118171181811819118201182111822118231182411825118261182711828118291183011831118321183311834118351183611837118381183911840118411184211843118441184511846118471184811849118501185111852118531185411855118561185711858118591186011861118621186311864118651186611867118681186911870118711187211873118741187511876118771187811879118801188111882118831188411885118861188711888118891189011891118921189311894118951189611897118981189911900119011190211903119041190511906119071190811909119101191111912119131191411915119161191711918119191192011921119221192311924119251192611927119281192911930119311193211933119341193511936119371193811939119401194111942119431194411945119461194711948119491195011951119521195311954119551195611957119581195911960119611196211963119641196511966119671196811969119701197111972119731197411975119761197711978119791198011981119821198311984119851198611987119881198911990119911199211993119941199511996119971199811999120001200112002120031200412005120061200712008120091201012011120121201312014120151201612017120181201912020120211202212023120241202512026120271202812029120301203112032120331203412035120361203712038120391204012041120421204312044120451204612047120481204912050120511205212053120541205512056120571205812059120601206112062120631206412065120661206712068120691207012071120721207312074120751207612077120781207912080120811208212083120841208512086120871208812089120901209112092120931209412095120961209712098120991210012101121021210312104121051210612107121081210912110121111211212113121141211512116121171211812119121201212112122121231212412125121261212712128121291213012131121321213312134121351213612137121381213912140121411214212143121441214512146121471214812149121501215112152121531215412155121561215712158121591216012161121621216312164121651216612167121681216912170121711217212173121741217512176121771217812179121801218112182121831218412185121861218712188121891219012191121921219312194121951219612197121981219912200122011220212203122041220512206122071220812209122101221112212122131221412215122161221712218122191222012221122221222312224122251222612227122281222912230122311223212233122341223512236122371223812239122401224112242122431224412245122461224712248122491225012251122521225312254122551225612257122581225912260122611226212263122641226512266122671226812269122701227112272122731227412275122761227712278122791228012281122821228312284122851228612287122881228912290122911229212293122941229512296122971229812299123001230112302123031230412305123061230712308123091231012311123121231312314123151231612317123181231912320123211232212323123241232512326123271232812329123301233112332123331233412335123361233712338123391234012341123421234312344123451234612347123481234912350123511235212353123541235512356123571235812359123601236112362123631236412365123661236712368123691237012371123721237312374123751237612377123781237912380123811238212383123841238512386123871238812389123901239112392123931239412395123961239712398123991240012401124021240312404124051240612407124081240912410124111241212413124141241512416124171241812419124201242112422124231242412425124261242712428124291243012431124321243312434124351243612437124381243912440124411244212443124441244512446124471244812449124501245112452124531245412455124561245712458124591246012461124621246312464124651246612467124681246912470124711247212473124741247512476124771247812479124801248112482124831248412485124861248712488124891249012491124921249312494124951249612497124981249912500125011250212503125041250512506125071250812509125101251112512125131251412515125161251712518125191252012521125221252312524125251252612527125281252912530125311253212533125341253512536125371253812539125401254112542125431254412545125461254712548125491255012551125521255312554125551255612557125581255912560125611256212563125641256512566125671256812569125701257112572125731257412575125761257712578125791258012581125821258312584125851258612587125881258912590125911259212593125941259512596125971259812599126001260112602126031260412605126061260712608126091261012611126121261312614126151261612617126181261912620126211262212623126241262512626126271262812629126301263112632126331263412635126361263712638126391264012641126421264312644126451264612647126481264912650126511265212653126541265512656126571265812659126601266112662126631266412665126661266712668126691267012671126721267312674126751267612677126781267912680126811268212683126841268512686126871268812689126901269112692126931269412695126961269712698126991270012701127021270312704127051270612707127081270912710127111271212713127141271512716127171271812719127201272112722127231272412725127261272712728127291273012731127321273312734127351273612737127381273912740127411274212743127441274512746127471274812749127501275112752127531275412755127561275712758127591276012761127621276312764127651276612767127681276912770127711277212773127741277512776127771277812779127801278112782127831278412785127861278712788127891279012791127921279312794127951279612797127981279912800128011280212803128041280512806128071280812809128101281112812128131281412815128161281712818128191282012821128221282312824128251282612827128281282912830128311283212833128341283512836128371283812839128401284112842128431284412845128461284712848128491285012851128521285312854128551285612857128581285912860128611286212863128641286512866128671286812869128701287112872128731287412875128761287712878128791288012881128821288312884128851288612887128881288912890128911289212893128941289512896128971289812899129001290112902129031290412905129061290712908129091291012911129121291312914129151291612917129181291912920129211292212923129241292512926129271292812929129301293112932129331293412935129361293712938129391294012941129421294312944129451294612947129481294912950129511295212953129541295512956129571295812959129601296112962129631296412965129661296712968129691297012971129721297312974129751297612977129781297912980129811298212983129841298512986129871298812989129901299112992129931299412995129961299712998129991300013001130021300313004130051300613007130081300913010130111301213013130141301513016130171301813019130201302113022130231302413025130261302713028130291303013031130321303313034130351303613037130381303913040130411304213043130441304513046130471304813049130501305113052130531305413055130561305713058130591306013061130621306313064130651306613067130681306913070130711307213073130741307513076130771307813079130801308113082130831308413085130861308713088130891309013091130921309313094130951309613097130981309913100131011310213103131041310513106131071310813109131101311113112131131311413115131161311713118131191312013121131221312313124131251312613127131281312913130131311313213133131341313513136131371313813139131401314113142131431314413145131461314713148131491315013151131521315313154131551315613157131581315913160131611316213163131641316513166131671316813169131701317113172131731317413175131761317713178131791318013181131821318313184131851318613187131881318913190131911319213193131941319513196131971319813199132001320113202132031320413205132061320713208132091321013211132121321313214132151321613217132181321913220132211322213223132241322513226132271322813229132301323113232132331323413235132361323713238132391324013241132421324313244132451324613247132481324913250132511325213253132541325513256132571325813259132601326113262132631326413265132661326713268132691327013271132721327313274132751327613277132781327913280132811328213283132841328513286132871328813289132901329113292132931329413295132961329713298132991330013301133021330313304133051330613307133081330913310133111331213313133141331513316133171331813319133201332113322133231332413325133261332713328133291333013331133321333313334133351333613337133381333913340133411334213343133441334513346133471334813349133501335113352133531335413355133561335713358133591336013361133621336313364133651336613367133681336913370133711337213373133741337513376133771337813379133801338113382133831338413385133861338713388133891339013391133921339313394133951339613397133981339913400134011340213403134041340513406134071340813409134101341113412134131341413415134161341713418134191342013421134221342313424134251342613427134281342913430134311343213433134341343513436134371343813439134401344113442134431344413445134461344713448134491345013451134521345313454134551345613457134581345913460134611346213463134641346513466134671346813469134701347113472134731347413475134761347713478134791348013481134821348313484134851348613487134881348913490134911349213493134941349513496134971349813499135001350113502135031350413505135061350713508135091351013511135121351313514135151351613517135181351913520135211352213523135241352513526135271352813529135301353113532135331353413535135361353713538135391354013541135421354313544135451354613547135481354913550135511355213553135541355513556135571355813559135601356113562135631356413565135661356713568135691357013571135721357313574135751357613577135781357913580135811358213583135841358513586135871358813589135901359113592135931359413595135961359713598135991360013601136021360313604136051360613607136081360913610136111361213613136141361513616136171361813619136201362113622136231362413625136261362713628136291363013631136321363313634136351363613637136381363913640136411364213643136441364513646136471364813649136501365113652136531365413655136561365713658136591366013661136621366313664136651366613667136681366913670136711367213673136741367513676136771367813679136801368113682136831368413685136861368713688136891369013691136921369313694136951369613697136981369913700137011370213703137041370513706137071370813709137101371113712137131371413715137161371713718137191372013721137221372313724137251372613727137281372913730137311373213733137341373513736137371373813739137401374113742137431374413745137461374713748137491375013751137521375313754137551375613757137581375913760137611376213763137641376513766137671376813769137701377113772137731377413775137761377713778137791378013781137821378313784137851378613787137881378913790137911379213793137941379513796137971379813799138001380113802138031380413805138061380713808138091381013811138121381313814138151381613817138181381913820138211382213823138241382513826138271382813829138301383113832138331383413835138361383713838138391384013841138421384313844138451384613847138481384913850138511385213853138541385513856138571385813859138601386113862138631386413865138661386713868138691387013871138721387313874138751387613877138781387913880138811388213883138841388513886138871388813889138901389113892138931389413895138961389713898138991390013901139021390313904139051390613907139081390913910139111391213913139141391513916139171391813919139201392113922139231392413925139261392713928139291393013931139321393313934139351393613937139381393913940139411394213943139441394513946139471394813949139501395113952139531395413955139561395713958139591396013961139621396313964139651396613967139681396913970139711397213973139741397513976139771397813979139801398113982139831398413985139861398713988139891399013991139921399313994139951399613997139981399914000140011400214003140041400514006140071400814009140101401114012140131401414015140161401714018140191402014021140221402314024140251402614027140281402914030140311403214033140341403514036140371403814039140401404114042140431404414045140461404714048140491405014051140521405314054140551405614057140581405914060140611406214063140641406514066140671406814069140701407114072140731407414075140761407714078140791408014081140821408314084140851408614087140881408914090140911409214093140941409514096140971409814099141001410114102141031410414105141061410714108141091411014111141121411314114141151411614117141181411914120141211412214123141241412514126141271412814129141301413114132141331413414135141361413714138141391414014141141421414314144141451414614147141481414914150141511415214153141541415514156141571415814159141601416114162141631416414165141661416714168141691417014171141721417314174141751417614177141781417914180141811418214183141841418514186141871418814189141901419114192141931419414195141961419714198141991420014201142021420314204142051420614207142081420914210142111421214213142141421514216142171421814219142201422114222142231422414225142261422714228142291423014231142321423314234142351423614237142381423914240142411424214243142441424514246142471424814249142501425114252142531425414255142561425714258142591426014261142621426314264142651426614267142681426914270142711427214273142741427514276142771427814279142801428114282142831428414285142861428714288142891429014291142921429314294142951429614297142981429914300143011430214303143041430514306143071430814309143101431114312143131431414315143161431714318143191432014321143221432314324143251432614327143281432914330143311433214333143341433514336143371433814339143401434114342143431434414345143461434714348143491435014351143521435314354143551435614357143581435914360143611436214363143641436514366143671436814369143701437114372143731437414375143761437714378143791438014381143821438314384143851438614387143881438914390143911439214393143941439514396143971439814399144001440114402144031440414405144061440714408144091441014411144121441314414144151441614417144181441914420144211442214423144241442514426144271442814429144301443114432144331443414435144361443714438144391444014441144421444314444144451444614447144481444914450144511445214453144541445514456144571445814459144601446114462144631446414465144661446714468144691447014471144721447314474144751447614477144781447914480144811448214483144841448514486144871448814489144901449114492144931449414495144961449714498144991450014501145021450314504145051450614507145081450914510145111451214513145141451514516145171451814519145201452114522145231452414525145261452714528145291453014531145321453314534145351453614537145381453914540145411454214543145441454514546145471454814549145501455114552145531455414555145561455714558145591456014561145621456314564145651456614567145681456914570145711457214573145741457514576145771457814579145801458114582145831458414585145861458714588145891459014591145921459314594145951459614597145981459914600146011460214603146041460514606146071460814609146101461114612146131461414615146161461714618146191462014621146221462314624146251462614627146281462914630146311463214633146341463514636146371463814639146401464114642146431464414645146461464714648146491465014651146521465314654146551465614657146581465914660146611466214663146641466514666146671466814669146701467114672146731467414675146761467714678146791468014681146821468314684146851468614687146881468914690146911469214693146941469514696146971469814699147001470114702147031470414705147061470714708147091471014711147121471314714147151471614717147181471914720147211472214723147241472514726147271472814729147301473114732147331473414735147361473714738147391474014741147421474314744147451474614747147481474914750147511475214753147541475514756147571475814759147601476114762147631476414765147661476714768147691477014771147721477314774147751477614777147781477914780147811478214783147841478514786147871478814789147901479114792147931479414795147961479714798147991480014801148021480314804148051480614807148081480914810148111481214813148141481514816148171481814819148201482114822148231482414825148261482714828148291483014831148321483314834148351483614837148381483914840148411484214843148441484514846148471484814849148501485114852148531485414855148561485714858148591486014861148621486314864148651486614867148681486914870148711487214873148741487514876148771487814879148801488114882148831488414885148861488714888148891489014891148921489314894148951489614897148981489914900149011490214903149041490514906149071490814909149101491114912149131491414915149161491714918149191492014921149221492314924149251492614927149281492914930149311493214933149341493514936149371493814939149401494114942149431494414945149461494714948149491495014951149521495314954149551495614957149581495914960149611496214963149641496514966149671496814969149701497114972149731497414975149761497714978149791498014981149821498314984149851498614987149881498914990149911499214993149941499514996149971499814999150001500115002150031500415005150061500715008150091501015011150121501315014150151501615017150181501915020150211502215023150241502515026150271502815029150301503115032150331503415035150361503715038150391504015041150421504315044150451504615047150481504915050150511505215053150541505515056150571505815059150601506115062150631506415065150661506715068150691507015071150721507315074150751507615077150781507915080150811508215083150841508515086150871508815089150901509115092150931509415095150961509715098150991510015101151021510315104151051510615107151081510915110151111511215113151141511515116151171511815119151201512115122151231512415125151261512715128151291513015131151321513315134151351513615137151381513915140151411514215143151441514515146151471514815149151501515115152151531515415155151561515715158151591516015161151621516315164151651516615167151681516915170151711517215173151741517515176151771517815179151801518115182151831518415185151861518715188151891519015191151921519315194151951519615197151981519915200152011520215203152041520515206152071520815209152101521115212152131521415215152161521715218152191522015221152221522315224152251522615227152281522915230152311523215233152341523515236152371523815239152401524115242152431524415245152461524715248152491525015251152521525315254152551525615257152581525915260152611526215263152641526515266152671526815269152701527115272152731527415275152761527715278152791528015281152821528315284152851528615287152881528915290152911529215293152941529515296152971529815299153001530115302153031530415305153061530715308153091531015311153121531315314153151531615317153181531915320153211532215323153241532515326153271532815329153301533115332153331533415335153361533715338153391534015341153421534315344153451534615347153481534915350153511535215353153541535515356153571535815359153601536115362153631536415365153661536715368153691537015371153721537315374153751537615377153781537915380153811538215383153841538515386153871538815389153901539115392153931539415395153961539715398153991540015401154021540315404154051540615407154081540915410154111541215413154141541515416154171541815419154201542115422154231542415425154261542715428154291543015431154321543315434154351543615437154381543915440154411544215443154441544515446154471544815449154501545115452154531545415455154561545715458154591546015461154621546315464154651546615467154681546915470154711547215473154741547515476154771547815479154801548115482154831548415485154861548715488154891549015491154921549315494154951549615497154981549915500155011550215503155041550515506155071550815509155101551115512155131551415515155161551715518155191552015521155221552315524155251552615527155281552915530155311553215533155341553515536155371553815539155401554115542155431554415545155461554715548155491555015551155521555315554155551555615557155581555915560155611556215563155641556515566155671556815569155701557115572155731557415575155761557715578155791558015581155821558315584155851558615587155881558915590155911559215593155941559515596155971559815599156001560115602156031560415605156061560715608156091561015611156121561315614156151561615617156181561915620156211562215623156241562515626156271562815629156301563115632156331563415635156361563715638156391564015641156421564315644156451564615647156481564915650156511565215653156541565515656156571565815659156601566115662156631566415665156661566715668156691567015671156721567315674156751567615677156781567915680156811568215683156841568515686156871568815689156901569115692156931569415695156961569715698156991570015701157021570315704157051570615707157081570915710157111571215713157141571515716157171571815719157201572115722157231572415725157261572715728157291573015731157321573315734157351573615737157381573915740157411574215743157441574515746157471574815749157501575115752157531575415755157561575715758157591576015761157621576315764157651576615767157681576915770157711577215773157741577515776157771577815779157801578115782157831578415785157861578715788157891579015791157921579315794157951579615797157981579915800158011580215803158041580515806158071580815809158101581115812158131581415815158161581715818158191582015821158221582315824158251582615827158281582915830158311583215833158341583515836158371583815839158401584115842158431584415845158461584715848158491585015851158521585315854158551585615857158581585915860158611586215863158641586515866158671586815869158701587115872158731587415875158761587715878158791588015881158821588315884158851588615887158881588915890158911589215893158941589515896158971589815899159001590115902159031590415905159061590715908159091591015911159121591315914159151591615917159181591915920159211592215923159241592515926159271592815929159301593115932159331593415935159361593715938159391594015941159421594315944159451594615947159481594915950159511595215953159541595515956159571595815959159601596115962159631596415965159661596715968159691597015971159721597315974159751597615977159781597915980159811598215983159841598515986159871598815989159901599115992159931599415995159961599715998159991600016001160021600316004160051600616007160081600916010160111601216013160141601516016160171601816019160201602116022160231602416025160261602716028160291603016031160321603316034160351603616037160381603916040160411604216043160441604516046160471604816049160501605116052160531605416055160561605716058160591606016061160621606316064160651606616067160681606916070160711607216073160741607516076160771607816079160801608116082160831608416085160861608716088160891609016091160921609316094160951609616097160981609916100161011610216103161041610516106161071610816109161101611116112161131611416115161161611716118161191612016121161221612316124161251612616127161281612916130161311613216133161341613516136161371613816139161401614116142161431614416145161461614716148161491615016151161521615316154161551615616157161581615916160161611616216163161641616516166161671616816169161701617116172161731617416175161761617716178161791618016181161821618316184161851618616187161881618916190161911619216193161941619516196161971619816199162001620116202162031620416205162061620716208162091621016211162121621316214162151621616217162181621916220162211622216223162241622516226162271622816229162301623116232162331623416235162361623716238162391624016241162421624316244162451624616247162481624916250162511625216253162541625516256162571625816259162601626116262162631626416265162661626716268162691627016271162721627316274162751627616277162781627916280162811628216283162841628516286162871628816289162901629116292162931629416295162961629716298162991630016301163021630316304163051630616307163081630916310163111631216313163141631516316163171631816319163201632116322163231632416325163261632716328163291633016331163321633316334163351633616337163381633916340163411634216343163441634516346163471634816349163501635116352163531635416355163561635716358163591636016361163621636316364163651636616367163681636916370163711637216373163741637516376163771637816379163801638116382163831638416385163861638716388163891639016391163921639316394163951639616397163981639916400164011640216403164041640516406164071640816409164101641116412164131641416415164161641716418164191642016421164221642316424164251642616427164281642916430164311643216433164341643516436164371643816439164401644116442164431644416445164461644716448164491645016451164521645316454164551645616457164581645916460164611646216463164641646516466164671646816469164701647116472164731647416475164761647716478164791648016481164821648316484164851648616487164881648916490164911649216493164941649516496164971649816499165001650116502165031650416505165061650716508165091651016511165121651316514165151651616517165181651916520165211652216523165241652516526165271652816529165301653116532165331653416535165361653716538165391654016541165421654316544165451654616547165481654916550165511655216553165541655516556165571655816559165601656116562165631656416565165661656716568165691657016571165721657316574165751657616577165781657916580165811658216583165841658516586165871658816589165901659116592165931659416595165961659716598165991660016601166021660316604166051660616607166081660916610166111661216613166141661516616166171661816619166201662116622166231662416625166261662716628166291663016631166321663316634166351663616637166381663916640166411664216643166441664516646166471664816649166501665116652166531665416655166561665716658166591666016661166621666316664166651666616667166681666916670166711667216673166741667516676166771667816679166801668116682166831668416685166861668716688166891669016691166921669316694166951669616697166981669916700167011670216703167041670516706167071670816709167101671116712167131671416715167161671716718167191672016721167221672316724167251672616727167281672916730167311673216733167341673516736167371673816739167401674116742167431674416745167461674716748167491675016751167521675316754167551675616757167581675916760167611676216763167641676516766167671676816769167701677116772167731677416775167761677716778167791678016781167821678316784167851678616787167881678916790167911679216793167941679516796167971679816799168001680116802168031680416805168061680716808168091681016811168121681316814168151681616817168181681916820168211682216823168241682516826168271682816829168301683116832168331683416835168361683716838168391684016841168421684316844168451684616847168481684916850168511685216853168541685516856168571685816859168601686116862168631686416865168661686716868168691687016871168721687316874168751687616877168781687916880168811688216883168841688516886168871688816889168901689116892168931689416895168961689716898168991690016901169021690316904169051690616907169081690916910169111691216913169141691516916169171691816919169201692116922169231692416925169261692716928169291693016931169321693316934169351693616937169381693916940169411694216943169441694516946169471694816949169501695116952169531695416955169561695716958169591696016961169621696316964169651696616967169681696916970169711697216973169741697516976169771697816979169801698116982169831698416985169861698716988169891699016991169921699316994169951699616997169981699917000170011700217003170041700517006170071700817009170101701117012170131701417015170161701717018170191702017021170221702317024170251702617027170281702917030170311703217033170341703517036170371703817039170401704117042170431704417045170461704717048170491705017051170521705317054170551705617057170581705917060170611706217063170641706517066170671706817069170701707117072170731707417075170761707717078170791708017081170821708317084170851708617087170881708917090170911709217093170941709517096170971709817099171001710117102171031710417105171061710717108171091711017111171121711317114171151711617117171181711917120171211712217123171241712517126171271712817129171301713117132171331713417135171361713717138171391714017141171421714317144171451714617147171481714917150171511715217153171541715517156171571715817159171601716117162171631716417165171661716717168171691717017171171721717317174171751717617177171781717917180171811718217183171841718517186171871718817189171901719117192171931719417195171961719717198171991720017201172021720317204172051720617207172081720917210172111721217213172141721517216172171721817219172201722117222172231722417225172261722717228172291723017231172321723317234172351723617237172381723917240172411724217243172441724517246172471724817249172501725117252172531725417255172561725717258172591726017261172621726317264172651726617267172681726917270172711727217273172741727517276172771727817279172801728117282172831728417285172861728717288172891729017291172921729317294172951729617297172981729917300173011730217303173041730517306173071730817309173101731117312173131731417315173161731717318173191732017321173221732317324173251732617327173281732917330173311733217333173341733517336173371733817339173401734117342173431734417345173461734717348173491735017351173521735317354173551735617357173581735917360173611736217363173641736517366173671736817369173701737117372173731737417375173761737717378173791738017381173821738317384173851738617387173881738917390173911739217393173941739517396173971739817399174001740117402174031740417405174061740717408174091741017411174121741317414174151741617417174181741917420174211742217423174241742517426174271742817429174301743117432174331743417435174361743717438174391744017441174421744317444174451744617447174481744917450174511745217453174541745517456174571745817459174601746117462174631746417465174661746717468174691747017471174721747317474174751747617477174781747917480174811748217483174841748517486174871748817489174901749117492174931749417495174961749717498174991750017501175021750317504175051750617507175081750917510175111751217513175141751517516175171751817519175201752117522175231752417525175261752717528175291753017531175321753317534175351753617537175381753917540175411754217543175441754517546175471754817549175501755117552175531755417555175561755717558175591756017561175621756317564175651756617567175681756917570175711757217573175741757517576175771757817579175801758117582175831758417585175861758717588175891759017591175921759317594175951759617597175981759917600176011760217603176041760517606176071760817609176101761117612176131761417615176161761717618176191762017621176221762317624176251762617627176281762917630176311763217633176341763517636176371763817639176401764117642176431764417645176461764717648176491765017651176521765317654176551765617657176581765917660176611766217663176641766517666176671766817669176701767117672176731767417675176761767717678176791768017681176821768317684176851768617687176881768917690176911769217693176941769517696176971769817699177001770117702177031770417705177061770717708177091771017711177121771317714177151771617717177181771917720177211772217723177241772517726177271772817729177301773117732177331773417735177361773717738177391774017741177421774317744177451774617747177481774917750177511775217753177541775517756177571775817759177601776117762177631776417765177661776717768177691777017771177721777317774177751777617777177781777917780177811778217783177841778517786177871778817789177901779117792177931779417795177961779717798177991780017801178021780317804178051780617807178081780917810178111781217813178141781517816178171781817819178201782117822178231782417825178261782717828178291783017831178321783317834178351783617837178381783917840178411784217843178441784517846178471784817849178501785117852178531785417855178561785717858178591786017861178621786317864178651786617867178681786917870178711787217873178741787517876178771787817879178801788117882178831788417885178861788717888178891789017891178921789317894178951789617897178981789917900179011790217903179041790517906179071790817909179101791117912179131791417915179161791717918179191792017921179221792317924179251792617927179281792917930179311793217933179341793517936179371793817939179401794117942179431794417945179461794717948179491795017951179521795317954179551795617957179581795917960179611796217963179641796517966179671796817969179701797117972179731797417975179761797717978179791798017981179821798317984179851798617987179881798917990179911799217993179941799517996179971799817999180001800118002180031800418005180061800718008180091801018011180121801318014180151801618017180181801918020180211802218023180241802518026180271802818029180301803118032180331803418035180361803718038180391804018041180421804318044180451804618047180481804918050180511805218053180541805518056180571805818059180601806118062180631806418065180661806718068180691807018071180721807318074180751807618077180781807918080180811808218083180841808518086180871808818089180901809118092180931809418095180961809718098180991810018101181021810318104181051810618107181081810918110181111811218113181141811518116181171811818119181201812118122181231812418125181261812718128181291813018131181321813318134181351813618137181381813918140181411814218143181441814518146181471814818149181501815118152181531815418155181561815718158181591816018161181621816318164181651816618167181681816918170181711817218173181741817518176181771817818179181801818118182181831818418185181861818718188181891819018191181921819318194181951819618197181981819918200182011820218203182041820518206182071820818209182101821118212182131821418215182161821718218182191822018221182221822318224182251822618227182281822918230182311823218233182341823518236182371823818239182401824118242182431824418245182461824718248182491825018251182521825318254182551825618257182581825918260182611826218263182641826518266182671826818269182701827118272182731827418275182761827718278182791828018281182821828318284182851828618287182881828918290182911829218293182941829518296182971829818299183001830118302183031830418305183061830718308183091831018311183121831318314183151831618317183181831918320183211832218323183241832518326183271832818329183301833118332183331833418335183361833718338183391834018341183421834318344183451834618347183481834918350183511835218353183541835518356183571835818359183601836118362183631836418365183661836718368183691837018371183721837318374183751837618377183781837918380183811838218383183841838518386183871838818389183901839118392183931839418395183961839718398183991840018401184021840318404184051840618407184081840918410184111841218413184141841518416184171841818419184201842118422184231842418425184261842718428184291843018431184321843318434184351843618437184381843918440184411844218443184441844518446184471844818449184501845118452184531845418455184561845718458184591846018461184621846318464184651846618467184681846918470184711847218473184741847518476184771847818479184801848118482184831848418485184861848718488184891849018491184921849318494184951849618497184981849918500185011850218503185041850518506185071850818509185101851118512185131851418515185161851718518185191852018521185221852318524185251852618527185281852918530185311853218533185341853518536185371853818539185401854118542185431854418545185461854718548185491855018551185521855318554185551855618557185581855918560185611856218563185641856518566185671856818569185701857118572185731857418575185761857718578185791858018581185821858318584185851858618587185881858918590185911859218593185941859518596185971859818599186001860118602186031860418605186061860718608186091861018611186121861318614186151861618617186181861918620186211862218623186241862518626186271862818629186301863118632186331863418635186361863718638186391864018641186421864318644186451864618647186481864918650186511865218653186541865518656186571865818659186601866118662186631866418665186661866718668186691867018671186721867318674186751867618677186781867918680186811868218683186841868518686186871868818689186901869118692186931869418695186961869718698186991870018701187021870318704187051870618707187081870918710187111871218713187141871518716187171871818719187201872118722187231872418725187261872718728187291873018731187321873318734187351873618737187381873918740187411874218743187441874518746187471874818749187501875118752187531875418755187561875718758187591876018761187621876318764187651876618767187681876918770187711877218773187741877518776187771877818779187801878118782187831878418785187861878718788187891879018791187921879318794187951879618797187981879918800188011880218803188041880518806188071880818809188101881118812188131881418815188161881718818188191882018821188221882318824188251882618827188281882918830188311883218833188341883518836188371883818839188401884118842188431884418845188461884718848188491885018851188521885318854188551885618857188581885918860188611886218863188641886518866188671886818869188701887118872188731887418875188761887718878188791888018881188821888318884188851888618887188881888918890188911889218893188941889518896188971889818899189001890118902189031890418905189061890718908189091891018911189121891318914189151891618917189181891918920189211892218923189241892518926189271892818929189301893118932189331893418935189361893718938189391894018941189421894318944189451894618947189481894918950189511895218953189541895518956189571895818959189601896118962189631896418965189661896718968189691897018971189721897318974189751897618977189781897918980189811898218983189841898518986189871898818989189901899118992189931899418995189961899718998189991900019001190021900319004190051900619007190081900919010190111901219013190141901519016190171901819019190201902119022190231902419025190261902719028190291903019031190321903319034190351903619037190381903919040190411904219043190441904519046190471904819049190501905119052190531905419055190561905719058190591906019061190621906319064190651906619067190681906919070190711907219073190741907519076190771907819079190801908119082190831908419085190861908719088190891909019091190921909319094190951909619097190981909919100191011910219103191041910519106191071910819109191101911119112191131911419115191161911719118191191912019121191221912319124191251912619127191281912919130191311913219133191341913519136191371913819139191401914119142191431914419145191461914719148191491915019151191521915319154191551915619157191581915919160191611916219163191641916519166191671916819169191701917119172191731917419175191761917719178191791918019181191821918319184191851918619187191881918919190191911919219193191941919519196191971919819199192001920119202192031920419205192061920719208192091921019211192121921319214192151921619217192181921919220192211922219223192241922519226192271922819229192301923119232192331923419235192361923719238192391924019241192421924319244192451924619247192481924919250192511925219253192541925519256192571925819259192601926119262192631926419265192661926719268192691927019271192721927319274192751927619277192781927919280192811928219283192841928519286192871928819289192901929119292192931929419295192961929719298192991930019301193021930319304193051930619307193081930919310193111931219313193141931519316193171931819319193201932119322193231932419325193261932719328193291933019331193321933319334193351933619337193381933919340193411934219343193441934519346193471934819349193501935119352193531935419355193561935719358193591936019361193621936319364193651936619367193681936919370193711937219373193741937519376193771937819379193801938119382193831938419385193861938719388193891939019391193921939319394193951939619397193981939919400194011940219403194041940519406194071940819409194101941119412194131941419415194161941719418194191942019421194221942319424194251942619427194281942919430194311943219433194341943519436194371943819439194401944119442194431944419445194461944719448194491945019451194521945319454194551945619457194581945919460194611946219463194641946519466194671946819469194701947119472194731947419475194761947719478194791948019481194821948319484194851948619487194881948919490194911949219493194941949519496194971949819499195001950119502195031950419505195061950719508195091951019511195121951319514195151951619517195181951919520195211952219523195241952519526195271952819529195301953119532195331953419535195361953719538195391954019541195421954319544195451954619547195481954919550195511955219553195541955519556195571955819559195601956119562195631956419565195661956719568195691957019571195721957319574195751957619577195781957919580195811958219583195841958519586195871958819589195901959119592195931959419595195961959719598195991960019601196021960319604196051960619607196081960919610196111961219613196141961519616196171961819619196201962119622196231962419625196261962719628196291963019631196321963319634196351963619637196381963919640196411964219643196441964519646196471964819649196501965119652196531965419655196561965719658196591966019661196621966319664196651966619667196681966919670196711967219673196741967519676196771967819679196801968119682196831968419685196861968719688196891969019691196921969319694196951969619697196981969919700197011970219703197041970519706197071970819709197101971119712197131971419715197161971719718197191972019721197221972319724197251972619727197281972919730197311973219733197341973519736197371973819739197401974119742197431974419745197461974719748197491975019751197521975319754197551975619757197581975919760197611976219763197641976519766197671976819769197701977119772197731977419775197761977719778197791978019781197821978319784197851978619787197881978919790197911979219793197941979519796197971979819799198001980119802198031980419805198061980719808198091981019811198121981319814198151981619817198181981919820198211982219823198241982519826198271982819829198301983119832198331983419835198361983719838198391984019841198421984319844198451984619847198481984919850198511985219853198541985519856198571985819859198601986119862198631986419865198661986719868198691987019871198721987319874198751987619877198781987919880198811988219883198841988519886198871988819889198901989119892198931989419895198961989719898198991990019901199021990319904199051990619907199081990919910199111991219913199141991519916199171991819919199201992119922199231992419925199261992719928199291993019931199321993319934199351993619937199381993919940199411994219943199441994519946199471994819949199501995119952199531995419955199561995719958199591996019961199621996319964199651996619967199681996919970199711997219973199741997519976199771997819979199801998119982199831998419985199861998719988199891999019991199921999319994199951999619997199981999920000200012000220003200042000520006200072000820009200102001120012200132001420015200162001720018200192002020021200222002320024200252002620027200282002920030200312003220033200342003520036200372003820039200402004120042200432004420045200462004720048200492005020051200522005320054200552005620057200582005920060200612006220063200642006520066200672006820069200702007120072200732007420075200762007720078200792008020081200822008320084200852008620087200882008920090200912009220093200942009520096200972009820099201002010120102201032010420105201062010720108201092011020111201122011320114201152011620117201182011920120201212012220123201242012520126201272012820129201302013120132201332013420135201362013720138201392014020141201422014320144201452014620147201482014920150201512015220153201542015520156201572015820159201602016120162201632016420165201662016720168201692017020171201722017320174201752017620177201782017920180201812018220183201842018520186201872018820189201902019120192201932019420195201962019720198201992020020201202022020320204202052020620207202082020920210202112021220213202142021520216202172021820219202202022120222202232022420225202262022720228202292023020231202322023320234202352023620237202382023920240202412024220243202442024520246202472024820249202502025120252202532025420255202562025720258202592026020261202622026320264202652026620267202682026920270202712027220273202742027520276202772027820279202802028120282202832028420285202862028720288202892029020291202922029320294202952029620297202982029920300203012030220303203042030520306203072030820309203102031120312203132031420315203162031720318203192032020321203222032320324203252032620327203282032920330203312033220333203342033520336203372033820339203402034120342203432034420345203462034720348203492035020351203522035320354203552035620357203582035920360203612036220363203642036520366203672036820369203702037120372203732037420375203762037720378203792038020381203822038320384203852038620387203882038920390203912039220393203942039520396203972039820399204002040120402204032040420405204062040720408204092041020411204122041320414204152041620417204182041920420204212042220423204242042520426204272042820429204302043120432204332043420435204362043720438204392044020441204422044320444204452044620447204482044920450204512045220453204542045520456204572045820459204602046120462204632046420465204662046720468204692047020471204722047320474204752047620477204782047920480204812048220483204842048520486204872048820489204902049120492204932049420495204962049720498204992050020501205022050320504205052050620507205082050920510205112051220513205142051520516205172051820519205202052120522205232052420525205262052720528205292053020531205322053320534205352053620537205382053920540205412054220543205442054520546205472054820549205502055120552205532055420555205562055720558205592056020561205622056320564205652056620567205682056920570205712057220573205742057520576205772057820579205802058120582205832058420585205862058720588205892059020591205922059320594205952059620597205982059920600206012060220603206042060520606206072060820609206102061120612206132061420615206162061720618206192062020621206222062320624206252062620627206282062920630206312063220633206342063520636206372063820639206402064120642206432064420645206462064720648206492065020651206522065320654206552065620657206582065920660206612066220663206642066520666206672066820669206702067120672206732067420675206762067720678206792068020681206822068320684206852068620687206882068920690206912069220693206942069520696206972069820699207002070120702207032070420705207062070720708207092071020711207122071320714207152071620717207182071920720207212072220723207242072520726207272072820729207302073120732207332073420735207362073720738207392074020741207422074320744207452074620747207482074920750207512075220753207542075520756207572075820759207602076120762207632076420765207662076720768207692077020771207722077320774207752077620777207782077920780207812078220783207842078520786207872078820789207902079120792207932079420795207962079720798207992080020801208022080320804208052080620807208082080920810208112081220813208142081520816208172081820819208202082120822208232082420825208262082720828208292083020831208322083320834208352083620837208382083920840208412084220843208442084520846208472084820849208502085120852208532085420855208562085720858208592086020861208622086320864208652086620867208682086920870208712087220873208742087520876208772087820879208802088120882208832088420885208862088720888208892089020891208922089320894208952089620897208982089920900209012090220903209042090520906209072090820909209102091120912209132091420915209162091720918209192092020921209222092320924209252092620927209282092920930209312093220933209342093520936209372093820939209402094120942209432094420945209462094720948209492095020951209522095320954209552095620957209582095920960209612096220963209642096520966209672096820969209702097120972209732097420975209762097720978209792098020981209822098320984209852098620987209882098920990209912099220993209942099520996209972099820999210002100121002210032100421005210062100721008210092101021011210122101321014210152101621017210182101921020210212102221023210242102521026210272102821029210302103121032210332103421035210362103721038210392104021041210422104321044210452104621047210482104921050210512105221053210542105521056210572105821059210602106121062210632106421065210662106721068210692107021071210722107321074210752107621077210782107921080210812108221083210842108521086210872108821089210902109121092210932109421095210962109721098210992110021101211022110321104211052110621107211082110921110211112111221113211142111521116211172111821119211202112121122211232112421125211262112721128211292113021131211322113321134211352113621137211382113921140211412114221143211442114521146211472114821149211502115121152211532115421155211562115721158211592116021161211622116321164211652116621167211682116921170211712117221173211742117521176211772117821179211802118121182211832118421185211862118721188211892119021191211922119321194211952119621197211982119921200212012120221203212042120521206212072120821209212102121121212212132121421215212162121721218212192122021221212222122321224212252122621227212282122921230212312123221233212342123521236212372123821239212402124121242212432124421245212462124721248212492125021251212522125321254212552125621257212582125921260212612126221263212642126521266212672126821269212702127121272212732127421275212762127721278212792128021281212822128321284212852128621287212882128921290212912129221293212942129521296212972129821299213002130121302213032130421305213062130721308213092131021311213122131321314213152131621317213182131921320213212132221323213242132521326213272132821329213302133121332213332133421335213362133721338213392134021341213422134321344213452134621347213482134921350213512135221353213542135521356213572135821359213602136121362213632136421365213662136721368213692137021371213722137321374213752137621377213782137921380213812138221383213842138521386213872138821389213902139121392213932139421395213962139721398213992140021401214022140321404214052140621407214082140921410214112141221413214142141521416214172141821419214202142121422214232142421425214262142721428214292143021431214322143321434214352143621437214382143921440214412144221443214442144521446214472144821449214502145121452214532145421455214562145721458214592146021461214622146321464214652146621467214682146921470214712147221473214742147521476214772147821479214802148121482214832148421485214862148721488214892149021491214922149321494214952149621497214982149921500215012150221503215042150521506215072150821509215102151121512215132151421515215162151721518215192152021521215222152321524215252152621527215282152921530215312153221533215342153521536215372153821539215402154121542215432154421545215462154721548215492155021551215522155321554215552155621557215582155921560215612156221563215642156521566215672156821569215702157121572215732157421575215762157721578215792158021581215822158321584215852158621587215882158921590215912159221593215942159521596215972159821599216002160121602216032160421605216062160721608216092161021611216122161321614216152161621617216182161921620216212162221623216242162521626216272162821629216302163121632216332163421635216362163721638216392164021641216422164321644216452164621647216482164921650216512165221653216542165521656216572165821659216602166121662216632166421665216662166721668216692167021671216722167321674216752167621677216782167921680216812168221683216842168521686216872168821689216902169121692216932169421695216962169721698216992170021701217022170321704217052170621707217082170921710217112171221713217142171521716217172171821719217202172121722217232172421725217262172721728217292173021731217322173321734217352173621737217382173921740217412174221743217442174521746217472174821749217502175121752217532175421755217562175721758217592176021761217622176321764217652176621767217682176921770217712177221773217742177521776217772177821779217802178121782217832178421785217862178721788217892179021791217922179321794217952179621797217982179921800218012180221803218042180521806218072180821809218102181121812218132181421815218162181721818218192182021821218222182321824218252182621827218282182921830218312183221833218342183521836218372183821839218402184121842218432184421845218462184721848218492185021851218522185321854218552185621857218582185921860218612186221863218642186521866218672186821869218702187121872218732187421875218762187721878218792188021881218822188321884218852188621887218882188921890218912189221893218942189521896218972189821899219002190121902219032190421905219062190721908219092191021911219122191321914219152191621917219182191921920219212192221923219242192521926219272192821929219302193121932219332193421935219362193721938219392194021941219422194321944219452194621947219482194921950219512195221953219542195521956219572195821959219602196121962219632196421965219662196721968219692197021971219722197321974219752197621977219782197921980219812198221983219842198521986219872198821989219902199121992219932199421995219962199721998219992200022001220022200322004220052200622007220082200922010220112201222013220142201522016220172201822019220202202122022220232202422025220262202722028220292203022031220322203322034220352203622037220382203922040220412204222043220442204522046220472204822049220502205122052220532205422055220562205722058220592206022061220622206322064220652206622067220682206922070220712207222073220742207522076220772207822079220802208122082220832208422085220862208722088220892209022091220922209322094220952209622097220982209922100221012210222103221042210522106221072210822109221102211122112221132211422115221162211722118221192212022121221222212322124221252212622127221282212922130221312213222133221342213522136221372213822139221402214122142221432214422145221462214722148221492215022151221522215322154221552215622157221582215922160221612216222163221642216522166221672216822169221702217122172221732217422175221762217722178221792218022181221822218322184221852218622187221882218922190221912219222193221942219522196221972219822199222002220122202222032220422205222062220722208222092221022211222122221322214222152221622217222182221922220222212222222223222242222522226222272222822229222302223122232222332223422235222362223722238222392224022241222422224322244222452224622247222482224922250222512225222253222542225522256222572225822259222602226122262222632226422265222662226722268222692227022271222722227322274222752227622277222782227922280222812228222283222842228522286222872228822289222902229122292222932229422295222962229722298222992230022301223022230322304223052230622307223082230922310223112231222313223142231522316223172231822319223202232122322223232232422325223262232722328223292233022331223322233322334223352233622337223382233922340223412234222343223442234522346223472234822349223502235122352223532235422355223562235722358223592236022361223622236322364223652236622367223682236922370223712237222373223742237522376223772237822379223802238122382223832238422385223862238722388223892239022391223922239322394223952239622397223982239922400224012240222403224042240522406224072240822409224102241122412224132241422415224162241722418224192242022421224222242322424224252242622427224282242922430224312243222433224342243522436224372243822439224402244122442224432244422445224462244722448224492245022451224522245322454224552245622457224582245922460224612246222463224642246522466224672246822469224702247122472224732247422475224762247722478224792248022481224822248322484224852248622487224882248922490224912249222493224942249522496224972249822499225002250122502225032250422505225062250722508225092251022511225122251322514225152251622517225182251922520225212252222523225242252522526225272252822529225302253122532225332253422535225362253722538225392254022541225422254322544225452254622547225482254922550225512255222553225542255522556225572255822559225602256122562225632256422565225662256722568225692257022571225722257322574225752257622577225782257922580225812258222583225842258522586225872258822589225902259122592225932259422595225962259722598225992260022601226022260322604226052260622607226082260922610226112261222613226142261522616226172261822619226202262122622226232262422625226262262722628226292263022631226322263322634226352263622637226382263922640226412264222643226442264522646226472264822649226502265122652226532265422655226562265722658226592266022661226622266322664226652266622667226682266922670226712267222673226742267522676226772267822679226802268122682226832268422685226862268722688226892269022691226922269322694226952269622697226982269922700227012270222703227042270522706227072270822709227102271122712227132271422715227162271722718227192272022721227222272322724227252272622727227282272922730227312273222733227342273522736227372273822739227402274122742227432274422745227462274722748227492275022751227522275322754227552275622757227582275922760227612276222763227642276522766227672276822769227702277122772227732277422775227762277722778227792278022781227822278322784227852278622787227882278922790227912279222793227942279522796227972279822799228002280122802228032280422805228062280722808228092281022811228122281322814228152281622817228182281922820228212282222823228242282522826228272282822829228302283122832228332283422835228362283722838228392284022841228422284322844228452284622847228482284922850228512285222853228542285522856
  1. #! /bin/sh
  2. # Guess values for system-dependent variables and create Makefiles.
  3. # Generated by GNU Autoconf 2.69 for Wine 6.6.
  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='6.6'
  536. PACKAGE_STRING='Wine 6.6'
  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. TOOLSEXT
  583. MSVCRTFLAGS
  584. EXTRACFLAGS
  585. VKD3D_SHADER_LIBS
  586. VKD3D_SHADER_CFLAGS
  587. VKD3D_LIBS
  588. VKD3D_CFLAGS
  589. NETAPI_LIBS
  590. NETAPI_CFLAGS
  591. PROCSTAT_LIBS
  592. KSTAT_LIBS
  593. MPG123_LIBS
  594. MPG123_CFLAGS
  595. TIFF_LIBS
  596. TIFF_CFLAGS
  597. PNG_LIBS
  598. PNG_CFLAGS
  599. JXRLIB_LIBS
  600. JXRLIB_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. FREETYPE_LIBS
  630. FREETYPE_CFLAGS
  631. LCMS2_LIBS
  632. LCMS2_CFLAGS
  633. RESOLV_LIBS
  634. GPHOTO2_PORT_LIBS
  635. GPHOTO2_PORT_CFLAGS
  636. GPHOTO2_LIBS
  637. GPHOTO2_CFLAGS
  638. USB_LIBS
  639. USB_CFLAGS
  640. SANE_LIBS
  641. SANE_CFLAGS
  642. GNUTLS_LIBS
  643. GNUTLS_CFLAGS
  644. HAL_LIBS
  645. HAL_CFLAGS
  646. DBUS_LIBS
  647. DBUS_CFLAGS
  648. INOTIFY_LIBS
  649. INOTIFY_CFLAGS
  650. XSLT_LIBS
  651. XSLT_CFLAGS
  652. XML2_LIBS
  653. XML2_CFLAGS
  654. PCAP_LIBS
  655. X_EXTRA_LIBS
  656. X_LIBS
  657. X_PRE_LIBS
  658. X_CFLAGS
  659. XMKMF
  660. PTHREAD_LIBS
  661. EXCESS_PRECISION_CFLAGS
  662. CROSSDEBUG
  663. DELAYLOADFLAG
  664. CROSSLDFLAGS
  665. EXTRACROSSCFLAGS
  666. CROSSCFLAGS
  667. CROSSCC
  668. CROSSTARGET
  669. LIBWINE_DEPENDS
  670. PRELINK
  671. WINELOADER_DEPENDS
  672. LIBWINE_LDFLAGS
  673. LIBWINE_SHAREDLIB
  674. METAL_LIBS
  675. CARBON_LIBS
  676. QUICKTIME_LIBS
  677. OPENCL_LIBS
  678. OPENAL_LIBS
  679. COREAUDIO_LIBS
  680. SECURITY_LIBS
  681. DISKARBITRATION_LIBS
  682. SYSTEMCONFIGURATION_LIBS
  683. APPKIT_LIBS
  684. CORESERVICES_LIBS
  685. APPLICATIONSERVICES_LIBS
  686. FORCEFEEDBACK_LIBS
  687. IOKIT_LIBS
  688. COREFOUNDATION_LIBS
  689. OBJCPP
  690. ac_ct_OBJC
  691. OBJCFLAGS
  692. OBJC
  693. DLLTOOL
  694. WINELOADER_PROGRAMS
  695. CONFIGURE_TARGETS
  696. DISABLED_SUBDIRS
  697. SUBDIRS
  698. READELF
  699. OTOOL
  700. LDD
  701. WINEPRELOADER_LDFLAGS
  702. WINELOADER_LDFLAGS
  703. TOP_INSTALL_DEV
  704. TOP_INSTALL_LIB
  705. LDEXECFLAGS
  706. LDDLLFLAGS
  707. DLLFLAGS
  708. CPP
  709. OPENGL_LIBS
  710. I386_LIBS
  711. ICOTOOL
  712. CONVERT
  713. RSVG
  714. FONTFORGE
  715. PKG_CONFIG
  716. MSGFMT
  717. LDCONFIG
  718. EGREP
  719. GREP
  720. LN_S
  721. RANLIB
  722. STRIP
  723. ac_ct_AR
  724. AR
  725. BISON
  726. FLEX
  727. TOOLSDIR
  728. TARGETFLAGS
  729. LD
  730. CPPBIN
  731. ac_ct_CXX
  732. CXXFLAGS
  733. CXX
  734. OBJEXT
  735. EXEEXT
  736. ac_ct_CC
  737. CPPFLAGS
  738. LDFLAGS
  739. CFLAGS
  740. CC
  741. SET_MAKE
  742. host_os
  743. host_vendor
  744. host_cpu
  745. host
  746. build_os
  747. build_vendor
  748. build_cpu
  749. build
  750. target_alias
  751. host_alias
  752. build_alias
  753. LIBS
  754. ECHO_T
  755. ECHO_N
  756. ECHO_C
  757. DEFS
  758. mandir
  759. localedir
  760. libdir
  761. psdir
  762. pdfdir
  763. dvidir
  764. htmldir
  765. infodir
  766. docdir
  767. oldincludedir
  768. includedir
  769. runstatedir
  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_build_id
  796. enable_maintainer_mode
  797. enable_silent_rules
  798. enable_werror
  799. with_alsa
  800. with_capi
  801. with_cms
  802. with_coreaudio
  803. with_cups
  804. with_dbus
  805. with_faudio
  806. with_float_abi
  807. with_fontconfig
  808. with_freetype
  809. with_gettext
  810. with_gettextpo
  811. with_gphoto
  812. with_gnutls
  813. with_gsm
  814. with_gssapi
  815. with_gstreamer
  816. with_hal
  817. with_inotify
  818. with_jpeg
  819. with_jxrlib
  820. with_krb5
  821. with_ldap
  822. with_mingw
  823. with_mpg123
  824. with_netapi
  825. with_openal
  826. with_opencl
  827. with_opengl
  828. with_osmesa
  829. with_oss
  830. with_pcap
  831. with_png
  832. with_pthread
  833. with_pulse
  834. with_quicktime
  835. with_sane
  836. with_sdl
  837. with_tiff
  838. with_udev
  839. with_unwind
  840. with_usb
  841. with_v4l2
  842. with_vkd3d
  843. with_vulkan
  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_wine_tools
  858. with_wine64
  859. enable_largefile
  860. with_x
  861. enable_acledit
  862. enable_aclui
  863. enable_activeds_tlb
  864. enable_activeds
  865. enable_actxprxy
  866. enable_adsiid
  867. enable_adsldp
  868. enable_adsldpc
  869. enable_advapi32
  870. enable_advpack
  871. enable_amsi
  872. enable_amstream
  873. enable_api_ms_win_appmodel_identity_l1_1_0
  874. enable_api_ms_win_appmodel_runtime_l1_1_1
  875. enable_api_ms_win_appmodel_runtime_l1_1_2
  876. enable_api_ms_win_core_apiquery_l1_1_0
  877. enable_api_ms_win_core_appcompat_l1_1_1
  878. enable_api_ms_win_core_appinit_l1_1_0
  879. enable_api_ms_win_core_atoms_l1_1_0
  880. enable_api_ms_win_core_bem_l1_1_0
  881. enable_api_ms_win_core_com_l1_1_0
  882. enable_api_ms_win_core_com_l1_1_1
  883. enable_api_ms_win_core_com_private_l1_1_0
  884. enable_api_ms_win_core_comm_l1_1_0
  885. enable_api_ms_win_core_console_l1_1_0
  886. enable_api_ms_win_core_console_l2_1_0
  887. enable_api_ms_win_core_crt_l1_1_0
  888. enable_api_ms_win_core_crt_l2_1_0
  889. enable_api_ms_win_core_datetime_l1_1_0
  890. enable_api_ms_win_core_datetime_l1_1_1
  891. enable_api_ms_win_core_debug_l1_1_0
  892. enable_api_ms_win_core_debug_l1_1_1
  893. enable_api_ms_win_core_delayload_l1_1_0
  894. enable_api_ms_win_core_delayload_l1_1_1
  895. enable_api_ms_win_core_errorhandling_l1_1_0
  896. enable_api_ms_win_core_errorhandling_l1_1_1
  897. enable_api_ms_win_core_errorhandling_l1_1_2
  898. enable_api_ms_win_core_errorhandling_l1_1_3
  899. enable_api_ms_win_core_fibers_l1_1_0
  900. enable_api_ms_win_core_fibers_l1_1_1
  901. enable_api_ms_win_core_file_ansi_l2_1_0
  902. enable_api_ms_win_core_file_fromapp_l1_1_0
  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_legacy_l1_1_2
  924. enable_api_ms_win_core_kernel32_private_l1_1_1
  925. enable_api_ms_win_core_largeinteger_l1_1_0
  926. enable_api_ms_win_core_libraryloader_l1_1_0
  927. enable_api_ms_win_core_libraryloader_l1_1_1
  928. enable_api_ms_win_core_libraryloader_l1_2_0
  929. enable_api_ms_win_core_libraryloader_l1_2_1
  930. enable_api_ms_win_core_libraryloader_l1_2_2
  931. enable_api_ms_win_core_libraryloader_l2_1_0
  932. enable_api_ms_win_core_localization_l1_1_0
  933. enable_api_ms_win_core_localization_l1_2_0
  934. enable_api_ms_win_core_localization_l1_2_1
  935. enable_api_ms_win_core_localization_l1_2_2
  936. enable_api_ms_win_core_localization_l2_1_0
  937. enable_api_ms_win_core_localization_obsolete_l1_1_0
  938. enable_api_ms_win_core_localization_obsolete_l1_2_0
  939. enable_api_ms_win_core_localization_obsolete_l1_3_0
  940. enable_api_ms_win_core_localization_private_l1_1_0
  941. enable_api_ms_win_core_localregistry_l1_1_0
  942. enable_api_ms_win_core_memory_l1_1_0
  943. enable_api_ms_win_core_memory_l1_1_1
  944. enable_api_ms_win_core_memory_l1_1_2
  945. enable_api_ms_win_core_memory_l1_1_3
  946. enable_api_ms_win_core_memory_l1_1_4
  947. enable_api_ms_win_core_misc_l1_1_0
  948. enable_api_ms_win_core_namedpipe_ansi_l1_1_0
  949. enable_api_ms_win_core_namedpipe_l1_1_0
  950. enable_api_ms_win_core_namedpipe_l1_2_0
  951. enable_api_ms_win_core_namespace_l1_1_0
  952. enable_api_ms_win_core_normalization_l1_1_0
  953. enable_api_ms_win_core_path_l1_1_0
  954. enable_api_ms_win_core_privateprofile_l1_1_1
  955. enable_api_ms_win_core_processenvironment_l1_1_0
  956. enable_api_ms_win_core_processenvironment_l1_2_0
  957. enable_api_ms_win_core_processthreads_l1_1_0
  958. enable_api_ms_win_core_processthreads_l1_1_1
  959. enable_api_ms_win_core_processthreads_l1_1_2
  960. enable_api_ms_win_core_processthreads_l1_1_3
  961. enable_api_ms_win_core_processtopology_obsolete_l1_1_0
  962. enable_api_ms_win_core_profile_l1_1_0
  963. enable_api_ms_win_core_psapi_ansi_l1_1_0
  964. enable_api_ms_win_core_psapi_l1_1_0
  965. enable_api_ms_win_core_psapi_obsolete_l1_1_0
  966. enable_api_ms_win_core_quirks_l1_1_0
  967. enable_api_ms_win_core_realtime_l1_1_0
  968. enable_api_ms_win_core_registry_l1_1_0
  969. enable_api_ms_win_core_registry_l2_1_0
  970. enable_api_ms_win_core_registry_l2_2_0
  971. enable_api_ms_win_core_registryuserspecific_l1_1_0
  972. enable_api_ms_win_core_rtlsupport_l1_1_0
  973. enable_api_ms_win_core_rtlsupport_l1_2_0
  974. enable_api_ms_win_core_shlwapi_legacy_l1_1_0
  975. enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
  976. enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
  977. enable_api_ms_win_core_shutdown_l1_1_0
  978. enable_api_ms_win_core_sidebyside_l1_1_0
  979. enable_api_ms_win_core_string_l1_1_0
  980. enable_api_ms_win_core_string_l2_1_0
  981. enable_api_ms_win_core_string_obsolete_l1_1_0
  982. enable_api_ms_win_core_stringansi_l1_1_0
  983. enable_api_ms_win_core_stringloader_l1_1_1
  984. enable_api_ms_win_core_synch_ansi_l1_1_0
  985. enable_api_ms_win_core_synch_l1_1_0
  986. enable_api_ms_win_core_synch_l1_2_0
  987. enable_api_ms_win_core_synch_l1_2_1
  988. enable_api_ms_win_core_sysinfo_l1_1_0
  989. enable_api_ms_win_core_sysinfo_l1_2_0
  990. enable_api_ms_win_core_sysinfo_l1_2_1
  991. enable_api_ms_win_core_systemtopology_l1_1_0
  992. enable_api_ms_win_core_threadpool_l1_1_0
  993. enable_api_ms_win_core_threadpool_l1_2_0
  994. enable_api_ms_win_core_threadpool_legacy_l1_1_0
  995. enable_api_ms_win_core_threadpool_private_l1_1_0
  996. enable_api_ms_win_core_timezone_l1_1_0
  997. enable_api_ms_win_core_toolhelp_l1_1_0
  998. enable_api_ms_win_core_url_l1_1_0
  999. enable_api_ms_win_core_util_l1_1_0
  1000. enable_api_ms_win_core_version_l1_1_0
  1001. enable_api_ms_win_core_version_l1_1_1
  1002. enable_api_ms_win_core_version_private_l1_1_0
  1003. enable_api_ms_win_core_versionansi_l1_1_0
  1004. enable_api_ms_win_core_windowserrorreporting_l1_1_0
  1005. enable_api_ms_win_core_winrt_error_l1_1_0
  1006. enable_api_ms_win_core_winrt_error_l1_1_1
  1007. enable_api_ms_win_core_winrt_errorprivate_l1_1_1
  1008. enable_api_ms_win_core_winrt_l1_1_0
  1009. enable_api_ms_win_core_winrt_registration_l1_1_0
  1010. enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
  1011. enable_api_ms_win_core_winrt_string_l1_1_0
  1012. enable_api_ms_win_core_winrt_string_l1_1_1
  1013. enable_api_ms_win_core_wow64_l1_1_0
  1014. enable_api_ms_win_core_wow64_l1_1_1
  1015. enable_api_ms_win_core_xstate_l1_1_0
  1016. enable_api_ms_win_core_xstate_l2_1_0
  1017. enable_api_ms_win_crt_conio_l1_1_0
  1018. enable_api_ms_win_crt_convert_l1_1_0
  1019. enable_api_ms_win_crt_environment_l1_1_0
  1020. enable_api_ms_win_crt_filesystem_l1_1_0
  1021. enable_api_ms_win_crt_heap_l1_1_0
  1022. enable_api_ms_win_crt_locale_l1_1_0
  1023. enable_api_ms_win_crt_math_l1_1_0
  1024. enable_api_ms_win_crt_multibyte_l1_1_0
  1025. enable_api_ms_win_crt_private_l1_1_0
  1026. enable_api_ms_win_crt_process_l1_1_0
  1027. enable_api_ms_win_crt_runtime_l1_1_0
  1028. enable_api_ms_win_crt_stdio_l1_1_0
  1029. enable_api_ms_win_crt_string_l1_1_0
  1030. enable_api_ms_win_crt_time_l1_1_0
  1031. enable_api_ms_win_crt_utility_l1_1_0
  1032. enable_api_ms_win_devices_config_l1_1_0
  1033. enable_api_ms_win_devices_config_l1_1_1
  1034. enable_api_ms_win_devices_query_l1_1_1
  1035. enable_api_ms_win_downlevel_advapi32_l1_1_0
  1036. enable_api_ms_win_downlevel_advapi32_l2_1_0
  1037. enable_api_ms_win_downlevel_kernel32_l2_1_0
  1038. enable_api_ms_win_downlevel_normaliz_l1_1_0
  1039. enable_api_ms_win_downlevel_ole32_l1_1_0
  1040. enable_api_ms_win_downlevel_shell32_l1_1_0
  1041. enable_api_ms_win_downlevel_shlwapi_l1_1_0
  1042. enable_api_ms_win_downlevel_shlwapi_l2_1_0
  1043. enable_api_ms_win_downlevel_user32_l1_1_0
  1044. enable_api_ms_win_downlevel_version_l1_1_0
  1045. enable_api_ms_win_dx_d3dkmt_l1_1_0
  1046. enable_api_ms_win_eventing_classicprovider_l1_1_0
  1047. enable_api_ms_win_eventing_consumer_l1_1_0
  1048. enable_api_ms_win_eventing_controller_l1_1_0
  1049. enable_api_ms_win_eventing_legacy_l1_1_0
  1050. enable_api_ms_win_eventing_provider_l1_1_0
  1051. enable_api_ms_win_eventlog_legacy_l1_1_0
  1052. enable_api_ms_win_gdi_dpiinfo_l1_1_0
  1053. enable_api_ms_win_mm_joystick_l1_1_0
  1054. enable_api_ms_win_mm_misc_l1_1_1
  1055. enable_api_ms_win_mm_mme_l1_1_0
  1056. enable_api_ms_win_mm_time_l1_1_0
  1057. enable_api_ms_win_ntuser_dc_access_l1_1_0
  1058. enable_api_ms_win_ntuser_rectangle_l1_1_0
  1059. enable_api_ms_win_ntuser_sysparams_l1_1_0
  1060. enable_api_ms_win_perf_legacy_l1_1_0
  1061. enable_api_ms_win_power_base_l1_1_0
  1062. enable_api_ms_win_power_setting_l1_1_0
  1063. enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
  1064. enable_api_ms_win_rtcore_ntuser_private_l1_1_0
  1065. enable_api_ms_win_rtcore_ntuser_private_l1_1_4
  1066. enable_api_ms_win_rtcore_ntuser_window_l1_1_0
  1067. enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
  1068. enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
  1069. enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
  1070. enable_api_ms_win_security_activedirectoryclient_l1_1_0
  1071. enable_api_ms_win_security_audit_l1_1_1
  1072. enable_api_ms_win_security_base_l1_1_0
  1073. enable_api_ms_win_security_base_l1_2_0
  1074. enable_api_ms_win_security_base_private_l1_1_1
  1075. enable_api_ms_win_security_credentials_l1_1_0
  1076. enable_api_ms_win_security_cryptoapi_l1_1_0
  1077. enable_api_ms_win_security_grouppolicy_l1_1_0
  1078. enable_api_ms_win_security_lsalookup_l1_1_0
  1079. enable_api_ms_win_security_lsalookup_l1_1_1
  1080. enable_api_ms_win_security_lsalookup_l2_1_0
  1081. enable_api_ms_win_security_lsalookup_l2_1_1
  1082. enable_api_ms_win_security_lsapolicy_l1_1_0
  1083. enable_api_ms_win_security_provider_l1_1_0
  1084. enable_api_ms_win_security_sddl_l1_1_0
  1085. enable_api_ms_win_security_systemfunctions_l1_1_0
  1086. enable_api_ms_win_service_core_l1_1_0
  1087. enable_api_ms_win_service_core_l1_1_1
  1088. enable_api_ms_win_service_management_l1_1_0
  1089. enable_api_ms_win_service_management_l2_1_0
  1090. enable_api_ms_win_service_private_l1_1_1
  1091. enable_api_ms_win_service_winsvc_l1_1_0
  1092. enable_api_ms_win_service_winsvc_l1_2_0
  1093. enable_api_ms_win_shcore_obsolete_l1_1_0
  1094. enable_api_ms_win_shcore_scaling_l1_1_0
  1095. enable_api_ms_win_shcore_scaling_l1_1_1
  1096. enable_api_ms_win_shcore_stream_l1_1_0
  1097. enable_api_ms_win_shcore_stream_winrt_l1_1_0
  1098. enable_api_ms_win_shcore_thread_l1_1_0
  1099. enable_api_ms_win_shell_shellcom_l1_1_0
  1100. enable_api_ms_win_shell_shellfolders_l1_1_0
  1101. enable_apphelp
  1102. enable_appwiz_cpl
  1103. enable_atl
  1104. enable_atl100
  1105. enable_atl110
  1106. enable_atl80
  1107. enable_atl90
  1108. enable_atlthunk
  1109. enable_atmlib
  1110. enable_authz
  1111. enable_avicap32
  1112. enable_avifil32
  1113. enable_avrt
  1114. enable_bcrypt
  1115. enable_bluetoothapis
  1116. enable_browseui
  1117. enable_bthprops_cpl
  1118. enable_cabinet
  1119. enable_capi2032
  1120. enable_cards
  1121. enable_cdosys
  1122. enable_cfgmgr32
  1123. enable_clusapi
  1124. enable_combase
  1125. enable_comcat
  1126. enable_comctl32
  1127. enable_comdlg32
  1128. enable_compstui
  1129. enable_comsvcs
  1130. enable_concrt140
  1131. enable_connect
  1132. enable_credui
  1133. enable_crtdll
  1134. enable_crypt32
  1135. enable_cryptdlg
  1136. enable_cryptdll
  1137. enable_cryptext
  1138. enable_cryptnet
  1139. enable_cryptsp
  1140. enable_cryptui
  1141. enable_ctapi32
  1142. enable_ctl3d32
  1143. enable_d2d1
  1144. enable_d3d10
  1145. enable_d3d10_1
  1146. enable_d3d10core
  1147. enable_d3d11
  1148. enable_d3d12
  1149. enable_d3d8
  1150. enable_d3d8thk
  1151. enable_d3d9
  1152. enable_d3dcompiler_33
  1153. enable_d3dcompiler_34
  1154. enable_d3dcompiler_35
  1155. enable_d3dcompiler_36
  1156. enable_d3dcompiler_37
  1157. enable_d3dcompiler_38
  1158. enable_d3dcompiler_39
  1159. enable_d3dcompiler_40
  1160. enable_d3dcompiler_41
  1161. enable_d3dcompiler_42
  1162. enable_d3dcompiler_43
  1163. enable_d3dcompiler_46
  1164. enable_d3dcompiler_47
  1165. enable_d3dim
  1166. enable_d3dim700
  1167. enable_d3drm
  1168. enable_d3dx10_33
  1169. enable_d3dx10_34
  1170. enable_d3dx10_35
  1171. enable_d3dx10_36
  1172. enable_d3dx10_37
  1173. enable_d3dx10_38
  1174. enable_d3dx10_39
  1175. enable_d3dx10_40
  1176. enable_d3dx10_41
  1177. enable_d3dx10_42
  1178. enable_d3dx10_43
  1179. enable_d3dx11_42
  1180. enable_d3dx11_43
  1181. enable_d3dx9_24
  1182. enable_d3dx9_25
  1183. enable_d3dx9_26
  1184. enable_d3dx9_27
  1185. enable_d3dx9_28
  1186. enable_d3dx9_29
  1187. enable_d3dx9_30
  1188. enable_d3dx9_31
  1189. enable_d3dx9_32
  1190. enable_d3dx9_33
  1191. enable_d3dx9_34
  1192. enable_d3dx9_35
  1193. enable_d3dx9_36
  1194. enable_d3dx9_37
  1195. enable_d3dx9_38
  1196. enable_d3dx9_39
  1197. enable_d3dx9_40
  1198. enable_d3dx9_41
  1199. enable_d3dx9_42
  1200. enable_d3dx9_43
  1201. enable_d3dxof
  1202. enable_davclnt
  1203. enable_dbgeng
  1204. enable_dbghelp
  1205. enable_dciman32
  1206. enable_dcomp
  1207. enable_ddraw
  1208. enable_ddrawex
  1209. enable_devenum
  1210. enable_dhcpcsvc
  1211. enable_dhtmled_ocx
  1212. enable_difxapi
  1213. enable_dinput
  1214. enable_dinput8
  1215. enable_directmanipulation
  1216. enable_dispex
  1217. enable_dmband
  1218. enable_dmcompos
  1219. enable_dmime
  1220. enable_dmloader
  1221. enable_dmoguids
  1222. enable_dmscript
  1223. enable_dmstyle
  1224. enable_dmsynth
  1225. enable_dmusic
  1226. enable_dmusic32
  1227. enable_dnsapi
  1228. enable_dplay
  1229. enable_dplayx
  1230. enable_dpnaddr
  1231. enable_dpnet
  1232. enable_dpnhpast
  1233. enable_dpnlobby
  1234. enable_dpvoice
  1235. enable_dpwsockx
  1236. enable_drmclien
  1237. enable_dsdmo
  1238. enable_dsound
  1239. enable_dsquery
  1240. enable_dssenh
  1241. enable_dsuiext
  1242. enable_dswave
  1243. enable_dwmapi
  1244. enable_dwrite
  1245. enable_dx8vb
  1246. enable_dxdiagn
  1247. enable_dxerr8
  1248. enable_dxerr9
  1249. enable_dxgi
  1250. enable_dxguid
  1251. enable_dxva2
  1252. enable_esent
  1253. enable_evr
  1254. enable_explorerframe
  1255. enable_ext_ms_win_authz_context_l1_1_0
  1256. enable_ext_ms_win_domainjoin_netjoin_l1_1_0
  1257. enable_ext_ms_win_dwmapi_ext_l1_1_0
  1258. enable_ext_ms_win_gdi_dc_create_l1_1_0
  1259. enable_ext_ms_win_gdi_dc_create_l1_1_1
  1260. enable_ext_ms_win_gdi_dc_l1_2_0
  1261. enable_ext_ms_win_gdi_devcaps_l1_1_0
  1262. enable_ext_ms_win_gdi_draw_l1_1_0
  1263. enable_ext_ms_win_gdi_draw_l1_1_1
  1264. enable_ext_ms_win_gdi_font_l1_1_0
  1265. enable_ext_ms_win_gdi_font_l1_1_1
  1266. enable_ext_ms_win_gdi_render_l1_1_0
  1267. enable_ext_ms_win_kernel32_package_current_l1_1_0
  1268. enable_ext_ms_win_kernel32_package_l1_1_1
  1269. enable_ext_ms_win_ntuser_dialogbox_l1_1_0
  1270. enable_ext_ms_win_ntuser_draw_l1_1_0
  1271. enable_ext_ms_win_ntuser_gui_l1_1_0
  1272. enable_ext_ms_win_ntuser_gui_l1_3_0
  1273. enable_ext_ms_win_ntuser_keyboard_l1_3_0
  1274. enable_ext_ms_win_ntuser_message_l1_1_0
  1275. enable_ext_ms_win_ntuser_message_l1_1_1
  1276. enable_ext_ms_win_ntuser_misc_l1_1_0
  1277. enable_ext_ms_win_ntuser_misc_l1_2_0
  1278. enable_ext_ms_win_ntuser_misc_l1_5_1
  1279. enable_ext_ms_win_ntuser_mouse_l1_1_0
  1280. enable_ext_ms_win_ntuser_private_l1_1_1
  1281. enable_ext_ms_win_ntuser_private_l1_3_1
  1282. enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
  1283. enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
  1284. enable_ext_ms_win_ntuser_window_l1_1_0
  1285. enable_ext_ms_win_ntuser_window_l1_1_1
  1286. enable_ext_ms_win_ntuser_window_l1_1_4
  1287. enable_ext_ms_win_ntuser_windowclass_l1_1_0
  1288. enable_ext_ms_win_ntuser_windowclass_l1_1_1
  1289. enable_ext_ms_win_oleacc_l1_1_0
  1290. enable_ext_ms_win_ras_rasapi32_l1_1_0
  1291. enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
  1292. enable_ext_ms_win_rtcore_gdi_object_l1_1_0
  1293. enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
  1294. enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
  1295. enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
  1296. enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
  1297. enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
  1298. enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
  1299. enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
  1300. enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
  1301. enable_ext_ms_win_security_credui_l1_1_0
  1302. enable_ext_ms_win_security_cryptui_l1_1_0
  1303. enable_ext_ms_win_shell_comctl32_init_l1_1_0
  1304. enable_ext_ms_win_shell_comdlg32_l1_1_0
  1305. enable_ext_ms_win_shell_shell32_l1_2_0
  1306. enable_ext_ms_win_uxtheme_themes_l1_1_0
  1307. enable_faultrep
  1308. enable_feclient
  1309. enable_fltlib
  1310. enable_fltmgr_sys
  1311. enable_fntcache
  1312. enable_fontsub
  1313. enable_fusion
  1314. enable_fwpuclnt
  1315. enable_gameux
  1316. enable_gdi32
  1317. enable_gdiplus
  1318. enable_glu32
  1319. enable_gphoto2_ds
  1320. enable_gpkcsp
  1321. enable_hal
  1322. enable_hhctrl_ocx
  1323. enable_hid
  1324. enable_hidclass_sys
  1325. enable_hlink
  1326. enable_hnetcfg
  1327. enable_http_sys
  1328. enable_httpapi
  1329. enable_iccvid
  1330. enable_icmp
  1331. enable_ieframe
  1332. enable_ieproxy
  1333. enable_imaadp32_acm
  1334. enable_imagehlp
  1335. enable_imm32
  1336. enable_inetcomm
  1337. enable_inetcpl_cpl
  1338. enable_inetmib1
  1339. enable_infosoft
  1340. enable_initpki
  1341. enable_inkobj
  1342. enable_inseng
  1343. enable_iphlpapi
  1344. enable_iprop
  1345. enable_irprops_cpl
  1346. enable_itircl
  1347. enable_itss
  1348. enable_joy_cpl
  1349. enable_jscript
  1350. enable_jsproxy
  1351. enable_kerberos
  1352. enable_kernel32
  1353. enable_kernelbase
  1354. enable_ksecdd_sys
  1355. enable_ksproxy_ax
  1356. enable_ksuser
  1357. enable_ktmw32
  1358. enable_l3codeca_acm
  1359. enable_loadperf
  1360. enable_localspl
  1361. enable_localui
  1362. enable_lz32
  1363. enable_mapi32
  1364. enable_mapistub
  1365. enable_mciavi32
  1366. enable_mcicda
  1367. enable_mciqtz32
  1368. enable_mciseq
  1369. enable_mciwave
  1370. enable_mf
  1371. enable_mf3216
  1372. enable_mferror
  1373. enable_mfmediaengine
  1374. enable_mfplat
  1375. enable_mfplay
  1376. enable_mfreadwrite
  1377. enable_mfuuid
  1378. enable_mgmtapi
  1379. enable_midimap
  1380. enable_mlang
  1381. enable_mmcndmgr
  1382. enable_mmdevapi
  1383. enable_mountmgr_sys
  1384. enable_mp3dmod
  1385. enable_mpr
  1386. enable_mprapi
  1387. enable_msacm32_drv
  1388. enable_msacm32
  1389. enable_msado15
  1390. enable_msadp32_acm
  1391. enable_msasn1
  1392. enable_mscat32
  1393. enable_mscms
  1394. enable_mscoree
  1395. enable_mscorwks
  1396. enable_msctf
  1397. enable_msctfp
  1398. enable_msdaps
  1399. enable_msdelta
  1400. enable_msdmo
  1401. enable_msdrm
  1402. enable_msftedit
  1403. enable_msg711_acm
  1404. enable_msgsm32_acm
  1405. enable_mshtml_tlb
  1406. enable_mshtml
  1407. enable_msi
  1408. enable_msident
  1409. enable_msimg32
  1410. enable_msimsg
  1411. enable_msimtf
  1412. enable_msisip
  1413. enable_msisys_ocx
  1414. enable_msls31
  1415. enable_msnet32
  1416. enable_mspatcha
  1417. enable_msports
  1418. enable_msrle32
  1419. enable_msscript_ocx
  1420. enable_mssign32
  1421. enable_mssip32
  1422. enable_mstask
  1423. enable_msvcirt
  1424. enable_msvcm80
  1425. enable_msvcm90
  1426. enable_msvcp100
  1427. enable_msvcp110
  1428. enable_msvcp120
  1429. enable_msvcp120_app
  1430. enable_msvcp140
  1431. enable_msvcp140_1
  1432. enable_msvcp60
  1433. enable_msvcp70
  1434. enable_msvcp71
  1435. enable_msvcp80
  1436. enable_msvcp90
  1437. enable_msvcr100
  1438. enable_msvcr110
  1439. enable_msvcr120
  1440. enable_msvcr120_app
  1441. enable_msvcr70
  1442. enable_msvcr71
  1443. enable_msvcr80
  1444. enable_msvcr90
  1445. enable_msvcrt
  1446. enable_msvcrt20
  1447. enable_msvcrt40
  1448. enable_msvcrtd
  1449. enable_msvfw32
  1450. enable_msvidc32
  1451. enable_mswsock
  1452. enable_msxml
  1453. enable_msxml2
  1454. enable_msxml3
  1455. enable_msxml4
  1456. enable_msxml6
  1457. enable_mtxdm
  1458. enable_ncrypt
  1459. enable_nddeapi
  1460. enable_ndis_sys
  1461. enable_netapi32
  1462. enable_netcfgx
  1463. enable_netio_sys
  1464. enable_netprofm
  1465. enable_netutils
  1466. enable_newdev
  1467. enable_ninput
  1468. enable_normaliz
  1469. enable_npmshtml
  1470. enable_npptools
  1471. enable_ntdll
  1472. enable_ntdsapi
  1473. enable_ntoskrnl_exe
  1474. enable_ntprint
  1475. enable_objsel
  1476. enable_odbc32
  1477. enable_odbcbcp
  1478. enable_odbccp32
  1479. enable_odbccu32
  1480. enable_ole32
  1481. enable_oleacc
  1482. enable_oleaut32
  1483. enable_olecli32
  1484. enable_oledb32
  1485. enable_oledlg
  1486. enable_olepro32
  1487. enable_olesvr32
  1488. enable_olethk32
  1489. enable_opcservices
  1490. enable_openal32
  1491. enable_opencl
  1492. enable_opengl32
  1493. enable_packager
  1494. enable_pdh
  1495. enable_photometadatahandler
  1496. enable_pidgen
  1497. enable_powrprof
  1498. enable_printui
  1499. enable_prntvpt
  1500. enable_propsys
  1501. enable_psapi
  1502. enable_pstorec
  1503. enable_pwrshplugin
  1504. enable_qasf
  1505. enable_qcap
  1506. enable_qdvd
  1507. enable_qedit
  1508. enable_qmgr
  1509. enable_qmgrprxy
  1510. enable_quartz
  1511. enable_query
  1512. enable_qwave
  1513. enable_rasapi32
  1514. enable_rasdlg
  1515. enable_regapi
  1516. enable_resutils
  1517. enable_riched20
  1518. enable_riched32
  1519. enable_rpcrt4
  1520. enable_rsabase
  1521. enable_rsaenh
  1522. enable_rstrtmgr
  1523. enable_rtutils
  1524. enable_rtworkq
  1525. enable_samlib
  1526. enable_sane_ds
  1527. enable_sapi
  1528. enable_sas
  1529. enable_scarddlg
  1530. enable_sccbase
  1531. enable_schannel
  1532. enable_schedsvc
  1533. enable_scrobj
  1534. enable_scrrun
  1535. enable_scsiport_sys
  1536. enable_sechost
  1537. enable_secur32
  1538. enable_security
  1539. enable_sensapi
  1540. enable_serialui
  1541. enable_setupapi
  1542. enable_sfc
  1543. enable_sfc_os
  1544. enable_shcore
  1545. enable_shdoclc
  1546. enable_shdocvw
  1547. enable_shell32
  1548. enable_shfolder
  1549. enable_shlwapi
  1550. enable_slbcsp
  1551. enable_slc
  1552. enable_snmpapi
  1553. enable_softpub
  1554. enable_spoolss
  1555. enable_srclient
  1556. enable_srvcli
  1557. enable_sspicli
  1558. enable_stdole2_tlb
  1559. enable_stdole32_tlb
  1560. enable_sti
  1561. enable_strmbase
  1562. enable_strmdll
  1563. enable_strmiids
  1564. enable_svrapi
  1565. enable_sxs
  1566. enable_t2embed
  1567. enable_tapi32
  1568. enable_taskschd
  1569. enable_tdh
  1570. enable_tdi_sys
  1571. enable_traffic
  1572. enable_twain_32
  1573. enable_tzres
  1574. enable_ucrtbase
  1575. enable_uianimation
  1576. enable_uiautomationcore
  1577. enable_uiribbon
  1578. enable_unicows
  1579. enable_updspapi
  1580. enable_url
  1581. enable_urlmon
  1582. enable_usbd_sys
  1583. enable_user32
  1584. enable_userenv
  1585. enable_usp10
  1586. enable_utildll
  1587. enable_uuid
  1588. enable_uxtheme
  1589. enable_vbscript
  1590. enable_vcomp
  1591. enable_vcomp100
  1592. enable_vcomp110
  1593. enable_vcomp120
  1594. enable_vcomp140
  1595. enable_vcomp90
  1596. enable_vcruntime140
  1597. enable_vcruntime140_1
  1598. enable_vdmdbg
  1599. enable_version
  1600. enable_vga
  1601. enable_virtdisk
  1602. enable_vssapi
  1603. enable_vulkan_1
  1604. enable_wbemdisp
  1605. enable_wbemprox
  1606. enable_wbemuuid
  1607. enable_wdscore
  1608. enable_webservices
  1609. enable_websocket
  1610. enable_wer
  1611. enable_wevtapi
  1612. enable_wevtsvc
  1613. enable_wiaservc
  1614. enable_wimgapi
  1615. enable_windows_gaming_input
  1616. enable_windows_globalization
  1617. enable_windows_media_speech
  1618. enable_windowscodecs
  1619. enable_windowscodecsext
  1620. enable_winealsa_drv
  1621. enable_wineandroid_drv
  1622. enable_winebus_sys
  1623. enable_winecoreaudio_drv
  1624. enable_winecrt0
  1625. enable_wined3d
  1626. enable_winegstreamer
  1627. enable_winehid_sys
  1628. enable_winejoystick_drv
  1629. enable_winemac_drv
  1630. enable_winemapi
  1631. enable_wineoss_drv
  1632. enable_wineps_drv
  1633. enable_winepulse_drv
  1634. enable_wineqtdecoder
  1635. enable_wineusb_sys
  1636. enable_winevulkan
  1637. enable_winex11_drv
  1638. enable_wing32
  1639. enable_winhttp
  1640. enable_wininet
  1641. enable_winmm
  1642. enable_winnls32
  1643. enable_winscard
  1644. enable_winspool_drv
  1645. enable_winsta
  1646. enable_wintab32
  1647. enable_wintrust
  1648. enable_winusb
  1649. enable_wlanapi
  1650. enable_wlanui
  1651. enable_wldap32
  1652. enable_wmasf
  1653. enable_wmcodecdspuuid
  1654. enable_wmi
  1655. enable_wmiutils
  1656. enable_wmp
  1657. enable_wmphoto
  1658. enable_wmvcore
  1659. enable_wnaspi32
  1660. enable_wow64cpu
  1661. enable_wpc
  1662. enable_wpcap
  1663. enable_ws2_32
  1664. enable_wsdapi
  1665. enable_wshom_ocx
  1666. enable_wsnmp32
  1667. enable_wsock32
  1668. enable_wtsapi32
  1669. enable_wuapi
  1670. enable_wuaueng
  1671. enable_x3daudio1_0
  1672. enable_x3daudio1_1
  1673. enable_x3daudio1_2
  1674. enable_x3daudio1_3
  1675. enable_x3daudio1_4
  1676. enable_x3daudio1_5
  1677. enable_x3daudio1_6
  1678. enable_x3daudio1_7
  1679. enable_xactengine3_0
  1680. enable_xactengine3_1
  1681. enable_xactengine3_2
  1682. enable_xactengine3_3
  1683. enable_xactengine3_4
  1684. enable_xactengine3_5
  1685. enable_xactengine3_6
  1686. enable_xactengine3_7
  1687. enable_xapofx1_1
  1688. enable_xapofx1_2
  1689. enable_xapofx1_3
  1690. enable_xapofx1_4
  1691. enable_xapofx1_5
  1692. enable_xaudio2_0
  1693. enable_xaudio2_1
  1694. enable_xaudio2_2
  1695. enable_xaudio2_3
  1696. enable_xaudio2_4
  1697. enable_xaudio2_5
  1698. enable_xaudio2_6
  1699. enable_xaudio2_7
  1700. enable_xaudio2_8
  1701. enable_xaudio2_9
  1702. enable_xinput1_1
  1703. enable_xinput1_2
  1704. enable_xinput1_3
  1705. enable_xinput1_4
  1706. enable_xinput9_1_0
  1707. enable_xmllite
  1708. enable_xolehlp
  1709. enable_xpsprint
  1710. enable_xpssvcs
  1711. enable_fonts
  1712. enable_include
  1713. enable_port
  1714. enable_wine
  1715. enable_wpp
  1716. enable_loader
  1717. enable_nls
  1718. enable_po
  1719. enable_arp
  1720. enable_aspnet_regiis
  1721. enable_attrib
  1722. enable_cabarc
  1723. enable_cacls
  1724. enable_chcp_com
  1725. enable_clock
  1726. enable_cmd
  1727. enable_conhost
  1728. enable_control
  1729. enable_cscript
  1730. enable_dism
  1731. enable_dplaysvr
  1732. enable_dpnsvr
  1733. enable_dpvsetup
  1734. enable_dxdiag
  1735. enable_eject
  1736. enable_expand
  1737. enable_explorer
  1738. enable_extrac32
  1739. enable_fc
  1740. enable_find
  1741. enable_findstr
  1742. enable_fsutil
  1743. enable_hh
  1744. enable_hostname
  1745. enable_icacls
  1746. enable_icinfo
  1747. enable_iexplore
  1748. enable_ipconfig
  1749. enable_lodctr
  1750. enable_mofcomp
  1751. enable_mshta
  1752. enable_msidb
  1753. enable_msiexec
  1754. enable_msinfo32
  1755. enable_net
  1756. enable_netsh
  1757. enable_netstat
  1758. enable_ngen
  1759. enable_notepad
  1760. enable_oleview
  1761. enable_ping
  1762. enable_plugplay
  1763. enable_powershell
  1764. enable_presentationfontcache
  1765. enable_progman
  1766. enable_reg
  1767. enable_regasm
  1768. enable_regedit
  1769. enable_regini
  1770. enable_regsvcs
  1771. enable_regsvr32
  1772. enable_rpcss
  1773. enable_rundll32
  1774. enable_sc
  1775. enable_schtasks
  1776. enable_sdbinst
  1777. enable_secedit
  1778. enable_servicemodelreg
  1779. enable_services
  1780. enable_shutdown
  1781. enable_spoolsv
  1782. enable_start
  1783. enable_subst
  1784. enable_svchost
  1785. enable_systeminfo
  1786. enable_taskkill
  1787. enable_tasklist
  1788. enable_taskmgr
  1789. enable_termsv
  1790. enable_uninstaller
  1791. enable_unlodctr
  1792. enable_view
  1793. enable_wevtutil
  1794. enable_where
  1795. enable_whoami
  1796. enable_wineboot
  1797. enable_winebrowser
  1798. enable_winecfg
  1799. enable_wineconsole
  1800. enable_winedbg
  1801. enable_winedevice
  1802. enable_winefile
  1803. enable_winemenubuilder
  1804. enable_winemine
  1805. enable_winemsibuilder
  1806. enable_winepath
  1807. enable_winetest
  1808. enable_winhlp32
  1809. enable_winmgmt
  1810. enable_winver
  1811. enable_wmic
  1812. enable_wmplayer
  1813. enable_wordpad
  1814. enable_write
  1815. enable_wscript
  1816. enable_wuauserv
  1817. enable_wusa
  1818. enable_xcopy
  1819. enable_server
  1820. enable_tools
  1821. enable_sfnt2fon
  1822. enable_widl
  1823. enable_winebuild
  1824. enable_winedump
  1825. enable_winegcc
  1826. enable_winemaker
  1827. enable_wmc
  1828. enable_wrc
  1829. '
  1830. ac_precious_vars='build_alias
  1831. host_alias
  1832. target_alias
  1833. CC
  1834. CFLAGS
  1835. LDFLAGS
  1836. LIBS
  1837. CPPFLAGS
  1838. CXX
  1839. CXXFLAGS
  1840. CCC
  1841. CPP
  1842. OBJC
  1843. OBJCFLAGS
  1844. OBJCPP
  1845. XMKMF
  1846. XML2_CFLAGS
  1847. XML2_LIBS
  1848. XSLT_CFLAGS
  1849. XSLT_LIBS
  1850. INOTIFY_CFLAGS
  1851. INOTIFY_LIBS
  1852. DBUS_CFLAGS
  1853. DBUS_LIBS
  1854. HAL_CFLAGS
  1855. HAL_LIBS
  1856. GNUTLS_CFLAGS
  1857. GNUTLS_LIBS
  1858. SANE_CFLAGS
  1859. SANE_LIBS
  1860. USB_CFLAGS
  1861. USB_LIBS
  1862. GPHOTO2_CFLAGS
  1863. GPHOTO2_LIBS
  1864. GPHOTO2_PORT_CFLAGS
  1865. GPHOTO2_PORT_LIBS
  1866. LCMS2_CFLAGS
  1867. LCMS2_LIBS
  1868. FREETYPE_CFLAGS
  1869. FREETYPE_LIBS
  1870. PULSE_CFLAGS
  1871. PULSE_LIBS
  1872. GSTREAMER_CFLAGS
  1873. GSTREAMER_LIBS
  1874. UDEV_CFLAGS
  1875. UDEV_LIBS
  1876. UNWIND_CFLAGS
  1877. UNWIND_LIBS
  1878. SDL2_CFLAGS
  1879. SDL2_LIBS
  1880. FAUDIO_CFLAGS
  1881. FAUDIO_LIBS
  1882. CAPI20_CFLAGS
  1883. CAPI20_LIBS
  1884. CUPS_CFLAGS
  1885. CUPS_LIBS
  1886. FONTCONFIG_CFLAGS
  1887. FONTCONFIG_LIBS
  1888. KRB5_CFLAGS
  1889. KRB5_LIBS
  1890. GSSAPI_CFLAGS
  1891. GSSAPI_LIBS
  1892. JPEG_CFLAGS
  1893. JPEG_LIBS
  1894. JXRLIB_CFLAGS
  1895. JXRLIB_LIBS
  1896. PNG_CFLAGS
  1897. PNG_LIBS
  1898. TIFF_CFLAGS
  1899. TIFF_LIBS
  1900. MPG123_CFLAGS
  1901. MPG123_LIBS
  1902. NETAPI_CFLAGS
  1903. NETAPI_LIBS
  1904. VKD3D_CFLAGS
  1905. VKD3D_LIBS
  1906. VKD3D_SHADER_CFLAGS
  1907. VKD3D_SHADER_LIBS
  1908. LDAP_CFLAGS
  1909. LDAP_LIBS'
  1910. # Initialize some variables set by options.
  1911. ac_init_help=
  1912. ac_init_version=false
  1913. ac_unrecognized_opts=
  1914. ac_unrecognized_sep=
  1915. # The variables have the same names as the options, with
  1916. # dashes changed to underlines.
  1917. cache_file=/dev/null
  1918. exec_prefix=NONE
  1919. no_create=
  1920. no_recursion=
  1921. prefix=NONE
  1922. program_prefix=NONE
  1923. program_suffix=NONE
  1924. program_transform_name=s,x,x,
  1925. silent=
  1926. site=
  1927. srcdir=
  1928. verbose=
  1929. x_includes=NONE
  1930. x_libraries=NONE
  1931. # Installation directory options.
  1932. # These are left unexpanded so users can "make install exec_prefix=/foo"
  1933. # and all the variables that are supposed to be based on exec_prefix
  1934. # by default will actually change.
  1935. # Use braces instead of parens because sh, perl, etc. also accept them.
  1936. # (The list follows the same order as the GNU Coding Standards.)
  1937. bindir='${exec_prefix}/bin'
  1938. sbindir='${exec_prefix}/sbin'
  1939. libexecdir='${exec_prefix}/libexec'
  1940. datarootdir='${prefix}/share'
  1941. datadir='${datarootdir}'
  1942. sysconfdir='${prefix}/etc'
  1943. sharedstatedir='${prefix}/com'
  1944. localstatedir='${prefix}/var'
  1945. runstatedir='${localstatedir}/run'
  1946. includedir='${prefix}/include'
  1947. oldincludedir='/usr/include'
  1948. docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
  1949. infodir='${datarootdir}/info'
  1950. htmldir='${docdir}'
  1951. dvidir='${docdir}'
  1952. pdfdir='${docdir}'
  1953. psdir='${docdir}'
  1954. libdir='${exec_prefix}/lib'
  1955. localedir='${datarootdir}/locale'
  1956. mandir='${datarootdir}/man'
  1957. ac_prev=
  1958. ac_dashdash=
  1959. for ac_option
  1960. do
  1961. # If the previous option needs an argument, assign it.
  1962. if test -n "$ac_prev"; then
  1963. eval $ac_prev=\$ac_option
  1964. ac_prev=
  1965. continue
  1966. fi
  1967. case $ac_option in
  1968. *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
  1969. *=) ac_optarg= ;;
  1970. *) ac_optarg=yes ;;
  1971. esac
  1972. # Accept the important Cygnus configure options, so we can diagnose typos.
  1973. case $ac_dashdash$ac_option in
  1974. --)
  1975. ac_dashdash=yes ;;
  1976. -bindir | --bindir | --bindi | --bind | --bin | --bi)
  1977. ac_prev=bindir ;;
  1978. -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
  1979. bindir=$ac_optarg ;;
  1980. -build | --build | --buil | --bui | --bu)
  1981. ac_prev=build_alias ;;
  1982. -build=* | --build=* | --buil=* | --bui=* | --bu=*)
  1983. build_alias=$ac_optarg ;;
  1984. -cache-file | --cache-file | --cache-fil | --cache-fi \
  1985. | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
  1986. ac_prev=cache_file ;;
  1987. -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
  1988. | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
  1989. cache_file=$ac_optarg ;;
  1990. --config-cache | -C)
  1991. cache_file=config.cache ;;
  1992. -datadir | --datadir | --datadi | --datad)
  1993. ac_prev=datadir ;;
  1994. -datadir=* | --datadir=* | --datadi=* | --datad=*)
  1995. datadir=$ac_optarg ;;
  1996. -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
  1997. | --dataroo | --dataro | --datar)
  1998. ac_prev=datarootdir ;;
  1999. -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
  2000. | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
  2001. datarootdir=$ac_optarg ;;
  2002. -disable-* | --disable-*)
  2003. ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
  2004. # Reject names that are not valid shell variable names.
  2005. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2006. as_fn_error $? "invalid feature name: $ac_useropt"
  2007. ac_useropt_orig=$ac_useropt
  2008. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2009. case $ac_user_opts in
  2010. *"
  2011. "enable_$ac_useropt"
  2012. "*) ;;
  2013. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
  2014. ac_unrecognized_sep=', ';;
  2015. esac
  2016. eval enable_$ac_useropt=no ;;
  2017. -docdir | --docdir | --docdi | --doc | --do)
  2018. ac_prev=docdir ;;
  2019. -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
  2020. docdir=$ac_optarg ;;
  2021. -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
  2022. ac_prev=dvidir ;;
  2023. -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
  2024. dvidir=$ac_optarg ;;
  2025. -enable-* | --enable-*)
  2026. ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
  2027. # Reject names that are not valid shell variable names.
  2028. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2029. as_fn_error $? "invalid feature name: $ac_useropt"
  2030. ac_useropt_orig=$ac_useropt
  2031. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2032. case $ac_user_opts in
  2033. *"
  2034. "enable_$ac_useropt"
  2035. "*) ;;
  2036. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
  2037. ac_unrecognized_sep=', ';;
  2038. esac
  2039. eval enable_$ac_useropt=\$ac_optarg ;;
  2040. -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
  2041. | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
  2042. | --exec | --exe | --ex)
  2043. ac_prev=exec_prefix ;;
  2044. -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
  2045. | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
  2046. | --exec=* | --exe=* | --ex=*)
  2047. exec_prefix=$ac_optarg ;;
  2048. -gas | --gas | --ga | --g)
  2049. # Obsolete; use --with-gas.
  2050. with_gas=yes ;;
  2051. -help | --help | --hel | --he | -h)
  2052. ac_init_help=long ;;
  2053. -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
  2054. ac_init_help=recursive ;;
  2055. -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
  2056. ac_init_help=short ;;
  2057. -host | --host | --hos | --ho)
  2058. ac_prev=host_alias ;;
  2059. -host=* | --host=* | --hos=* | --ho=*)
  2060. host_alias=$ac_optarg ;;
  2061. -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
  2062. ac_prev=htmldir ;;
  2063. -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
  2064. | --ht=*)
  2065. htmldir=$ac_optarg ;;
  2066. -includedir | --includedir | --includedi | --included | --include \
  2067. | --includ | --inclu | --incl | --inc)
  2068. ac_prev=includedir ;;
  2069. -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
  2070. | --includ=* | --inclu=* | --incl=* | --inc=*)
  2071. includedir=$ac_optarg ;;
  2072. -infodir | --infodir | --infodi | --infod | --info | --inf)
  2073. ac_prev=infodir ;;
  2074. -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
  2075. infodir=$ac_optarg ;;
  2076. -libdir | --libdir | --libdi | --libd)
  2077. ac_prev=libdir ;;
  2078. -libdir=* | --libdir=* | --libdi=* | --libd=*)
  2079. libdir=$ac_optarg ;;
  2080. -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
  2081. | --libexe | --libex | --libe)
  2082. ac_prev=libexecdir ;;
  2083. -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
  2084. | --libexe=* | --libex=* | --libe=*)
  2085. libexecdir=$ac_optarg ;;
  2086. -localedir | --localedir | --localedi | --localed | --locale)
  2087. ac_prev=localedir ;;
  2088. -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
  2089. localedir=$ac_optarg ;;
  2090. -localstatedir | --localstatedir | --localstatedi | --localstated \
  2091. | --localstate | --localstat | --localsta | --localst | --locals)
  2092. ac_prev=localstatedir ;;
  2093. -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
  2094. | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
  2095. localstatedir=$ac_optarg ;;
  2096. -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
  2097. ac_prev=mandir ;;
  2098. -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
  2099. mandir=$ac_optarg ;;
  2100. -nfp | --nfp | --nf)
  2101. # Obsolete; use --without-fp.
  2102. with_fp=no ;;
  2103. -no-create | --no-create | --no-creat | --no-crea | --no-cre \
  2104. | --no-cr | --no-c | -n)
  2105. no_create=yes ;;
  2106. -no-recursion | --no-recursion | --no-recursio | --no-recursi \
  2107. | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
  2108. no_recursion=yes ;;
  2109. -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
  2110. | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
  2111. | --oldin | --oldi | --old | --ol | --o)
  2112. ac_prev=oldincludedir ;;
  2113. -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
  2114. | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
  2115. | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
  2116. oldincludedir=$ac_optarg ;;
  2117. -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
  2118. ac_prev=prefix ;;
  2119. -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
  2120. prefix=$ac_optarg ;;
  2121. -program-prefix | --program-prefix | --program-prefi | --program-pref \
  2122. | --program-pre | --program-pr | --program-p)
  2123. ac_prev=program_prefix ;;
  2124. -program-prefix=* | --program-prefix=* | --program-prefi=* \
  2125. | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
  2126. program_prefix=$ac_optarg ;;
  2127. -program-suffix | --program-suffix | --program-suffi | --program-suff \
  2128. | --program-suf | --program-su | --program-s)
  2129. ac_prev=program_suffix ;;
  2130. -program-suffix=* | --program-suffix=* | --program-suffi=* \
  2131. | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
  2132. program_suffix=$ac_optarg ;;
  2133. -program-transform-name | --program-transform-name \
  2134. | --program-transform-nam | --program-transform-na \
  2135. | --program-transform-n | --program-transform- \
  2136. | --program-transform | --program-transfor \
  2137. | --program-transfo | --program-transf \
  2138. | --program-trans | --program-tran \
  2139. | --progr-tra | --program-tr | --program-t)
  2140. ac_prev=program_transform_name ;;
  2141. -program-transform-name=* | --program-transform-name=* \
  2142. | --program-transform-nam=* | --program-transform-na=* \
  2143. | --program-transform-n=* | --program-transform-=* \
  2144. | --program-transform=* | --program-transfor=* \
  2145. | --program-transfo=* | --program-transf=* \
  2146. | --program-trans=* | --program-tran=* \
  2147. | --progr-tra=* | --program-tr=* | --program-t=*)
  2148. program_transform_name=$ac_optarg ;;
  2149. -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
  2150. ac_prev=pdfdir ;;
  2151. -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
  2152. pdfdir=$ac_optarg ;;
  2153. -psdir | --psdir | --psdi | --psd | --ps)
  2154. ac_prev=psdir ;;
  2155. -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
  2156. psdir=$ac_optarg ;;
  2157. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  2158. | -silent | --silent | --silen | --sile | --sil)
  2159. silent=yes ;;
  2160. -runstatedir | --runstatedir | --runstatedi | --runstated \
  2161. | --runstate | --runstat | --runsta | --runst | --runs \
  2162. | --run | --ru | --r)
  2163. ac_prev=runstatedir ;;
  2164. -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
  2165. | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
  2166. | --run=* | --ru=* | --r=*)
  2167. runstatedir=$ac_optarg ;;
  2168. -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
  2169. ac_prev=sbindir ;;
  2170. -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
  2171. | --sbi=* | --sb=*)
  2172. sbindir=$ac_optarg ;;
  2173. -sharedstatedir | --sharedstatedir | --sharedstatedi \
  2174. | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
  2175. | --sharedst | --shareds | --shared | --share | --shar \
  2176. | --sha | --sh)
  2177. ac_prev=sharedstatedir ;;
  2178. -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
  2179. | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
  2180. | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
  2181. | --sha=* | --sh=*)
  2182. sharedstatedir=$ac_optarg ;;
  2183. -site | --site | --sit)
  2184. ac_prev=site ;;
  2185. -site=* | --site=* | --sit=*)
  2186. site=$ac_optarg ;;
  2187. -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
  2188. ac_prev=srcdir ;;
  2189. -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
  2190. srcdir=$ac_optarg ;;
  2191. -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
  2192. | --syscon | --sysco | --sysc | --sys | --sy)
  2193. ac_prev=sysconfdir ;;
  2194. -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
  2195. | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
  2196. sysconfdir=$ac_optarg ;;
  2197. -target | --target | --targe | --targ | --tar | --ta | --t)
  2198. ac_prev=target_alias ;;
  2199. -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
  2200. target_alias=$ac_optarg ;;
  2201. -v | -verbose | --verbose | --verbos | --verbo | --verb)
  2202. verbose=yes ;;
  2203. -version | --version | --versio | --versi | --vers | -V)
  2204. ac_init_version=: ;;
  2205. -with-* | --with-*)
  2206. ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
  2207. # Reject names that are not valid shell variable names.
  2208. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2209. as_fn_error $? "invalid package name: $ac_useropt"
  2210. ac_useropt_orig=$ac_useropt
  2211. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2212. case $ac_user_opts in
  2213. *"
  2214. "with_$ac_useropt"
  2215. "*) ;;
  2216. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
  2217. ac_unrecognized_sep=', ';;
  2218. esac
  2219. eval with_$ac_useropt=\$ac_optarg ;;
  2220. -without-* | --without-*)
  2221. ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
  2222. # Reject names that are not valid shell variable names.
  2223. expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
  2224. as_fn_error $? "invalid package name: $ac_useropt"
  2225. ac_useropt_orig=$ac_useropt
  2226. ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
  2227. case $ac_user_opts in
  2228. *"
  2229. "with_$ac_useropt"
  2230. "*) ;;
  2231. *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
  2232. ac_unrecognized_sep=', ';;
  2233. esac
  2234. eval with_$ac_useropt=no ;;
  2235. --x)
  2236. # Obsolete; use --with-x.
  2237. with_x=yes ;;
  2238. -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
  2239. | --x-incl | --x-inc | --x-in | --x-i)
  2240. ac_prev=x_includes ;;
  2241. -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
  2242. | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
  2243. x_includes=$ac_optarg ;;
  2244. -x-libraries | --x-libraries | --x-librarie | --x-librari \
  2245. | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
  2246. ac_prev=x_libraries ;;
  2247. -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
  2248. | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
  2249. x_libraries=$ac_optarg ;;
  2250. -*) as_fn_error $? "unrecognized option: \`$ac_option'
  2251. Try \`$0 --help' for more information"
  2252. ;;
  2253. *=*)
  2254. ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
  2255. # Reject names that are not valid shell variable names.
  2256. case $ac_envvar in #(
  2257. '' | [0-9]* | *[!_$as_cr_alnum]* )
  2258. as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
  2259. esac
  2260. eval $ac_envvar=\$ac_optarg
  2261. export $ac_envvar ;;
  2262. *)
  2263. # FIXME: should be removed in autoconf 3.0.
  2264. $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
  2265. expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
  2266. $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
  2267. : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
  2268. ;;
  2269. esac
  2270. done
  2271. if test -n "$ac_prev"; then
  2272. ac_option=--`echo $ac_prev | sed 's/_/-/g'`
  2273. as_fn_error $? "missing argument to $ac_option"
  2274. fi
  2275. if test -n "$ac_unrecognized_opts"; then
  2276. case $enable_option_checking in
  2277. no) ;;
  2278. fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
  2279. *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
  2280. esac
  2281. fi
  2282. # Check all directory arguments for consistency.
  2283. for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
  2284. datadir sysconfdir sharedstatedir localstatedir includedir \
  2285. oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
  2286. libdir localedir mandir runstatedir
  2287. do
  2288. eval ac_val=\$$ac_var
  2289. # Remove trailing slashes.
  2290. case $ac_val in
  2291. */ )
  2292. ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
  2293. eval $ac_var=\$ac_val;;
  2294. esac
  2295. # Be sure to have absolute directory names.
  2296. case $ac_val in
  2297. [\\/$]* | ?:[\\/]* ) continue;;
  2298. NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
  2299. esac
  2300. as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
  2301. done
  2302. # There might be people who depend on the old broken behavior: `$host'
  2303. # used to hold the argument of --host etc.
  2304. # FIXME: To remove some day.
  2305. build=$build_alias
  2306. host=$host_alias
  2307. target=$target_alias
  2308. # FIXME: To remove some day.
  2309. if test "x$host_alias" != x; then
  2310. if test "x$build_alias" = x; then
  2311. cross_compiling=maybe
  2312. elif test "x$build_alias" != "x$host_alias"; then
  2313. cross_compiling=yes
  2314. fi
  2315. fi
  2316. ac_tool_prefix=
  2317. test -n "$host_alias" && ac_tool_prefix=$host_alias-
  2318. test "$silent" = yes && exec 6>/dev/null
  2319. ac_pwd=`pwd` && test -n "$ac_pwd" &&
  2320. ac_ls_di=`ls -di .` &&
  2321. ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
  2322. as_fn_error $? "working directory cannot be determined"
  2323. test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
  2324. as_fn_error $? "pwd does not report name of working directory"
  2325. # Find the source files, if location was not specified.
  2326. if test -z "$srcdir"; then
  2327. ac_srcdir_defaulted=yes
  2328. # Try the directory containing this script, then the parent directory.
  2329. ac_confdir=`$as_dirname -- "$as_myself" ||
  2330. $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  2331. X"$as_myself" : 'X\(//\)[^/]' \| \
  2332. X"$as_myself" : 'X\(//\)$' \| \
  2333. X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
  2334. $as_echo X"$as_myself" |
  2335. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  2336. s//\1/
  2337. q
  2338. }
  2339. /^X\(\/\/\)[^/].*/{
  2340. s//\1/
  2341. q
  2342. }
  2343. /^X\(\/\/\)$/{
  2344. s//\1/
  2345. q
  2346. }
  2347. /^X\(\/\).*/{
  2348. s//\1/
  2349. q
  2350. }
  2351. s/.*/./; q'`
  2352. srcdir=$ac_confdir
  2353. if test ! -r "$srcdir/$ac_unique_file"; then
  2354. srcdir=..
  2355. fi
  2356. else
  2357. ac_srcdir_defaulted=no
  2358. fi
  2359. if test ! -r "$srcdir/$ac_unique_file"; then
  2360. test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
  2361. as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
  2362. fi
  2363. ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
  2364. ac_abs_confdir=`(
  2365. cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
  2366. pwd)`
  2367. # When building in place, set srcdir=.
  2368. if test "$ac_abs_confdir" = "$ac_pwd"; then
  2369. srcdir=.
  2370. fi
  2371. # Remove unnecessary trailing slashes from srcdir.
  2372. # Double slashes in file names in object file debugging info
  2373. # mess up M-x gdb in Emacs.
  2374. case $srcdir in
  2375. */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
  2376. esac
  2377. for ac_var in $ac_precious_vars; do
  2378. eval ac_env_${ac_var}_set=\${${ac_var}+set}
  2379. eval ac_env_${ac_var}_value=\$${ac_var}
  2380. eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
  2381. eval ac_cv_env_${ac_var}_value=\$${ac_var}
  2382. done
  2383. #
  2384. # Report the --help message.
  2385. #
  2386. if test "$ac_init_help" = "long"; then
  2387. # Omit some internal or obsolete options to make the list less imposing.
  2388. # This message is too long to be a string in the A/UX 3.1 sh.
  2389. cat <<_ACEOF
  2390. \`configure' configures Wine 6.6 to adapt to many kinds of systems.
  2391. Usage: $0 [OPTION]... [VAR=VALUE]...
  2392. To assign environment variables (e.g., CC, CFLAGS...), specify them as
  2393. VAR=VALUE. See below for descriptions of some of the useful variables.
  2394. Defaults for the options are specified in brackets.
  2395. Configuration:
  2396. -h, --help display this help and exit
  2397. --help=short display options specific to this package
  2398. --help=recursive display the short help of all the included packages
  2399. -V, --version display version information and exit
  2400. -q, --quiet, --silent do not print \`checking ...' messages
  2401. --cache-file=FILE cache test results in FILE [disabled]
  2402. -C, --config-cache alias for \`--cache-file=config.cache'
  2403. -n, --no-create do not create output files
  2404. --srcdir=DIR find the sources in DIR [configure dir or \`..']
  2405. Installation directories:
  2406. --prefix=PREFIX install architecture-independent files in PREFIX
  2407. [$ac_default_prefix]
  2408. --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
  2409. [PREFIX]
  2410. By default, \`make install' will install all the files in
  2411. \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
  2412. an installation prefix other than \`$ac_default_prefix' using \`--prefix',
  2413. for instance \`--prefix=\$HOME'.
  2414. For better control, use the options below.
  2415. Fine tuning of the installation directories:
  2416. --bindir=DIR user executables [EPREFIX/bin]
  2417. --sbindir=DIR system admin executables [EPREFIX/sbin]
  2418. --libexecdir=DIR program executables [EPREFIX/libexec]
  2419. --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
  2420. --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
  2421. --localstatedir=DIR modifiable single-machine data [PREFIX/var]
  2422. --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
  2423. --libdir=DIR object code libraries [EPREFIX/lib]
  2424. --includedir=DIR C header files [PREFIX/include]
  2425. --oldincludedir=DIR C header files for non-gcc [/usr/include]
  2426. --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
  2427. --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
  2428. --infodir=DIR info documentation [DATAROOTDIR/info]
  2429. --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
  2430. --mandir=DIR man documentation [DATAROOTDIR/man]
  2431. --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
  2432. --htmldir=DIR html documentation [DOCDIR]
  2433. --dvidir=DIR dvi documentation [DOCDIR]
  2434. --pdfdir=DIR pdf documentation [DOCDIR]
  2435. --psdir=DIR ps documentation [DOCDIR]
  2436. _ACEOF
  2437. cat <<\_ACEOF
  2438. X features:
  2439. --x-includes=DIR X include files are in DIR
  2440. --x-libraries=DIR X library files are in DIR
  2441. System types:
  2442. --build=BUILD configure for building on BUILD [guessed]
  2443. --host=HOST cross-compile to build programs to run on HOST [BUILD]
  2444. _ACEOF
  2445. fi
  2446. if test -n "$ac_init_help"; then
  2447. case $ac_init_help in
  2448. short | recursive ) echo "Configuration of Wine 6.6:";;
  2449. esac
  2450. cat <<\_ACEOF
  2451. Optional Features:
  2452. --disable-option-checking ignore unrecognized --enable/--with options
  2453. --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
  2454. --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
  2455. --disable-win16 do not include Win16 support
  2456. --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
  2457. binaries)
  2458. --disable-tests do not build the regression tests
  2459. --enable-build-id include .buildid section in output objects
  2460. --enable-maintainer-mode
  2461. enable maintainer-specific build rules
  2462. --enable-silent-rules use silent build rules (override: "make V=1")
  2463. --enable-werror treat compilation warnings as errors
  2464. --disable-largefile omit support for large files
  2465. Optional Packages:
  2466. --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
  2467. --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
  2468. --without-alsa do not use the Alsa sound support
  2469. --without-capi do not use CAPI (ISDN support)
  2470. --without-cms do not use CMS (color management support)
  2471. --without-coreaudio do not use the CoreAudio sound support
  2472. --without-cups do not use CUPS
  2473. --without-dbus do not use DBus (dynamic device support)
  2474. --without-faudio do not use FAudio (XAudio2 support)
  2475. --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
  2476. --without-fontconfig do not use fontconfig
  2477. --without-freetype do not use the FreeType library
  2478. --without-gettext do not use gettext
  2479. --with-gettextpo use the GetTextPO library to rebuild po files
  2480. --without-gphoto do not use gphoto (Digital Camera support)
  2481. --without-gnutls do not use GnuTLS (schannel support)
  2482. --without-gsm do not use libgsm (GSM 06.10 codec support)
  2483. --without-gssapi do not use GSSAPI (Kerberos SSP support)
  2484. --without-gstreamer do not use GStreamer (codecs support)
  2485. --without-hal do not use HAL (dynamic device support)
  2486. --without-inotify do not use inotify (filesystem change notifications)
  2487. --without-jpeg do not use JPEG
  2488. --without-jxrlib do not use JPEG-XR
  2489. --without-krb5 do not use krb5 (Kerberos)
  2490. --without-ldap do not use LDAP
  2491. --without-mingw do not use the MinGW cross-compiler
  2492. --without-mpg123 do not use the mpg123 library
  2493. --without-netapi do not use the Samba NetAPI library
  2494. --without-openal do not use OpenAL
  2495. --without-opencl do not use OpenCL
  2496. --without-opengl do not use OpenGL
  2497. --without-osmesa do not use the OSMesa library
  2498. --without-oss do not use the OSS sound support
  2499. --without-pcap do not use the Packet Capture library
  2500. --without-png do not use PNG
  2501. --without-pthread do not use the pthread library
  2502. --without-pulse do not use PulseAudio sound support
  2503. --without-quicktime do not use QuickTime support
  2504. --without-sane do not use SANE (scanner support)
  2505. --without-sdl do not use SDL
  2506. --without-tiff do not use TIFF
  2507. --without-udev do not use udev (plug and play support)
  2508. --without-unwind do not use the libunwind library (exception
  2509. handling)
  2510. --without-usb do not use the libusb library
  2511. --without-v4l2 do not use v4l2 (video capture)
  2512. --without-vkd3d do not use vkd3d (Direct3D 12 support)
  2513. --without-vulkan do not use Vulkan
  2514. --without-xcomposite do not use the Xcomposite extension
  2515. --without-xcursor do not use the Xcursor extension
  2516. --without-xfixes do not use Xfixes for clipboard change notifications
  2517. --without-xinerama do not use Xinerama (legacy multi-monitor support)
  2518. --without-xinput do not use the Xinput extension
  2519. --without-xinput2 do not use the Xinput 2 extension
  2520. --without-xml do not use XML
  2521. --without-xrandr do not use Xrandr (multi-monitor support)
  2522. --without-xrender do not use the Xrender extension
  2523. --without-xshape do not use the Xshape extension
  2524. --without-xshm do not use XShm (shared memory extension)
  2525. --without-xslt do not use XSLT
  2526. --without-xxf86vm do not use XFree video mode extension
  2527. --with-wine-tools=DIR use Wine tools from directory DIR
  2528. --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
  2529. --with-x use the X Window System
  2530. Some influential environment variables:
  2531. CC C compiler command
  2532. CFLAGS C compiler flags
  2533. LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
  2534. nonstandard directory <lib dir>
  2535. LIBS libraries to pass to the linker, e.g. -l<library>
  2536. CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
  2537. you have headers in a nonstandard directory <include dir>
  2538. CXX C++ compiler command
  2539. CXXFLAGS C++ compiler flags
  2540. CPP C preprocessor
  2541. OBJC Objective C compiler command
  2542. OBJCFLAGS Objective C compiler flags
  2543. OBJCPP Objective C preprocessor
  2544. XMKMF Path to xmkmf, Makefile generator for X Window System
  2545. XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
  2546. XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
  2547. XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
  2548. XSLT_LIBS Linker flags for libxslt, overriding pkg-config
  2549. INOTIFY_CFLAGS
  2550. C compiler flags for libinotify, overriding pkg-config
  2551. INOTIFY_LIBS
  2552. Linker flags for libinotify, overriding pkg-config
  2553. DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
  2554. DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
  2555. HAL_CFLAGS C compiler flags for hal, overriding pkg-config
  2556. HAL_LIBS Linker flags for hal, overriding pkg-config
  2557. GNUTLS_CFLAGS
  2558. C compiler flags for gnutls, overriding pkg-config
  2559. GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
  2560. SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
  2561. SANE_LIBS Linker flags for sane-backends, overriding pkg-config
  2562. USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
  2563. USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
  2564. GPHOTO2_CFLAGS
  2565. C compiler flags for libgphoto2, overriding pkg-config
  2566. GPHOTO2_LIBS
  2567. Linker flags for libgphoto2, overriding pkg-config
  2568. GPHOTO2_PORT_CFLAGS
  2569. C compiler flags for libgphoto2_port, overriding pkg-config
  2570. GPHOTO2_PORT_LIBS
  2571. Linker flags for libgphoto2_port, overriding pkg-config
  2572. LCMS2_CFLAGS
  2573. C compiler flags for lcms2, overriding pkg-config
  2574. LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
  2575. FREETYPE_CFLAGS
  2576. C compiler flags for freetype2, overriding pkg-config
  2577. FREETYPE_LIBS
  2578. Linker flags for freetype2, overriding pkg-config
  2579. PULSE_CFLAGS
  2580. C compiler flags for libpulse, overriding pkg-config
  2581. PULSE_LIBS Linker flags for libpulse, overriding pkg-config
  2582. GSTREAMER_CFLAGS
  2583. C compiler flags for gstreamer-1.0 gstreamer-video-1.0
  2584. gstreamer-audio-1.0, overriding pkg-config
  2585. GSTREAMER_LIBS
  2586. Linker flags for gstreamer-1.0 gstreamer-video-1.0
  2587. gstreamer-audio-1.0, overriding pkg-config
  2588. UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
  2589. UDEV_LIBS Linker flags for libudev, overriding pkg-config
  2590. UNWIND_CFLAGS
  2591. C compiler flags for libunwind, overriding pkg-config
  2592. UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
  2593. SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
  2594. SDL2_LIBS Linker flags for sdl2, overriding pkg-config
  2595. FAUDIO_CFLAGS
  2596. C compiler flags for FAudio, overriding pkg-config
  2597. FAUDIO_LIBS Linker flags for FAudio, overriding pkg-config
  2598. CAPI20_CFLAGS
  2599. C compiler flags for capi20, overriding pkg-config
  2600. CAPI20_LIBS Linker flags for capi20, overriding pkg-config
  2601. CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
  2602. CUPS_LIBS Linker flags for cups, overriding pkg-config
  2603. FONTCONFIG_CFLAGS
  2604. C compiler flags for fontconfig, overriding pkg-config
  2605. FONTCONFIG_LIBS
  2606. Linker flags for fontconfig, overriding pkg-config
  2607. KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
  2608. KRB5_LIBS Linker flags for krb5, overriding pkg-config
  2609. GSSAPI_CFLAGS
  2610. C compiler flags for krb5-gssapi, overriding pkg-config
  2611. GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
  2612. JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
  2613. JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
  2614. JXRLIB_CFLAGS
  2615. C compiler flags for jxrlib, overriding pkg-config
  2616. JXRLIB_LIBS Linker flags for jxrlib, overriding pkg-config
  2617. PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
  2618. PNG_LIBS Linker flags for libpng, overriding pkg-config
  2619. TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
  2620. TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
  2621. MPG123_CFLAGS
  2622. C compiler flags for libmpg123, overriding pkg-config
  2623. MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
  2624. NETAPI_CFLAGS
  2625. C compiler flags for netapi, overriding pkg-config
  2626. NETAPI_LIBS Linker flags for netapi, overriding pkg-config
  2627. VKD3D_CFLAGS
  2628. C compiler flags for libvkd3d, overriding pkg-config
  2629. VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
  2630. VKD3D_SHADER_CFLAGS
  2631. C compiler flags for libvkd3d-shader, overriding pkg-config
  2632. VKD3D_SHADER_LIBS
  2633. Linker flags for libvkd3d-shader, overriding pkg-config
  2634. LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
  2635. LDAP_LIBS Linker flags for openldap, overriding pkg-config
  2636. Use these variables to override the choices made by `configure' or to help
  2637. it to find libraries and programs with nonstandard names/locations.
  2638. Report bugs to <wine-devel@winehq.org>.
  2639. Wine home page: <https://www.winehq.org>.
  2640. _ACEOF
  2641. ac_status=$?
  2642. fi
  2643. if test "$ac_init_help" = "recursive"; then
  2644. # If there are subdirs, report their specific --help.
  2645. for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
  2646. test -d "$ac_dir" ||
  2647. { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
  2648. continue
  2649. ac_builddir=.
  2650. case "$ac_dir" in
  2651. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2652. *)
  2653. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  2654. # A ".." for each directory in $ac_dir_suffix.
  2655. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  2656. case $ac_top_builddir_sub in
  2657. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  2658. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  2659. esac ;;
  2660. esac
  2661. ac_abs_top_builddir=$ac_pwd
  2662. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  2663. # for backward compatibility:
  2664. ac_top_builddir=$ac_top_build_prefix
  2665. case $srcdir in
  2666. .) # We are building in place.
  2667. ac_srcdir=.
  2668. ac_top_srcdir=$ac_top_builddir_sub
  2669. ac_abs_top_srcdir=$ac_pwd ;;
  2670. [\\/]* | ?:[\\/]* ) # Absolute name.
  2671. ac_srcdir=$srcdir$ac_dir_suffix;
  2672. ac_top_srcdir=$srcdir
  2673. ac_abs_top_srcdir=$srcdir ;;
  2674. *) # Relative name.
  2675. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  2676. ac_top_srcdir=$ac_top_build_prefix$srcdir
  2677. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  2678. esac
  2679. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  2680. cd "$ac_dir" || { ac_status=$?; continue; }
  2681. # Check for guested configure.
  2682. if test -f "$ac_srcdir/configure.gnu"; then
  2683. echo &&
  2684. $SHELL "$ac_srcdir/configure.gnu" --help=recursive
  2685. elif test -f "$ac_srcdir/configure"; then
  2686. echo &&
  2687. $SHELL "$ac_srcdir/configure" --help=recursive
  2688. else
  2689. $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
  2690. fi || ac_status=$?
  2691. cd "$ac_pwd" || { ac_status=$?; break; }
  2692. done
  2693. fi
  2694. test -n "$ac_init_help" && exit $ac_status
  2695. if $ac_init_version; then
  2696. cat <<\_ACEOF
  2697. Wine configure 6.6
  2698. generated by GNU Autoconf 2.69
  2699. Copyright (C) 2012 Free Software Foundation, Inc.
  2700. This configure script is free software; the Free Software Foundation
  2701. gives unlimited permission to copy, distribute and modify it.
  2702. _ACEOF
  2703. exit
  2704. fi
  2705. ## ------------------------ ##
  2706. ## Autoconf initialization. ##
  2707. ## ------------------------ ##
  2708. # ac_fn_c_try_compile LINENO
  2709. # --------------------------
  2710. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2711. ac_fn_c_try_compile ()
  2712. {
  2713. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2714. rm -f conftest.$ac_objext
  2715. if { { ac_try="$ac_compile"
  2716. case "(($ac_try" in
  2717. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2718. *) ac_try_echo=$ac_try;;
  2719. esac
  2720. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2721. $as_echo "$ac_try_echo"; } >&5
  2722. (eval "$ac_compile") 2>conftest.err
  2723. ac_status=$?
  2724. if test -s conftest.err; then
  2725. grep -v '^ *+' conftest.err >conftest.er1
  2726. cat conftest.er1 >&5
  2727. mv -f conftest.er1 conftest.err
  2728. fi
  2729. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2730. test $ac_status = 0; } && {
  2731. test -z "$ac_c_werror_flag" ||
  2732. test ! -s conftest.err
  2733. } && test -s conftest.$ac_objext; then :
  2734. ac_retval=0
  2735. else
  2736. $as_echo "$as_me: failed program was:" >&5
  2737. sed 's/^/| /' conftest.$ac_ext >&5
  2738. ac_retval=1
  2739. fi
  2740. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2741. as_fn_set_status $ac_retval
  2742. } # ac_fn_c_try_compile
  2743. # ac_fn_cxx_try_compile LINENO
  2744. # ----------------------------
  2745. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  2746. ac_fn_cxx_try_compile ()
  2747. {
  2748. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2749. rm -f conftest.$ac_objext
  2750. if { { ac_try="$ac_compile"
  2751. case "(($ac_try" in
  2752. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2753. *) ac_try_echo=$ac_try;;
  2754. esac
  2755. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2756. $as_echo "$ac_try_echo"; } >&5
  2757. (eval "$ac_compile") 2>conftest.err
  2758. ac_status=$?
  2759. if test -s conftest.err; then
  2760. grep -v '^ *+' conftest.err >conftest.er1
  2761. cat conftest.er1 >&5
  2762. mv -f conftest.er1 conftest.err
  2763. fi
  2764. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2765. test $ac_status = 0; } && {
  2766. test -z "$ac_cxx_werror_flag" ||
  2767. test ! -s conftest.err
  2768. } && test -s conftest.$ac_objext; then :
  2769. ac_retval=0
  2770. else
  2771. $as_echo "$as_me: failed program was:" >&5
  2772. sed 's/^/| /' conftest.$ac_ext >&5
  2773. ac_retval=1
  2774. fi
  2775. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2776. as_fn_set_status $ac_retval
  2777. } # ac_fn_cxx_try_compile
  2778. # ac_fn_c_try_link LINENO
  2779. # -----------------------
  2780. # Try to link conftest.$ac_ext, and return whether this succeeded.
  2781. ac_fn_c_try_link ()
  2782. {
  2783. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2784. rm -f conftest.$ac_objext conftest$ac_exeext
  2785. if { { ac_try="$ac_link"
  2786. case "(($ac_try" in
  2787. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2788. *) ac_try_echo=$ac_try;;
  2789. esac
  2790. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2791. $as_echo "$ac_try_echo"; } >&5
  2792. (eval "$ac_link") 2>conftest.err
  2793. ac_status=$?
  2794. if test -s conftest.err; then
  2795. grep -v '^ *+' conftest.err >conftest.er1
  2796. cat conftest.er1 >&5
  2797. mv -f conftest.er1 conftest.err
  2798. fi
  2799. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2800. test $ac_status = 0; } && {
  2801. test -z "$ac_c_werror_flag" ||
  2802. test ! -s conftest.err
  2803. } && test -s conftest$ac_exeext && {
  2804. test "$cross_compiling" = yes ||
  2805. test -x conftest$ac_exeext
  2806. }; then :
  2807. ac_retval=0
  2808. else
  2809. $as_echo "$as_me: failed program was:" >&5
  2810. sed 's/^/| /' conftest.$ac_ext >&5
  2811. ac_retval=1
  2812. fi
  2813. # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
  2814. # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
  2815. # interfere with the next link command; also delete a directory that is
  2816. # left behind by Apple's compiler. We do this before executing the actions.
  2817. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2818. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2819. as_fn_set_status $ac_retval
  2820. } # ac_fn_c_try_link
  2821. # ac_fn_c_try_cpp LINENO
  2822. # ----------------------
  2823. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  2824. ac_fn_c_try_cpp ()
  2825. {
  2826. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2827. if { { ac_try="$ac_cpp conftest.$ac_ext"
  2828. case "(($ac_try" in
  2829. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2830. *) ac_try_echo=$ac_try;;
  2831. esac
  2832. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2833. $as_echo "$ac_try_echo"; } >&5
  2834. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  2835. ac_status=$?
  2836. if test -s conftest.err; then
  2837. grep -v '^ *+' conftest.err >conftest.er1
  2838. cat conftest.er1 >&5
  2839. mv -f conftest.er1 conftest.err
  2840. fi
  2841. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2842. test $ac_status = 0; } > conftest.i && {
  2843. test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
  2844. test ! -s conftest.err
  2845. }; then :
  2846. ac_retval=0
  2847. else
  2848. $as_echo "$as_me: failed program was:" >&5
  2849. sed 's/^/| /' conftest.$ac_ext >&5
  2850. ac_retval=1
  2851. fi
  2852. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2853. as_fn_set_status $ac_retval
  2854. } # ac_fn_c_try_cpp
  2855. # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
  2856. # -------------------------------------------------------
  2857. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  2858. # the include files in INCLUDES and setting the cache variable VAR
  2859. # accordingly.
  2860. ac_fn_c_check_header_mongrel ()
  2861. {
  2862. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2863. if eval \${$3+:} false; then :
  2864. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2865. $as_echo_n "checking for $2... " >&6; }
  2866. if eval \${$3+:} false; then :
  2867. $as_echo_n "(cached) " >&6
  2868. fi
  2869. eval ac_res=\$$3
  2870. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2871. $as_echo "$ac_res" >&6; }
  2872. else
  2873. # Is the header compilable?
  2874. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  2875. $as_echo_n "checking $2 usability... " >&6; }
  2876. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2877. /* end confdefs.h. */
  2878. $4
  2879. #include <$2>
  2880. _ACEOF
  2881. if ac_fn_c_try_compile "$LINENO"; then :
  2882. ac_header_compiler=yes
  2883. else
  2884. ac_header_compiler=no
  2885. fi
  2886. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  2887. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  2888. $as_echo "$ac_header_compiler" >&6; }
  2889. # Is the header present?
  2890. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  2891. $as_echo_n "checking $2 presence... " >&6; }
  2892. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2893. /* end confdefs.h. */
  2894. #include <$2>
  2895. _ACEOF
  2896. if ac_fn_c_try_cpp "$LINENO"; then :
  2897. ac_header_preproc=yes
  2898. else
  2899. ac_header_preproc=no
  2900. fi
  2901. rm -f conftest.err conftest.i conftest.$ac_ext
  2902. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  2903. $as_echo "$ac_header_preproc" >&6; }
  2904. # So? What about this header?
  2905. case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
  2906. yes:no: )
  2907. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  2908. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  2909. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2910. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2911. ;;
  2912. no:yes:* )
  2913. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  2914. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  2915. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  2916. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  2917. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  2918. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  2919. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  2920. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  2921. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  2922. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  2923. ( $as_echo "## ------------------------------------ ##
  2924. ## Report this to wine-devel@winehq.org ##
  2925. ## ------------------------------------ ##"
  2926. ) | sed "s/^/$as_me: WARNING: /" >&2
  2927. ;;
  2928. esac
  2929. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2930. $as_echo_n "checking for $2... " >&6; }
  2931. if eval \${$3+:} false; then :
  2932. $as_echo_n "(cached) " >&6
  2933. else
  2934. eval "$3=\$ac_header_compiler"
  2935. fi
  2936. eval ac_res=\$$3
  2937. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  2938. $as_echo "$ac_res" >&6; }
  2939. fi
  2940. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2941. } # ac_fn_c_check_header_mongrel
  2942. # ac_fn_c_try_run LINENO
  2943. # ----------------------
  2944. # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
  2945. # that executables *can* be run.
  2946. ac_fn_c_try_run ()
  2947. {
  2948. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2949. if { { ac_try="$ac_link"
  2950. case "(($ac_try" in
  2951. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2952. *) ac_try_echo=$ac_try;;
  2953. esac
  2954. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2955. $as_echo "$ac_try_echo"; } >&5
  2956. (eval "$ac_link") 2>&5
  2957. ac_status=$?
  2958. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2959. test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
  2960. { { case "(($ac_try" in
  2961. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  2962. *) ac_try_echo=$ac_try;;
  2963. esac
  2964. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  2965. $as_echo "$ac_try_echo"; } >&5
  2966. (eval "$ac_try") 2>&5
  2967. ac_status=$?
  2968. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  2969. test $ac_status = 0; }; }; then :
  2970. ac_retval=0
  2971. else
  2972. $as_echo "$as_me: program exited with status $ac_status" >&5
  2973. $as_echo "$as_me: failed program was:" >&5
  2974. sed 's/^/| /' conftest.$ac_ext >&5
  2975. ac_retval=$ac_status
  2976. fi
  2977. rm -rf conftest.dSYM conftest_ipa8_conftest.oo
  2978. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  2979. as_fn_set_status $ac_retval
  2980. } # ac_fn_c_try_run
  2981. # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
  2982. # -------------------------------------------------------
  2983. # Tests whether HEADER exists and can be compiled using the include files in
  2984. # INCLUDES, setting the cache variable VAR accordingly.
  2985. ac_fn_c_check_header_compile ()
  2986. {
  2987. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  2988. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  2989. $as_echo_n "checking for $2... " >&6; }
  2990. if eval \${$3+:} false; then :
  2991. $as_echo_n "(cached) " >&6
  2992. else
  2993. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  2994. /* end confdefs.h. */
  2995. $4
  2996. #include <$2>
  2997. _ACEOF
  2998. if ac_fn_c_try_compile "$LINENO"; then :
  2999. eval "$3=yes"
  3000. else
  3001. eval "$3=no"
  3002. fi
  3003. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3004. fi
  3005. eval ac_res=\$$3
  3006. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3007. $as_echo "$ac_res" >&6; }
  3008. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3009. } # ac_fn_c_check_header_compile
  3010. # ac_fn_objc_try_compile LINENO
  3011. # -----------------------------
  3012. # Try to compile conftest.$ac_ext, and return whether this succeeded.
  3013. ac_fn_objc_try_compile ()
  3014. {
  3015. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3016. rm -f conftest.$ac_objext
  3017. if { { ac_try="$ac_compile"
  3018. case "(($ac_try" in
  3019. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3020. *) ac_try_echo=$ac_try;;
  3021. esac
  3022. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3023. $as_echo "$ac_try_echo"; } >&5
  3024. (eval "$ac_compile") 2>conftest.err
  3025. ac_status=$?
  3026. if test -s conftest.err; then
  3027. grep -v '^ *+' conftest.err >conftest.er1
  3028. cat conftest.er1 >&5
  3029. mv -f conftest.er1 conftest.err
  3030. fi
  3031. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3032. test $ac_status = 0; } && {
  3033. test -z "$ac_objc_werror_flag" ||
  3034. test ! -s conftest.err
  3035. } && test -s conftest.$ac_objext; then :
  3036. ac_retval=0
  3037. else
  3038. $as_echo "$as_me: failed program was:" >&5
  3039. sed 's/^/| /' conftest.$ac_ext >&5
  3040. ac_retval=1
  3041. fi
  3042. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3043. as_fn_set_status $ac_retval
  3044. } # ac_fn_objc_try_compile
  3045. # ac_fn_objc_try_cpp LINENO
  3046. # -------------------------
  3047. # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
  3048. ac_fn_objc_try_cpp ()
  3049. {
  3050. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3051. if { { ac_try="$ac_cpp conftest.$ac_ext"
  3052. case "(($ac_try" in
  3053. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  3054. *) ac_try_echo=$ac_try;;
  3055. esac
  3056. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  3057. $as_echo "$ac_try_echo"; } >&5
  3058. (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
  3059. ac_status=$?
  3060. if test -s conftest.err; then
  3061. grep -v '^ *+' conftest.err >conftest.er1
  3062. cat conftest.er1 >&5
  3063. mv -f conftest.er1 conftest.err
  3064. fi
  3065. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  3066. test $ac_status = 0; } > conftest.i && {
  3067. test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
  3068. test ! -s conftest.err
  3069. }; then :
  3070. ac_retval=0
  3071. else
  3072. $as_echo "$as_me: failed program was:" >&5
  3073. sed 's/^/| /' conftest.$ac_ext >&5
  3074. ac_retval=1
  3075. fi
  3076. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3077. as_fn_set_status $ac_retval
  3078. } # ac_fn_objc_try_cpp
  3079. # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
  3080. # ----------------------------------------------------------
  3081. # Tests whether HEADER exists, giving a warning if it cannot be compiled using
  3082. # the include files in INCLUDES and setting the cache variable VAR
  3083. # accordingly.
  3084. ac_fn_objc_check_header_mongrel ()
  3085. {
  3086. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3087. if eval \${$3+:} false; then :
  3088. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3089. $as_echo_n "checking for $2... " >&6; }
  3090. if eval \${$3+:} false; then :
  3091. $as_echo_n "(cached) " >&6
  3092. fi
  3093. eval ac_res=\$$3
  3094. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3095. $as_echo "$ac_res" >&6; }
  3096. else
  3097. # Is the header compilable?
  3098. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
  3099. $as_echo_n "checking $2 usability... " >&6; }
  3100. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3101. /* end confdefs.h. */
  3102. $4
  3103. #include <$2>
  3104. _ACEOF
  3105. if ac_fn_objc_try_compile "$LINENO"; then :
  3106. ac_header_compiler=yes
  3107. else
  3108. ac_header_compiler=no
  3109. fi
  3110. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3111. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
  3112. $as_echo "$ac_header_compiler" >&6; }
  3113. # Is the header present?
  3114. { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
  3115. $as_echo_n "checking $2 presence... " >&6; }
  3116. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3117. /* end confdefs.h. */
  3118. #include <$2>
  3119. _ACEOF
  3120. if ac_fn_objc_try_cpp "$LINENO"; then :
  3121. ac_header_preproc=yes
  3122. else
  3123. ac_header_preproc=no
  3124. fi
  3125. rm -f conftest.err conftest.i conftest.$ac_ext
  3126. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
  3127. $as_echo "$ac_header_preproc" >&6; }
  3128. # So? What about this header?
  3129. case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
  3130. yes:no: )
  3131. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
  3132. $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
  3133. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  3134. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  3135. ;;
  3136. no:yes:* )
  3137. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
  3138. $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
  3139. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
  3140. $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
  3141. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
  3142. $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
  3143. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
  3144. $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
  3145. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
  3146. $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
  3147. ( $as_echo "## ------------------------------------ ##
  3148. ## Report this to wine-devel@winehq.org ##
  3149. ## ------------------------------------ ##"
  3150. ) | sed "s/^/$as_me: WARNING: /" >&2
  3151. ;;
  3152. esac
  3153. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3154. $as_echo_n "checking for $2... " >&6; }
  3155. if eval \${$3+:} false; then :
  3156. $as_echo_n "(cached) " >&6
  3157. else
  3158. eval "$3=\$ac_header_compiler"
  3159. fi
  3160. eval ac_res=\$$3
  3161. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3162. $as_echo "$ac_res" >&6; }
  3163. fi
  3164. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3165. } # ac_fn_objc_check_header_mongrel
  3166. # ac_fn_c_check_func LINENO FUNC VAR
  3167. # ----------------------------------
  3168. # Tests whether FUNC exists, setting the cache variable VAR accordingly
  3169. ac_fn_c_check_func ()
  3170. {
  3171. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3172. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3173. $as_echo_n "checking for $2... " >&6; }
  3174. if eval \${$3+:} false; then :
  3175. $as_echo_n "(cached) " >&6
  3176. else
  3177. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3178. /* end confdefs.h. */
  3179. /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
  3180. For example, HP-UX 11i <limits.h> declares gettimeofday. */
  3181. #define $2 innocuous_$2
  3182. /* System header to define __stub macros and hopefully few prototypes,
  3183. which can conflict with char $2 (); below.
  3184. Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  3185. <limits.h> exists even on freestanding compilers. */
  3186. #ifdef __STDC__
  3187. # include <limits.h>
  3188. #else
  3189. # include <assert.h>
  3190. #endif
  3191. #undef $2
  3192. /* Override any GCC internal prototype to avoid an error.
  3193. Use char because int might match the return type of a GCC
  3194. builtin and then its argument prototype would still apply. */
  3195. #ifdef __cplusplus
  3196. extern "C"
  3197. #endif
  3198. char $2 ();
  3199. /* The GNU C library defines this for functions which it implements
  3200. to always fail with ENOSYS. Some functions are actually named
  3201. something starting with __ and the normal name is an alias. */
  3202. #if defined __stub_$2 || defined __stub___$2
  3203. choke me
  3204. #endif
  3205. int
  3206. main ()
  3207. {
  3208. return $2 ();
  3209. ;
  3210. return 0;
  3211. }
  3212. _ACEOF
  3213. if ac_fn_c_try_link "$LINENO"; then :
  3214. eval "$3=yes"
  3215. else
  3216. eval "$3=no"
  3217. fi
  3218. rm -f core conftest.err conftest.$ac_objext \
  3219. conftest$ac_exeext conftest.$ac_ext
  3220. fi
  3221. eval ac_res=\$$3
  3222. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3223. $as_echo "$ac_res" >&6; }
  3224. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3225. } # ac_fn_c_check_func
  3226. # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
  3227. # ----------------------------------------------------
  3228. # Tries to find if the field MEMBER exists in type AGGR, after including
  3229. # INCLUDES, setting cache variable VAR accordingly.
  3230. ac_fn_c_check_member ()
  3231. {
  3232. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3233. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
  3234. $as_echo_n "checking for $2.$3... " >&6; }
  3235. if eval \${$4+:} false; then :
  3236. $as_echo_n "(cached) " >&6
  3237. else
  3238. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3239. /* end confdefs.h. */
  3240. $5
  3241. int
  3242. main ()
  3243. {
  3244. static $2 ac_aggr;
  3245. if (ac_aggr.$3)
  3246. return 0;
  3247. ;
  3248. return 0;
  3249. }
  3250. _ACEOF
  3251. if ac_fn_c_try_compile "$LINENO"; then :
  3252. eval "$4=yes"
  3253. else
  3254. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3255. /* end confdefs.h. */
  3256. $5
  3257. int
  3258. main ()
  3259. {
  3260. static $2 ac_aggr;
  3261. if (sizeof ac_aggr.$3)
  3262. return 0;
  3263. ;
  3264. return 0;
  3265. }
  3266. _ACEOF
  3267. if ac_fn_c_try_compile "$LINENO"; then :
  3268. eval "$4=yes"
  3269. else
  3270. eval "$4=no"
  3271. fi
  3272. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3273. fi
  3274. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3275. fi
  3276. eval ac_res=\$$4
  3277. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3278. $as_echo "$ac_res" >&6; }
  3279. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3280. } # ac_fn_c_check_member
  3281. # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
  3282. # -------------------------------------------
  3283. # Tests whether TYPE exists after having included INCLUDES, setting cache
  3284. # variable VAR accordingly.
  3285. ac_fn_c_check_type ()
  3286. {
  3287. as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  3288. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
  3289. $as_echo_n "checking for $2... " >&6; }
  3290. if eval \${$3+:} false; then :
  3291. $as_echo_n "(cached) " >&6
  3292. else
  3293. eval "$3=no"
  3294. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3295. /* end confdefs.h. */
  3296. $4
  3297. int
  3298. main ()
  3299. {
  3300. if (sizeof ($2))
  3301. return 0;
  3302. ;
  3303. return 0;
  3304. }
  3305. _ACEOF
  3306. if ac_fn_c_try_compile "$LINENO"; then :
  3307. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  3308. /* end confdefs.h. */
  3309. $4
  3310. int
  3311. main ()
  3312. {
  3313. if (sizeof (($2)))
  3314. return 0;
  3315. ;
  3316. return 0;
  3317. }
  3318. _ACEOF
  3319. if ac_fn_c_try_compile "$LINENO"; then :
  3320. else
  3321. eval "$3=yes"
  3322. fi
  3323. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3324. fi
  3325. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  3326. fi
  3327. eval ac_res=\$$3
  3328. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  3329. $as_echo "$ac_res" >&6; }
  3330. eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
  3331. } # ac_fn_c_check_type
  3332. cat >config.log <<_ACEOF
  3333. This file contains any messages produced by compilers while
  3334. running configure, to aid debugging if configure makes a mistake.
  3335. It was created by Wine $as_me 6.6, which was
  3336. generated by GNU Autoconf 2.69. Invocation command line was
  3337. $ $0 $@
  3338. _ACEOF
  3339. exec 5>>config.log
  3340. {
  3341. cat <<_ASUNAME
  3342. ## --------- ##
  3343. ## Platform. ##
  3344. ## --------- ##
  3345. hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
  3346. uname -m = `(uname -m) 2>/dev/null || echo unknown`
  3347. uname -r = `(uname -r) 2>/dev/null || echo unknown`
  3348. uname -s = `(uname -s) 2>/dev/null || echo unknown`
  3349. uname -v = `(uname -v) 2>/dev/null || echo unknown`
  3350. /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
  3351. /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
  3352. /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
  3353. /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
  3354. /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
  3355. /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
  3356. /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
  3357. /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
  3358. /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
  3359. _ASUNAME
  3360. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  3361. for as_dir in $PATH
  3362. do
  3363. IFS=$as_save_IFS
  3364. test -z "$as_dir" && as_dir=.
  3365. $as_echo "PATH: $as_dir"
  3366. done
  3367. IFS=$as_save_IFS
  3368. } >&5
  3369. cat >&5 <<_ACEOF
  3370. ## ----------- ##
  3371. ## Core tests. ##
  3372. ## ----------- ##
  3373. _ACEOF
  3374. # Keep a trace of the command line.
  3375. # Strip out --no-create and --no-recursion so they do not pile up.
  3376. # Strip out --silent because we don't want to record it for future runs.
  3377. # Also quote any args containing shell meta-characters.
  3378. # Make two passes to allow for proper duplicate-argument suppression.
  3379. ac_configure_args=
  3380. ac_configure_args0=
  3381. ac_configure_args1=
  3382. ac_must_keep_next=false
  3383. for ac_pass in 1 2
  3384. do
  3385. for ac_arg
  3386. do
  3387. case $ac_arg in
  3388. -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
  3389. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  3390. | -silent | --silent | --silen | --sile | --sil)
  3391. continue ;;
  3392. *\'*)
  3393. ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
  3394. esac
  3395. case $ac_pass in
  3396. 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
  3397. 2)
  3398. as_fn_append ac_configure_args1 " '$ac_arg'"
  3399. if test $ac_must_keep_next = true; then
  3400. ac_must_keep_next=false # Got value, back to normal.
  3401. else
  3402. case $ac_arg in
  3403. *=* | --config-cache | -C | -disable-* | --disable-* \
  3404. | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
  3405. | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
  3406. | -with-* | --with-* | -without-* | --without-* | --x)
  3407. case "$ac_configure_args0 " in
  3408. "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
  3409. esac
  3410. ;;
  3411. -* ) ac_must_keep_next=true ;;
  3412. esac
  3413. fi
  3414. as_fn_append ac_configure_args " '$ac_arg'"
  3415. ;;
  3416. esac
  3417. done
  3418. done
  3419. { ac_configure_args0=; unset ac_configure_args0;}
  3420. { ac_configure_args1=; unset ac_configure_args1;}
  3421. # When interrupted or exit'd, cleanup temporary files, and complete
  3422. # config.log. We remove comments because anyway the quotes in there
  3423. # would cause problems or look ugly.
  3424. # WARNING: Use '\'' to represent an apostrophe within the trap.
  3425. # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
  3426. trap 'exit_status=$?
  3427. # Save into config.log some information that might help in debugging.
  3428. {
  3429. echo
  3430. $as_echo "## ---------------- ##
  3431. ## Cache variables. ##
  3432. ## ---------------- ##"
  3433. echo
  3434. # The following way of writing the cache mishandles newlines in values,
  3435. (
  3436. for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
  3437. eval ac_val=\$$ac_var
  3438. case $ac_val in #(
  3439. *${as_nl}*)
  3440. case $ac_var in #(
  3441. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  3442. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  3443. esac
  3444. case $ac_var in #(
  3445. _ | IFS | as_nl) ;; #(
  3446. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  3447. *) { eval $ac_var=; unset $ac_var;} ;;
  3448. esac ;;
  3449. esac
  3450. done
  3451. (set) 2>&1 |
  3452. case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
  3453. *${as_nl}ac_space=\ *)
  3454. sed -n \
  3455. "s/'\''/'\''\\\\'\'''\''/g;
  3456. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
  3457. ;; #(
  3458. *)
  3459. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  3460. ;;
  3461. esac |
  3462. sort
  3463. )
  3464. echo
  3465. $as_echo "## ----------------- ##
  3466. ## Output variables. ##
  3467. ## ----------------- ##"
  3468. echo
  3469. for ac_var in $ac_subst_vars
  3470. do
  3471. eval ac_val=\$$ac_var
  3472. case $ac_val in
  3473. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3474. esac
  3475. $as_echo "$ac_var='\''$ac_val'\''"
  3476. done | sort
  3477. echo
  3478. if test -n "$ac_subst_files"; then
  3479. $as_echo "## ------------------- ##
  3480. ## File substitutions. ##
  3481. ## ------------------- ##"
  3482. echo
  3483. for ac_var in $ac_subst_files
  3484. do
  3485. eval ac_val=\$$ac_var
  3486. case $ac_val in
  3487. *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
  3488. esac
  3489. $as_echo "$ac_var='\''$ac_val'\''"
  3490. done | sort
  3491. echo
  3492. fi
  3493. if test -s confdefs.h; then
  3494. $as_echo "## ----------- ##
  3495. ## confdefs.h. ##
  3496. ## ----------- ##"
  3497. echo
  3498. cat confdefs.h
  3499. echo
  3500. fi
  3501. test "$ac_signal" != 0 &&
  3502. $as_echo "$as_me: caught signal $ac_signal"
  3503. $as_echo "$as_me: exit $exit_status"
  3504. } >&5
  3505. rm -f core *.core core.conftest.* &&
  3506. rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
  3507. exit $exit_status
  3508. ' 0
  3509. for ac_signal in 1 2 13 15; do
  3510. trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
  3511. done
  3512. ac_signal=0
  3513. # confdefs.h avoids OS command line length limits that DEFS can exceed.
  3514. rm -f -r conftest* confdefs.h
  3515. $as_echo "/* confdefs.h */" > confdefs.h
  3516. # Predefined preprocessor variables.
  3517. cat >>confdefs.h <<_ACEOF
  3518. #define PACKAGE_NAME "$PACKAGE_NAME"
  3519. _ACEOF
  3520. cat >>confdefs.h <<_ACEOF
  3521. #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
  3522. _ACEOF
  3523. cat >>confdefs.h <<_ACEOF
  3524. #define PACKAGE_VERSION "$PACKAGE_VERSION"
  3525. _ACEOF
  3526. cat >>confdefs.h <<_ACEOF
  3527. #define PACKAGE_STRING "$PACKAGE_STRING"
  3528. _ACEOF
  3529. cat >>confdefs.h <<_ACEOF
  3530. #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
  3531. _ACEOF
  3532. cat >>confdefs.h <<_ACEOF
  3533. #define PACKAGE_URL "$PACKAGE_URL"
  3534. _ACEOF
  3535. # Let the site file select an alternate cache file if it wants to.
  3536. # Prefer an explicitly selected file to automatically selected ones.
  3537. ac_site_file1=NONE
  3538. ac_site_file2=NONE
  3539. if test -n "$CONFIG_SITE"; then
  3540. # We do not want a PATH search for config.site.
  3541. case $CONFIG_SITE in #((
  3542. -*) ac_site_file1=./$CONFIG_SITE;;
  3543. */*) ac_site_file1=$CONFIG_SITE;;
  3544. *) ac_site_file1=./$CONFIG_SITE;;
  3545. esac
  3546. elif test "x$prefix" != xNONE; then
  3547. ac_site_file1=$prefix/share/config.site
  3548. ac_site_file2=$prefix/etc/config.site
  3549. else
  3550. ac_site_file1=$ac_default_prefix/share/config.site
  3551. ac_site_file2=$ac_default_prefix/etc/config.site
  3552. fi
  3553. for ac_site_file in "$ac_site_file1" "$ac_site_file2"
  3554. do
  3555. test "x$ac_site_file" = xNONE && continue
  3556. if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
  3557. { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
  3558. $as_echo "$as_me: loading site script $ac_site_file" >&6;}
  3559. sed 's/^/| /' "$ac_site_file" >&5
  3560. . "$ac_site_file" \
  3561. || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3562. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3563. as_fn_error $? "failed to load site script $ac_site_file
  3564. See \`config.log' for more details" "$LINENO" 5; }
  3565. fi
  3566. done
  3567. if test -r "$cache_file"; then
  3568. # Some versions of bash will fail to source /dev/null (special files
  3569. # actually), so we avoid doing that. DJGPP emulates it as a regular file.
  3570. if test /dev/null != "$cache_file" && test -f "$cache_file"; then
  3571. { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
  3572. $as_echo "$as_me: loading cache $cache_file" >&6;}
  3573. case $cache_file in
  3574. [\\/]* | ?:[\\/]* ) . "$cache_file";;
  3575. *) . "./$cache_file";;
  3576. esac
  3577. fi
  3578. else
  3579. { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
  3580. $as_echo "$as_me: creating cache $cache_file" >&6;}
  3581. >$cache_file
  3582. fi
  3583. # Check that the precious variables saved in the cache have kept the same
  3584. # value.
  3585. ac_cache_corrupted=false
  3586. for ac_var in $ac_precious_vars; do
  3587. eval ac_old_set=\$ac_cv_env_${ac_var}_set
  3588. eval ac_new_set=\$ac_env_${ac_var}_set
  3589. eval ac_old_val=\$ac_cv_env_${ac_var}_value
  3590. eval ac_new_val=\$ac_env_${ac_var}_value
  3591. case $ac_old_set,$ac_new_set in
  3592. set,)
  3593. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
  3594. $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
  3595. ac_cache_corrupted=: ;;
  3596. ,set)
  3597. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
  3598. $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
  3599. ac_cache_corrupted=: ;;
  3600. ,);;
  3601. *)
  3602. if test "x$ac_old_val" != "x$ac_new_val"; then
  3603. # differences in whitespace do not lead to failure.
  3604. ac_old_val_w=`echo x $ac_old_val`
  3605. ac_new_val_w=`echo x $ac_new_val`
  3606. if test "$ac_old_val_w" != "$ac_new_val_w"; then
  3607. { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
  3608. $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
  3609. ac_cache_corrupted=:
  3610. else
  3611. { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
  3612. $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
  3613. eval $ac_var=\$ac_old_val
  3614. fi
  3615. { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
  3616. $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
  3617. { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
  3618. $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
  3619. fi;;
  3620. esac
  3621. # Pass precious variables to config.status.
  3622. if test "$ac_new_set" = set; then
  3623. case $ac_new_val in
  3624. *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
  3625. *) ac_arg=$ac_var=$ac_new_val ;;
  3626. esac
  3627. case " $ac_configure_args " in
  3628. *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
  3629. *) as_fn_append ac_configure_args " '$ac_arg'" ;;
  3630. esac
  3631. fi
  3632. done
  3633. if $ac_cache_corrupted; then
  3634. { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  3635. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  3636. { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
  3637. $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
  3638. as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
  3639. fi
  3640. ## -------------------- ##
  3641. ## Main body of script. ##
  3642. ## -------------------- ##
  3643. ac_ext=c
  3644. ac_cpp='$CPP $CPPFLAGS'
  3645. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  3646. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  3647. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  3648. ac_config_headers="$ac_config_headers include/config.h"
  3649. ac_aux_dir=
  3650. for ac_dir in tools "$srcdir"/tools; do
  3651. if test -f "$ac_dir/install-sh"; then
  3652. ac_aux_dir=$ac_dir
  3653. ac_install_sh="$ac_aux_dir/install-sh -c"
  3654. break
  3655. elif test -f "$ac_dir/install.sh"; then
  3656. ac_aux_dir=$ac_dir
  3657. ac_install_sh="$ac_aux_dir/install.sh -c"
  3658. break
  3659. elif test -f "$ac_dir/shtool"; then
  3660. ac_aux_dir=$ac_dir
  3661. ac_install_sh="$ac_aux_dir/shtool install -c"
  3662. break
  3663. fi
  3664. done
  3665. if test -z "$ac_aux_dir"; then
  3666. as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
  3667. fi
  3668. # These three variables are undocumented and unsupported,
  3669. # and are intended to be withdrawn in a future Autoconf release.
  3670. # They can cause serious problems if a builder's source tree is in a directory
  3671. # whose full name contains unusual characters.
  3672. ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
  3673. ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
  3674. ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
  3675. libwine_version="1.0"
  3676. # Check whether --enable-win16 was given.
  3677. if test "${enable_win16+set}" = set; then :
  3678. enableval=$enable_win16;
  3679. fi
  3680. # Check whether --enable-win64 was given.
  3681. if test "${enable_win64+set}" = set; then :
  3682. enableval=$enable_win64;
  3683. fi
  3684. # Check whether --enable-tests was given.
  3685. if test "${enable_tests+set}" = set; then :
  3686. enableval=$enable_tests;
  3687. fi
  3688. # Check whether --enable-build-id was given.
  3689. if test "${enable_build_id+set}" = set; then :
  3690. enableval=$enable_build_id;
  3691. fi
  3692. # Check whether --enable-maintainer-mode was given.
  3693. if test "${enable_maintainer_mode+set}" = set; then :
  3694. enableval=$enable_maintainer_mode;
  3695. fi
  3696. # Check whether --enable-silent-rules was given.
  3697. if test "${enable_silent_rules+set}" = set; then :
  3698. enableval=$enable_silent_rules;
  3699. fi
  3700. # Check whether --enable-werror was given.
  3701. if test "${enable_werror+set}" = set; then :
  3702. enableval=$enable_werror;
  3703. fi
  3704. # Check whether --with-alsa was given.
  3705. if test "${with_alsa+set}" = set; then :
  3706. withval=$with_alsa;
  3707. fi
  3708. # Check whether --with-capi was given.
  3709. if test "${with_capi+set}" = set; then :
  3710. withval=$with_capi;
  3711. fi
  3712. # Check whether --with-cms was given.
  3713. if test "${with_cms+set}" = set; then :
  3714. withval=$with_cms;
  3715. fi
  3716. # Check whether --with-coreaudio was given.
  3717. if test "${with_coreaudio+set}" = set; then :
  3718. withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
  3719. fi
  3720. # Check whether --with-cups was given.
  3721. if test "${with_cups+set}" = set; then :
  3722. withval=$with_cups;
  3723. fi
  3724. # Check whether --with-dbus was given.
  3725. if test "${with_dbus+set}" = set; then :
  3726. withval=$with_dbus;
  3727. fi
  3728. # Check whether --with-faudio was given.
  3729. if test "${with_faudio+set}" = set; then :
  3730. withval=$with_faudio;
  3731. fi
  3732. # Check whether --with-float-abi was given.
  3733. if test "${with_float_abi+set}" = set; then :
  3734. withval=$with_float_abi;
  3735. fi
  3736. # Check whether --with-fontconfig was given.
  3737. if test "${with_fontconfig+set}" = set; then :
  3738. withval=$with_fontconfig;
  3739. fi
  3740. # Check whether --with-freetype was given.
  3741. if test "${with_freetype+set}" = set; then :
  3742. withval=$with_freetype;
  3743. fi
  3744. # Check whether --with-gettext was given.
  3745. if test "${with_gettext+set}" = set; then :
  3746. withval=$with_gettext;
  3747. fi
  3748. # Check whether --with-gettextpo was given.
  3749. if test "${with_gettextpo+set}" = set; then :
  3750. withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
  3751. fi
  3752. # Check whether --with-gphoto was given.
  3753. if test "${with_gphoto+set}" = set; then :
  3754. withval=$with_gphoto;
  3755. fi
  3756. # Check whether --with-gnutls was given.
  3757. if test "${with_gnutls+set}" = set; then :
  3758. withval=$with_gnutls;
  3759. fi
  3760. # Check whether --with-gsm was given.
  3761. if test "${with_gsm+set}" = set; then :
  3762. withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
  3763. fi
  3764. # Check whether --with-gssapi was given.
  3765. if test "${with_gssapi+set}" = set; then :
  3766. withval=$with_gssapi;
  3767. fi
  3768. # Check whether --with-gstreamer was given.
  3769. if test "${with_gstreamer+set}" = set; then :
  3770. withval=$with_gstreamer;
  3771. fi
  3772. # Check whether --with-hal was given.
  3773. if test "${with_hal+set}" = set; then :
  3774. withval=$with_hal;
  3775. fi
  3776. # Check whether --with-inotify was given.
  3777. if test "${with_inotify+set}" = set; then :
  3778. withval=$with_inotify;
  3779. fi
  3780. # Check whether --with-jpeg was given.
  3781. if test "${with_jpeg+set}" = set; then :
  3782. withval=$with_jpeg;
  3783. fi
  3784. # Check whether --with-jxrlib was given.
  3785. if test "${with_jxrlib+set}" = set; then :
  3786. withval=$with_jxrlib;
  3787. fi
  3788. # Check whether --with-krb5 was given.
  3789. if test "${with_krb5+set}" = set; then :
  3790. withval=$with_krb5;
  3791. fi
  3792. # Check whether --with-ldap was given.
  3793. if test "${with_ldap+set}" = set; then :
  3794. withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
  3795. fi
  3796. # Check whether --with-mingw was given.
  3797. if test "${with_mingw+set}" = set; then :
  3798. withval=$with_mingw;
  3799. fi
  3800. # Check whether --with-mpg123 was given.
  3801. if test "${with_mpg123+set}" = set; then :
  3802. withval=$with_mpg123;
  3803. fi
  3804. # Check whether --with-netapi was given.
  3805. if test "${with_netapi+set}" = set; then :
  3806. withval=$with_netapi;
  3807. fi
  3808. # Check whether --with-openal was given.
  3809. if test "${with_openal+set}" = set; then :
  3810. withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
  3811. fi
  3812. # Check whether --with-opencl was given.
  3813. if test "${with_opencl+set}" = set; then :
  3814. withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
  3815. fi
  3816. # Check whether --with-opengl was given.
  3817. if test "${with_opengl+set}" = set; then :
  3818. withval=$with_opengl;
  3819. fi
  3820. # Check whether --with-osmesa was given.
  3821. if test "${with_osmesa+set}" = set; then :
  3822. withval=$with_osmesa;
  3823. fi
  3824. # Check whether --with-oss was given.
  3825. if test "${with_oss+set}" = set; then :
  3826. withval=$with_oss;
  3827. fi
  3828. # Check whether --with-pcap was given.
  3829. if test "${with_pcap+set}" = set; then :
  3830. withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
  3831. fi
  3832. # Check whether --with-png was given.
  3833. if test "${with_png+set}" = set; then :
  3834. withval=$with_png;
  3835. fi
  3836. # Check whether --with-pthread was given.
  3837. if test "${with_pthread+set}" = set; then :
  3838. withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
  3839. fi
  3840. # Check whether --with-pulse was given.
  3841. if test "${with_pulse+set}" = set; then :
  3842. withval=$with_pulse;
  3843. fi
  3844. # Check whether --with-quicktime was given.
  3845. if test "${with_quicktime+set}" = set; then :
  3846. withval=$with_quicktime;
  3847. fi
  3848. # Check whether --with-sane was given.
  3849. if test "${with_sane+set}" = set; then :
  3850. withval=$with_sane;
  3851. fi
  3852. # Check whether --with-sdl was given.
  3853. if test "${with_sdl+set}" = set; then :
  3854. withval=$with_sdl;
  3855. fi
  3856. # Check whether --with-tiff was given.
  3857. if test "${with_tiff+set}" = set; then :
  3858. withval=$with_tiff;
  3859. fi
  3860. # Check whether --with-udev was given.
  3861. if test "${with_udev+set}" = set; then :
  3862. withval=$with_udev;
  3863. fi
  3864. # Check whether --with-unwind was given.
  3865. if test "${with_unwind+set}" = set; then :
  3866. withval=$with_unwind;
  3867. fi
  3868. # Check whether --with-usb was given.
  3869. if test "${with_usb+set}" = set; then :
  3870. withval=$with_usb;
  3871. fi
  3872. # Check whether --with-v4l2 was given.
  3873. if test "${with_v4l2+set}" = set; then :
  3874. withval=$with_v4l2;
  3875. fi
  3876. # Check whether --with-vkd3d was given.
  3877. if test "${with_vkd3d+set}" = set; then :
  3878. withval=$with_vkd3d;
  3879. fi
  3880. # Check whether --with-vulkan was given.
  3881. if test "${with_vulkan+set}" = set; then :
  3882. withval=$with_vulkan;
  3883. fi
  3884. # Check whether --with-xcomposite was given.
  3885. if test "${with_xcomposite+set}" = set; then :
  3886. withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
  3887. fi
  3888. # Check whether --with-xcursor was given.
  3889. if test "${with_xcursor+set}" = set; then :
  3890. withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
  3891. fi
  3892. # Check whether --with-xfixes was given.
  3893. if test "${with_xfixes+set}" = set; then :
  3894. withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
  3895. fi
  3896. # Check whether --with-xinerama was given.
  3897. if test "${with_xinerama+set}" = set; then :
  3898. withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
  3899. fi
  3900. # Check whether --with-xinput was given.
  3901. if test "${with_xinput+set}" = set; then :
  3902. withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
  3903. fi
  3904. # Check whether --with-xinput2 was given.
  3905. if test "${with_xinput2+set}" = set; then :
  3906. withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
  3907. fi
  3908. # Check whether --with-xml was given.
  3909. if test "${with_xml+set}" = set; then :
  3910. withval=$with_xml;
  3911. fi
  3912. # Check whether --with-xrandr was given.
  3913. if test "${with_xrandr+set}" = set; then :
  3914. withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
  3915. fi
  3916. # Check whether --with-xrender was given.
  3917. if test "${with_xrender+set}" = set; then :
  3918. withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
  3919. fi
  3920. # Check whether --with-xshape was given.
  3921. if test "${with_xshape+set}" = set; then :
  3922. withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
  3923. fi
  3924. # Check whether --with-xshm was given.
  3925. if test "${with_xshm+set}" = set; then :
  3926. withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
  3927. fi
  3928. # Check whether --with-xslt was given.
  3929. if test "${with_xslt+set}" = set; then :
  3930. withval=$with_xslt;
  3931. fi
  3932. # Check whether --with-xxf86vm was given.
  3933. if test "${with_xxf86vm+set}" = set; then :
  3934. 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
  3935. fi
  3936. # Check whether --with-wine-tools was given.
  3937. if test "${with_wine_tools+set}" = set; then :
  3938. withval=$with_wine_tools;
  3939. fi
  3940. # Check whether --with-wine64 was given.
  3941. if test "${with_wine64+set}" = set; then :
  3942. withval=$with_wine64;
  3943. fi
  3944. # Make sure we can run config.sub.
  3945. $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
  3946. as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
  3947. { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
  3948. $as_echo_n "checking build system type... " >&6; }
  3949. if ${ac_cv_build+:} false; then :
  3950. $as_echo_n "(cached) " >&6
  3951. else
  3952. ac_build_alias=$build_alias
  3953. test "x$ac_build_alias" = x &&
  3954. ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
  3955. test "x$ac_build_alias" = x &&
  3956. as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
  3957. ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
  3958. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
  3959. fi
  3960. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
  3961. $as_echo "$ac_cv_build" >&6; }
  3962. case $ac_cv_build in
  3963. *-*-*) ;;
  3964. *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
  3965. esac
  3966. build=$ac_cv_build
  3967. ac_save_IFS=$IFS; IFS='-'
  3968. set x $ac_cv_build
  3969. shift
  3970. build_cpu=$1
  3971. build_vendor=$2
  3972. shift; shift
  3973. # Remember, the first character of IFS is used to create $*,
  3974. # except with old shells:
  3975. build_os=$*
  3976. IFS=$ac_save_IFS
  3977. case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
  3978. { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
  3979. $as_echo_n "checking host system type... " >&6; }
  3980. if ${ac_cv_host+:} false; then :
  3981. $as_echo_n "(cached) " >&6
  3982. else
  3983. if test "x$host_alias" = x; then
  3984. ac_cv_host=$ac_cv_build
  3985. else
  3986. ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
  3987. as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
  3988. fi
  3989. fi
  3990. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
  3991. $as_echo "$ac_cv_host" >&6; }
  3992. case $ac_cv_host in
  3993. *-*-*) ;;
  3994. *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
  3995. esac
  3996. host=$ac_cv_host
  3997. ac_save_IFS=$IFS; IFS='-'
  3998. set x $ac_cv_host
  3999. shift
  4000. host_cpu=$1
  4001. host_vendor=$2
  4002. shift; shift
  4003. # Remember, the first character of IFS is used to create $*,
  4004. # except with old shells:
  4005. host_os=$*
  4006. IFS=$ac_save_IFS
  4007. case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
  4008. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
  4009. $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
  4010. set x ${MAKE-make}
  4011. ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
  4012. if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
  4013. $as_echo_n "(cached) " >&6
  4014. else
  4015. cat >conftest.make <<\_ACEOF
  4016. SHELL = /bin/sh
  4017. all:
  4018. @echo '@@@%%%=$(MAKE)=@@@%%%'
  4019. _ACEOF
  4020. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  4021. case `${MAKE-make} -f conftest.make 2>/dev/null` in
  4022. *@@@%%%=?*=@@@%%%*)
  4023. eval ac_cv_prog_make_${ac_make}_set=yes;;
  4024. *)
  4025. eval ac_cv_prog_make_${ac_make}_set=no;;
  4026. esac
  4027. rm -f conftest.make
  4028. fi
  4029. if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
  4030. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4031. $as_echo "yes" >&6; }
  4032. SET_MAKE=
  4033. else
  4034. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4035. $as_echo "no" >&6; }
  4036. SET_MAKE="MAKE=${MAKE-make}"
  4037. fi
  4038. ac_ext=c
  4039. ac_cpp='$CPP $CPPFLAGS'
  4040. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4041. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4042. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4043. if test -n "$ac_tool_prefix"; then
  4044. # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
  4045. set dummy ${ac_tool_prefix}gcc; ac_word=$2
  4046. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4047. $as_echo_n "checking for $ac_word... " >&6; }
  4048. if ${ac_cv_prog_CC+:} false; then :
  4049. $as_echo_n "(cached) " >&6
  4050. else
  4051. if test -n "$CC"; then
  4052. ac_cv_prog_CC="$CC" # Let the user override the test.
  4053. else
  4054. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4055. for as_dir in $PATH
  4056. do
  4057. IFS=$as_save_IFS
  4058. test -z "$as_dir" && as_dir=.
  4059. for ac_exec_ext in '' $ac_executable_extensions; do
  4060. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4061. ac_cv_prog_CC="${ac_tool_prefix}gcc"
  4062. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4063. break 2
  4064. fi
  4065. done
  4066. done
  4067. IFS=$as_save_IFS
  4068. fi
  4069. fi
  4070. CC=$ac_cv_prog_CC
  4071. if test -n "$CC"; then
  4072. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4073. $as_echo "$CC" >&6; }
  4074. else
  4075. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4076. $as_echo "no" >&6; }
  4077. fi
  4078. fi
  4079. if test -z "$ac_cv_prog_CC"; then
  4080. ac_ct_CC=$CC
  4081. # Extract the first word of "gcc", so it can be a program name with args.
  4082. set dummy gcc; ac_word=$2
  4083. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4084. $as_echo_n "checking for $ac_word... " >&6; }
  4085. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  4086. $as_echo_n "(cached) " >&6
  4087. else
  4088. if test -n "$ac_ct_CC"; then
  4089. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4090. else
  4091. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4092. for as_dir in $PATH
  4093. do
  4094. IFS=$as_save_IFS
  4095. test -z "$as_dir" && as_dir=.
  4096. for ac_exec_ext in '' $ac_executable_extensions; do
  4097. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4098. ac_cv_prog_ac_ct_CC="gcc"
  4099. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4100. break 2
  4101. fi
  4102. done
  4103. done
  4104. IFS=$as_save_IFS
  4105. fi
  4106. fi
  4107. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4108. if test -n "$ac_ct_CC"; then
  4109. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4110. $as_echo "$ac_ct_CC" >&6; }
  4111. else
  4112. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4113. $as_echo "no" >&6; }
  4114. fi
  4115. if test "x$ac_ct_CC" = x; then
  4116. CC=""
  4117. else
  4118. case $cross_compiling:$ac_tool_warned in
  4119. yes:)
  4120. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4121. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4122. ac_tool_warned=yes ;;
  4123. esac
  4124. CC=$ac_ct_CC
  4125. fi
  4126. else
  4127. CC="$ac_cv_prog_CC"
  4128. fi
  4129. if test -z "$CC"; then
  4130. if test -n "$ac_tool_prefix"; then
  4131. # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
  4132. set dummy ${ac_tool_prefix}cc; ac_word=$2
  4133. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4134. $as_echo_n "checking for $ac_word... " >&6; }
  4135. if ${ac_cv_prog_CC+:} false; then :
  4136. $as_echo_n "(cached) " >&6
  4137. else
  4138. if test -n "$CC"; then
  4139. ac_cv_prog_CC="$CC" # Let the user override the test.
  4140. else
  4141. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4142. for as_dir in $PATH
  4143. do
  4144. IFS=$as_save_IFS
  4145. test -z "$as_dir" && as_dir=.
  4146. for ac_exec_ext in '' $ac_executable_extensions; do
  4147. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4148. ac_cv_prog_CC="${ac_tool_prefix}cc"
  4149. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4150. break 2
  4151. fi
  4152. done
  4153. done
  4154. IFS=$as_save_IFS
  4155. fi
  4156. fi
  4157. CC=$ac_cv_prog_CC
  4158. if test -n "$CC"; then
  4159. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4160. $as_echo "$CC" >&6; }
  4161. else
  4162. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4163. $as_echo "no" >&6; }
  4164. fi
  4165. fi
  4166. fi
  4167. if test -z "$CC"; then
  4168. # Extract the first word of "cc", so it can be a program name with args.
  4169. set dummy cc; ac_word=$2
  4170. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4171. $as_echo_n "checking for $ac_word... " >&6; }
  4172. if ${ac_cv_prog_CC+:} false; then :
  4173. $as_echo_n "(cached) " >&6
  4174. else
  4175. if test -n "$CC"; then
  4176. ac_cv_prog_CC="$CC" # Let the user override the test.
  4177. else
  4178. ac_prog_rejected=no
  4179. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4180. for as_dir in $PATH
  4181. do
  4182. IFS=$as_save_IFS
  4183. test -z "$as_dir" && as_dir=.
  4184. for ac_exec_ext in '' $ac_executable_extensions; do
  4185. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4186. if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
  4187. ac_prog_rejected=yes
  4188. continue
  4189. fi
  4190. ac_cv_prog_CC="cc"
  4191. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4192. break 2
  4193. fi
  4194. done
  4195. done
  4196. IFS=$as_save_IFS
  4197. if test $ac_prog_rejected = yes; then
  4198. # We found a bogon in the path, so make sure we never use it.
  4199. set dummy $ac_cv_prog_CC
  4200. shift
  4201. if test $# != 0; then
  4202. # We chose a different compiler from the bogus one.
  4203. # However, it has the same basename, so the bogon will be chosen
  4204. # first if we set CC to just the basename; use the full file name.
  4205. shift
  4206. ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
  4207. fi
  4208. fi
  4209. fi
  4210. fi
  4211. CC=$ac_cv_prog_CC
  4212. if test -n "$CC"; then
  4213. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4214. $as_echo "$CC" >&6; }
  4215. else
  4216. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4217. $as_echo "no" >&6; }
  4218. fi
  4219. fi
  4220. if test -z "$CC"; then
  4221. if test -n "$ac_tool_prefix"; then
  4222. for ac_prog in cl.exe
  4223. do
  4224. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4225. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4226. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4227. $as_echo_n "checking for $ac_word... " >&6; }
  4228. if ${ac_cv_prog_CC+:} false; then :
  4229. $as_echo_n "(cached) " >&6
  4230. else
  4231. if test -n "$CC"; then
  4232. ac_cv_prog_CC="$CC" # Let the user override the test.
  4233. else
  4234. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4235. for as_dir in $PATH
  4236. do
  4237. IFS=$as_save_IFS
  4238. test -z "$as_dir" && as_dir=.
  4239. for ac_exec_ext in '' $ac_executable_extensions; do
  4240. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4241. ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
  4242. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4243. break 2
  4244. fi
  4245. done
  4246. done
  4247. IFS=$as_save_IFS
  4248. fi
  4249. fi
  4250. CC=$ac_cv_prog_CC
  4251. if test -n "$CC"; then
  4252. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
  4253. $as_echo "$CC" >&6; }
  4254. else
  4255. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4256. $as_echo "no" >&6; }
  4257. fi
  4258. test -n "$CC" && break
  4259. done
  4260. fi
  4261. if test -z "$CC"; then
  4262. ac_ct_CC=$CC
  4263. for ac_prog in cl.exe
  4264. do
  4265. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4266. set dummy $ac_prog; ac_word=$2
  4267. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4268. $as_echo_n "checking for $ac_word... " >&6; }
  4269. if ${ac_cv_prog_ac_ct_CC+:} false; then :
  4270. $as_echo_n "(cached) " >&6
  4271. else
  4272. if test -n "$ac_ct_CC"; then
  4273. ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
  4274. else
  4275. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4276. for as_dir in $PATH
  4277. do
  4278. IFS=$as_save_IFS
  4279. test -z "$as_dir" && as_dir=.
  4280. for ac_exec_ext in '' $ac_executable_extensions; do
  4281. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4282. ac_cv_prog_ac_ct_CC="$ac_prog"
  4283. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4284. break 2
  4285. fi
  4286. done
  4287. done
  4288. IFS=$as_save_IFS
  4289. fi
  4290. fi
  4291. ac_ct_CC=$ac_cv_prog_ac_ct_CC
  4292. if test -n "$ac_ct_CC"; then
  4293. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
  4294. $as_echo "$ac_ct_CC" >&6; }
  4295. else
  4296. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4297. $as_echo "no" >&6; }
  4298. fi
  4299. test -n "$ac_ct_CC" && break
  4300. done
  4301. if test "x$ac_ct_CC" = x; then
  4302. CC=""
  4303. else
  4304. case $cross_compiling:$ac_tool_warned in
  4305. yes:)
  4306. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4307. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4308. ac_tool_warned=yes ;;
  4309. esac
  4310. CC=$ac_ct_CC
  4311. fi
  4312. fi
  4313. fi
  4314. test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4315. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4316. as_fn_error $? "no acceptable C compiler found in \$PATH
  4317. See \`config.log' for more details" "$LINENO" 5; }
  4318. # Provide some information about the compiler.
  4319. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
  4320. set X $ac_compile
  4321. ac_compiler=$2
  4322. for ac_option in --version -v -V -qversion; do
  4323. { { ac_try="$ac_compiler $ac_option >&5"
  4324. case "(($ac_try" in
  4325. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4326. *) ac_try_echo=$ac_try;;
  4327. esac
  4328. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4329. $as_echo "$ac_try_echo"; } >&5
  4330. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4331. ac_status=$?
  4332. if test -s conftest.err; then
  4333. sed '10a\
  4334. ... rest of stderr output deleted ...
  4335. 10q' conftest.err >conftest.er1
  4336. cat conftest.er1 >&5
  4337. fi
  4338. rm -f conftest.er1 conftest.err
  4339. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4340. test $ac_status = 0; }
  4341. done
  4342. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4343. /* end confdefs.h. */
  4344. int
  4345. main ()
  4346. {
  4347. ;
  4348. return 0;
  4349. }
  4350. _ACEOF
  4351. ac_clean_files_save=$ac_clean_files
  4352. ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
  4353. # Try to create an executable without -o first, disregard a.out.
  4354. # It will help us diagnose broken compilers, and finding out an intuition
  4355. # of exeext.
  4356. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
  4357. $as_echo_n "checking whether the C compiler works... " >&6; }
  4358. ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
  4359. # The possible output files:
  4360. ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
  4361. ac_rmfiles=
  4362. for ac_file in $ac_files
  4363. do
  4364. case $ac_file in
  4365. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4366. * ) ac_rmfiles="$ac_rmfiles $ac_file";;
  4367. esac
  4368. done
  4369. rm -f $ac_rmfiles
  4370. if { { ac_try="$ac_link_default"
  4371. case "(($ac_try" in
  4372. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4373. *) ac_try_echo=$ac_try;;
  4374. esac
  4375. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4376. $as_echo "$ac_try_echo"; } >&5
  4377. (eval "$ac_link_default") 2>&5
  4378. ac_status=$?
  4379. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4380. test $ac_status = 0; }; then :
  4381. # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
  4382. # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
  4383. # in a Makefile. We should not override ac_cv_exeext if it was cached,
  4384. # so that the user can short-circuit this test for compilers unknown to
  4385. # Autoconf.
  4386. for ac_file in $ac_files ''
  4387. do
  4388. test -f "$ac_file" || continue
  4389. case $ac_file in
  4390. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
  4391. ;;
  4392. [ab].out )
  4393. # We found the default executable, but exeext='' is most
  4394. # certainly right.
  4395. break;;
  4396. *.* )
  4397. if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
  4398. then :; else
  4399. ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4400. fi
  4401. # We set ac_cv_exeext here because the later test for it is not
  4402. # safe: cross compilers may not add the suffix if given an `-o'
  4403. # argument, so we may need to know it at that point already.
  4404. # Even if this section looks crufty: it has the advantage of
  4405. # actually working.
  4406. break;;
  4407. * )
  4408. break;;
  4409. esac
  4410. done
  4411. test "$ac_cv_exeext" = no && ac_cv_exeext=
  4412. else
  4413. ac_file=''
  4414. fi
  4415. if test -z "$ac_file"; then :
  4416. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4417. $as_echo "no" >&6; }
  4418. $as_echo "$as_me: failed program was:" >&5
  4419. sed 's/^/| /' conftest.$ac_ext >&5
  4420. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4421. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4422. as_fn_error 77 "C compiler cannot create executables
  4423. See \`config.log' for more details" "$LINENO" 5; }
  4424. else
  4425. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  4426. $as_echo "yes" >&6; }
  4427. fi
  4428. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
  4429. $as_echo_n "checking for C compiler default output file name... " >&6; }
  4430. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
  4431. $as_echo "$ac_file" >&6; }
  4432. ac_exeext=$ac_cv_exeext
  4433. rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
  4434. ac_clean_files=$ac_clean_files_save
  4435. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
  4436. $as_echo_n "checking for suffix of executables... " >&6; }
  4437. if { { ac_try="$ac_link"
  4438. case "(($ac_try" in
  4439. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4440. *) ac_try_echo=$ac_try;;
  4441. esac
  4442. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4443. $as_echo "$ac_try_echo"; } >&5
  4444. (eval "$ac_link") 2>&5
  4445. ac_status=$?
  4446. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4447. test $ac_status = 0; }; then :
  4448. # If both `conftest.exe' and `conftest' are `present' (well, observable)
  4449. # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
  4450. # work properly (i.e., refer to `conftest.exe'), while it won't with
  4451. # `rm'.
  4452. for ac_file in conftest.exe conftest conftest.*; do
  4453. test -f "$ac_file" || continue
  4454. case $ac_file in
  4455. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
  4456. *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
  4457. break;;
  4458. * ) break;;
  4459. esac
  4460. done
  4461. else
  4462. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4463. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4464. as_fn_error $? "cannot compute suffix of executables: cannot compile and link
  4465. See \`config.log' for more details" "$LINENO" 5; }
  4466. fi
  4467. rm -f conftest conftest$ac_cv_exeext
  4468. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
  4469. $as_echo "$ac_cv_exeext" >&6; }
  4470. rm -f conftest.$ac_ext
  4471. EXEEXT=$ac_cv_exeext
  4472. ac_exeext=$EXEEXT
  4473. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4474. /* end confdefs.h. */
  4475. #include <stdio.h>
  4476. int
  4477. main ()
  4478. {
  4479. FILE *f = fopen ("conftest.out", "w");
  4480. return ferror (f) || fclose (f) != 0;
  4481. ;
  4482. return 0;
  4483. }
  4484. _ACEOF
  4485. ac_clean_files="$ac_clean_files conftest.out"
  4486. # Check that the compiler produces executables we can run. If not, either
  4487. # the compiler is broken, or we cross compile.
  4488. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
  4489. $as_echo_n "checking whether we are cross compiling... " >&6; }
  4490. if test "$cross_compiling" != yes; then
  4491. { { ac_try="$ac_link"
  4492. case "(($ac_try" in
  4493. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4494. *) ac_try_echo=$ac_try;;
  4495. esac
  4496. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4497. $as_echo "$ac_try_echo"; } >&5
  4498. (eval "$ac_link") 2>&5
  4499. ac_status=$?
  4500. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4501. test $ac_status = 0; }
  4502. if { ac_try='./conftest$ac_cv_exeext'
  4503. { { case "(($ac_try" in
  4504. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4505. *) ac_try_echo=$ac_try;;
  4506. esac
  4507. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4508. $as_echo "$ac_try_echo"; } >&5
  4509. (eval "$ac_try") 2>&5
  4510. ac_status=$?
  4511. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4512. test $ac_status = 0; }; }; then
  4513. cross_compiling=no
  4514. else
  4515. if test "$cross_compiling" = maybe; then
  4516. cross_compiling=yes
  4517. else
  4518. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4519. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4520. as_fn_error $? "cannot run C compiled programs.
  4521. If you meant to cross compile, use \`--host'.
  4522. See \`config.log' for more details" "$LINENO" 5; }
  4523. fi
  4524. fi
  4525. fi
  4526. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
  4527. $as_echo "$cross_compiling" >&6; }
  4528. rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
  4529. ac_clean_files=$ac_clean_files_save
  4530. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
  4531. $as_echo_n "checking for suffix of object files... " >&6; }
  4532. if ${ac_cv_objext+:} false; then :
  4533. $as_echo_n "(cached) " >&6
  4534. else
  4535. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4536. /* end confdefs.h. */
  4537. int
  4538. main ()
  4539. {
  4540. ;
  4541. return 0;
  4542. }
  4543. _ACEOF
  4544. rm -f conftest.o conftest.obj
  4545. if { { ac_try="$ac_compile"
  4546. case "(($ac_try" in
  4547. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4548. *) ac_try_echo=$ac_try;;
  4549. esac
  4550. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4551. $as_echo "$ac_try_echo"; } >&5
  4552. (eval "$ac_compile") 2>&5
  4553. ac_status=$?
  4554. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4555. test $ac_status = 0; }; then :
  4556. for ac_file in conftest.o conftest.obj conftest.*; do
  4557. test -f "$ac_file" || continue;
  4558. case $ac_file in
  4559. *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
  4560. *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
  4561. break;;
  4562. esac
  4563. done
  4564. else
  4565. $as_echo "$as_me: failed program was:" >&5
  4566. sed 's/^/| /' conftest.$ac_ext >&5
  4567. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  4568. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  4569. as_fn_error $? "cannot compute suffix of object files: cannot compile
  4570. See \`config.log' for more details" "$LINENO" 5; }
  4571. fi
  4572. rm -f conftest.$ac_cv_objext conftest.$ac_ext
  4573. fi
  4574. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
  4575. $as_echo "$ac_cv_objext" >&6; }
  4576. OBJEXT=$ac_cv_objext
  4577. ac_objext=$OBJEXT
  4578. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
  4579. $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
  4580. if ${ac_cv_c_compiler_gnu+:} false; then :
  4581. $as_echo_n "(cached) " >&6
  4582. else
  4583. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4584. /* end confdefs.h. */
  4585. int
  4586. main ()
  4587. {
  4588. #ifndef __GNUC__
  4589. choke me
  4590. #endif
  4591. ;
  4592. return 0;
  4593. }
  4594. _ACEOF
  4595. if ac_fn_c_try_compile "$LINENO"; then :
  4596. ac_compiler_gnu=yes
  4597. else
  4598. ac_compiler_gnu=no
  4599. fi
  4600. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4601. ac_cv_c_compiler_gnu=$ac_compiler_gnu
  4602. fi
  4603. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
  4604. $as_echo "$ac_cv_c_compiler_gnu" >&6; }
  4605. if test $ac_compiler_gnu = yes; then
  4606. GCC=yes
  4607. else
  4608. GCC=
  4609. fi
  4610. ac_test_CFLAGS=${CFLAGS+set}
  4611. ac_save_CFLAGS=$CFLAGS
  4612. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
  4613. $as_echo_n "checking whether $CC accepts -g... " >&6; }
  4614. if ${ac_cv_prog_cc_g+:} false; then :
  4615. $as_echo_n "(cached) " >&6
  4616. else
  4617. ac_save_c_werror_flag=$ac_c_werror_flag
  4618. ac_c_werror_flag=yes
  4619. ac_cv_prog_cc_g=no
  4620. CFLAGS="-g"
  4621. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4622. /* end confdefs.h. */
  4623. int
  4624. main ()
  4625. {
  4626. ;
  4627. return 0;
  4628. }
  4629. _ACEOF
  4630. if ac_fn_c_try_compile "$LINENO"; then :
  4631. ac_cv_prog_cc_g=yes
  4632. else
  4633. CFLAGS=""
  4634. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4635. /* end confdefs.h. */
  4636. int
  4637. main ()
  4638. {
  4639. ;
  4640. return 0;
  4641. }
  4642. _ACEOF
  4643. if ac_fn_c_try_compile "$LINENO"; then :
  4644. else
  4645. ac_c_werror_flag=$ac_save_c_werror_flag
  4646. CFLAGS="-g"
  4647. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4648. /* end confdefs.h. */
  4649. int
  4650. main ()
  4651. {
  4652. ;
  4653. return 0;
  4654. }
  4655. _ACEOF
  4656. if ac_fn_c_try_compile "$LINENO"; then :
  4657. ac_cv_prog_cc_g=yes
  4658. fi
  4659. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4660. fi
  4661. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4662. fi
  4663. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4664. ac_c_werror_flag=$ac_save_c_werror_flag
  4665. fi
  4666. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
  4667. $as_echo "$ac_cv_prog_cc_g" >&6; }
  4668. if test "$ac_test_CFLAGS" = set; then
  4669. CFLAGS=$ac_save_CFLAGS
  4670. elif test $ac_cv_prog_cc_g = yes; then
  4671. if test "$GCC" = yes; then
  4672. CFLAGS="-g -O2"
  4673. else
  4674. CFLAGS="-g"
  4675. fi
  4676. else
  4677. if test "$GCC" = yes; then
  4678. CFLAGS="-O2"
  4679. else
  4680. CFLAGS=
  4681. fi
  4682. fi
  4683. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
  4684. $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
  4685. if ${ac_cv_prog_cc_c89+:} false; then :
  4686. $as_echo_n "(cached) " >&6
  4687. else
  4688. ac_cv_prog_cc_c89=no
  4689. ac_save_CC=$CC
  4690. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4691. /* end confdefs.h. */
  4692. #include <stdarg.h>
  4693. #include <stdio.h>
  4694. struct stat;
  4695. /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
  4696. struct buf { int x; };
  4697. FILE * (*rcsopen) (struct buf *, struct stat *, int);
  4698. static char *e (p, i)
  4699. char **p;
  4700. int i;
  4701. {
  4702. return p[i];
  4703. }
  4704. static char *f (char * (*g) (char **, int), char **p, ...)
  4705. {
  4706. char *s;
  4707. va_list v;
  4708. va_start (v,p);
  4709. s = g (p, va_arg (v,int));
  4710. va_end (v);
  4711. return s;
  4712. }
  4713. /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
  4714. function prototypes and stuff, but not '\xHH' hex character constants.
  4715. These don't provoke an error unfortunately, instead are silently treated
  4716. as 'x'. The following induces an error, until -std is added to get
  4717. proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
  4718. array size at least. It's necessary to write '\x00'==0 to get something
  4719. that's true only with -std. */
  4720. int osf4_cc_array ['\x00' == 0 ? 1 : -1];
  4721. /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
  4722. inside strings and character constants. */
  4723. #define FOO(x) 'x'
  4724. int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
  4725. int test (int i, double x);
  4726. struct s1 {int (*f) (int a);};
  4727. struct s2 {int (*f) (double a);};
  4728. int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
  4729. int argc;
  4730. char **argv;
  4731. int
  4732. main ()
  4733. {
  4734. return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
  4735. ;
  4736. return 0;
  4737. }
  4738. _ACEOF
  4739. for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
  4740. -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
  4741. do
  4742. CC="$ac_save_CC $ac_arg"
  4743. if ac_fn_c_try_compile "$LINENO"; then :
  4744. ac_cv_prog_cc_c89=$ac_arg
  4745. fi
  4746. rm -f core conftest.err conftest.$ac_objext
  4747. test "x$ac_cv_prog_cc_c89" != "xno" && break
  4748. done
  4749. rm -f conftest.$ac_ext
  4750. CC=$ac_save_CC
  4751. fi
  4752. # AC_CACHE_VAL
  4753. case "x$ac_cv_prog_cc_c89" in
  4754. x)
  4755. { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
  4756. $as_echo "none needed" >&6; } ;;
  4757. xno)
  4758. { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
  4759. $as_echo "unsupported" >&6; } ;;
  4760. *)
  4761. CC="$CC $ac_cv_prog_cc_c89"
  4762. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
  4763. $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
  4764. esac
  4765. if test "x$ac_cv_prog_cc_c89" != xno; then :
  4766. fi
  4767. ac_ext=c
  4768. ac_cpp='$CPP $CPPFLAGS'
  4769. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4770. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4771. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  4772. ac_ext=cpp
  4773. ac_cpp='$CXXCPP $CPPFLAGS'
  4774. ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  4775. ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  4776. ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
  4777. if test -z "$CXX"; then
  4778. if test -n "$CCC"; then
  4779. CXX=$CCC
  4780. else
  4781. if test -n "$ac_tool_prefix"; then
  4782. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  4783. do
  4784. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  4785. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  4786. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4787. $as_echo_n "checking for $ac_word... " >&6; }
  4788. if ${ac_cv_prog_CXX+:} false; then :
  4789. $as_echo_n "(cached) " >&6
  4790. else
  4791. if test -n "$CXX"; then
  4792. ac_cv_prog_CXX="$CXX" # Let the user override the test.
  4793. else
  4794. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4795. for as_dir in $PATH
  4796. do
  4797. IFS=$as_save_IFS
  4798. test -z "$as_dir" && as_dir=.
  4799. for ac_exec_ext in '' $ac_executable_extensions; do
  4800. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4801. ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
  4802. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4803. break 2
  4804. fi
  4805. done
  4806. done
  4807. IFS=$as_save_IFS
  4808. fi
  4809. fi
  4810. CXX=$ac_cv_prog_CXX
  4811. if test -n "$CXX"; then
  4812. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
  4813. $as_echo "$CXX" >&6; }
  4814. else
  4815. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4816. $as_echo "no" >&6; }
  4817. fi
  4818. test -n "$CXX" && break
  4819. done
  4820. fi
  4821. if test -z "$CXX"; then
  4822. ac_ct_CXX=$CXX
  4823. for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
  4824. do
  4825. # Extract the first word of "$ac_prog", so it can be a program name with args.
  4826. set dummy $ac_prog; ac_word=$2
  4827. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  4828. $as_echo_n "checking for $ac_word... " >&6; }
  4829. if ${ac_cv_prog_ac_ct_CXX+:} false; then :
  4830. $as_echo_n "(cached) " >&6
  4831. else
  4832. if test -n "$ac_ct_CXX"; then
  4833. ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
  4834. else
  4835. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  4836. for as_dir in $PATH
  4837. do
  4838. IFS=$as_save_IFS
  4839. test -z "$as_dir" && as_dir=.
  4840. for ac_exec_ext in '' $ac_executable_extensions; do
  4841. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  4842. ac_cv_prog_ac_ct_CXX="$ac_prog"
  4843. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  4844. break 2
  4845. fi
  4846. done
  4847. done
  4848. IFS=$as_save_IFS
  4849. fi
  4850. fi
  4851. ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
  4852. if test -n "$ac_ct_CXX"; then
  4853. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
  4854. $as_echo "$ac_ct_CXX" >&6; }
  4855. else
  4856. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  4857. $as_echo "no" >&6; }
  4858. fi
  4859. test -n "$ac_ct_CXX" && break
  4860. done
  4861. if test "x$ac_ct_CXX" = x; then
  4862. CXX="g++"
  4863. else
  4864. case $cross_compiling:$ac_tool_warned in
  4865. yes:)
  4866. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  4867. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  4868. ac_tool_warned=yes ;;
  4869. esac
  4870. CXX=$ac_ct_CXX
  4871. fi
  4872. fi
  4873. fi
  4874. fi
  4875. # Provide some information about the compiler.
  4876. $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
  4877. set X $ac_compile
  4878. ac_compiler=$2
  4879. for ac_option in --version -v -V -qversion; do
  4880. { { ac_try="$ac_compiler $ac_option >&5"
  4881. case "(($ac_try" in
  4882. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  4883. *) ac_try_echo=$ac_try;;
  4884. esac
  4885. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  4886. $as_echo "$ac_try_echo"; } >&5
  4887. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  4888. ac_status=$?
  4889. if test -s conftest.err; then
  4890. sed '10a\
  4891. ... rest of stderr output deleted ...
  4892. 10q' conftest.err >conftest.er1
  4893. cat conftest.er1 >&5
  4894. fi
  4895. rm -f conftest.er1 conftest.err
  4896. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  4897. test $ac_status = 0; }
  4898. done
  4899. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
  4900. $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
  4901. if ${ac_cv_cxx_compiler_gnu+:} false; then :
  4902. $as_echo_n "(cached) " >&6
  4903. else
  4904. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4905. /* end confdefs.h. */
  4906. int
  4907. main ()
  4908. {
  4909. #ifndef __GNUC__
  4910. choke me
  4911. #endif
  4912. ;
  4913. return 0;
  4914. }
  4915. _ACEOF
  4916. if ac_fn_cxx_try_compile "$LINENO"; then :
  4917. ac_compiler_gnu=yes
  4918. else
  4919. ac_compiler_gnu=no
  4920. fi
  4921. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4922. ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
  4923. fi
  4924. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
  4925. $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
  4926. if test $ac_compiler_gnu = yes; then
  4927. GXX=yes
  4928. else
  4929. GXX=
  4930. fi
  4931. ac_test_CXXFLAGS=${CXXFLAGS+set}
  4932. ac_save_CXXFLAGS=$CXXFLAGS
  4933. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
  4934. $as_echo_n "checking whether $CXX accepts -g... " >&6; }
  4935. if ${ac_cv_prog_cxx_g+:} false; then :
  4936. $as_echo_n "(cached) " >&6
  4937. else
  4938. ac_save_cxx_werror_flag=$ac_cxx_werror_flag
  4939. ac_cxx_werror_flag=yes
  4940. ac_cv_prog_cxx_g=no
  4941. CXXFLAGS="-g"
  4942. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4943. /* end confdefs.h. */
  4944. int
  4945. main ()
  4946. {
  4947. ;
  4948. return 0;
  4949. }
  4950. _ACEOF
  4951. if ac_fn_cxx_try_compile "$LINENO"; then :
  4952. ac_cv_prog_cxx_g=yes
  4953. else
  4954. CXXFLAGS=""
  4955. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4956. /* end confdefs.h. */
  4957. int
  4958. main ()
  4959. {
  4960. ;
  4961. return 0;
  4962. }
  4963. _ACEOF
  4964. if ac_fn_cxx_try_compile "$LINENO"; then :
  4965. else
  4966. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4967. CXXFLAGS="-g"
  4968. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  4969. /* end confdefs.h. */
  4970. int
  4971. main ()
  4972. {
  4973. ;
  4974. return 0;
  4975. }
  4976. _ACEOF
  4977. if ac_fn_cxx_try_compile "$LINENO"; then :
  4978. ac_cv_prog_cxx_g=yes
  4979. fi
  4980. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4981. fi
  4982. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4983. fi
  4984. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  4985. ac_cxx_werror_flag=$ac_save_cxx_werror_flag
  4986. fi
  4987. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
  4988. $as_echo "$ac_cv_prog_cxx_g" >&6; }
  4989. if test "$ac_test_CXXFLAGS" = set; then
  4990. CXXFLAGS=$ac_save_CXXFLAGS
  4991. elif test $ac_cv_prog_cxx_g = yes; then
  4992. if test "$GXX" = yes; then
  4993. CXXFLAGS="-g -O2"
  4994. else
  4995. CXXFLAGS="-g"
  4996. fi
  4997. else
  4998. if test "$GXX" = yes; then
  4999. CXXFLAGS="-O2"
  5000. else
  5001. CXXFLAGS=
  5002. fi
  5003. fi
  5004. ac_ext=c
  5005. ac_cpp='$CPP $CPPFLAGS'
  5006. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  5007. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  5008. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  5009. if test -n "$ac_tool_prefix"; then
  5010. # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
  5011. set dummy ${ac_tool_prefix}cpp; ac_word=$2
  5012. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5013. $as_echo_n "checking for $ac_word... " >&6; }
  5014. if ${ac_cv_prog_CPPBIN+:} false; then :
  5015. $as_echo_n "(cached) " >&6
  5016. else
  5017. if test -n "$CPPBIN"; then
  5018. ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
  5019. else
  5020. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5021. for as_dir in $PATH
  5022. do
  5023. IFS=$as_save_IFS
  5024. test -z "$as_dir" && as_dir=.
  5025. for ac_exec_ext in '' $ac_executable_extensions; do
  5026. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5027. ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
  5028. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5029. break 2
  5030. fi
  5031. done
  5032. done
  5033. IFS=$as_save_IFS
  5034. fi
  5035. fi
  5036. CPPBIN=$ac_cv_prog_CPPBIN
  5037. if test -n "$CPPBIN"; then
  5038. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
  5039. $as_echo "$CPPBIN" >&6; }
  5040. else
  5041. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5042. $as_echo "no" >&6; }
  5043. fi
  5044. fi
  5045. if test -z "$ac_cv_prog_CPPBIN"; then
  5046. ac_ct_CPPBIN=$CPPBIN
  5047. # Extract the first word of "cpp", so it can be a program name with args.
  5048. set dummy cpp; ac_word=$2
  5049. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5050. $as_echo_n "checking for $ac_word... " >&6; }
  5051. if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
  5052. $as_echo_n "(cached) " >&6
  5053. else
  5054. if test -n "$ac_ct_CPPBIN"; then
  5055. ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
  5056. else
  5057. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5058. for as_dir in $PATH
  5059. do
  5060. IFS=$as_save_IFS
  5061. test -z "$as_dir" && as_dir=.
  5062. for ac_exec_ext in '' $ac_executable_extensions; do
  5063. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5064. ac_cv_prog_ac_ct_CPPBIN="cpp"
  5065. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5066. break 2
  5067. fi
  5068. done
  5069. done
  5070. IFS=$as_save_IFS
  5071. fi
  5072. fi
  5073. ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
  5074. if test -n "$ac_ct_CPPBIN"; then
  5075. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
  5076. $as_echo "$ac_ct_CPPBIN" >&6; }
  5077. else
  5078. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5079. $as_echo "no" >&6; }
  5080. fi
  5081. if test "x$ac_ct_CPPBIN" = x; then
  5082. CPPBIN="cpp"
  5083. else
  5084. case $cross_compiling:$ac_tool_warned in
  5085. yes:)
  5086. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5087. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5088. ac_tool_warned=yes ;;
  5089. esac
  5090. CPPBIN=$ac_ct_CPPBIN
  5091. fi
  5092. else
  5093. CPPBIN="$ac_cv_prog_CPPBIN"
  5094. fi
  5095. cat >>confdefs.h <<_ACEOF
  5096. #define EXEEXT "$ac_exeext"
  5097. _ACEOF
  5098. if test -n "$ac_tool_prefix"; then
  5099. # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
  5100. set dummy ${ac_tool_prefix}ld; ac_word=$2
  5101. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5102. $as_echo_n "checking for $ac_word... " >&6; }
  5103. if ${ac_cv_prog_LD+:} false; then :
  5104. $as_echo_n "(cached) " >&6
  5105. else
  5106. if test -n "$LD"; then
  5107. ac_cv_prog_LD="$LD" # Let the user override the test.
  5108. else
  5109. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5110. for as_dir in $PATH
  5111. do
  5112. IFS=$as_save_IFS
  5113. test -z "$as_dir" && as_dir=.
  5114. for ac_exec_ext in '' $ac_executable_extensions; do
  5115. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5116. ac_cv_prog_LD="${ac_tool_prefix}ld"
  5117. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5118. break 2
  5119. fi
  5120. done
  5121. done
  5122. IFS=$as_save_IFS
  5123. fi
  5124. fi
  5125. LD=$ac_cv_prog_LD
  5126. if test -n "$LD"; then
  5127. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
  5128. $as_echo "$LD" >&6; }
  5129. else
  5130. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5131. $as_echo "no" >&6; }
  5132. fi
  5133. fi
  5134. if test -z "$ac_cv_prog_LD"; then
  5135. ac_ct_LD=$LD
  5136. # Extract the first word of "ld", so it can be a program name with args.
  5137. set dummy ld; ac_word=$2
  5138. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5139. $as_echo_n "checking for $ac_word... " >&6; }
  5140. if ${ac_cv_prog_ac_ct_LD+:} false; then :
  5141. $as_echo_n "(cached) " >&6
  5142. else
  5143. if test -n "$ac_ct_LD"; then
  5144. ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
  5145. else
  5146. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5147. for as_dir in $PATH
  5148. do
  5149. IFS=$as_save_IFS
  5150. test -z "$as_dir" && as_dir=.
  5151. for ac_exec_ext in '' $ac_executable_extensions; do
  5152. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5153. ac_cv_prog_ac_ct_LD="ld"
  5154. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5155. break 2
  5156. fi
  5157. done
  5158. done
  5159. IFS=$as_save_IFS
  5160. fi
  5161. fi
  5162. ac_ct_LD=$ac_cv_prog_ac_ct_LD
  5163. if test -n "$ac_ct_LD"; then
  5164. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
  5165. $as_echo "$ac_ct_LD" >&6; }
  5166. else
  5167. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5168. $as_echo "no" >&6; }
  5169. fi
  5170. if test "x$ac_ct_LD" = x; then
  5171. LD=""
  5172. else
  5173. case $cross_compiling:$ac_tool_warned in
  5174. yes:)
  5175. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5176. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5177. ac_tool_warned=yes ;;
  5178. esac
  5179. LD=$ac_ct_LD
  5180. fi
  5181. else
  5182. LD="$ac_cv_prog_LD"
  5183. fi
  5184. case $host in
  5185. *-darwin*)
  5186. with_fontconfig=${with_fontconfig:-no}
  5187. ;;
  5188. *-mingw32*|*-cygwin*)
  5189. enable_win16=${enable_win16:-no}
  5190. with_mingw=${with_mingw:-no}
  5191. CFLAGS="$CFLAGS -D_WIN32"
  5192. ;;
  5193. esac
  5194. case $host in
  5195. x86_64*|amd64*)
  5196. if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
  5197. then
  5198. CC="$CC -m32"
  5199. CXX="$CXX -m32"
  5200. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
  5201. $as_echo_n "checking whether $CC works... " >&6; }
  5202. if ${wine_cv_cc_m32+:} false; then :
  5203. $as_echo_n "(cached) " >&6
  5204. else
  5205. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5206. /* end confdefs.h. */
  5207. int
  5208. main ()
  5209. {
  5210. ;
  5211. return 0;
  5212. }
  5213. _ACEOF
  5214. if ac_fn_c_try_link "$LINENO"; then :
  5215. wine_cv_cc_m32=yes
  5216. else
  5217. wine_cv_cc_m32=no
  5218. fi
  5219. rm -f core conftest.err conftest.$ac_objext \
  5220. conftest$ac_exeext conftest.$ac_ext
  5221. fi
  5222. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
  5223. $as_echo "$wine_cv_cc_m32" >&6; }
  5224. 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
  5225. host_cpu="i386"
  5226. notice_platform="32-bit "
  5227. TARGETFLAGS="$TARGETFLAGS -m32"
  5228. PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
  5229. export PKG_CONFIG_PATH
  5230. enable_win16=${enable_win16:-yes}
  5231. with_unwind=${with_unwind:-no}
  5232. else
  5233. if test "x${GCC}" = "xyes"
  5234. then
  5235. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
  5236. $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
  5237. if ${wine_cv_builtin_ms_va_list+:} false; then :
  5238. $as_echo_n "(cached) " >&6
  5239. else
  5240. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5241. /* end confdefs.h. */
  5242. #include <stdarg.h>
  5243. int
  5244. main ()
  5245. {
  5246. void func(__builtin_ms_va_list *args);
  5247. ;
  5248. return 0;
  5249. }
  5250. _ACEOF
  5251. if ac_fn_c_try_compile "$LINENO"; then :
  5252. wine_cv_builtin_ms_va_list=yes
  5253. else
  5254. wine_cv_builtin_ms_va_list=no
  5255. fi
  5256. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5257. fi
  5258. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
  5259. $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
  5260. 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
  5261. fi
  5262. CC="$CC -m64"
  5263. CXX="$CXX -m64"
  5264. host_cpu="x86_64"
  5265. notice_platform="64-bit "
  5266. TARGETFLAGS="$TARGETFLAGS -m64"
  5267. enable_wow64cpu=${enable_wow64cpu:-yes}
  5268. fi
  5269. ;;
  5270. arm*)
  5271. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
  5272. $as_echo_n "checking whether $CC supports Thumb-2... " >&6; }
  5273. if ${wine_cv_thumb2+:} false; then :
  5274. $as_echo_n "(cached) " >&6
  5275. else
  5276. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5277. /* end confdefs.h. */
  5278. int
  5279. main ()
  5280. {
  5281. asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
  5282. ;
  5283. return 0;
  5284. }
  5285. _ACEOF
  5286. if ac_fn_c_try_link "$LINENO"; then :
  5287. wine_cv_thumb2=yes
  5288. else
  5289. wine_cv_thumb2=no
  5290. fi
  5291. rm -f core conftest.err conftest.$ac_objext \
  5292. conftest$ac_exeext conftest.$ac_ext
  5293. fi
  5294. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
  5295. $as_echo "$wine_cv_thumb2" >&6; }
  5296. if test x"$wine_cv_thumb2" = xyes
  5297. then
  5298. CFLAGS="$CFLAGS -mthumb"
  5299. TARGETFLAGS="$TARGETFLAGS -mthumb"
  5300. else
  5301. CFLAGS="$CFLAGS -marm"
  5302. TARGETFLAGS="$TARGETFLAGS -marm"
  5303. fi
  5304. case $with_float_abi in
  5305. soft|softfp|hard)
  5306. float_abi=$with_float_abi ;;
  5307. *)
  5308. case $host_os in
  5309. *eabihf)
  5310. float_abi=hard ;;
  5311. *)
  5312. float_abi=softfp
  5313. saved_CFLAGS=$CFLAGS
  5314. CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
  5315. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
  5316. $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
  5317. if ${wine_cv_float_abi+:} false; then :
  5318. $as_echo_n "(cached) " >&6
  5319. else
  5320. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5321. /* end confdefs.h. */
  5322. int
  5323. main ()
  5324. {
  5325. asm("vmrs r2,fpscr");
  5326. ;
  5327. return 0;
  5328. }
  5329. _ACEOF
  5330. if ac_fn_c_try_link "$LINENO"; then :
  5331. wine_cv_float_abi=yes
  5332. else
  5333. wine_cv_float_abi=no
  5334. fi
  5335. rm -f core conftest.err conftest.$ac_objext \
  5336. conftest$ac_exeext conftest.$ac_ext
  5337. fi
  5338. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
  5339. $as_echo "$wine_cv_float_abi" >&6; }
  5340. if test $wine_cv_float_abi = no
  5341. then
  5342. float_abi=soft
  5343. as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
  5344. fi
  5345. CFLAGS=$saved_CFLAGS
  5346. esac
  5347. ;;
  5348. esac
  5349. CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
  5350. TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
  5351. ;;
  5352. aarch64*)
  5353. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
  5354. $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
  5355. if ${wine_cv_builtin_ms_va_list+:} false; then :
  5356. $as_echo_n "(cached) " >&6
  5357. else
  5358. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  5359. /* end confdefs.h. */
  5360. #include <stdarg.h>
  5361. int
  5362. main ()
  5363. {
  5364. void func(__builtin_ms_va_list *args);
  5365. ;
  5366. return 0;
  5367. }
  5368. _ACEOF
  5369. if ac_fn_c_try_compile "$LINENO"; then :
  5370. wine_cv_builtin_ms_va_list=yes
  5371. else
  5372. wine_cv_builtin_ms_va_list=no
  5373. fi
  5374. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  5375. fi
  5376. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
  5377. $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
  5378. test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
  5379. ;;
  5380. i[3456789]86*)
  5381. enable_win16=${enable_win16:-yes}
  5382. with_unwind=${with_unwind:-no}
  5383. ;;
  5384. esac
  5385. enable_win16=${enable_win16:-no}
  5386. enable_win64=${enable_win64:-no}
  5387. enable_wow64cpu=${enable_wow64cpu:-no}
  5388. enable_winetest=${enable_winetest:-$enable_tests}
  5389. if test "x$enable_win64" = "xyes"
  5390. then
  5391. test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
  5392. --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
  5393. test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
  5394. fi
  5395. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
  5396. $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
  5397. if ${wine_cv_toolsdir+:} false; then :
  5398. $as_echo_n "(cached) " >&6
  5399. else
  5400. wine_cv_toolsdir="$with_wine_tools"
  5401. if test -z "$with_wine_tools"; then
  5402. if test "$cross_compiling" = "yes"; then
  5403. as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
  5404. elif test -n "$with_wine64"; then
  5405. wine_cv_toolsdir="$with_wine64"
  5406. fi
  5407. fi
  5408. fi
  5409. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
  5410. $as_echo "$wine_cv_toolsdir" >&6; }
  5411. if test -z "$wine_cv_toolsdir"; then
  5412. wine_makedep=tools/makedep
  5413. TOOLSDIR="."
  5414. elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
  5415. wine_makedep=$wine_cv_toolsdir/tools/makedep
  5416. TOOLSDIR=$wine_cv_toolsdir
  5417. enable_tools=${enable_tools:-no}
  5418. test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
  5419. else
  5420. as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
  5421. fi
  5422. if test -n "$host_alias" -a "$host_alias" != "$build_alias"
  5423. then
  5424. TARGETFLAGS="-b $host_alias $TARGETFLAGS"
  5425. fi
  5426. for ac_prog in flex
  5427. do
  5428. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5429. set dummy $ac_prog; ac_word=$2
  5430. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5431. $as_echo_n "checking for $ac_word... " >&6; }
  5432. if ${ac_cv_prog_FLEX+:} false; then :
  5433. $as_echo_n "(cached) " >&6
  5434. else
  5435. if test -n "$FLEX"; then
  5436. ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
  5437. else
  5438. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5439. for as_dir in $PATH
  5440. do
  5441. IFS=$as_save_IFS
  5442. test -z "$as_dir" && as_dir=.
  5443. for ac_exec_ext in '' $ac_executable_extensions; do
  5444. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5445. ac_cv_prog_FLEX="$ac_prog"
  5446. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5447. break 2
  5448. fi
  5449. done
  5450. done
  5451. IFS=$as_save_IFS
  5452. fi
  5453. fi
  5454. FLEX=$ac_cv_prog_FLEX
  5455. if test -n "$FLEX"; then
  5456. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
  5457. $as_echo "$FLEX" >&6; }
  5458. else
  5459. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5460. $as_echo "no" >&6; }
  5461. fi
  5462. test -n "$FLEX" && break
  5463. done
  5464. test -n "$FLEX" || FLEX="none"
  5465. if test "$FLEX" = "none"
  5466. then
  5467. as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
  5468. fi
  5469. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
  5470. $as_echo_n "checking whether flex is recent enough... " >&6; }
  5471. if ${wine_cv_recent_flex+:} false; then :
  5472. $as_echo_n "(cached) " >&6
  5473. else
  5474. cat >conftest.l <<EOF
  5475. %top{
  5476. #include "prediluvian.h"
  5477. }
  5478. %%
  5479. EOF
  5480. if $FLEX -t conftest.l >/dev/null 2>&5
  5481. then
  5482. wine_cv_recent_flex=yes
  5483. else
  5484. wine_cv_recent_flex=no
  5485. fi
  5486. fi
  5487. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
  5488. $as_echo "$wine_cv_recent_flex" >&6; }
  5489. 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
  5490. for ac_prog in bison
  5491. do
  5492. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5493. set dummy $ac_prog; ac_word=$2
  5494. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5495. $as_echo_n "checking for $ac_word... " >&6; }
  5496. if ${ac_cv_prog_BISON+:} false; then :
  5497. $as_echo_n "(cached) " >&6
  5498. else
  5499. if test -n "$BISON"; then
  5500. ac_cv_prog_BISON="$BISON" # Let the user override the test.
  5501. else
  5502. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5503. for as_dir in $PATH
  5504. do
  5505. IFS=$as_save_IFS
  5506. test -z "$as_dir" && as_dir=.
  5507. for ac_exec_ext in '' $ac_executable_extensions; do
  5508. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5509. ac_cv_prog_BISON="$ac_prog"
  5510. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5511. break 2
  5512. fi
  5513. done
  5514. done
  5515. IFS=$as_save_IFS
  5516. fi
  5517. fi
  5518. BISON=$ac_cv_prog_BISON
  5519. if test -n "$BISON"; then
  5520. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
  5521. $as_echo "$BISON" >&6; }
  5522. else
  5523. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5524. $as_echo "no" >&6; }
  5525. fi
  5526. test -n "$BISON" && break
  5527. done
  5528. test -n "$BISON" || BISON="none"
  5529. if test "$BISON" = "none"
  5530. then
  5531. as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
  5532. fi
  5533. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
  5534. $as_echo_n "checking whether bison is recent enough... " >&6; }
  5535. if ${wine_cv_recent_bison+:} false; then :
  5536. $as_echo_n "(cached) " >&6
  5537. else
  5538. cat >conftest.y <<EOF
  5539. %define parse.error verbose
  5540. %%
  5541. empty: ;
  5542. EOF
  5543. if $BISON conftest.y >/dev/null 2>&5
  5544. then
  5545. wine_cv_recent_bison=yes
  5546. else
  5547. wine_cv_recent_bison=no
  5548. fi
  5549. fi
  5550. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
  5551. $as_echo "$wine_cv_recent_bison" >&6; }
  5552. 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
  5553. if test -n "$ac_tool_prefix"; then
  5554. for ac_prog in ar gar
  5555. do
  5556. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  5557. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  5558. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5559. $as_echo_n "checking for $ac_word... " >&6; }
  5560. if ${ac_cv_prog_AR+:} false; then :
  5561. $as_echo_n "(cached) " >&6
  5562. else
  5563. if test -n "$AR"; then
  5564. ac_cv_prog_AR="$AR" # Let the user override the test.
  5565. else
  5566. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5567. for as_dir in $PATH
  5568. do
  5569. IFS=$as_save_IFS
  5570. test -z "$as_dir" && as_dir=.
  5571. for ac_exec_ext in '' $ac_executable_extensions; do
  5572. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5573. ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
  5574. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5575. break 2
  5576. fi
  5577. done
  5578. done
  5579. IFS=$as_save_IFS
  5580. fi
  5581. fi
  5582. AR=$ac_cv_prog_AR
  5583. if test -n "$AR"; then
  5584. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
  5585. $as_echo "$AR" >&6; }
  5586. else
  5587. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5588. $as_echo "no" >&6; }
  5589. fi
  5590. test -n "$AR" && break
  5591. done
  5592. fi
  5593. if test -z "$AR"; then
  5594. ac_ct_AR=$AR
  5595. for ac_prog in ar gar
  5596. do
  5597. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5598. set dummy $ac_prog; ac_word=$2
  5599. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5600. $as_echo_n "checking for $ac_word... " >&6; }
  5601. if ${ac_cv_prog_ac_ct_AR+:} false; then :
  5602. $as_echo_n "(cached) " >&6
  5603. else
  5604. if test -n "$ac_ct_AR"; then
  5605. ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
  5606. else
  5607. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5608. for as_dir in $PATH
  5609. do
  5610. IFS=$as_save_IFS
  5611. test -z "$as_dir" && as_dir=.
  5612. for ac_exec_ext in '' $ac_executable_extensions; do
  5613. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5614. ac_cv_prog_ac_ct_AR="$ac_prog"
  5615. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5616. break 2
  5617. fi
  5618. done
  5619. done
  5620. IFS=$as_save_IFS
  5621. fi
  5622. fi
  5623. ac_ct_AR=$ac_cv_prog_ac_ct_AR
  5624. if test -n "$ac_ct_AR"; then
  5625. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
  5626. $as_echo "$ac_ct_AR" >&6; }
  5627. else
  5628. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5629. $as_echo "no" >&6; }
  5630. fi
  5631. test -n "$ac_ct_AR" && break
  5632. done
  5633. if test "x$ac_ct_AR" = x; then
  5634. AR="ar"
  5635. else
  5636. case $cross_compiling:$ac_tool_warned in
  5637. yes:)
  5638. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5639. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5640. ac_tool_warned=yes ;;
  5641. esac
  5642. AR=$ac_ct_AR
  5643. fi
  5644. fi
  5645. if test -n "$ac_tool_prefix"; then
  5646. # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
  5647. set dummy ${ac_tool_prefix}strip; ac_word=$2
  5648. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5649. $as_echo_n "checking for $ac_word... " >&6; }
  5650. if ${ac_cv_prog_STRIP+:} false; then :
  5651. $as_echo_n "(cached) " >&6
  5652. else
  5653. if test -n "$STRIP"; then
  5654. ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
  5655. else
  5656. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5657. for as_dir in $PATH
  5658. do
  5659. IFS=$as_save_IFS
  5660. test -z "$as_dir" && as_dir=.
  5661. for ac_exec_ext in '' $ac_executable_extensions; do
  5662. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5663. ac_cv_prog_STRIP="${ac_tool_prefix}strip"
  5664. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5665. break 2
  5666. fi
  5667. done
  5668. done
  5669. IFS=$as_save_IFS
  5670. fi
  5671. fi
  5672. STRIP=$ac_cv_prog_STRIP
  5673. if test -n "$STRIP"; then
  5674. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
  5675. $as_echo "$STRIP" >&6; }
  5676. else
  5677. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5678. $as_echo "no" >&6; }
  5679. fi
  5680. fi
  5681. if test -z "$ac_cv_prog_STRIP"; then
  5682. ac_ct_STRIP=$STRIP
  5683. # Extract the first word of "strip", so it can be a program name with args.
  5684. set dummy strip; ac_word=$2
  5685. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5686. $as_echo_n "checking for $ac_word... " >&6; }
  5687. if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
  5688. $as_echo_n "(cached) " >&6
  5689. else
  5690. if test -n "$ac_ct_STRIP"; then
  5691. ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
  5692. else
  5693. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5694. for as_dir in $PATH
  5695. do
  5696. IFS=$as_save_IFS
  5697. test -z "$as_dir" && as_dir=.
  5698. for ac_exec_ext in '' $ac_executable_extensions; do
  5699. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5700. ac_cv_prog_ac_ct_STRIP="strip"
  5701. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5702. break 2
  5703. fi
  5704. done
  5705. done
  5706. IFS=$as_save_IFS
  5707. fi
  5708. fi
  5709. ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
  5710. if test -n "$ac_ct_STRIP"; then
  5711. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
  5712. $as_echo "$ac_ct_STRIP" >&6; }
  5713. else
  5714. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5715. $as_echo "no" >&6; }
  5716. fi
  5717. if test "x$ac_ct_STRIP" = x; then
  5718. STRIP="strip"
  5719. else
  5720. case $cross_compiling:$ac_tool_warned in
  5721. yes:)
  5722. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5723. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5724. ac_tool_warned=yes ;;
  5725. esac
  5726. STRIP=$ac_ct_STRIP
  5727. fi
  5728. else
  5729. STRIP="$ac_cv_prog_STRIP"
  5730. fi
  5731. if test -n "$ac_tool_prefix"; then
  5732. # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
  5733. set dummy ${ac_tool_prefix}ranlib; ac_word=$2
  5734. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5735. $as_echo_n "checking for $ac_word... " >&6; }
  5736. if ${ac_cv_prog_RANLIB+:} false; then :
  5737. $as_echo_n "(cached) " >&6
  5738. else
  5739. if test -n "$RANLIB"; then
  5740. ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
  5741. else
  5742. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5743. for as_dir in $PATH
  5744. do
  5745. IFS=$as_save_IFS
  5746. test -z "$as_dir" && as_dir=.
  5747. for ac_exec_ext in '' $ac_executable_extensions; do
  5748. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5749. ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
  5750. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5751. break 2
  5752. fi
  5753. done
  5754. done
  5755. IFS=$as_save_IFS
  5756. fi
  5757. fi
  5758. RANLIB=$ac_cv_prog_RANLIB
  5759. if test -n "$RANLIB"; then
  5760. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
  5761. $as_echo "$RANLIB" >&6; }
  5762. else
  5763. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5764. $as_echo "no" >&6; }
  5765. fi
  5766. fi
  5767. if test -z "$ac_cv_prog_RANLIB"; then
  5768. ac_ct_RANLIB=$RANLIB
  5769. # Extract the first word of "ranlib", so it can be a program name with args.
  5770. set dummy ranlib; ac_word=$2
  5771. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5772. $as_echo_n "checking for $ac_word... " >&6; }
  5773. if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
  5774. $as_echo_n "(cached) " >&6
  5775. else
  5776. if test -n "$ac_ct_RANLIB"; then
  5777. ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
  5778. else
  5779. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5780. for as_dir in $PATH
  5781. do
  5782. IFS=$as_save_IFS
  5783. test -z "$as_dir" && as_dir=.
  5784. for ac_exec_ext in '' $ac_executable_extensions; do
  5785. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5786. ac_cv_prog_ac_ct_RANLIB="ranlib"
  5787. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5788. break 2
  5789. fi
  5790. done
  5791. done
  5792. IFS=$as_save_IFS
  5793. fi
  5794. fi
  5795. ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
  5796. if test -n "$ac_ct_RANLIB"; then
  5797. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
  5798. $as_echo "$ac_ct_RANLIB" >&6; }
  5799. else
  5800. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5801. $as_echo "no" >&6; }
  5802. fi
  5803. if test "x$ac_ct_RANLIB" = x; then
  5804. RANLIB=":"
  5805. else
  5806. case $cross_compiling:$ac_tool_warned in
  5807. yes:)
  5808. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  5809. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  5810. ac_tool_warned=yes ;;
  5811. esac
  5812. RANLIB=$ac_ct_RANLIB
  5813. fi
  5814. else
  5815. RANLIB="$ac_cv_prog_RANLIB"
  5816. fi
  5817. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
  5818. $as_echo_n "checking whether ln -s works... " >&6; }
  5819. LN_S=$as_ln_s
  5820. if test "$LN_S" = "ln -s"; then
  5821. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  5822. $as_echo "yes" >&6; }
  5823. else
  5824. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
  5825. $as_echo "no, using $LN_S" >&6; }
  5826. fi
  5827. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
  5828. $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
  5829. if ${ac_cv_path_GREP+:} false; then :
  5830. $as_echo_n "(cached) " >&6
  5831. else
  5832. if test -z "$GREP"; then
  5833. ac_path_GREP_found=false
  5834. # Loop through the user's path and test for each of PROGNAME-LIST
  5835. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5836. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5837. do
  5838. IFS=$as_save_IFS
  5839. test -z "$as_dir" && as_dir=.
  5840. for ac_prog in grep ggrep; do
  5841. for ac_exec_ext in '' $ac_executable_extensions; do
  5842. ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
  5843. as_fn_executable_p "$ac_path_GREP" || continue
  5844. # Check for GNU ac_path_GREP and select it if it is found.
  5845. # Check for GNU $ac_path_GREP
  5846. case `"$ac_path_GREP" --version 2>&1` in
  5847. *GNU*)
  5848. ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
  5849. *)
  5850. ac_count=0
  5851. $as_echo_n 0123456789 >"conftest.in"
  5852. while :
  5853. do
  5854. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5855. mv "conftest.tmp" "conftest.in"
  5856. cp "conftest.in" "conftest.nl"
  5857. $as_echo 'GREP' >> "conftest.nl"
  5858. "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5859. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5860. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5861. if test $ac_count -gt ${ac_path_GREP_max-0}; then
  5862. # Best one so far, save it but keep looking for a better one
  5863. ac_cv_path_GREP="$ac_path_GREP"
  5864. ac_path_GREP_max=$ac_count
  5865. fi
  5866. # 10*(2^10) chars as input seems more than enough
  5867. test $ac_count -gt 10 && break
  5868. done
  5869. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5870. esac
  5871. $ac_path_GREP_found && break 3
  5872. done
  5873. done
  5874. done
  5875. IFS=$as_save_IFS
  5876. if test -z "$ac_cv_path_GREP"; then
  5877. as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5878. fi
  5879. else
  5880. ac_cv_path_GREP=$GREP
  5881. fi
  5882. fi
  5883. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
  5884. $as_echo "$ac_cv_path_GREP" >&6; }
  5885. GREP="$ac_cv_path_GREP"
  5886. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
  5887. $as_echo_n "checking for egrep... " >&6; }
  5888. if ${ac_cv_path_EGREP+:} false; then :
  5889. $as_echo_n "(cached) " >&6
  5890. else
  5891. if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
  5892. then ac_cv_path_EGREP="$GREP -E"
  5893. else
  5894. if test -z "$EGREP"; then
  5895. ac_path_EGREP_found=false
  5896. # Loop through the user's path and test for each of PROGNAME-LIST
  5897. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5898. for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
  5899. do
  5900. IFS=$as_save_IFS
  5901. test -z "$as_dir" && as_dir=.
  5902. for ac_prog in egrep; do
  5903. for ac_exec_ext in '' $ac_executable_extensions; do
  5904. ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
  5905. as_fn_executable_p "$ac_path_EGREP" || continue
  5906. # Check for GNU ac_path_EGREP and select it if it is found.
  5907. # Check for GNU $ac_path_EGREP
  5908. case `"$ac_path_EGREP" --version 2>&1` in
  5909. *GNU*)
  5910. ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
  5911. *)
  5912. ac_count=0
  5913. $as_echo_n 0123456789 >"conftest.in"
  5914. while :
  5915. do
  5916. cat "conftest.in" "conftest.in" >"conftest.tmp"
  5917. mv "conftest.tmp" "conftest.in"
  5918. cp "conftest.in" "conftest.nl"
  5919. $as_echo 'EGREP' >> "conftest.nl"
  5920. "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
  5921. diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
  5922. as_fn_arith $ac_count + 1 && ac_count=$as_val
  5923. if test $ac_count -gt ${ac_path_EGREP_max-0}; then
  5924. # Best one so far, save it but keep looking for a better one
  5925. ac_cv_path_EGREP="$ac_path_EGREP"
  5926. ac_path_EGREP_max=$ac_count
  5927. fi
  5928. # 10*(2^10) chars as input seems more than enough
  5929. test $ac_count -gt 10 && break
  5930. done
  5931. rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
  5932. esac
  5933. $ac_path_EGREP_found && break 3
  5934. done
  5935. done
  5936. done
  5937. IFS=$as_save_IFS
  5938. if test -z "$ac_cv_path_EGREP"; then
  5939. as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
  5940. fi
  5941. else
  5942. ac_cv_path_EGREP=$EGREP
  5943. fi
  5944. fi
  5945. fi
  5946. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
  5947. $as_echo "$ac_cv_path_EGREP" >&6; }
  5948. EGREP="$ac_cv_path_EGREP"
  5949. # Extract the first word of "ldconfig", so it can be a program name with args.
  5950. set dummy ldconfig; ac_word=$2
  5951. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5952. $as_echo_n "checking for $ac_word... " >&6; }
  5953. if ${ac_cv_path_LDCONFIG+:} false; then :
  5954. $as_echo_n "(cached) " >&6
  5955. else
  5956. case $LDCONFIG in
  5957. [\\/]* | ?:[\\/]*)
  5958. ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
  5959. ;;
  5960. *)
  5961. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  5962. for as_dir in /sbin /usr/sbin $PATH
  5963. do
  5964. IFS=$as_save_IFS
  5965. test -z "$as_dir" && as_dir=.
  5966. for ac_exec_ext in '' $ac_executable_extensions; do
  5967. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  5968. ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
  5969. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  5970. break 2
  5971. fi
  5972. done
  5973. done
  5974. IFS=$as_save_IFS
  5975. test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
  5976. ;;
  5977. esac
  5978. fi
  5979. LDCONFIG=$ac_cv_path_LDCONFIG
  5980. if test -n "$LDCONFIG"; then
  5981. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
  5982. $as_echo "$LDCONFIG" >&6; }
  5983. else
  5984. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  5985. $as_echo "no" >&6; }
  5986. fi
  5987. for ac_prog in msgfmt
  5988. do
  5989. # Extract the first word of "$ac_prog", so it can be a program name with args.
  5990. set dummy $ac_prog; ac_word=$2
  5991. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  5992. $as_echo_n "checking for $ac_word... " >&6; }
  5993. if ${ac_cv_prog_MSGFMT+:} false; then :
  5994. $as_echo_n "(cached) " >&6
  5995. else
  5996. if test -n "$MSGFMT"; then
  5997. ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
  5998. else
  5999. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6000. for as_dir in $PATH
  6001. do
  6002. IFS=$as_save_IFS
  6003. test -z "$as_dir" && as_dir=.
  6004. for ac_exec_ext in '' $ac_executable_extensions; do
  6005. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6006. ac_cv_prog_MSGFMT="$ac_prog"
  6007. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6008. break 2
  6009. fi
  6010. done
  6011. done
  6012. IFS=$as_save_IFS
  6013. fi
  6014. fi
  6015. MSGFMT=$ac_cv_prog_MSGFMT
  6016. if test -n "$MSGFMT"; then
  6017. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
  6018. $as_echo "$MSGFMT" >&6; }
  6019. else
  6020. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6021. $as_echo "no" >&6; }
  6022. fi
  6023. test -n "$MSGFMT" && break
  6024. done
  6025. test -n "$MSGFMT" || MSGFMT="false"
  6026. if ${ac_tool_prefix+:} false; then :
  6027. # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
  6028. set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
  6029. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6030. $as_echo_n "checking for $ac_word... " >&6; }
  6031. if ${ac_cv_prog_PKG_CONFIG+:} false; then :
  6032. $as_echo_n "(cached) " >&6
  6033. else
  6034. if test -n "$PKG_CONFIG"; then
  6035. ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
  6036. else
  6037. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6038. for as_dir in $PATH
  6039. do
  6040. IFS=$as_save_IFS
  6041. test -z "$as_dir" && as_dir=.
  6042. for ac_exec_ext in '' $ac_executable_extensions; do
  6043. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6044. ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
  6045. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6046. break 2
  6047. fi
  6048. done
  6049. done
  6050. IFS=$as_save_IFS
  6051. fi
  6052. fi
  6053. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6054. if test -n "$PKG_CONFIG"; then
  6055. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  6056. $as_echo "$PKG_CONFIG" >&6; }
  6057. else
  6058. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6059. $as_echo "no" >&6; }
  6060. fi
  6061. fi
  6062. if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
  6063. if test "x$cross_compiling" = xyes; then :
  6064. else
  6065. { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
  6066. # Extract the first word of "pkg-config", so it can be a program name with args.
  6067. set dummy pkg-config; ac_word=$2
  6068. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6069. $as_echo_n "checking for $ac_word... " >&6; }
  6070. if ${ac_cv_prog_PKG_CONFIG+:} false; then :
  6071. $as_echo_n "(cached) " >&6
  6072. else
  6073. if test -n "$PKG_CONFIG"; then
  6074. ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
  6075. else
  6076. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6077. for as_dir in $PATH
  6078. do
  6079. IFS=$as_save_IFS
  6080. test -z "$as_dir" && as_dir=.
  6081. for ac_exec_ext in '' $ac_executable_extensions; do
  6082. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6083. ac_cv_prog_PKG_CONFIG="pkg-config"
  6084. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6085. break 2
  6086. fi
  6087. done
  6088. done
  6089. IFS=$as_save_IFS
  6090. fi
  6091. fi
  6092. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6093. if test -n "$PKG_CONFIG"; then
  6094. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
  6095. $as_echo "$PKG_CONFIG" >&6; }
  6096. else
  6097. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6098. $as_echo "no" >&6; }
  6099. fi
  6100. fi
  6101. else
  6102. PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
  6103. fi
  6104. if test "x$enable_maintainer_mode" != "xyes"
  6105. then
  6106. FONTFORGE=""
  6107. RSVG=""
  6108. CONVERT=""
  6109. ICOTOOL=""
  6110. else
  6111. test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
  6112. for ac_prog in fontforge
  6113. do
  6114. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6115. set dummy $ac_prog; ac_word=$2
  6116. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6117. $as_echo_n "checking for $ac_word... " >&6; }
  6118. if ${ac_cv_prog_FONTFORGE+:} false; then :
  6119. $as_echo_n "(cached) " >&6
  6120. else
  6121. if test -n "$FONTFORGE"; then
  6122. ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
  6123. else
  6124. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6125. for as_dir in $PATH
  6126. do
  6127. IFS=$as_save_IFS
  6128. test -z "$as_dir" && as_dir=.
  6129. for ac_exec_ext in '' $ac_executable_extensions; do
  6130. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6131. ac_cv_prog_FONTFORGE="$ac_prog"
  6132. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6133. break 2
  6134. fi
  6135. done
  6136. done
  6137. IFS=$as_save_IFS
  6138. fi
  6139. fi
  6140. FONTFORGE=$ac_cv_prog_FONTFORGE
  6141. if test -n "$FONTFORGE"; then
  6142. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
  6143. $as_echo "$FONTFORGE" >&6; }
  6144. else
  6145. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6146. $as_echo "no" >&6; }
  6147. fi
  6148. test -n "$FONTFORGE" && break
  6149. done
  6150. test -n "$FONTFORGE" || FONTFORGE="false"
  6151. for ac_prog in rsvg-convert rsvg
  6152. do
  6153. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6154. set dummy $ac_prog; ac_word=$2
  6155. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6156. $as_echo_n "checking for $ac_word... " >&6; }
  6157. if ${ac_cv_prog_RSVG+:} false; then :
  6158. $as_echo_n "(cached) " >&6
  6159. else
  6160. if test -n "$RSVG"; then
  6161. ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
  6162. else
  6163. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6164. for as_dir in $PATH
  6165. do
  6166. IFS=$as_save_IFS
  6167. test -z "$as_dir" && as_dir=.
  6168. for ac_exec_ext in '' $ac_executable_extensions; do
  6169. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6170. ac_cv_prog_RSVG="$ac_prog"
  6171. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6172. break 2
  6173. fi
  6174. done
  6175. done
  6176. IFS=$as_save_IFS
  6177. fi
  6178. fi
  6179. RSVG=$ac_cv_prog_RSVG
  6180. if test -n "$RSVG"; then
  6181. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
  6182. $as_echo "$RSVG" >&6; }
  6183. else
  6184. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6185. $as_echo "no" >&6; }
  6186. fi
  6187. test -n "$RSVG" && break
  6188. done
  6189. test -n "$RSVG" || RSVG="false"
  6190. for ac_prog in convert
  6191. do
  6192. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6193. set dummy $ac_prog; ac_word=$2
  6194. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6195. $as_echo_n "checking for $ac_word... " >&6; }
  6196. if ${ac_cv_prog_CONVERT+:} false; then :
  6197. $as_echo_n "(cached) " >&6
  6198. else
  6199. if test -n "$CONVERT"; then
  6200. ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
  6201. else
  6202. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6203. for as_dir in $PATH
  6204. do
  6205. IFS=$as_save_IFS
  6206. test -z "$as_dir" && as_dir=.
  6207. for ac_exec_ext in '' $ac_executable_extensions; do
  6208. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6209. ac_cv_prog_CONVERT="$ac_prog"
  6210. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6211. break 2
  6212. fi
  6213. done
  6214. done
  6215. IFS=$as_save_IFS
  6216. fi
  6217. fi
  6218. CONVERT=$ac_cv_prog_CONVERT
  6219. if test -n "$CONVERT"; then
  6220. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
  6221. $as_echo "$CONVERT" >&6; }
  6222. else
  6223. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6224. $as_echo "no" >&6; }
  6225. fi
  6226. test -n "$CONVERT" && break
  6227. done
  6228. test -n "$CONVERT" || CONVERT="false"
  6229. for ac_prog in icotool
  6230. do
  6231. # Extract the first word of "$ac_prog", so it can be a program name with args.
  6232. set dummy $ac_prog; ac_word=$2
  6233. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  6234. $as_echo_n "checking for $ac_word... " >&6; }
  6235. if ${ac_cv_prog_ICOTOOL+:} false; then :
  6236. $as_echo_n "(cached) " >&6
  6237. else
  6238. if test -n "$ICOTOOL"; then
  6239. ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
  6240. else
  6241. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  6242. for as_dir in $PATH
  6243. do
  6244. IFS=$as_save_IFS
  6245. test -z "$as_dir" && as_dir=.
  6246. for ac_exec_ext in '' $ac_executable_extensions; do
  6247. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  6248. ac_cv_prog_ICOTOOL="$ac_prog"
  6249. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  6250. break 2
  6251. fi
  6252. done
  6253. done
  6254. IFS=$as_save_IFS
  6255. fi
  6256. fi
  6257. ICOTOOL=$ac_cv_prog_ICOTOOL
  6258. if test -n "$ICOTOOL"; then
  6259. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
  6260. $as_echo "$ICOTOOL" >&6; }
  6261. else
  6262. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  6263. $as_echo "no" >&6; }
  6264. fi
  6265. test -n "$ICOTOOL" && break
  6266. done
  6267. test -n "$ICOTOOL" || ICOTOOL="false"
  6268. test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
  6269. test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
  6270. if test "$CONVERT" = false
  6271. then
  6272. as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
  6273. else
  6274. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
  6275. $as_echo_n "checking for recent enough imagemagick... " >&6; }
  6276. convert_version=`convert --version | head -n1`
  6277. if test "x$convert_version" != "x"
  6278. then
  6279. convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
  6280. convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
  6281. if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
  6282. then
  6283. CONVERT=false
  6284. fi
  6285. fi
  6286. if test "$CONVERT" = false
  6287. then
  6288. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
  6289. $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
  6290. as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
  6291. else
  6292. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
  6293. $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
  6294. fi
  6295. fi
  6296. if test "$ICOTOOL" = false
  6297. then
  6298. as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
  6299. else
  6300. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
  6301. $as_echo_n "checking for recent enough icotool... " >&6; }
  6302. icotool_version=`icotool --version | head -n1`
  6303. if test "x$icotool_version" != "x"
  6304. then
  6305. icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
  6306. icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
  6307. if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
  6308. then
  6309. ICOTOOL=false
  6310. as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
  6311. fi
  6312. fi
  6313. if test "$ICOTOOL" = false
  6314. then
  6315. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
  6316. $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
  6317. as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
  6318. else
  6319. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
  6320. $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
  6321. fi
  6322. fi
  6323. with_gettext=yes
  6324. with_gettextpo=yes
  6325. enable_werror=yes
  6326. fi
  6327. test "x$with_gettext" != xno || MSGFMT=false
  6328. if test "$MSGFMT" != "false"
  6329. then
  6330. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
  6331. $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
  6332. if ${wine_cv_msgfmt_contexts+:} false; then :
  6333. $as_echo_n "(cached) " >&6
  6334. else
  6335. cat >conftest.po <<EOF
  6336. # comment
  6337. msgctxt "ctxt"
  6338. msgid "id"
  6339. msgstr "str"
  6340. EOF
  6341. if $MSGFMT -o /dev/null conftest.po 2>&5
  6342. then
  6343. wine_cv_msgfmt_contexts=yes
  6344. else
  6345. wine_cv_msgfmt_contexts=no
  6346. fi
  6347. fi
  6348. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
  6349. $as_echo "$wine_cv_msgfmt_contexts" >&6; }
  6350. test $wine_cv_msgfmt_contexts != no || MSGFMT=false
  6351. fi
  6352. if test "$MSGFMT" = false; then :
  6353. case "x$with_gettext" in
  6354. x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
  6355. xno) ;;
  6356. *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
  6357. This is an error since --with-gettext was requested." "$LINENO" 5 ;;
  6358. esac
  6359. enable_po=${enable_po:-no}
  6360. fi
  6361. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
  6362. $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
  6363. if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
  6364. $as_echo_n "(cached) " >&6
  6365. else
  6366. ac_check_lib_save_LIBS=$LIBS
  6367. LIBS="-li386 $LIBS"
  6368. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6369. /* end confdefs.h. */
  6370. /* Override any GCC internal prototype to avoid an error.
  6371. Use char because int might match the return type of a GCC
  6372. builtin and then its argument prototype would still apply. */
  6373. #ifdef __cplusplus
  6374. extern "C"
  6375. #endif
  6376. char i386_set_ldt ();
  6377. int
  6378. main ()
  6379. {
  6380. return i386_set_ldt ();
  6381. ;
  6382. return 0;
  6383. }
  6384. _ACEOF
  6385. if ac_fn_c_try_link "$LINENO"; then :
  6386. ac_cv_lib_i386_i386_set_ldt=yes
  6387. else
  6388. ac_cv_lib_i386_i386_set_ldt=no
  6389. fi
  6390. rm -f core conftest.err conftest.$ac_objext \
  6391. conftest$ac_exeext conftest.$ac_ext
  6392. LIBS=$ac_check_lib_save_LIBS
  6393. fi
  6394. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
  6395. $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
  6396. if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
  6397. I386_LIBS="-li386"
  6398. fi
  6399. OPENGL_LIBS=""
  6400. # Check whether --enable-largefile was given.
  6401. if test "${enable_largefile+set}" = set; then :
  6402. enableval=$enable_largefile;
  6403. fi
  6404. if test "$enable_largefile" != no; then
  6405. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
  6406. $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
  6407. if ${ac_cv_sys_largefile_CC+:} false; then :
  6408. $as_echo_n "(cached) " >&6
  6409. else
  6410. ac_cv_sys_largefile_CC=no
  6411. if test "$GCC" != yes; then
  6412. ac_save_CC=$CC
  6413. while :; do
  6414. # IRIX 6.2 and later do not support large files by default,
  6415. # so use the C compiler's -n32 option if that helps.
  6416. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6417. /* end confdefs.h. */
  6418. #include <sys/types.h>
  6419. /* Check that off_t can represent 2**63 - 1 correctly.
  6420. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6421. since some C++ compilers masquerading as C compilers
  6422. incorrectly reject 9223372036854775807. */
  6423. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6424. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6425. && LARGE_OFF_T % 2147483647 == 1)
  6426. ? 1 : -1];
  6427. int
  6428. main ()
  6429. {
  6430. ;
  6431. return 0;
  6432. }
  6433. _ACEOF
  6434. if ac_fn_c_try_compile "$LINENO"; then :
  6435. break
  6436. fi
  6437. rm -f core conftest.err conftest.$ac_objext
  6438. CC="$CC -n32"
  6439. if ac_fn_c_try_compile "$LINENO"; then :
  6440. ac_cv_sys_largefile_CC=' -n32'; break
  6441. fi
  6442. rm -f core conftest.err conftest.$ac_objext
  6443. break
  6444. done
  6445. CC=$ac_save_CC
  6446. rm -f conftest.$ac_ext
  6447. fi
  6448. fi
  6449. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
  6450. $as_echo "$ac_cv_sys_largefile_CC" >&6; }
  6451. if test "$ac_cv_sys_largefile_CC" != no; then
  6452. CC=$CC$ac_cv_sys_largefile_CC
  6453. fi
  6454. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
  6455. $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
  6456. if ${ac_cv_sys_file_offset_bits+:} false; then :
  6457. $as_echo_n "(cached) " >&6
  6458. else
  6459. while :; do
  6460. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6461. /* end confdefs.h. */
  6462. #include <sys/types.h>
  6463. /* Check that off_t can represent 2**63 - 1 correctly.
  6464. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6465. since some C++ compilers masquerading as C compilers
  6466. incorrectly reject 9223372036854775807. */
  6467. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6468. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6469. && LARGE_OFF_T % 2147483647 == 1)
  6470. ? 1 : -1];
  6471. int
  6472. main ()
  6473. {
  6474. ;
  6475. return 0;
  6476. }
  6477. _ACEOF
  6478. if ac_fn_c_try_compile "$LINENO"; then :
  6479. ac_cv_sys_file_offset_bits=no; break
  6480. fi
  6481. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6482. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6483. /* end confdefs.h. */
  6484. #define _FILE_OFFSET_BITS 64
  6485. #include <sys/types.h>
  6486. /* Check that off_t can represent 2**63 - 1 correctly.
  6487. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6488. since some C++ compilers masquerading as C compilers
  6489. incorrectly reject 9223372036854775807. */
  6490. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6491. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6492. && LARGE_OFF_T % 2147483647 == 1)
  6493. ? 1 : -1];
  6494. int
  6495. main ()
  6496. {
  6497. ;
  6498. return 0;
  6499. }
  6500. _ACEOF
  6501. if ac_fn_c_try_compile "$LINENO"; then :
  6502. ac_cv_sys_file_offset_bits=64; break
  6503. fi
  6504. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6505. ac_cv_sys_file_offset_bits=unknown
  6506. break
  6507. done
  6508. fi
  6509. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
  6510. $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
  6511. case $ac_cv_sys_file_offset_bits in #(
  6512. no | unknown) ;;
  6513. *)
  6514. cat >>confdefs.h <<_ACEOF
  6515. #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
  6516. _ACEOF
  6517. ;;
  6518. esac
  6519. rm -rf conftest*
  6520. if test $ac_cv_sys_file_offset_bits = unknown; then
  6521. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
  6522. $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
  6523. if ${ac_cv_sys_large_files+:} false; then :
  6524. $as_echo_n "(cached) " >&6
  6525. else
  6526. while :; do
  6527. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6528. /* end confdefs.h. */
  6529. #include <sys/types.h>
  6530. /* Check that off_t can represent 2**63 - 1 correctly.
  6531. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6532. since some C++ compilers masquerading as C compilers
  6533. incorrectly reject 9223372036854775807. */
  6534. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6535. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6536. && LARGE_OFF_T % 2147483647 == 1)
  6537. ? 1 : -1];
  6538. int
  6539. main ()
  6540. {
  6541. ;
  6542. return 0;
  6543. }
  6544. _ACEOF
  6545. if ac_fn_c_try_compile "$LINENO"; then :
  6546. ac_cv_sys_large_files=no; break
  6547. fi
  6548. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6549. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6550. /* end confdefs.h. */
  6551. #define _LARGE_FILES 1
  6552. #include <sys/types.h>
  6553. /* Check that off_t can represent 2**63 - 1 correctly.
  6554. We can't simply define LARGE_OFF_T to be 9223372036854775807,
  6555. since some C++ compilers masquerading as C compilers
  6556. incorrectly reject 9223372036854775807. */
  6557. #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
  6558. int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
  6559. && LARGE_OFF_T % 2147483647 == 1)
  6560. ? 1 : -1];
  6561. int
  6562. main ()
  6563. {
  6564. ;
  6565. return 0;
  6566. }
  6567. _ACEOF
  6568. if ac_fn_c_try_compile "$LINENO"; then :
  6569. ac_cv_sys_large_files=1; break
  6570. fi
  6571. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6572. ac_cv_sys_large_files=unknown
  6573. break
  6574. done
  6575. fi
  6576. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
  6577. $as_echo "$ac_cv_sys_large_files" >&6; }
  6578. case $ac_cv_sys_large_files in #(
  6579. no | unknown) ;;
  6580. *)
  6581. cat >>confdefs.h <<_ACEOF
  6582. #define _LARGE_FILES $ac_cv_sys_large_files
  6583. _ACEOF
  6584. ;;
  6585. esac
  6586. rm -rf conftest*
  6587. fi
  6588. fi
  6589. ac_ext=c
  6590. ac_cpp='$CPP $CPPFLAGS'
  6591. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6592. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6593. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6594. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
  6595. $as_echo_n "checking how to run the C preprocessor... " >&6; }
  6596. # On Suns, sometimes $CPP names a directory.
  6597. if test -n "$CPP" && test -d "$CPP"; then
  6598. CPP=
  6599. fi
  6600. if test -z "$CPP"; then
  6601. if ${ac_cv_prog_CPP+:} false; then :
  6602. $as_echo_n "(cached) " >&6
  6603. else
  6604. # Double quotes because CPP needs to be expanded
  6605. for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
  6606. do
  6607. ac_preproc_ok=false
  6608. for ac_c_preproc_warn_flag in '' yes
  6609. do
  6610. # Use a header file that comes with gcc, so configuring glibc
  6611. # with a fresh cross-compiler works.
  6612. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6613. # <limits.h> exists even on freestanding compilers.
  6614. # On the NeXT, cc -E runs the code through the compiler's parser,
  6615. # not just through cpp. "Syntax error" is here to catch this case.
  6616. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6617. /* end confdefs.h. */
  6618. #ifdef __STDC__
  6619. # include <limits.h>
  6620. #else
  6621. # include <assert.h>
  6622. #endif
  6623. Syntax error
  6624. _ACEOF
  6625. if ac_fn_c_try_cpp "$LINENO"; then :
  6626. else
  6627. # Broken: fails on valid input.
  6628. continue
  6629. fi
  6630. rm -f conftest.err conftest.i conftest.$ac_ext
  6631. # OK, works on sane cases. Now check whether nonexistent headers
  6632. # can be detected and how.
  6633. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6634. /* end confdefs.h. */
  6635. #include <ac_nonexistent.h>
  6636. _ACEOF
  6637. if ac_fn_c_try_cpp "$LINENO"; then :
  6638. # Broken: success on invalid input.
  6639. continue
  6640. else
  6641. # Passes both tests.
  6642. ac_preproc_ok=:
  6643. break
  6644. fi
  6645. rm -f conftest.err conftest.i conftest.$ac_ext
  6646. done
  6647. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6648. rm -f conftest.i conftest.err conftest.$ac_ext
  6649. if $ac_preproc_ok; then :
  6650. break
  6651. fi
  6652. done
  6653. ac_cv_prog_CPP=$CPP
  6654. fi
  6655. CPP=$ac_cv_prog_CPP
  6656. else
  6657. ac_cv_prog_CPP=$CPP
  6658. fi
  6659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
  6660. $as_echo "$CPP" >&6; }
  6661. ac_preproc_ok=false
  6662. for ac_c_preproc_warn_flag in '' yes
  6663. do
  6664. # Use a header file that comes with gcc, so configuring glibc
  6665. # with a fresh cross-compiler works.
  6666. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  6667. # <limits.h> exists even on freestanding compilers.
  6668. # On the NeXT, cc -E runs the code through the compiler's parser,
  6669. # not just through cpp. "Syntax error" is here to catch this case.
  6670. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6671. /* end confdefs.h. */
  6672. #ifdef __STDC__
  6673. # include <limits.h>
  6674. #else
  6675. # include <assert.h>
  6676. #endif
  6677. Syntax error
  6678. _ACEOF
  6679. if ac_fn_c_try_cpp "$LINENO"; then :
  6680. else
  6681. # Broken: fails on valid input.
  6682. continue
  6683. fi
  6684. rm -f conftest.err conftest.i conftest.$ac_ext
  6685. # OK, works on sane cases. Now check whether nonexistent headers
  6686. # can be detected and how.
  6687. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6688. /* end confdefs.h. */
  6689. #include <ac_nonexistent.h>
  6690. _ACEOF
  6691. if ac_fn_c_try_cpp "$LINENO"; then :
  6692. # Broken: success on invalid input.
  6693. continue
  6694. else
  6695. # Passes both tests.
  6696. ac_preproc_ok=:
  6697. break
  6698. fi
  6699. rm -f conftest.err conftest.i conftest.$ac_ext
  6700. done
  6701. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  6702. rm -f conftest.i conftest.err conftest.$ac_ext
  6703. if $ac_preproc_ok; then :
  6704. else
  6705. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  6706. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  6707. as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
  6708. See \`config.log' for more details" "$LINENO" 5; }
  6709. fi
  6710. ac_ext=c
  6711. ac_cpp='$CPP $CPPFLAGS'
  6712. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  6713. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  6714. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  6715. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
  6716. $as_echo_n "checking for ANSI C header files... " >&6; }
  6717. if ${ac_cv_header_stdc+:} false; then :
  6718. $as_echo_n "(cached) " >&6
  6719. else
  6720. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6721. /* end confdefs.h. */
  6722. #include <stdlib.h>
  6723. #include <stdarg.h>
  6724. #include <string.h>
  6725. #include <float.h>
  6726. int
  6727. main ()
  6728. {
  6729. ;
  6730. return 0;
  6731. }
  6732. _ACEOF
  6733. if ac_fn_c_try_compile "$LINENO"; then :
  6734. ac_cv_header_stdc=yes
  6735. else
  6736. ac_cv_header_stdc=no
  6737. fi
  6738. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6739. if test $ac_cv_header_stdc = yes; then
  6740. # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
  6741. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6742. /* end confdefs.h. */
  6743. #include <string.h>
  6744. _ACEOF
  6745. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6746. $EGREP "memchr" >/dev/null 2>&1; then :
  6747. else
  6748. ac_cv_header_stdc=no
  6749. fi
  6750. rm -f conftest*
  6751. fi
  6752. if test $ac_cv_header_stdc = yes; then
  6753. # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
  6754. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6755. /* end confdefs.h. */
  6756. #include <stdlib.h>
  6757. _ACEOF
  6758. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  6759. $EGREP "free" >/dev/null 2>&1; then :
  6760. else
  6761. ac_cv_header_stdc=no
  6762. fi
  6763. rm -f conftest*
  6764. fi
  6765. if test $ac_cv_header_stdc = yes; then
  6766. # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
  6767. if test "$cross_compiling" = yes; then :
  6768. :
  6769. else
  6770. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6771. /* end confdefs.h. */
  6772. #include <ctype.h>
  6773. #include <stdlib.h>
  6774. #if ((' ' & 0x0FF) == 0x020)
  6775. # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
  6776. # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
  6777. #else
  6778. # define ISLOWER(c) \
  6779. (('a' <= (c) && (c) <= 'i') \
  6780. || ('j' <= (c) && (c) <= 'r') \
  6781. || ('s' <= (c) && (c) <= 'z'))
  6782. # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
  6783. #endif
  6784. #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
  6785. int
  6786. main ()
  6787. {
  6788. int i;
  6789. for (i = 0; i < 256; i++)
  6790. if (XOR (islower (i), ISLOWER (i))
  6791. || toupper (i) != TOUPPER (i))
  6792. return 2;
  6793. return 0;
  6794. }
  6795. _ACEOF
  6796. if ac_fn_c_try_run "$LINENO"; then :
  6797. else
  6798. ac_cv_header_stdc=no
  6799. fi
  6800. rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
  6801. conftest.$ac_objext conftest.beam conftest.$ac_ext
  6802. fi
  6803. fi
  6804. fi
  6805. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
  6806. $as_echo "$ac_cv_header_stdc" >&6; }
  6807. if test $ac_cv_header_stdc = yes; then
  6808. $as_echo "#define STDC_HEADERS 1" >>confdefs.h
  6809. fi
  6810. # On IRIX 5.3, sys/types and inttypes.h are conflicting.
  6811. for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
  6812. inttypes.h stdint.h unistd.h
  6813. do :
  6814. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6815. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
  6816. "
  6817. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6818. cat >>confdefs.h <<_ACEOF
  6819. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6820. _ACEOF
  6821. fi
  6822. done
  6823. for ac_header in \
  6824. AL/al.h \
  6825. ApplicationServices/ApplicationServices.h \
  6826. AudioToolbox/AudioConverter.h \
  6827. AudioUnit/AudioUnit.h \
  6828. AudioUnit/AudioComponent.h \
  6829. CL/cl.h \
  6830. Carbon/Carbon.h \
  6831. CommonCrypto/CommonCryptor.h \
  6832. CoreAudio/CoreAudio.h \
  6833. DiskArbitration/DiskArbitration.h \
  6834. EGL/egl.h \
  6835. IOKit/IOKitLib.h \
  6836. IOKit/hid/IOHIDLib.h \
  6837. OpenAL/al.h \
  6838. OpenCL/opencl.h \
  6839. QuickTime/ImageCompression.h \
  6840. Security/Security.h \
  6841. SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
  6842. SystemConfiguration/SCNetworkConfiguration.h \
  6843. alias.h \
  6844. arpa/inet.h \
  6845. arpa/nameser.h \
  6846. asm/types.h \
  6847. asm/user.h \
  6848. dirent.h \
  6849. dlfcn.h \
  6850. elf.h \
  6851. float.h \
  6852. fnmatch.h \
  6853. getopt.h \
  6854. gettext-po.h \
  6855. grp.h \
  6856. gsm.h \
  6857. gsm/gsm.h \
  6858. ieeefp.h \
  6859. inet/mib2.h \
  6860. kstat.h \
  6861. libproc.h \
  6862. link.h \
  6863. linux/cdrom.h \
  6864. linux/filter.h \
  6865. linux/hdreg.h \
  6866. linux/hidraw.h \
  6867. linux/input.h \
  6868. linux/ioctl.h \
  6869. linux/joystick.h \
  6870. linux/major.h \
  6871. linux/param.h \
  6872. linux/serial.h \
  6873. linux/types.h \
  6874. linux/ucdrom.h \
  6875. lwp.h \
  6876. mach-o/loader.h \
  6877. mach/mach.h \
  6878. machine/cpu.h \
  6879. machine/sysarch.h \
  6880. mntent.h \
  6881. netdb.h \
  6882. netinet/in.h \
  6883. netinet/in_systm.h \
  6884. netinet/tcp.h \
  6885. netinet/tcp_fsm.h \
  6886. pcap/pcap.h \
  6887. poll.h \
  6888. port.h \
  6889. pthread.h \
  6890. pwd.h \
  6891. sasl/sasl.h \
  6892. sched.h \
  6893. scsi/scsi.h \
  6894. scsi/scsi_ioctl.h \
  6895. scsi/sg.h \
  6896. stdint.h \
  6897. stropts.h \
  6898. sys/attr.h \
  6899. sys/auxv.h \
  6900. sys/cdio.h \
  6901. sys/epoll.h \
  6902. sys/event.h \
  6903. sys/filio.h \
  6904. sys/ioctl.h \
  6905. sys/ipc.h \
  6906. sys/link.h \
  6907. sys/mman.h \
  6908. sys/modem.h \
  6909. sys/msg.h \
  6910. sys/mtio.h \
  6911. sys/param.h \
  6912. sys/poll.h \
  6913. sys/prctl.h \
  6914. sys/protosw.h \
  6915. sys/ptrace.h \
  6916. sys/queue.h \
  6917. sys/random.h \
  6918. sys/resource.h \
  6919. sys/scsiio.h \
  6920. sys/shm.h \
  6921. sys/signal.h \
  6922. sys/socket.h \
  6923. sys/socketvar.h \
  6924. sys/sockio.h \
  6925. sys/statvfs.h \
  6926. sys/strtio.h \
  6927. sys/syscall.h \
  6928. sys/sysinfo.h \
  6929. sys/tihdr.h \
  6930. sys/time.h \
  6931. sys/timeout.h \
  6932. sys/times.h \
  6933. sys/uio.h \
  6934. sys/user.h \
  6935. sys/utsname.h \
  6936. sys/vnode.h \
  6937. sys/wait.h \
  6938. syscall.h \
  6939. termios.h \
  6940. unistd.h \
  6941. utime.h \
  6942. valgrind/memcheck.h \
  6943. valgrind/valgrind.h
  6944. do :
  6945. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  6946. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  6947. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  6948. cat >>confdefs.h <<_ACEOF
  6949. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  6950. _ACEOF
  6951. fi
  6952. done
  6953. ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
  6954. if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
  6955. $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
  6956. fi
  6957. if test $ac_cv_header_sys_mkdev_h = no; then
  6958. ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
  6959. if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
  6960. $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
  6961. fi
  6962. fi
  6963. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
  6964. $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
  6965. if ${ac_cv_header_stat_broken+:} false; then :
  6966. $as_echo_n "(cached) " >&6
  6967. else
  6968. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  6969. /* end confdefs.h. */
  6970. #include <sys/types.h>
  6971. #include <sys/stat.h>
  6972. #if defined S_ISBLK && defined S_IFDIR
  6973. extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
  6974. #endif
  6975. #if defined S_ISBLK && defined S_IFCHR
  6976. extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
  6977. #endif
  6978. #if defined S_ISLNK && defined S_IFREG
  6979. extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
  6980. #endif
  6981. #if defined S_ISSOCK && defined S_IFREG
  6982. extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
  6983. #endif
  6984. _ACEOF
  6985. if ac_fn_c_try_compile "$LINENO"; then :
  6986. ac_cv_header_stat_broken=no
  6987. else
  6988. ac_cv_header_stat_broken=yes
  6989. fi
  6990. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  6991. fi
  6992. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
  6993. $as_echo "$ac_cv_header_stat_broken" >&6; }
  6994. if test $ac_cv_header_stat_broken = yes; then
  6995. $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
  6996. fi
  6997. for ac_header in sys/conf.h sys/mount.h sys/statfs.h sys/user.h sys/vfs.h
  6998. do :
  6999. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7000. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  7001. #ifdef HAVE_SYS_PARAM_H
  7002. # include <sys/param.h>
  7003. #endif
  7004. "
  7005. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7006. cat >>confdefs.h <<_ACEOF
  7007. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7008. _ACEOF
  7009. fi
  7010. done
  7011. saved_sysctl_h_CFLAGS=$CFLAGS
  7012. test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
  7013. for ac_header in sys/sysctl.h
  7014. do :
  7015. ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
  7016. #ifdef HAVE_SYS_PARAM_H
  7017. # include <sys/param.h>
  7018. #endif
  7019. "
  7020. if test "x$ac_cv_header_sys_sysctl_h" = xyes; then :
  7021. cat >>confdefs.h <<_ACEOF
  7022. #define HAVE_SYS_SYSCTL_H 1
  7023. _ACEOF
  7024. fi
  7025. done
  7026. CFLAGS=$saved_sysctl_h_CFLAGS
  7027. for ac_header in \
  7028. netinet/ip.h \
  7029. net/if.h \
  7030. net/if_arp.h \
  7031. net/if_dl.h \
  7032. net/if_types.h \
  7033. net/route.h \
  7034. netinet/if_ether.h \
  7035. netinet/if_inarp.h \
  7036. netinet/in_pcb.h \
  7037. netinet/ip_icmp.h \
  7038. netinet/ip_var.h \
  7039. netinet/udp.h \
  7040. netipx/ipx.h \
  7041. sys/un.h \
  7042. do :
  7043. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7044. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  7045. #ifdef HAVE_SYS_SOCKET_H
  7046. # include <sys/socket.h>
  7047. #endif
  7048. #ifdef HAVE_SYS_SOCKETVAR_H
  7049. # include <sys/socketvar.h>
  7050. #endif
  7051. #ifdef HAVE_NET_ROUTE_H
  7052. # include <net/route.h>
  7053. #endif
  7054. #ifdef HAVE_NETINET_IN_H
  7055. # include <netinet/in.h>
  7056. #endif
  7057. #ifdef HAVE_NETINET_IN_SYSTM_H
  7058. # include <netinet/in_systm.h>
  7059. #endif
  7060. #ifdef HAVE_NET_IF_H
  7061. # include <net/if.h>
  7062. #endif
  7063. #ifdef HAVE_NETINET_IP_H
  7064. # include <netinet/ip.h>
  7065. #endif
  7066. "
  7067. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7068. cat >>confdefs.h <<_ACEOF
  7069. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7070. _ACEOF
  7071. fi
  7072. done
  7073. for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
  7074. do :
  7075. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7076. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  7077. #ifdef HAVE_ALIAS_H
  7078. # include <alias.h>
  7079. #endif
  7080. #ifdef HAVE_SYS_SOCKET_H
  7081. # include <sys/socket.h>
  7082. #endif
  7083. #ifdef HAVE_SYS_SOCKETVAR_H
  7084. # include <sys/socketvar.h>
  7085. #endif
  7086. #ifdef HAVE_SYS_TIMEOUT_H
  7087. # include <sys/timeout.h>
  7088. #endif
  7089. #ifdef HAVE_NETINET_IN_H
  7090. # include <netinet/in.h>
  7091. #endif
  7092. #ifdef HAVE_NETINET_IN_SYSTM_H
  7093. # include <netinet/in_systm.h>
  7094. #endif
  7095. #ifdef HAVE_NETINET_IP_H
  7096. # include <netinet/ip.h>
  7097. #endif
  7098. #ifdef HAVE_NETINET_IP_VAR_H
  7099. # include <netinet/ip_var.h>
  7100. #endif
  7101. #ifdef HAVE_NETINET_IP_ICMP_H
  7102. # include <netinet/ip_icmp.h>
  7103. #endif
  7104. #ifdef HAVE_NETINET_UDP_H
  7105. # include <netinet/udp.h>
  7106. #endif
  7107. #ifdef HAVE_NETINET_TCP_H
  7108. # include <netinet/tcp.h>
  7109. #endif
  7110. #ifdef HAVE_NETINET_TCP_TIMER_H
  7111. #include <netinet/tcp_timer.h>
  7112. #endif
  7113. "
  7114. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7115. cat >>confdefs.h <<_ACEOF
  7116. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7117. _ACEOF
  7118. fi
  7119. done
  7120. for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
  7121. do :
  7122. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  7123. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
  7124. #ifdef HAVE_ASM_TYPES_H
  7125. # include <asm/types.h>
  7126. #endif
  7127. #ifdef HAVE_SYS_SOCKET_H
  7128. # include <sys/socket.h>
  7129. #endif
  7130. #ifdef HAVE_LINUX_TYPES_H
  7131. # include <linux/types.h>
  7132. #endif
  7133. "
  7134. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  7135. cat >>confdefs.h <<_ACEOF
  7136. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  7137. _ACEOF
  7138. fi
  7139. done
  7140. for ac_header in resolv.h
  7141. do :
  7142. ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
  7143. #ifdef HAVE_SYS_SOCKET_H
  7144. # include <sys/socket.h>
  7145. #endif
  7146. #ifdef HAVE_NETINET_IN_H
  7147. # include <netinet/in.h>
  7148. #endif
  7149. #ifdef HAVE_ARPA_NAMESER_H
  7150. # include <arpa/nameser.h>
  7151. #endif
  7152. "
  7153. if test "x$ac_cv_header_resolv_h" = xyes; then :
  7154. cat >>confdefs.h <<_ACEOF
  7155. #define HAVE_RESOLV_H 1
  7156. _ACEOF
  7157. fi
  7158. done
  7159. for ac_header in ifaddrs.h
  7160. do :
  7161. ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
  7162. "
  7163. if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
  7164. cat >>confdefs.h <<_ACEOF
  7165. #define HAVE_IFADDRS_H 1
  7166. _ACEOF
  7167. fi
  7168. done
  7169. for ac_header in sys/ucontext.h
  7170. do :
  7171. ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
  7172. "
  7173. if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
  7174. cat >>confdefs.h <<_ACEOF
  7175. #define HAVE_SYS_UCONTEXT_H 1
  7176. _ACEOF
  7177. fi
  7178. done
  7179. for ac_header in sys/thr.h
  7180. do :
  7181. ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
  7182. #ifdef HAVE_SYS_UCONTEXT_H
  7183. #include <sys/ucontext.h>
  7184. #endif
  7185. "
  7186. if test "x$ac_cv_header_sys_thr_h" = xyes; then :
  7187. cat >>confdefs.h <<_ACEOF
  7188. #define HAVE_SYS_THR_H 1
  7189. _ACEOF
  7190. fi
  7191. done
  7192. for ac_header in pthread_np.h
  7193. do :
  7194. ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
  7195. #include <pthread.h>
  7196. #endif
  7197. "
  7198. if test "x$ac_cv_header_pthread_np_h" = xyes; then :
  7199. cat >>confdefs.h <<_ACEOF
  7200. #define HAVE_PTHREAD_NP_H 1
  7201. _ACEOF
  7202. fi
  7203. done
  7204. for ac_header in linux/videodev2.h
  7205. do :
  7206. ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
  7207. #include <sys/time.h>
  7208. #endif
  7209. #include <sys/types.h>
  7210. #ifdef HAVE_ASM_TYPES_H
  7211. #include <asm/types.h>
  7212. #endif
  7213. "
  7214. if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
  7215. cat >>confdefs.h <<_ACEOF
  7216. #define HAVE_LINUX_VIDEODEV2_H 1
  7217. _ACEOF
  7218. fi
  7219. done
  7220. for ac_header in libprocstat.h
  7221. do :
  7222. ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
  7223. #include <sys/param.h>
  7224. #endif
  7225. #ifdef HAVE_SYS_QUEUE_H
  7226. #include <sys/queue.h>
  7227. #endif
  7228. #ifdef HAVE_SYS_SOCKET_H
  7229. #include <sys/socket.h>
  7230. #endif
  7231. "
  7232. if test "x$ac_cv_header_libprocstat_h" = xyes; then :
  7233. cat >>confdefs.h <<_ACEOF
  7234. #define HAVE_LIBPROCSTAT_H 1
  7235. _ACEOF
  7236. fi
  7237. done
  7238. DLLFLAGS="-D_REENTRANT"
  7239. LDDLLFLAGS=""
  7240. LDEXECFLAGS=""
  7241. TOP_INSTALL_LIB=""
  7242. TOP_INSTALL_DEV=""
  7243. WINELOADER_LDFLAGS=""
  7244. WINEPRELOADER_LDFLAGS=""
  7245. LIBEXT="so"
  7246. DLLEXT=".so"
  7247. # Extract the first word of "ldd", so it can be a program name with args.
  7248. set dummy ldd; ac_word=$2
  7249. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7250. $as_echo_n "checking for $ac_word... " >&6; }
  7251. if ${ac_cv_path_LDD+:} false; then :
  7252. $as_echo_n "(cached) " >&6
  7253. else
  7254. case $LDD in
  7255. [\\/]* | ?:[\\/]*)
  7256. ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
  7257. ;;
  7258. *)
  7259. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7260. as_dummy="/sbin:/usr/sbin:$PATH"
  7261. for as_dir in $as_dummy
  7262. do
  7263. IFS=$as_save_IFS
  7264. test -z "$as_dir" && as_dir=.
  7265. for ac_exec_ext in '' $ac_executable_extensions; do
  7266. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7267. ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
  7268. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7269. break 2
  7270. fi
  7271. done
  7272. done
  7273. IFS=$as_save_IFS
  7274. test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
  7275. ;;
  7276. esac
  7277. fi
  7278. LDD=$ac_cv_path_LDD
  7279. if test -n "$LDD"; then
  7280. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
  7281. $as_echo "$LDD" >&6; }
  7282. else
  7283. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7284. $as_echo "no" >&6; }
  7285. fi
  7286. if test -n "$ac_tool_prefix"; then
  7287. # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
  7288. set dummy ${ac_tool_prefix}otool; ac_word=$2
  7289. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7290. $as_echo_n "checking for $ac_word... " >&6; }
  7291. if ${ac_cv_prog_OTOOL+:} false; then :
  7292. $as_echo_n "(cached) " >&6
  7293. else
  7294. if test -n "$OTOOL"; then
  7295. ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
  7296. else
  7297. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7298. for as_dir in $PATH
  7299. do
  7300. IFS=$as_save_IFS
  7301. test -z "$as_dir" && as_dir=.
  7302. for ac_exec_ext in '' $ac_executable_extensions; do
  7303. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7304. ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
  7305. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7306. break 2
  7307. fi
  7308. done
  7309. done
  7310. IFS=$as_save_IFS
  7311. fi
  7312. fi
  7313. OTOOL=$ac_cv_prog_OTOOL
  7314. if test -n "$OTOOL"; then
  7315. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
  7316. $as_echo "$OTOOL" >&6; }
  7317. else
  7318. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7319. $as_echo "no" >&6; }
  7320. fi
  7321. fi
  7322. if test -z "$ac_cv_prog_OTOOL"; then
  7323. ac_ct_OTOOL=$OTOOL
  7324. # Extract the first word of "otool", so it can be a program name with args.
  7325. set dummy otool; ac_word=$2
  7326. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7327. $as_echo_n "checking for $ac_word... " >&6; }
  7328. if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
  7329. $as_echo_n "(cached) " >&6
  7330. else
  7331. if test -n "$ac_ct_OTOOL"; then
  7332. ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
  7333. else
  7334. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7335. for as_dir in $PATH
  7336. do
  7337. IFS=$as_save_IFS
  7338. test -z "$as_dir" && as_dir=.
  7339. for ac_exec_ext in '' $ac_executable_extensions; do
  7340. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7341. ac_cv_prog_ac_ct_OTOOL="otool"
  7342. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7343. break 2
  7344. fi
  7345. done
  7346. done
  7347. IFS=$as_save_IFS
  7348. fi
  7349. fi
  7350. ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
  7351. if test -n "$ac_ct_OTOOL"; then
  7352. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
  7353. $as_echo "$ac_ct_OTOOL" >&6; }
  7354. else
  7355. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7356. $as_echo "no" >&6; }
  7357. fi
  7358. if test "x$ac_ct_OTOOL" = x; then
  7359. OTOOL="otool"
  7360. else
  7361. case $cross_compiling:$ac_tool_warned in
  7362. yes:)
  7363. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7364. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7365. ac_tool_warned=yes ;;
  7366. esac
  7367. OTOOL=$ac_ct_OTOOL
  7368. fi
  7369. else
  7370. OTOOL="$ac_cv_prog_OTOOL"
  7371. fi
  7372. if test -n "$ac_tool_prefix"; then
  7373. # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
  7374. set dummy ${ac_tool_prefix}readelf; ac_word=$2
  7375. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7376. $as_echo_n "checking for $ac_word... " >&6; }
  7377. if ${ac_cv_prog_READELF+:} false; then :
  7378. $as_echo_n "(cached) " >&6
  7379. else
  7380. if test -n "$READELF"; then
  7381. ac_cv_prog_READELF="$READELF" # Let the user override the test.
  7382. else
  7383. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7384. for as_dir in $PATH
  7385. do
  7386. IFS=$as_save_IFS
  7387. test -z "$as_dir" && as_dir=.
  7388. for ac_exec_ext in '' $ac_executable_extensions; do
  7389. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7390. ac_cv_prog_READELF="${ac_tool_prefix}readelf"
  7391. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7392. break 2
  7393. fi
  7394. done
  7395. done
  7396. IFS=$as_save_IFS
  7397. fi
  7398. fi
  7399. READELF=$ac_cv_prog_READELF
  7400. if test -n "$READELF"; then
  7401. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
  7402. $as_echo "$READELF" >&6; }
  7403. else
  7404. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7405. $as_echo "no" >&6; }
  7406. fi
  7407. fi
  7408. if test -z "$ac_cv_prog_READELF"; then
  7409. ac_ct_READELF=$READELF
  7410. # Extract the first word of "readelf", so it can be a program name with args.
  7411. set dummy readelf; ac_word=$2
  7412. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7413. $as_echo_n "checking for $ac_word... " >&6; }
  7414. if ${ac_cv_prog_ac_ct_READELF+:} false; then :
  7415. $as_echo_n "(cached) " >&6
  7416. else
  7417. if test -n "$ac_ct_READELF"; then
  7418. ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
  7419. else
  7420. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7421. for as_dir in $PATH
  7422. do
  7423. IFS=$as_save_IFS
  7424. test -z "$as_dir" && as_dir=.
  7425. for ac_exec_ext in '' $ac_executable_extensions; do
  7426. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7427. ac_cv_prog_ac_ct_READELF="readelf"
  7428. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7429. break 2
  7430. fi
  7431. done
  7432. done
  7433. IFS=$as_save_IFS
  7434. fi
  7435. fi
  7436. ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
  7437. if test -n "$ac_ct_READELF"; then
  7438. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
  7439. $as_echo "$ac_ct_READELF" >&6; }
  7440. else
  7441. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7442. $as_echo "no" >&6; }
  7443. fi
  7444. if test "x$ac_ct_READELF" = x; then
  7445. READELF="true"
  7446. else
  7447. case $cross_compiling:$ac_tool_warned in
  7448. yes:)
  7449. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7450. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7451. ac_tool_warned=yes ;;
  7452. esac
  7453. READELF=$ac_ct_READELF
  7454. fi
  7455. else
  7456. READELF="$ac_cv_prog_READELF"
  7457. fi
  7458. wine_rules_file=conf$$rules.make
  7459. rm -f $wine_rules_file
  7460. SUBDIRS=""
  7461. DISABLED_SUBDIRS=""
  7462. CONFIGURE_TARGETS=""
  7463. wine_fn_append_file ()
  7464. {
  7465. as_fn_append $1 " \\$as_nl $2"
  7466. }
  7467. wine_fn_append_rule ()
  7468. {
  7469. $as_echo "$1" >>$wine_rules_file
  7470. }
  7471. wine_fn_config_makefile ()
  7472. {
  7473. wine_fn_append_file SUBDIRS $1
  7474. if eval test \"x\$"$2"\" = x"no"; then :
  7475. wine_fn_append_file DISABLED_SUBDIRS $1
  7476. fi
  7477. }
  7478. wine_fn_config_symlink ()
  7479. {
  7480. ac_links=$@
  7481. wine_fn_append_rule \
  7482. "$ac_links:
  7483. @./config.status \$@"
  7484. for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
  7485. }
  7486. wine_binary="wine"
  7487. test "x$enable_win64" != "xyes" || wine_binary="wine64"
  7488. WINELOADER_PROGRAMS="$wine_binary"
  7489. libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
  7490. case $host_os in
  7491. cygwin*|mingw32*)
  7492. if test -n "$ac_tool_prefix"; then
  7493. # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
  7494. set dummy ${ac_tool_prefix}dlltool; ac_word=$2
  7495. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7496. $as_echo_n "checking for $ac_word... " >&6; }
  7497. if ${ac_cv_prog_DLLTOOL+:} false; then :
  7498. $as_echo_n "(cached) " >&6
  7499. else
  7500. if test -n "$DLLTOOL"; then
  7501. ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
  7502. else
  7503. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7504. for as_dir in $PATH
  7505. do
  7506. IFS=$as_save_IFS
  7507. test -z "$as_dir" && as_dir=.
  7508. for ac_exec_ext in '' $ac_executable_extensions; do
  7509. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7510. ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
  7511. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7512. break 2
  7513. fi
  7514. done
  7515. done
  7516. IFS=$as_save_IFS
  7517. fi
  7518. fi
  7519. DLLTOOL=$ac_cv_prog_DLLTOOL
  7520. if test -n "$DLLTOOL"; then
  7521. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
  7522. $as_echo "$DLLTOOL" >&6; }
  7523. else
  7524. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7525. $as_echo "no" >&6; }
  7526. fi
  7527. fi
  7528. if test -z "$ac_cv_prog_DLLTOOL"; then
  7529. ac_ct_DLLTOOL=$DLLTOOL
  7530. # Extract the first word of "dlltool", so it can be a program name with args.
  7531. set dummy dlltool; ac_word=$2
  7532. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7533. $as_echo_n "checking for $ac_word... " >&6; }
  7534. if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
  7535. $as_echo_n "(cached) " >&6
  7536. else
  7537. if test -n "$ac_ct_DLLTOOL"; then
  7538. ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
  7539. else
  7540. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7541. for as_dir in $PATH
  7542. do
  7543. IFS=$as_save_IFS
  7544. test -z "$as_dir" && as_dir=.
  7545. for ac_exec_ext in '' $ac_executable_extensions; do
  7546. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7547. ac_cv_prog_ac_ct_DLLTOOL="dlltool"
  7548. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7549. break 2
  7550. fi
  7551. done
  7552. done
  7553. IFS=$as_save_IFS
  7554. fi
  7555. fi
  7556. ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
  7557. if test -n "$ac_ct_DLLTOOL"; then
  7558. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
  7559. $as_echo "$ac_ct_DLLTOOL" >&6; }
  7560. else
  7561. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7562. $as_echo "no" >&6; }
  7563. fi
  7564. if test "x$ac_ct_DLLTOOL" = x; then
  7565. DLLTOOL="false"
  7566. else
  7567. case $cross_compiling:$ac_tool_warned in
  7568. yes:)
  7569. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7570. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7571. ac_tool_warned=yes ;;
  7572. esac
  7573. DLLTOOL=$ac_ct_DLLTOOL
  7574. fi
  7575. else
  7576. DLLTOOL="$ac_cv_prog_DLLTOOL"
  7577. fi
  7578. LIBEXT="dll"
  7579. DLLEXT=""
  7580. case $host_cpu in
  7581. *i[3456]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
  7582. $as_echo_n "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
  7583. if ${ac_cv_cflags__Wl___disable_stdcall_fixup+:} false; then :
  7584. $as_echo_n "(cached) " >&6
  7585. else
  7586. ac_wine_try_cflags_saved=$CFLAGS
  7587. CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
  7588. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7589. /* end confdefs.h. */
  7590. int main(int argc, char **argv) { return 0; }
  7591. _ACEOF
  7592. if ac_fn_c_try_link "$LINENO"; then :
  7593. ac_cv_cflags__Wl___disable_stdcall_fixup=yes
  7594. else
  7595. ac_cv_cflags__Wl___disable_stdcall_fixup=no
  7596. fi
  7597. rm -f core conftest.err conftest.$ac_objext \
  7598. conftest$ac_exeext conftest.$ac_ext
  7599. CFLAGS=$ac_wine_try_cflags_saved
  7600. fi
  7601. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
  7602. $as_echo "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
  7603. if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes; then :
  7604. LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
  7605. fi ;;
  7606. esac
  7607. enable_iphlpapi=${enable_iphlpapi:-no}
  7608. enable_ws2_32=${enable_ws2_32:-no}
  7609. enable_loader=${enable_loader:-no}
  7610. enable_server=${enable_server:-no}
  7611. with_x=${with_x:-no}
  7612. with_pthread=${with_pthread:-no}
  7613. ;;
  7614. darwin*|macosx*)
  7615. ac_ext=m
  7616. ac_cpp='$OBJCPP $CPPFLAGS'
  7617. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7618. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7619. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7620. ac_ext=m
  7621. ac_cpp='$OBJCPP $CPPFLAGS'
  7622. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7623. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7624. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7625. if test -n "$ac_tool_prefix"; then
  7626. for ac_prog in gcc objcc objc cc CC
  7627. do
  7628. # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
  7629. set dummy $ac_tool_prefix$ac_prog; ac_word=$2
  7630. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7631. $as_echo_n "checking for $ac_word... " >&6; }
  7632. if ${ac_cv_prog_OBJC+:} false; then :
  7633. $as_echo_n "(cached) " >&6
  7634. else
  7635. if test -n "$OBJC"; then
  7636. ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
  7637. else
  7638. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7639. for as_dir in $PATH
  7640. do
  7641. IFS=$as_save_IFS
  7642. test -z "$as_dir" && as_dir=.
  7643. for ac_exec_ext in '' $ac_executable_extensions; do
  7644. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7645. ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
  7646. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7647. break 2
  7648. fi
  7649. done
  7650. done
  7651. IFS=$as_save_IFS
  7652. fi
  7653. fi
  7654. OBJC=$ac_cv_prog_OBJC
  7655. if test -n "$OBJC"; then
  7656. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
  7657. $as_echo "$OBJC" >&6; }
  7658. else
  7659. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7660. $as_echo "no" >&6; }
  7661. fi
  7662. test -n "$OBJC" && break
  7663. done
  7664. fi
  7665. if test -z "$OBJC"; then
  7666. ac_ct_OBJC=$OBJC
  7667. for ac_prog in gcc objcc objc cc CC
  7668. do
  7669. # Extract the first word of "$ac_prog", so it can be a program name with args.
  7670. set dummy $ac_prog; ac_word=$2
  7671. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  7672. $as_echo_n "checking for $ac_word... " >&6; }
  7673. if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
  7674. $as_echo_n "(cached) " >&6
  7675. else
  7676. if test -n "$ac_ct_OBJC"; then
  7677. ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
  7678. else
  7679. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  7680. for as_dir in $PATH
  7681. do
  7682. IFS=$as_save_IFS
  7683. test -z "$as_dir" && as_dir=.
  7684. for ac_exec_ext in '' $ac_executable_extensions; do
  7685. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  7686. ac_cv_prog_ac_ct_OBJC="$ac_prog"
  7687. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  7688. break 2
  7689. fi
  7690. done
  7691. done
  7692. IFS=$as_save_IFS
  7693. fi
  7694. fi
  7695. ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
  7696. if test -n "$ac_ct_OBJC"; then
  7697. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
  7698. $as_echo "$ac_ct_OBJC" >&6; }
  7699. else
  7700. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  7701. $as_echo "no" >&6; }
  7702. fi
  7703. test -n "$ac_ct_OBJC" && break
  7704. done
  7705. if test "x$ac_ct_OBJC" = x; then
  7706. OBJC="gcc"
  7707. else
  7708. case $cross_compiling:$ac_tool_warned in
  7709. yes:)
  7710. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
  7711. $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
  7712. ac_tool_warned=yes ;;
  7713. esac
  7714. OBJC=$ac_ct_OBJC
  7715. fi
  7716. fi
  7717. # Provide some information about the compiler.
  7718. $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
  7719. set X $ac_compile
  7720. ac_compiler=$2
  7721. for ac_option in --version -v -V -qversion; do
  7722. { { ac_try="$ac_compiler $ac_option >&5"
  7723. case "(($ac_try" in
  7724. *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
  7725. *) ac_try_echo=$ac_try;;
  7726. esac
  7727. eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
  7728. $as_echo "$ac_try_echo"; } >&5
  7729. (eval "$ac_compiler $ac_option >&5") 2>conftest.err
  7730. ac_status=$?
  7731. if test -s conftest.err; then
  7732. sed '10a\
  7733. ... rest of stderr output deleted ...
  7734. 10q' conftest.err >conftest.er1
  7735. cat conftest.er1 >&5
  7736. fi
  7737. rm -f conftest.er1 conftest.err
  7738. $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
  7739. test $ac_status = 0; }
  7740. done
  7741. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
  7742. $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
  7743. if ${ac_cv_objc_compiler_gnu+:} false; then :
  7744. $as_echo_n "(cached) " >&6
  7745. else
  7746. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7747. /* end confdefs.h. */
  7748. int
  7749. main ()
  7750. {
  7751. #ifndef __GNUC__
  7752. choke me
  7753. #endif
  7754. ;
  7755. return 0;
  7756. }
  7757. _ACEOF
  7758. if ac_fn_objc_try_compile "$LINENO"; then :
  7759. ac_compiler_gnu=yes
  7760. else
  7761. ac_compiler_gnu=no
  7762. fi
  7763. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7764. ac_cv_objc_compiler_gnu=$ac_compiler_gnu
  7765. fi
  7766. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
  7767. $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
  7768. if test $ac_compiler_gnu = yes; then
  7769. GOBJC=yes
  7770. else
  7771. GOBJC=
  7772. fi
  7773. ac_test_OBJCFLAGS=${OBJCFLAGS+set}
  7774. ac_save_OBJCFLAGS=$OBJCFLAGS
  7775. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
  7776. $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
  7777. if ${ac_cv_prog_objc_g+:} false; then :
  7778. $as_echo_n "(cached) " >&6
  7779. else
  7780. ac_save_objc_werror_flag=$ac_objc_werror_flag
  7781. ac_objc_werror_flag=yes
  7782. ac_cv_prog_objc_g=no
  7783. OBJCFLAGS="-g"
  7784. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7785. /* end confdefs.h. */
  7786. int
  7787. main ()
  7788. {
  7789. ;
  7790. return 0;
  7791. }
  7792. _ACEOF
  7793. if ac_fn_objc_try_compile "$LINENO"; then :
  7794. ac_cv_prog_objc_g=yes
  7795. else
  7796. OBJCFLAGS=""
  7797. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7798. /* end confdefs.h. */
  7799. int
  7800. main ()
  7801. {
  7802. ;
  7803. return 0;
  7804. }
  7805. _ACEOF
  7806. if ac_fn_objc_try_compile "$LINENO"; then :
  7807. else
  7808. ac_objc_werror_flag=$ac_save_objc_werror_flag
  7809. OBJCFLAGS="-g"
  7810. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7811. /* end confdefs.h. */
  7812. int
  7813. main ()
  7814. {
  7815. ;
  7816. return 0;
  7817. }
  7818. _ACEOF
  7819. if ac_fn_objc_try_compile "$LINENO"; then :
  7820. ac_cv_prog_objc_g=yes
  7821. fi
  7822. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7823. fi
  7824. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7825. fi
  7826. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  7827. ac_objc_werror_flag=$ac_save_objc_werror_flag
  7828. fi
  7829. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
  7830. $as_echo "$ac_cv_prog_objc_g" >&6; }
  7831. if test "$ac_test_OBJCFLAGS" = set; then
  7832. OBJCFLAGS=$ac_save_OBJCFLAGS
  7833. elif test $ac_cv_prog_objc_g = yes; then
  7834. if test "$GOBJC" = yes; then
  7835. OBJCFLAGS="-g -O2"
  7836. else
  7837. OBJCFLAGS="-g"
  7838. fi
  7839. else
  7840. if test "$GOBJC" = yes; then
  7841. OBJCFLAGS="-O2"
  7842. else
  7843. OBJCFLAGS=
  7844. fi
  7845. fi
  7846. ac_ext=m
  7847. ac_cpp='$OBJCPP $CPPFLAGS'
  7848. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7849. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7850. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7851. ac_ext=m
  7852. ac_cpp='$OBJCPP $CPPFLAGS'
  7853. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7854. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7855. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7856. { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
  7857. $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
  7858. if test -z "$OBJCPP"; then
  7859. if ${ac_cv_prog_OBJCPP+:} false; then :
  7860. $as_echo_n "(cached) " >&6
  7861. else
  7862. # Double quotes because OBJCPP needs to be expanded
  7863. for OBJCPP in "$OBJC -E" "/lib/cpp"
  7864. do
  7865. ac_preproc_ok=false
  7866. for ac_objc_preproc_warn_flag in '' yes
  7867. do
  7868. # Use a header file that comes with gcc, so configuring glibc
  7869. # with a fresh cross-compiler works.
  7870. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7871. # <limits.h> exists even on freestanding compilers.
  7872. # On the NeXT, cc -E runs the code through the compiler's parser,
  7873. # not just through cpp. "Syntax error" is here to catch this case.
  7874. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7875. /* end confdefs.h. */
  7876. #ifdef __STDC__
  7877. # include <limits.h>
  7878. #else
  7879. # include <assert.h>
  7880. #endif
  7881. Syntax error
  7882. _ACEOF
  7883. if ac_fn_objc_try_cpp "$LINENO"; then :
  7884. else
  7885. # Broken: fails on valid input.
  7886. continue
  7887. fi
  7888. rm -f conftest.err conftest.i conftest.$ac_ext
  7889. # OK, works on sane cases. Now check whether nonexistent headers
  7890. # can be detected and how.
  7891. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7892. /* end confdefs.h. */
  7893. #include <ac_nonexistent.h>
  7894. _ACEOF
  7895. if ac_fn_objc_try_cpp "$LINENO"; then :
  7896. # Broken: success on invalid input.
  7897. continue
  7898. else
  7899. # Passes both tests.
  7900. ac_preproc_ok=:
  7901. break
  7902. fi
  7903. rm -f conftest.err conftest.i conftest.$ac_ext
  7904. done
  7905. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7906. rm -f conftest.i conftest.err conftest.$ac_ext
  7907. if $ac_preproc_ok; then :
  7908. break
  7909. fi
  7910. done
  7911. ac_cv_prog_OBJCPP=$OBJCPP
  7912. fi
  7913. OBJCPP=$ac_cv_prog_OBJCPP
  7914. else
  7915. ac_cv_prog_OBJCPP=$OBJCPP
  7916. fi
  7917. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
  7918. $as_echo "$OBJCPP" >&6; }
  7919. ac_preproc_ok=false
  7920. for ac_objc_preproc_warn_flag in '' yes
  7921. do
  7922. # Use a header file that comes with gcc, so configuring glibc
  7923. # with a fresh cross-compiler works.
  7924. # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
  7925. # <limits.h> exists even on freestanding compilers.
  7926. # On the NeXT, cc -E runs the code through the compiler's parser,
  7927. # not just through cpp. "Syntax error" is here to catch this case.
  7928. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7929. /* end confdefs.h. */
  7930. #ifdef __STDC__
  7931. # include <limits.h>
  7932. #else
  7933. # include <assert.h>
  7934. #endif
  7935. Syntax error
  7936. _ACEOF
  7937. if ac_fn_objc_try_cpp "$LINENO"; then :
  7938. else
  7939. # Broken: fails on valid input.
  7940. continue
  7941. fi
  7942. rm -f conftest.err conftest.i conftest.$ac_ext
  7943. # OK, works on sane cases. Now check whether nonexistent headers
  7944. # can be detected and how.
  7945. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  7946. /* end confdefs.h. */
  7947. #include <ac_nonexistent.h>
  7948. _ACEOF
  7949. if ac_fn_objc_try_cpp "$LINENO"; then :
  7950. # Broken: success on invalid input.
  7951. continue
  7952. else
  7953. # Passes both tests.
  7954. ac_preproc_ok=:
  7955. break
  7956. fi
  7957. rm -f conftest.err conftest.i conftest.$ac_ext
  7958. done
  7959. # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
  7960. rm -f conftest.i conftest.err conftest.$ac_ext
  7961. if $ac_preproc_ok; then :
  7962. else
  7963. { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
  7964. $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
  7965. as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
  7966. See \`config.log' for more details" "$LINENO" 5; }
  7967. fi
  7968. ac_ext=m
  7969. ac_cpp='$OBJCPP $CPPFLAGS'
  7970. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7971. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7972. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  7973. for ac_header in Metal/Metal.h
  7974. do :
  7975. ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
  7976. if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
  7977. cat >>confdefs.h <<_ACEOF
  7978. #define HAVE_METAL_METAL_H 1
  7979. _ACEOF
  7980. fi
  7981. done
  7982. ac_ext=c
  7983. ac_cpp='$CPP $CPPFLAGS'
  7984. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  7985. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  7986. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  7987. LIBEXT="dylib"
  7988. DLLFLAGS="$DLLFLAGS -fPIC"
  7989. LDDLLFLAGS="-fPIC"
  7990. COREFOUNDATION_LIBS="-framework CoreFoundation"
  7991. IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
  7992. FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
  7993. APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
  7994. CORESERVICES_LIBS="-framework CoreServices"
  7995. APPKIT_LIBS="-framework AppKit"
  7996. SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
  7997. WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
  7998. wine_can_build_preloader=yes
  7999. WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7d400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist,-segaddr,WINE_4GB_RESERVE,0x100000000"
  8000. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
  8001. $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
  8002. if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
  8003. $as_echo_n "(cached) " >&6
  8004. else
  8005. ac_wine_try_cflags_saved=$CFLAGS
  8006. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
  8007. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8008. /* end confdefs.h. */
  8009. int main(int argc, char **argv) { return 0; }
  8010. _ACEOF
  8011. if ac_fn_c_try_link "$LINENO"; then :
  8012. ac_cv_cflags__Wl__no_new_main__e__main=yes
  8013. else
  8014. ac_cv_cflags__Wl__no_new_main__e__main=no
  8015. fi
  8016. rm -f core conftest.err conftest.$ac_objext \
  8017. conftest$ac_exeext conftest.$ac_ext
  8018. CFLAGS=$ac_wine_try_cflags_saved
  8019. fi
  8020. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
  8021. $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
  8022. if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
  8023. WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
  8024. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
  8025. $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
  8026. if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
  8027. $as_echo_n "(cached) " >&6
  8028. else
  8029. ac_wine_try_cflags_saved=$CFLAGS
  8030. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
  8031. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8032. /* end confdefs.h. */
  8033. int main(int argc, char **argv) { return 0; }
  8034. _ACEOF
  8035. if ac_fn_c_try_link "$LINENO"; then :
  8036. ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
  8037. else
  8038. ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
  8039. fi
  8040. rm -f core conftest.err conftest.$ac_objext \
  8041. conftest$ac_exeext conftest.$ac_ext
  8042. CFLAGS=$ac_wine_try_cflags_saved
  8043. fi
  8044. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
  8045. $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
  8046. if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
  8047. EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
  8048. else
  8049. { $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
  8050. $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  8051. if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
  8052. $as_echo_n "(cached) " >&6
  8053. else
  8054. ac_wine_try_cflags_saved=$CFLAGS
  8055. CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  8056. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8057. /* end confdefs.h. */
  8058. int main(int argc, char **argv) { return 0; }
  8059. _ACEOF
  8060. if ac_fn_c_try_link "$LINENO"; then :
  8061. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  8062. else
  8063. ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  8064. fi
  8065. rm -f core conftest.err conftest.$ac_objext \
  8066. conftest$ac_exeext conftest.$ac_ext
  8067. CFLAGS=$ac_wine_try_cflags_saved
  8068. fi
  8069. { $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
  8070. $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  8071. if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
  8072. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  8073. else
  8074. wine_can_build_preloader=no
  8075. fi
  8076. fi
  8077. else
  8078. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
  8079. $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
  8080. if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
  8081. $as_echo_n "(cached) " >&6
  8082. else
  8083. ac_wine_try_cflags_saved=$CFLAGS
  8084. CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
  8085. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8086. /* end confdefs.h. */
  8087. int main(int argc, char **argv) { return 0; }
  8088. _ACEOF
  8089. if ac_fn_c_try_link "$LINENO"; then :
  8090. ac_cv_cflags__nostartfiles__nodefaultlibs=yes
  8091. else
  8092. ac_cv_cflags__nostartfiles__nodefaultlibs=no
  8093. fi
  8094. rm -f core conftest.err conftest.$ac_objext \
  8095. conftest$ac_exeext conftest.$ac_ext
  8096. CFLAGS=$ac_wine_try_cflags_saved
  8097. fi
  8098. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
  8099. $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
  8100. if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
  8101. EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
  8102. else
  8103. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
  8104. $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
  8105. if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
  8106. $as_echo_n "(cached) " >&6
  8107. else
  8108. ac_wine_try_cflags_saved=$CFLAGS
  8109. CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
  8110. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8111. /* end confdefs.h. */
  8112. int main(int argc, char **argv) { return 0; }
  8113. _ACEOF
  8114. if ac_fn_c_try_link "$LINENO"; then :
  8115. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
  8116. else
  8117. ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
  8118. fi
  8119. rm -f core conftest.err conftest.$ac_objext \
  8120. conftest$ac_exeext conftest.$ac_ext
  8121. CFLAGS=$ac_wine_try_cflags_saved
  8122. fi
  8123. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
  8124. $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
  8125. if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
  8126. WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
  8127. else
  8128. wine_can_build_preloader=no
  8129. fi
  8130. fi
  8131. fi
  8132. if test "$wine_can_build_preloader" = "yes"
  8133. then
  8134. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
  8135. $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
  8136. if ${ac_cv_cflags__Wl__no_pie+:} false; then :
  8137. $as_echo_n "(cached) " >&6
  8138. else
  8139. ac_wine_try_cflags_saved=$CFLAGS
  8140. CFLAGS="$CFLAGS -Wl,-no_pie"
  8141. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8142. /* end confdefs.h. */
  8143. int main(int argc, char **argv) { return 0; }
  8144. _ACEOF
  8145. if ac_fn_c_try_link "$LINENO"; then :
  8146. ac_cv_cflags__Wl__no_pie=yes
  8147. else
  8148. ac_cv_cflags__Wl__no_pie=no
  8149. fi
  8150. rm -f core conftest.err conftest.$ac_objext \
  8151. conftest$ac_exeext conftest.$ac_ext
  8152. CFLAGS=$ac_wine_try_cflags_saved
  8153. fi
  8154. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
  8155. $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
  8156. if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
  8157. WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
  8158. fi
  8159. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  8160. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  8161. else
  8162. as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
  8163. fi
  8164. if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
  8165. then
  8166. DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
  8167. fi
  8168. if test "$ac_cv_header_Security_Security_h" = "yes"
  8169. then
  8170. SECURITY_LIBS="-framework Security -framework CoreFoundation"
  8171. ac_save_LIBS="$LIBS"
  8172. LIBS="$LIBS $SECURITY_LIBS"
  8173. for ac_func in SSLCopyPeerCertificates
  8174. do :
  8175. ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
  8176. if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
  8177. cat >>confdefs.h <<_ACEOF
  8178. #define HAVE_SSLCOPYPEERCERTIFICATES 1
  8179. _ACEOF
  8180. fi
  8181. done
  8182. LIBS="$ac_save_LIBS"
  8183. fi
  8184. if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
  8185. then
  8186. if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
  8187. then
  8188. COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
  8189. else
  8190. COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
  8191. fi
  8192. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
  8193. ac_save_LIBS="$LIBS"
  8194. LIBS="$LIBS $COREAUDIO_LIBS"
  8195. for ac_func in AUGraphAddNode
  8196. do :
  8197. ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
  8198. if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
  8199. cat >>confdefs.h <<_ACEOF
  8200. #define HAVE_AUGRAPHADDNODE 1
  8201. _ACEOF
  8202. fi
  8203. done
  8204. LIBS="$ac_save_LIBS"
  8205. fi
  8206. if test "$ac_cv_header_OpenAL_al_h" = "yes"
  8207. then
  8208. OPENAL_LIBS="-framework OpenAL"
  8209. cat >>confdefs.h <<_ACEOF
  8210. #define HAVE_OPENAL 1
  8211. _ACEOF
  8212. ac_cv_lib_openal=yes
  8213. fi
  8214. if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
  8215. then
  8216. OPENCL_LIBS="-framework OpenCL"
  8217. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  8218. fi
  8219. if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
  8220. then
  8221. ac_save_LIBS="$LIBS"
  8222. LIBS="$LIBS $IOKIT_LIBS"
  8223. for ac_func in IOHIDManagerCreate
  8224. do :
  8225. ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
  8226. if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
  8227. cat >>confdefs.h <<_ACEOF
  8228. #define HAVE_IOHIDMANAGERCREATE 1
  8229. _ACEOF
  8230. fi
  8231. done
  8232. LIBS="$ac_save_LIBS"
  8233. fi
  8234. if test "x$with_quicktime" != "xno"
  8235. then
  8236. if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
  8237. then
  8238. ac_save_LIBS="$LIBS"
  8239. LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
  8240. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
  8241. $as_echo_n "checking for the QuickTime framework... " >&6; }
  8242. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8243. /* end confdefs.h. */
  8244. #include <QuickTime/ImageCompression.h>
  8245. int
  8246. main ()
  8247. {
  8248. CodecManagerVersion(NULL);
  8249. ;
  8250. return 0;
  8251. }
  8252. _ACEOF
  8253. if ac_fn_c_try_link "$LINENO"; then :
  8254. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8255. $as_echo "yes" >&6; }
  8256. QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
  8257. enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
  8258. else
  8259. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8260. $as_echo "no" >&6; }
  8261. ac_cv_header_QuickTime_ImageCompression_h=no
  8262. fi
  8263. rm -f core conftest.err conftest.$ac_objext \
  8264. conftest$ac_exeext conftest.$ac_ext
  8265. LIBS="$ac_save_LIBS"
  8266. fi
  8267. fi
  8268. if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"; then :
  8269. case "x$with_quicktime" in
  8270. x) as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported." ;;
  8271. xno) ;;
  8272. *) as_fn_error $? "QuickTime ${notice_platform}development files not found, video decoding won't be supported.
  8273. This is an error since --with-quicktime was requested." "$LINENO" 5 ;;
  8274. esac
  8275. fi
  8276. if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
  8277. then
  8278. CARBON_LIBS="-framework Carbon"
  8279. fi
  8280. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  8281. then
  8282. METAL_LIBS="-framework Metal -framework QuartzCore"
  8283. fi
  8284. if test "$ac_cv_header_Metal_Metal_h" = "yes"
  8285. then
  8286. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
  8287. $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
  8288. ac_ext=m
  8289. ac_cpp='$OBJCPP $CPPFLAGS'
  8290. ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8291. ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8292. ac_compiler_gnu=$ac_cv_objc_compiler_gnu
  8293. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8294. /* end confdefs.h. */
  8295. #include <Metal/Metal.h>
  8296. int
  8297. main ()
  8298. {
  8299. id<MTLDevice> device; device.registryID;
  8300. ;
  8301. return 0;
  8302. }
  8303. _ACEOF
  8304. if ac_fn_objc_try_compile "$LINENO"; then :
  8305. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  8306. $as_echo "yes" >&6; }
  8307. $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
  8308. else
  8309. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8310. $as_echo "no" >&6; }
  8311. fi
  8312. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8313. ac_ext=c
  8314. ac_cpp='$CPP $CPPFLAGS'
  8315. ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
  8316. ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
  8317. ac_compiler_gnu=$ac_cv_c_compiler_gnu
  8318. fi
  8319. if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
  8320. then
  8321. ac_save_LIBS="$LIBS"
  8322. LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
  8323. ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
  8324. if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
  8325. enable_winemac_drv=${enable_winemac_drv:-yes}
  8326. fi
  8327. LIBS="$ac_save_LIBS"
  8328. fi
  8329. LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
  8330. LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
  8331. WINELOADER_DEPENDS="wine_info.plist"
  8332. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
  8333. ;;
  8334. linux-android*)
  8335. DLLFLAGS="$DLLFLAGS -fPIC"
  8336. LDDLLFLAGS="-fPIC"
  8337. LDEXECFLAGS="-Wl,-pie"
  8338. enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
  8339. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
  8340. $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
  8341. if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
  8342. $as_echo_n "(cached) " >&6
  8343. else
  8344. ac_wine_try_cflags_saved=$CFLAGS
  8345. CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
  8346. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8347. /* end confdefs.h. */
  8348. int main(int argc, char **argv) { return 0; }
  8349. _ACEOF
  8350. if ac_fn_c_try_link "$LINENO"; then :
  8351. ac_cv_cflags__fPIC__Wl___export_dynamic=yes
  8352. else
  8353. ac_cv_cflags__fPIC__Wl___export_dynamic=no
  8354. fi
  8355. rm -f core conftest.err conftest.$ac_objext \
  8356. conftest$ac_exeext conftest.$ac_ext
  8357. CFLAGS=$ac_wine_try_cflags_saved
  8358. fi
  8359. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
  8360. $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
  8361. if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
  8362. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  8363. fi
  8364. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
  8365. LIBWINE_SHAREDLIB="libwine.so"
  8366. LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
  8367. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
  8368. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
  8369. $as_echo_n "checking for -lEGL... " >&6; }
  8370. if ${ac_cv_lib_soname_EGL+:} false; then :
  8371. $as_echo_n "(cached) " >&6
  8372. else
  8373. ac_check_soname_save_LIBS=$LIBS
  8374. LIBS="-lEGL $LIBS"
  8375. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8376. /* end confdefs.h. */
  8377. /* Override any GCC internal prototype to avoid an error.
  8378. Use char because int might match the return type of a GCC
  8379. builtin and then its argument prototype would still apply. */
  8380. #ifdef __cplusplus
  8381. extern "C"
  8382. #endif
  8383. char eglGetProcAddress ();
  8384. int
  8385. main ()
  8386. {
  8387. return eglGetProcAddress ();
  8388. ;
  8389. return 0;
  8390. }
  8391. _ACEOF
  8392. if ac_fn_c_try_link "$LINENO"; then :
  8393. case "$LIBEXT" in
  8394. dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  8395. 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'` ;;
  8396. *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  8397. if ${ac_cv_lib_soname_EGL:+false} :; then :
  8398. ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  8399. fi ;;
  8400. esac
  8401. else
  8402. ac_cv_lib_soname_EGL=
  8403. fi
  8404. rm -f core conftest.err conftest.$ac_objext \
  8405. conftest$ac_exeext conftest.$ac_ext
  8406. LIBS=$ac_check_soname_save_LIBS
  8407. fi
  8408. if ${ac_cv_lib_soname_EGL:+false} :; then :
  8409. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  8410. $as_echo "not found" >&6; }
  8411. else
  8412. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
  8413. $as_echo "$ac_cv_lib_soname_EGL" >&6; }
  8414. cat >>confdefs.h <<_ACEOF
  8415. #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
  8416. _ACEOF
  8417. fi
  8418. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
  8419. $as_echo_n "checking for -lGLESv2... " >&6; }
  8420. if ${ac_cv_lib_soname_GLESv2+:} false; then :
  8421. $as_echo_n "(cached) " >&6
  8422. else
  8423. ac_check_soname_save_LIBS=$LIBS
  8424. LIBS="-lGLESv2 $LIBS"
  8425. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8426. /* end confdefs.h. */
  8427. /* Override any GCC internal prototype to avoid an error.
  8428. Use char because int might match the return type of a GCC
  8429. builtin and then its argument prototype would still apply. */
  8430. #ifdef __cplusplus
  8431. extern "C"
  8432. #endif
  8433. char glFlush ();
  8434. int
  8435. main ()
  8436. {
  8437. return glFlush ();
  8438. ;
  8439. return 0;
  8440. }
  8441. _ACEOF
  8442. if ac_fn_c_try_link "$LINENO"; then :
  8443. case "$LIBEXT" in
  8444. dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  8445. 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'` ;;
  8446. *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  8447. if ${ac_cv_lib_soname_GLESv2:+false} :; then :
  8448. ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  8449. fi ;;
  8450. esac
  8451. else
  8452. ac_cv_lib_soname_GLESv2=
  8453. fi
  8454. rm -f core conftest.err conftest.$ac_objext \
  8455. conftest$ac_exeext conftest.$ac_ext
  8456. LIBS=$ac_check_soname_save_LIBS
  8457. fi
  8458. if ${ac_cv_lib_soname_GLESv2:+false} :; then :
  8459. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  8460. $as_echo "not found" >&6; }
  8461. else
  8462. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
  8463. $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
  8464. cat >>confdefs.h <<_ACEOF
  8465. #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
  8466. _ACEOF
  8467. fi
  8468. if test "x$exec_prefix" = xNONE
  8469. then
  8470. case $host_cpu in
  8471. *i[3456]86*) exec_prefix='${prefix}/x86' ;;
  8472. *x86_64*) exec_prefix='${prefix}/x86_64' ;;
  8473. *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
  8474. *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
  8475. esac
  8476. fi
  8477. ;;
  8478. *)
  8479. case $host_cpu in
  8480. *i[3456789]86*)
  8481. DLLFLAGS="$DLLFLAGS -fno-PIC"
  8482. LDDLLFLAGS="-fno-PIC"
  8483. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
  8484. $as_echo_n "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
  8485. if ${ac_cv_cflags__fno_PIC__Wl__z_notext+:} false; then :
  8486. $as_echo_n "(cached) " >&6
  8487. else
  8488. ac_wine_try_cflags_saved=$CFLAGS
  8489. CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
  8490. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8491. /* end confdefs.h. */
  8492. int main(int argc, char **argv) { return 0; }
  8493. _ACEOF
  8494. if ac_fn_c_try_link "$LINENO"; then :
  8495. ac_cv_cflags__fno_PIC__Wl__z_notext=yes
  8496. else
  8497. ac_cv_cflags__fno_PIC__Wl__z_notext=no
  8498. fi
  8499. rm -f core conftest.err conftest.$ac_objext \
  8500. conftest$ac_exeext conftest.$ac_ext
  8501. CFLAGS=$ac_wine_try_cflags_saved
  8502. fi
  8503. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
  8504. $as_echo "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
  8505. if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes; then :
  8506. LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
  8507. fi
  8508. ;;
  8509. *)
  8510. DLLFLAGS="$DLLFLAGS -fPIC"
  8511. LDDLLFLAGS="-fPIC" ;;
  8512. esac
  8513. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
  8514. $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
  8515. if ${ac_cv_c_dll_gnuelf+:} false; then :
  8516. $as_echo_n "(cached) " >&6
  8517. else
  8518. ac_wine_try_cflags_saved=$CFLAGS
  8519. CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
  8520. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8521. /* end confdefs.h. */
  8522. void myfunc() {}
  8523. _ACEOF
  8524. if ac_fn_c_try_link "$LINENO"; then :
  8525. ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
  8526. else
  8527. ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
  8528. fi
  8529. rm -f core conftest.err conftest.$ac_objext \
  8530. conftest$ac_exeext conftest.$ac_ext
  8531. CFLAGS=$ac_wine_try_cflags_saved
  8532. if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
  8533. ac_cv_c_dll_gnuelf="yes"
  8534. else
  8535. ac_cv_c_dll_gnuelf="no"
  8536. fi
  8537. fi
  8538. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
  8539. $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
  8540. if test "$ac_cv_c_dll_gnuelf" = "yes"
  8541. then
  8542. LIBWINE_LDFLAGS="-shared"
  8543. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
  8544. $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
  8545. if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
  8546. $as_echo_n "(cached) " >&6
  8547. else
  8548. ac_wine_try_cflags_saved=$CFLAGS
  8549. CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
  8550. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8551. /* end confdefs.h. */
  8552. int main(int argc, char **argv) { return 0; }
  8553. _ACEOF
  8554. if ac_fn_c_try_link "$LINENO"; then :
  8555. ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
  8556. else
  8557. ac_cv_cflags__shared__Wl__soname_confest_so_1=no
  8558. fi
  8559. rm -f core conftest.err conftest.$ac_objext \
  8560. conftest$ac_exeext conftest.$ac_ext
  8561. CFLAGS=$ac_wine_try_cflags_saved
  8562. fi
  8563. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
  8564. $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
  8565. if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
  8566. LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
  8567. else
  8568. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
  8569. $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
  8570. if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
  8571. $as_echo_n "(cached) " >&6
  8572. else
  8573. ac_wine_try_cflags_saved=$CFLAGS
  8574. CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
  8575. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8576. /* end confdefs.h. */
  8577. int main(int argc, char **argv) { return 0; }
  8578. _ACEOF
  8579. if ac_fn_c_try_link "$LINENO"; then :
  8580. ac_cv_cflags__shared__Wl__h_confest_so_1=yes
  8581. else
  8582. ac_cv_cflags__shared__Wl__h_confest_so_1=no
  8583. fi
  8584. rm -f core conftest.err conftest.$ac_objext \
  8585. conftest$ac_exeext conftest.$ac_ext
  8586. CFLAGS=$ac_wine_try_cflags_saved
  8587. fi
  8588. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
  8589. $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
  8590. if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
  8591. LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
  8592. fi
  8593. fi
  8594. echo '{ global: *; };' >conftest.map
  8595. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
  8596. $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
  8597. if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
  8598. $as_echo_n "(cached) " >&6
  8599. else
  8600. ac_wine_try_cflags_saved=$CFLAGS
  8601. CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
  8602. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8603. /* end confdefs.h. */
  8604. int main(int argc, char **argv) { return 0; }
  8605. _ACEOF
  8606. if ac_fn_c_try_link "$LINENO"; then :
  8607. ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
  8608. else
  8609. ac_cv_cflags__shared__Wl___version_script_conftest_map=no
  8610. fi
  8611. rm -f core conftest.err conftest.$ac_objext \
  8612. conftest$ac_exeext conftest.$ac_ext
  8613. CFLAGS=$ac_wine_try_cflags_saved
  8614. fi
  8615. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
  8616. $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
  8617. if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
  8618. LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
  8619. fi
  8620. rm -f conftest.map
  8621. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
  8622. $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
  8623. if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
  8624. $as_echo_n "(cached) " >&6
  8625. else
  8626. ac_wine_try_cflags_saved=$CFLAGS
  8627. CFLAGS="$CFLAGS -Wl,--export-dynamic"
  8628. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8629. /* end confdefs.h. */
  8630. int main(int argc, char **argv) { return 0; }
  8631. _ACEOF
  8632. if ac_fn_c_try_link "$LINENO"; then :
  8633. ac_cv_cflags__Wl___export_dynamic=yes
  8634. else
  8635. ac_cv_cflags__Wl___export_dynamic=no
  8636. fi
  8637. rm -f core conftest.err conftest.$ac_objext \
  8638. conftest$ac_exeext conftest.$ac_ext
  8639. CFLAGS=$ac_wine_try_cflags_saved
  8640. fi
  8641. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
  8642. $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
  8643. if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
  8644. WINELOADER_LDFLAGS="-Wl,--export-dynamic"
  8645. fi
  8646. WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
  8647. case $host_cpu in
  8648. *i[3456789]86* | x86_64 | *aarch64*)
  8649. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
  8650. $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
  8651. if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
  8652. $as_echo_n "(cached) " >&6
  8653. else
  8654. ac_wine_try_cflags_saved=$CFLAGS
  8655. CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
  8656. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8657. /* end confdefs.h. */
  8658. int main(int argc, char **argv) { return 0; }
  8659. _ACEOF
  8660. if ac_fn_c_try_link "$LINENO"; then :
  8661. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
  8662. else
  8663. ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
  8664. fi
  8665. rm -f core conftest.err conftest.$ac_objext \
  8666. conftest$ac_exeext conftest.$ac_ext
  8667. CFLAGS=$ac_wine_try_cflags_saved
  8668. fi
  8669. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
  8670. $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
  8671. if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
  8672. case $host_os in
  8673. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
  8674. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
  8675. esac
  8676. else
  8677. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
  8678. $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
  8679. if ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+:} false; then :
  8680. $as_echo_n "(cached) " >&6
  8681. else
  8682. ac_wine_try_cflags_saved=$CFLAGS
  8683. CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
  8684. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8685. /* end confdefs.h. */
  8686. int main(int argc, char **argv) { return 0; }
  8687. _ACEOF
  8688. if ac_fn_c_try_link "$LINENO"; then :
  8689. ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
  8690. else
  8691. ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
  8692. fi
  8693. rm -f core conftest.err conftest.$ac_objext \
  8694. conftest$ac_exeext conftest.$ac_ext
  8695. CFLAGS=$ac_wine_try_cflags_saved
  8696. fi
  8697. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
  8698. $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
  8699. if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes; then :
  8700. case $host_os in
  8701. freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
  8702. *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
  8703. esac
  8704. fi
  8705. # Extract the first word of "prelink", so it can be a program name with args.
  8706. set dummy prelink; ac_word=$2
  8707. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8708. $as_echo_n "checking for $ac_word... " >&6; }
  8709. if ${ac_cv_path_PRELINK+:} false; then :
  8710. $as_echo_n "(cached) " >&6
  8711. else
  8712. case $PRELINK in
  8713. [\\/]* | ?:[\\/]*)
  8714. ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
  8715. ;;
  8716. *)
  8717. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8718. for as_dir in /sbin /usr/sbin $PATH
  8719. do
  8720. IFS=$as_save_IFS
  8721. test -z "$as_dir" && as_dir=.
  8722. for ac_exec_ext in '' $ac_executable_extensions; do
  8723. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8724. ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
  8725. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8726. break 2
  8727. fi
  8728. done
  8729. done
  8730. IFS=$as_save_IFS
  8731. test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
  8732. ;;
  8733. esac
  8734. fi
  8735. PRELINK=$ac_cv_path_PRELINK
  8736. if test -n "$PRELINK"; then
  8737. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
  8738. $as_echo "$PRELINK" >&6; }
  8739. else
  8740. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8741. $as_echo "no" >&6; }
  8742. fi
  8743. if test "x$PRELINK" = xfalse
  8744. then
  8745. as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
  8746. fi
  8747. fi
  8748. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
  8749. $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
  8750. if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
  8751. $as_echo_n "(cached) " >&6
  8752. else
  8753. ac_wine_try_cflags_saved=$CFLAGS
  8754. CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
  8755. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8756. /* end confdefs.h. */
  8757. int main(int argc, char **argv) { return 0; }
  8758. _ACEOF
  8759. if ac_fn_c_try_link "$LINENO"; then :
  8760. ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
  8761. else
  8762. ac_cv_cflags__Wl__z_max_page_size_0x1000=no
  8763. fi
  8764. rm -f core conftest.err conftest.$ac_objext \
  8765. conftest$ac_exeext conftest.$ac_ext
  8766. CFLAGS=$ac_wine_try_cflags_saved
  8767. fi
  8768. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
  8769. $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
  8770. if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
  8771. WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
  8772. fi
  8773. ;;
  8774. esac
  8775. else
  8776. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
  8777. $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
  8778. if ${ac_cv_c_dll_unixware+:} false; then :
  8779. $as_echo_n "(cached) " >&6
  8780. else
  8781. ac_wine_try_cflags_saved=$CFLAGS
  8782. CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
  8783. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8784. /* end confdefs.h. */
  8785. void myfunc() {}
  8786. _ACEOF
  8787. if ac_fn_c_try_link "$LINENO"; then :
  8788. ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
  8789. else
  8790. ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
  8791. fi
  8792. rm -f core conftest.err conftest.$ac_objext \
  8793. conftest$ac_exeext conftest.$ac_ext
  8794. CFLAGS=$ac_wine_try_cflags_saved
  8795. if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
  8796. ac_cv_c_dll_unixware="yes"
  8797. else
  8798. ac_cv_c_dll_unixware="no"
  8799. fi
  8800. fi
  8801. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
  8802. $as_echo "$ac_cv_c_dll_unixware" >&6; }
  8803. if test "$ac_cv_c_dll_unixware" = "yes"
  8804. then
  8805. LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
  8806. fi
  8807. fi
  8808. LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
  8809. LIBWINE_DEPENDS="wine.map"
  8810. TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
  8811. ;;
  8812. esac
  8813. enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
  8814. enable_wineqtdecoder=${enable_wineqtdecoder:-no}
  8815. enable_wineandroid_drv=${enable_wineandroid_drv:-no}
  8816. enable_winemac_drv=${enable_winemac_drv:-no}
  8817. test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
  8818. if test "x$with_mingw" != xno
  8819. then
  8820. case "x$with_mingw" in
  8821. x|xyes) case "$host_cpu" in
  8822. aarch64*)
  8823. ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
  8824. arm*)
  8825. ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
  8826. i[3456789]86*)
  8827. 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
  8828. i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
  8829. mingw32-gcc" ;;
  8830. x86_64)
  8831. 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
  8832. x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
  8833. *)
  8834. ac_prefix_list="" ;;
  8835. esac
  8836. for ac_prog in $ac_prefix_list
  8837. do
  8838. # Extract the first word of "$ac_prog", so it can be a program name with args.
  8839. set dummy $ac_prog; ac_word=$2
  8840. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
  8841. $as_echo_n "checking for $ac_word... " >&6; }
  8842. if ${ac_cv_prog_CROSSCC+:} false; then :
  8843. $as_echo_n "(cached) " >&6
  8844. else
  8845. if test -n "$CROSSCC"; then
  8846. ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
  8847. else
  8848. as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  8849. for as_dir in $PATH
  8850. do
  8851. IFS=$as_save_IFS
  8852. test -z "$as_dir" && as_dir=.
  8853. for ac_exec_ext in '' $ac_executable_extensions; do
  8854. if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
  8855. ac_cv_prog_CROSSCC="$ac_prog"
  8856. $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
  8857. break 2
  8858. fi
  8859. done
  8860. done
  8861. IFS=$as_save_IFS
  8862. fi
  8863. fi
  8864. CROSSCC=$ac_cv_prog_CROSSCC
  8865. if test -n "$CROSSCC"; then
  8866. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
  8867. $as_echo "$CROSSCC" >&6; }
  8868. else
  8869. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  8870. $as_echo "no" >&6; }
  8871. fi
  8872. test -n "$CROSSCC" && break
  8873. done
  8874. test -n "$CROSSCC" || CROSSCC="false"
  8875. ;;
  8876. *) CROSSCC=$with_mingw ;;
  8877. esac
  8878. if test "$CROSSCC" != "false"
  8879. then
  8880. ac_save_CC="$CC"
  8881. saved_CFLAGS=$CFLAGS
  8882. CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
  8883. EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
  8884. CC="$CROSSCC"
  8885. CFLAGS=$CROSSCFLAGS
  8886. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
  8887. $as_echo_n "checking whether $CROSSCC works... " >&6; }
  8888. if ${wine_cv_crosscc+:} false; then :
  8889. $as_echo_n "(cached) " >&6
  8890. else
  8891. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8892. /* end confdefs.h. */
  8893. int
  8894. main ()
  8895. {
  8896. ;
  8897. return 0;
  8898. }
  8899. _ACEOF
  8900. if ac_fn_c_try_compile "$LINENO"; then :
  8901. wine_cv_crosscc=yes
  8902. else
  8903. wine_cv_crosscc=no
  8904. fi
  8905. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  8906. fi
  8907. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
  8908. $as_echo "$wine_cv_crosscc" >&6; }
  8909. if test $wine_cv_crosscc = yes
  8910. then
  8911. set x $CROSSCC
  8912. shift
  8913. while test $# -ge 1
  8914. do
  8915. case "$1" in
  8916. *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
  8917. *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
  8918. esac
  8919. shift
  8920. done
  8921. llvm_target=$CROSSTARGET
  8922. llvm_cflags="-fuse-ld=lld"
  8923. if test -z "$llvm_target"
  8924. then
  8925. case $host_cpu in
  8926. *i[3456789]86*) llvm_target=i686-windows ;;
  8927. *) llvm_target=$host_cpu-windows ;;
  8928. esac
  8929. fi
  8930. case $llvm_target in
  8931. *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
  8932. esac
  8933. as_ac_var=`$as_echo "ac_cv_crosscflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
  8934. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -target $llvm_target $llvm_cflags" >&5
  8935. $as_echo_n "checking whether the cross-compiler supports -target $llvm_target $llvm_cflags... " >&6; }
  8936. if eval \${$as_ac_var+:} false; then :
  8937. $as_echo_n "(cached) " >&6
  8938. else
  8939. ac_wine_try_cflags_saved=$CFLAGS
  8940. ac_wine_try_cflags_saved_cc=$CC
  8941. ac_wine_try_cflags_saved_exeext=$ac_exeext
  8942. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
  8943. CC="$CROSSCC"
  8944. ac_exeext=".exe"
  8945. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8946. /* end confdefs.h. */
  8947. int __cdecl mainCRTStartup(void) { return 0; }
  8948. _ACEOF
  8949. if ac_fn_c_try_link "$LINENO"; then :
  8950. eval "$as_ac_var=yes"
  8951. else
  8952. eval "$as_ac_var=no"
  8953. fi
  8954. rm -f core conftest.err conftest.$ac_objext \
  8955. conftest$ac_exeext conftest.$ac_ext
  8956. CFLAGS=$ac_wine_try_cflags_saved
  8957. CC=$ac_wine_try_cflags_saved_cc
  8958. ac_exeext=$ac_wine_try_cflags_saved_exeext
  8959. fi
  8960. eval ac_res=\$$as_ac_var
  8961. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
  8962. $as_echo "$ac_res" >&6; }
  8963. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  8964. CROSSTARGET=$llvm_target
  8965. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -target $CROSSTARGET"
  8966. DELAYLOADFLAG="-Wl,-delayload,"
  8967. CFLAGS="$CFLAGS $llvm_cflags"
  8968. fi
  8969. fi
  8970. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
  8971. $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
  8972. if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
  8973. $as_echo_n "(cached) " >&6
  8974. else
  8975. ac_wine_try_cflags_saved=$CFLAGS
  8976. ac_wine_try_cflags_saved_cc=$CC
  8977. ac_wine_try_cflags_saved_exeext=$ac_exeext
  8978. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
  8979. CC="$CROSSCC"
  8980. ac_exeext=".exe"
  8981. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  8982. /* end confdefs.h. */
  8983. int __cdecl mainCRTStartup(void) { return 0; }
  8984. _ACEOF
  8985. if ac_fn_c_try_link "$LINENO"; then :
  8986. ac_cv_crosscflags__fno_strict_aliasing=yes
  8987. else
  8988. ac_cv_crosscflags__fno_strict_aliasing=no
  8989. fi
  8990. rm -f core conftest.err conftest.$ac_objext \
  8991. conftest$ac_exeext conftest.$ac_ext
  8992. CFLAGS=$ac_wine_try_cflags_saved
  8993. CC=$ac_wine_try_cflags_saved_cc
  8994. ac_exeext=$ac_wine_try_cflags_saved_exeext
  8995. fi
  8996. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
  8997. $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
  8998. if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
  8999. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
  9000. fi
  9001. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
  9002. $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
  9003. if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
  9004. $as_echo_n "(cached) " >&6
  9005. else
  9006. ac_wine_try_cflags_saved=$CFLAGS
  9007. ac_wine_try_cflags_saved_cc=$CC
  9008. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9009. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
  9010. CC="$CROSSCC"
  9011. ac_exeext=".exe"
  9012. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9013. /* end confdefs.h. */
  9014. int __cdecl mainCRTStartup(void) { return 0; }
  9015. _ACEOF
  9016. if ac_fn_c_try_link "$LINENO"; then :
  9017. ac_cv_crosscflags__Werror_unknown_warning_option=yes
  9018. else
  9019. ac_cv_crosscflags__Werror_unknown_warning_option=no
  9020. fi
  9021. rm -f core conftest.err conftest.$ac_objext \
  9022. conftest$ac_exeext conftest.$ac_ext
  9023. CFLAGS=$ac_wine_try_cflags_saved
  9024. CC=$ac_wine_try_cflags_saved_cc
  9025. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9026. fi
  9027. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
  9028. $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
  9029. if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
  9030. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  9031. fi
  9032. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=ignored-optimization-argument" >&5
  9033. $as_echo_n "checking whether the cross-compiler supports -Werror=ignored-optimization-argument... " >&6; }
  9034. if ${ac_cv_crosscflags__Werror_ignored_optimization_argument+:} false; then :
  9035. $as_echo_n "(cached) " >&6
  9036. else
  9037. ac_wine_try_cflags_saved=$CFLAGS
  9038. ac_wine_try_cflags_saved_cc=$CC
  9039. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9040. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
  9041. CC="$CROSSCC"
  9042. ac_exeext=".exe"
  9043. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9044. /* end confdefs.h. */
  9045. int __cdecl mainCRTStartup(void) { return 0; }
  9046. _ACEOF
  9047. if ac_fn_c_try_link "$LINENO"; then :
  9048. ac_cv_crosscflags__Werror_ignored_optimization_argument=yes
  9049. else
  9050. ac_cv_crosscflags__Werror_ignored_optimization_argument=no
  9051. fi
  9052. rm -f core conftest.err conftest.$ac_objext \
  9053. conftest$ac_exeext conftest.$ac_ext
  9054. CFLAGS=$ac_wine_try_cflags_saved
  9055. CC=$ac_wine_try_cflags_saved_cc
  9056. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9057. fi
  9058. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_ignored_optimization_argument" >&5
  9059. $as_echo "$ac_cv_crosscflags__Werror_ignored_optimization_argument" >&6; }
  9060. if test "x$ac_cv_crosscflags__Werror_ignored_optimization_argument" = xyes; then :
  9061. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  9062. fi
  9063. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
  9064. $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
  9065. if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
  9066. $as_echo_n "(cached) " >&6
  9067. else
  9068. ac_wine_try_cflags_saved=$CFLAGS
  9069. ac_wine_try_cflags_saved_cc=$CC
  9070. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9071. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
  9072. CC="$CROSSCC"
  9073. ac_exeext=".exe"
  9074. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9075. /* end confdefs.h. */
  9076. int __cdecl mainCRTStartup(void) { return 0; }
  9077. _ACEOF
  9078. if ac_fn_c_try_link "$LINENO"; then :
  9079. ac_cv_crosscflags__Wdeclaration_after_statement=yes
  9080. else
  9081. ac_cv_crosscflags__Wdeclaration_after_statement=no
  9082. fi
  9083. rm -f core conftest.err conftest.$ac_objext \
  9084. conftest$ac_exeext conftest.$ac_ext
  9085. CFLAGS=$ac_wine_try_cflags_saved
  9086. CC=$ac_wine_try_cflags_saved_cc
  9087. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9088. fi
  9089. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
  9090. $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
  9091. if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
  9092. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
  9093. fi
  9094. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
  9095. $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
  9096. if ${ac_cv_crosscflags__Wempty_body+:} false; then :
  9097. $as_echo_n "(cached) " >&6
  9098. else
  9099. ac_wine_try_cflags_saved=$CFLAGS
  9100. ac_wine_try_cflags_saved_cc=$CC
  9101. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9102. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
  9103. CC="$CROSSCC"
  9104. ac_exeext=".exe"
  9105. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9106. /* end confdefs.h. */
  9107. int __cdecl mainCRTStartup(void) { return 0; }
  9108. _ACEOF
  9109. if ac_fn_c_try_link "$LINENO"; then :
  9110. ac_cv_crosscflags__Wempty_body=yes
  9111. else
  9112. ac_cv_crosscflags__Wempty_body=no
  9113. fi
  9114. rm -f core conftest.err conftest.$ac_objext \
  9115. conftest$ac_exeext conftest.$ac_ext
  9116. CFLAGS=$ac_wine_try_cflags_saved
  9117. CC=$ac_wine_try_cflags_saved_cc
  9118. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9119. fi
  9120. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
  9121. $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
  9122. if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
  9123. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
  9124. fi
  9125. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
  9126. $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
  9127. if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
  9128. $as_echo_n "(cached) " >&6
  9129. else
  9130. ac_wine_try_cflags_saved=$CFLAGS
  9131. ac_wine_try_cflags_saved_cc=$CC
  9132. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9133. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
  9134. CC="$CROSSCC"
  9135. ac_exeext=".exe"
  9136. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9137. /* end confdefs.h. */
  9138. int __cdecl mainCRTStartup(void) { return 0; }
  9139. _ACEOF
  9140. if ac_fn_c_try_link "$LINENO"; then :
  9141. ac_cv_crosscflags__Wignored_qualifiers=yes
  9142. else
  9143. ac_cv_crosscflags__Wignored_qualifiers=no
  9144. fi
  9145. rm -f core conftest.err conftest.$ac_objext \
  9146. conftest$ac_exeext conftest.$ac_ext
  9147. CFLAGS=$ac_wine_try_cflags_saved
  9148. CC=$ac_wine_try_cflags_saved_cc
  9149. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9150. fi
  9151. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
  9152. $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
  9153. if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
  9154. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
  9155. fi
  9156. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Winit-self" >&5
  9157. $as_echo_n "checking whether the cross-compiler supports -Winit-self... " >&6; }
  9158. if ${ac_cv_crosscflags__Winit_self+:} false; then :
  9159. $as_echo_n "(cached) " >&6
  9160. else
  9161. ac_wine_try_cflags_saved=$CFLAGS
  9162. ac_wine_try_cflags_saved_cc=$CC
  9163. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9164. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Winit-self"
  9165. CC="$CROSSCC"
  9166. ac_exeext=".exe"
  9167. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9168. /* end confdefs.h. */
  9169. int __cdecl mainCRTStartup(void) { return 0; }
  9170. _ACEOF
  9171. if ac_fn_c_try_link "$LINENO"; then :
  9172. ac_cv_crosscflags__Winit_self=yes
  9173. else
  9174. ac_cv_crosscflags__Winit_self=no
  9175. fi
  9176. rm -f core conftest.err conftest.$ac_objext \
  9177. conftest$ac_exeext conftest.$ac_ext
  9178. CFLAGS=$ac_wine_try_cflags_saved
  9179. CC=$ac_wine_try_cflags_saved_cc
  9180. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9181. fi
  9182. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Winit_self" >&5
  9183. $as_echo "$ac_cv_crosscflags__Winit_self" >&6; }
  9184. if test "x$ac_cv_crosscflags__Winit_self" = xyes; then :
  9185. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Winit-self"
  9186. fi
  9187. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
  9188. $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
  9189. if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
  9190. $as_echo_n "(cached) " >&6
  9191. else
  9192. ac_wine_try_cflags_saved=$CFLAGS
  9193. ac_wine_try_cflags_saved_cc=$CC
  9194. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9195. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
  9196. CC="$CROSSCC"
  9197. ac_exeext=".exe"
  9198. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9199. /* end confdefs.h. */
  9200. int __cdecl mainCRTStartup(void) { return 0; }
  9201. _ACEOF
  9202. if ac_fn_c_try_link "$LINENO"; then :
  9203. ac_cv_crosscflags__Wpacked_not_aligned=yes
  9204. else
  9205. ac_cv_crosscflags__Wpacked_not_aligned=no
  9206. fi
  9207. rm -f core conftest.err conftest.$ac_objext \
  9208. conftest$ac_exeext conftest.$ac_ext
  9209. CFLAGS=$ac_wine_try_cflags_saved
  9210. CC=$ac_wine_try_cflags_saved_cc
  9211. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9212. fi
  9213. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
  9214. $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
  9215. if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
  9216. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
  9217. fi
  9218. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
  9219. $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
  9220. if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
  9221. $as_echo_n "(cached) " >&6
  9222. else
  9223. ac_wine_try_cflags_saved=$CFLAGS
  9224. ac_wine_try_cflags_saved_cc=$CC
  9225. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9226. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
  9227. CC="$CROSSCC"
  9228. ac_exeext=".exe"
  9229. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9230. /* end confdefs.h. */
  9231. int __cdecl mainCRTStartup(void) { return 0; }
  9232. _ACEOF
  9233. if ac_fn_c_try_link "$LINENO"; then :
  9234. ac_cv_crosscflags__Wpragma_pack=yes
  9235. else
  9236. ac_cv_crosscflags__Wpragma_pack=no
  9237. fi
  9238. rm -f core conftest.err conftest.$ac_objext \
  9239. conftest$ac_exeext conftest.$ac_ext
  9240. CFLAGS=$ac_wine_try_cflags_saved
  9241. CC=$ac_wine_try_cflags_saved_cc
  9242. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9243. fi
  9244. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
  9245. $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
  9246. if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
  9247. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
  9248. fi
  9249. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
  9250. $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
  9251. if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
  9252. $as_echo_n "(cached) " >&6
  9253. else
  9254. ac_wine_try_cflags_saved=$CFLAGS
  9255. ac_wine_try_cflags_saved_cc=$CC
  9256. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9257. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
  9258. CC="$CROSSCC"
  9259. ac_exeext=".exe"
  9260. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9261. /* end confdefs.h. */
  9262. int __cdecl mainCRTStartup(void) { return 0; }
  9263. _ACEOF
  9264. if ac_fn_c_try_link "$LINENO"; then :
  9265. ac_cv_crosscflags__Wshift_overflow_2=yes
  9266. else
  9267. ac_cv_crosscflags__Wshift_overflow_2=no
  9268. fi
  9269. rm -f core conftest.err conftest.$ac_objext \
  9270. conftest$ac_exeext conftest.$ac_ext
  9271. CFLAGS=$ac_wine_try_cflags_saved
  9272. CC=$ac_wine_try_cflags_saved_cc
  9273. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9274. fi
  9275. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
  9276. $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
  9277. if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
  9278. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
  9279. fi
  9280. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
  9281. $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
  9282. if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
  9283. $as_echo_n "(cached) " >&6
  9284. else
  9285. ac_wine_try_cflags_saved=$CFLAGS
  9286. ac_wine_try_cflags_saved_cc=$CC
  9287. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9288. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
  9289. CC="$CROSSCC"
  9290. ac_exeext=".exe"
  9291. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9292. /* end confdefs.h. */
  9293. int __cdecl mainCRTStartup(void) { return 0; }
  9294. _ACEOF
  9295. if ac_fn_c_try_link "$LINENO"; then :
  9296. ac_cv_crosscflags__Wstrict_prototypes=yes
  9297. else
  9298. ac_cv_crosscflags__Wstrict_prototypes=no
  9299. fi
  9300. rm -f core conftest.err conftest.$ac_objext \
  9301. conftest$ac_exeext conftest.$ac_ext
  9302. CFLAGS=$ac_wine_try_cflags_saved
  9303. CC=$ac_wine_try_cflags_saved_cc
  9304. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9305. fi
  9306. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
  9307. $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
  9308. if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
  9309. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
  9310. fi
  9311. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
  9312. $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
  9313. if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
  9314. $as_echo_n "(cached) " >&6
  9315. else
  9316. ac_wine_try_cflags_saved=$CFLAGS
  9317. ac_wine_try_cflags_saved_cc=$CC
  9318. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9319. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
  9320. CC="$CROSSCC"
  9321. ac_exeext=".exe"
  9322. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9323. /* end confdefs.h. */
  9324. int __cdecl mainCRTStartup(void) { return 0; }
  9325. _ACEOF
  9326. if ac_fn_c_try_link "$LINENO"; then :
  9327. ac_cv_crosscflags__Wtype_limits=yes
  9328. else
  9329. ac_cv_crosscflags__Wtype_limits=no
  9330. fi
  9331. rm -f core conftest.err conftest.$ac_objext \
  9332. conftest$ac_exeext conftest.$ac_ext
  9333. CFLAGS=$ac_wine_try_cflags_saved
  9334. CC=$ac_wine_try_cflags_saved_cc
  9335. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9336. fi
  9337. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
  9338. $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
  9339. if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
  9340. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
  9341. fi
  9342. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
  9343. $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
  9344. if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
  9345. $as_echo_n "(cached) " >&6
  9346. else
  9347. ac_wine_try_cflags_saved=$CFLAGS
  9348. ac_wine_try_cflags_saved_cc=$CC
  9349. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9350. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
  9351. CC="$CROSSCC"
  9352. ac_exeext=".exe"
  9353. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9354. /* end confdefs.h. */
  9355. int __cdecl mainCRTStartup(void) { return 0; }
  9356. _ACEOF
  9357. if ac_fn_c_try_link "$LINENO"; then :
  9358. ac_cv_crosscflags__Wunused_but_set_parameter=yes
  9359. else
  9360. ac_cv_crosscflags__Wunused_but_set_parameter=no
  9361. fi
  9362. rm -f core conftest.err conftest.$ac_objext \
  9363. conftest$ac_exeext conftest.$ac_ext
  9364. CFLAGS=$ac_wine_try_cflags_saved
  9365. CC=$ac_wine_try_cflags_saved_cc
  9366. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9367. fi
  9368. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
  9369. $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
  9370. if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
  9371. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
  9372. fi
  9373. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
  9374. $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
  9375. if ${ac_cv_crosscflags__Wvla+:} false; then :
  9376. $as_echo_n "(cached) " >&6
  9377. else
  9378. ac_wine_try_cflags_saved=$CFLAGS
  9379. ac_wine_try_cflags_saved_cc=$CC
  9380. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9381. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wvla"
  9382. CC="$CROSSCC"
  9383. ac_exeext=".exe"
  9384. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9385. /* end confdefs.h. */
  9386. int __cdecl mainCRTStartup(void) { return 0; }
  9387. _ACEOF
  9388. if ac_fn_c_try_link "$LINENO"; then :
  9389. ac_cv_crosscflags__Wvla=yes
  9390. else
  9391. ac_cv_crosscflags__Wvla=no
  9392. fi
  9393. rm -f core conftest.err conftest.$ac_objext \
  9394. conftest$ac_exeext conftest.$ac_ext
  9395. CFLAGS=$ac_wine_try_cflags_saved
  9396. CC=$ac_wine_try_cflags_saved_cc
  9397. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9398. fi
  9399. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
  9400. $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
  9401. if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
  9402. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
  9403. fi
  9404. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
  9405. $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
  9406. if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
  9407. $as_echo_n "(cached) " >&6
  9408. else
  9409. ac_wine_try_cflags_saved=$CFLAGS
  9410. ac_wine_try_cflags_saved_cc=$CC
  9411. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9412. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
  9413. CC="$CROSSCC"
  9414. ac_exeext=".exe"
  9415. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9416. /* end confdefs.h. */
  9417. int __cdecl mainCRTStartup(void) { return 0; }
  9418. _ACEOF
  9419. if ac_fn_c_try_link "$LINENO"; then :
  9420. ac_cv_crosscflags__Wwrite_strings=yes
  9421. else
  9422. ac_cv_crosscflags__Wwrite_strings=no
  9423. fi
  9424. rm -f core conftest.err conftest.$ac_objext \
  9425. conftest$ac_exeext conftest.$ac_ext
  9426. CFLAGS=$ac_wine_try_cflags_saved
  9427. CC=$ac_wine_try_cflags_saved_cc
  9428. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9429. fi
  9430. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
  9431. $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
  9432. if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
  9433. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
  9434. fi
  9435. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
  9436. $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
  9437. if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
  9438. $as_echo_n "(cached) " >&6
  9439. else
  9440. ac_wine_try_cflags_saved=$CFLAGS
  9441. ac_wine_try_cflags_saved_cc=$CC
  9442. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9443. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
  9444. CC="$CROSSCC"
  9445. ac_exeext=".exe"
  9446. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9447. /* end confdefs.h. */
  9448. int __cdecl mainCRTStartup(void) { return 0; }
  9449. _ACEOF
  9450. if ac_fn_c_try_link "$LINENO"; then :
  9451. ac_cv_crosscflags__Wpointer_arith=yes
  9452. else
  9453. ac_cv_crosscflags__Wpointer_arith=no
  9454. fi
  9455. rm -f core conftest.err conftest.$ac_objext \
  9456. conftest$ac_exeext conftest.$ac_ext
  9457. CFLAGS=$ac_wine_try_cflags_saved
  9458. CC=$ac_wine_try_cflags_saved_cc
  9459. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9460. fi
  9461. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
  9462. $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
  9463. if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
  9464. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
  9465. fi
  9466. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
  9467. $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
  9468. if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
  9469. $as_echo_n "(cached) " >&6
  9470. else
  9471. ac_wine_try_cflags_saved=$CFLAGS
  9472. ac_wine_try_cflags_saved_cc=$CC
  9473. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9474. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
  9475. CC="$CROSSCC"
  9476. ac_exeext=".exe"
  9477. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9478. /* end confdefs.h. */
  9479. int __cdecl mainCRTStartup(void) { return 0; }
  9480. _ACEOF
  9481. if ac_fn_c_try_link "$LINENO"; then :
  9482. ac_cv_crosscflags__Wlogical_op=yes
  9483. else
  9484. ac_cv_crosscflags__Wlogical_op=no
  9485. fi
  9486. rm -f core conftest.err conftest.$ac_objext \
  9487. conftest$ac_exeext conftest.$ac_ext
  9488. CFLAGS=$ac_wine_try_cflags_saved
  9489. CC=$ac_wine_try_cflags_saved_cc
  9490. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9491. fi
  9492. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
  9493. $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
  9494. if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
  9495. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
  9496. fi
  9497. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wabsolute-value" >&5
  9498. $as_echo_n "checking whether the cross-compiler supports -Wabsolute-value... " >&6; }
  9499. if ${ac_cv_crosscflags__Wabsolute_value+:} false; then :
  9500. $as_echo_n "(cached) " >&6
  9501. else
  9502. ac_wine_try_cflags_saved=$CFLAGS
  9503. ac_wine_try_cflags_saved_cc=$CC
  9504. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9505. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
  9506. CC="$CROSSCC"
  9507. ac_exeext=".exe"
  9508. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9509. /* end confdefs.h. */
  9510. int __cdecl mainCRTStartup(void) { return 0; }
  9511. _ACEOF
  9512. if ac_fn_c_try_link "$LINENO"; then :
  9513. ac_cv_crosscflags__Wabsolute_value=yes
  9514. else
  9515. ac_cv_crosscflags__Wabsolute_value=no
  9516. fi
  9517. rm -f core conftest.err conftest.$ac_objext \
  9518. conftest$ac_exeext conftest.$ac_ext
  9519. CFLAGS=$ac_wine_try_cflags_saved
  9520. CC=$ac_wine_try_cflags_saved_cc
  9521. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9522. fi
  9523. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wabsolute_value" >&5
  9524. $as_echo "$ac_cv_crosscflags__Wabsolute_value" >&6; }
  9525. if test "x$ac_cv_crosscflags__Wabsolute_value" = xyes; then :
  9526. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wabsolute-value"
  9527. fi
  9528. case $host_cpu in
  9529. *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
  9530. $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
  9531. if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
  9532. $as_echo_n "(cached) " >&6
  9533. else
  9534. ac_wine_try_cflags_saved=$CFLAGS
  9535. ac_wine_try_cflags_saved_cc=$CC
  9536. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9537. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
  9538. CC="$CROSSCC"
  9539. ac_exeext=".exe"
  9540. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9541. /* end confdefs.h. */
  9542. int __cdecl mainCRTStartup(void) { return 0; }
  9543. _ACEOF
  9544. if ac_fn_c_try_link "$LINENO"; then :
  9545. ac_cv_crosscflags__fno_omit_frame_pointer=yes
  9546. else
  9547. ac_cv_crosscflags__fno_omit_frame_pointer=no
  9548. fi
  9549. rm -f core conftest.err conftest.$ac_objext \
  9550. conftest$ac_exeext conftest.$ac_ext
  9551. CFLAGS=$ac_wine_try_cflags_saved
  9552. CC=$ac_wine_try_cflags_saved_cc
  9553. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9554. fi
  9555. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
  9556. $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
  9557. if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
  9558. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
  9559. fi ;;
  9560. x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
  9561. $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
  9562. if ${ac_cv_crosscflags__Wno_format+:} false; then :
  9563. $as_echo_n "(cached) " >&6
  9564. else
  9565. ac_wine_try_cflags_saved=$CFLAGS
  9566. ac_wine_try_cflags_saved_cc=$CC
  9567. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9568. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
  9569. CC="$CROSSCC"
  9570. ac_exeext=".exe"
  9571. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9572. /* end confdefs.h. */
  9573. int __cdecl mainCRTStartup(void) { return 0; }
  9574. _ACEOF
  9575. if ac_fn_c_try_link "$LINENO"; then :
  9576. ac_cv_crosscflags__Wno_format=yes
  9577. else
  9578. ac_cv_crosscflags__Wno_format=no
  9579. fi
  9580. rm -f core conftest.err conftest.$ac_objext \
  9581. conftest$ac_exeext conftest.$ac_ext
  9582. CFLAGS=$ac_wine_try_cflags_saved
  9583. CC=$ac_wine_try_cflags_saved_cc
  9584. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9585. fi
  9586. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
  9587. $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
  9588. if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
  9589. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
  9590. fi
  9591. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wformat-overflow" >&5
  9592. $as_echo_n "checking whether the cross-compiler supports -Wformat-overflow... " >&6; }
  9593. if ${ac_cv_crosscflags__Wformat_overflow+:} false; then :
  9594. $as_echo_n "(cached) " >&6
  9595. else
  9596. ac_wine_try_cflags_saved=$CFLAGS
  9597. ac_wine_try_cflags_saved_cc=$CC
  9598. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9599. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
  9600. CC="$CROSSCC"
  9601. ac_exeext=".exe"
  9602. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9603. /* end confdefs.h. */
  9604. int __cdecl mainCRTStartup(void) { return 0; }
  9605. _ACEOF
  9606. if ac_fn_c_try_link "$LINENO"; then :
  9607. ac_cv_crosscflags__Wformat_overflow=yes
  9608. else
  9609. ac_cv_crosscflags__Wformat_overflow=no
  9610. fi
  9611. rm -f core conftest.err conftest.$ac_objext \
  9612. conftest$ac_exeext conftest.$ac_ext
  9613. CFLAGS=$ac_wine_try_cflags_saved
  9614. CC=$ac_wine_try_cflags_saved_cc
  9615. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9616. fi
  9617. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wformat_overflow" >&5
  9618. $as_echo "$ac_cv_crosscflags__Wformat_overflow" >&6; }
  9619. if test "x$ac_cv_crosscflags__Wformat_overflow" = xyes; then :
  9620. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wformat-overflow"
  9621. fi
  9622. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wnonnull" >&5
  9623. $as_echo_n "checking whether the cross-compiler supports -Wnonnull... " >&6; }
  9624. if ${ac_cv_crosscflags__Wnonnull+:} false; then :
  9625. $as_echo_n "(cached) " >&6
  9626. else
  9627. ac_wine_try_cflags_saved=$CFLAGS
  9628. ac_wine_try_cflags_saved_cc=$CC
  9629. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9630. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
  9631. CC="$CROSSCC"
  9632. ac_exeext=".exe"
  9633. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9634. /* end confdefs.h. */
  9635. int __cdecl mainCRTStartup(void) { return 0; }
  9636. _ACEOF
  9637. if ac_fn_c_try_link "$LINENO"; then :
  9638. ac_cv_crosscflags__Wnonnull=yes
  9639. else
  9640. ac_cv_crosscflags__Wnonnull=no
  9641. fi
  9642. rm -f core conftest.err conftest.$ac_objext \
  9643. conftest$ac_exeext conftest.$ac_ext
  9644. CFLAGS=$ac_wine_try_cflags_saved
  9645. CC=$ac_wine_try_cflags_saved_cc
  9646. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9647. fi
  9648. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wnonnull" >&5
  9649. $as_echo "$ac_cv_crosscflags__Wnonnull" >&6; }
  9650. if test "x$ac_cv_crosscflags__Wnonnull" = xyes; then :
  9651. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wnonnull"
  9652. fi
  9653. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -mcx16" >&5
  9654. $as_echo_n "checking whether the cross-compiler supports -mcx16... " >&6; }
  9655. if ${ac_cv_crosscflags__mcx16+:} false; then :
  9656. $as_echo_n "(cached) " >&6
  9657. else
  9658. ac_wine_try_cflags_saved=$CFLAGS
  9659. ac_wine_try_cflags_saved_cc=$CC
  9660. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9661. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -mcx16"
  9662. CC="$CROSSCC"
  9663. ac_exeext=".exe"
  9664. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9665. /* end confdefs.h. */
  9666. int __cdecl mainCRTStartup(void) { return 0; }
  9667. _ACEOF
  9668. if ac_fn_c_try_link "$LINENO"; then :
  9669. ac_cv_crosscflags__mcx16=yes
  9670. else
  9671. ac_cv_crosscflags__mcx16=no
  9672. fi
  9673. rm -f core conftest.err conftest.$ac_objext \
  9674. conftest$ac_exeext conftest.$ac_ext
  9675. CFLAGS=$ac_wine_try_cflags_saved
  9676. CC=$ac_wine_try_cflags_saved_cc
  9677. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9678. fi
  9679. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__mcx16" >&5
  9680. $as_echo "$ac_cv_crosscflags__mcx16" >&6; }
  9681. if test "x$ac_cv_crosscflags__mcx16" = xyes; then :
  9682. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -mcx16"
  9683. fi ;;
  9684. aarch64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
  9685. $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
  9686. if ${ac_cv_crosscflags__Wno_format+:} false; then :
  9687. $as_echo_n "(cached) " >&6
  9688. else
  9689. ac_wine_try_cflags_saved=$CFLAGS
  9690. ac_wine_try_cflags_saved_cc=$CC
  9691. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9692. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wno-format"
  9693. CC="$CROSSCC"
  9694. ac_exeext=".exe"
  9695. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9696. /* end confdefs.h. */
  9697. int __cdecl mainCRTStartup(void) { return 0; }
  9698. _ACEOF
  9699. if ac_fn_c_try_link "$LINENO"; then :
  9700. ac_cv_crosscflags__Wno_format=yes
  9701. else
  9702. ac_cv_crosscflags__Wno_format=no
  9703. fi
  9704. rm -f core conftest.err conftest.$ac_objext \
  9705. conftest$ac_exeext conftest.$ac_ext
  9706. CFLAGS=$ac_wine_try_cflags_saved
  9707. CC=$ac_wine_try_cflags_saved_cc
  9708. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9709. fi
  9710. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
  9711. $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
  9712. if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
  9713. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
  9714. fi ;;
  9715. esac
  9716. if test -z "$CROSSDEBUG"
  9717. then
  9718. for ac_flag in $CROSSCFLAGS; do
  9719. case $ac_flag in
  9720. -gdwarf*) CROSSDEBUG=dwarf ;;
  9721. -gcodeview) CROSSDEBUG=pdb ;;
  9722. -g) CROSSDEBUG=${CROSSDEBUG:-dwarf} ;;
  9723. esac
  9724. done
  9725. fi
  9726. case $CROSSDEBUG in
  9727. *dwarf) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
  9728. $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
  9729. if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
  9730. $as_echo_n "(cached) " >&6
  9731. else
  9732. ac_wine_try_cflags_saved=$CFLAGS
  9733. ac_wine_try_cflags_saved_cc=$CC
  9734. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9735. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gdwarf-2"
  9736. CC="$CROSSCC"
  9737. ac_exeext=".exe"
  9738. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9739. /* end confdefs.h. */
  9740. int __cdecl mainCRTStartup(void) { return 0; }
  9741. _ACEOF
  9742. if ac_fn_c_try_link "$LINENO"; then :
  9743. ac_cv_crosscflags__gdwarf_2=yes
  9744. else
  9745. ac_cv_crosscflags__gdwarf_2=no
  9746. fi
  9747. rm -f core conftest.err conftest.$ac_objext \
  9748. conftest$ac_exeext conftest.$ac_ext
  9749. CFLAGS=$ac_wine_try_cflags_saved
  9750. CC=$ac_wine_try_cflags_saved_cc
  9751. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9752. fi
  9753. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
  9754. $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
  9755. if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
  9756. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
  9757. fi
  9758. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
  9759. $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
  9760. if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
  9761. $as_echo_n "(cached) " >&6
  9762. else
  9763. ac_wine_try_cflags_saved=$CFLAGS
  9764. ac_wine_try_cflags_saved_cc=$CC
  9765. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9766. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gstrict-dwarf"
  9767. CC="$CROSSCC"
  9768. ac_exeext=".exe"
  9769. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9770. /* end confdefs.h. */
  9771. int __cdecl mainCRTStartup(void) { return 0; }
  9772. _ACEOF
  9773. if ac_fn_c_try_link "$LINENO"; then :
  9774. ac_cv_crosscflags__gstrict_dwarf=yes
  9775. else
  9776. ac_cv_crosscflags__gstrict_dwarf=no
  9777. fi
  9778. rm -f core conftest.err conftest.$ac_objext \
  9779. conftest$ac_exeext conftest.$ac_ext
  9780. CFLAGS=$ac_wine_try_cflags_saved
  9781. CC=$ac_wine_try_cflags_saved_cc
  9782. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9783. fi
  9784. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
  9785. $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
  9786. if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
  9787. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
  9788. fi ;;
  9789. pdb) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gcodeview" >&5
  9790. $as_echo_n "checking whether the cross-compiler supports -gcodeview... " >&6; }
  9791. if ${ac_cv_crosscflags__gcodeview+:} false; then :
  9792. $as_echo_n "(cached) " >&6
  9793. else
  9794. ac_wine_try_cflags_saved=$CFLAGS
  9795. ac_wine_try_cflags_saved_cc=$CC
  9796. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9797. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -gcodeview"
  9798. CC="$CROSSCC"
  9799. ac_exeext=".exe"
  9800. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9801. /* end confdefs.h. */
  9802. int __cdecl mainCRTStartup(void) { return 0; }
  9803. _ACEOF
  9804. if ac_fn_c_try_link "$LINENO"; then :
  9805. ac_cv_crosscflags__gcodeview=yes
  9806. else
  9807. ac_cv_crosscflags__gcodeview=no
  9808. fi
  9809. rm -f core conftest.err conftest.$ac_objext \
  9810. conftest$ac_exeext conftest.$ac_ext
  9811. CFLAGS=$ac_wine_try_cflags_saved
  9812. CC=$ac_wine_try_cflags_saved_cc
  9813. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9814. fi
  9815. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gcodeview" >&5
  9816. $as_echo "$ac_cv_crosscflags__gcodeview" >&6; }
  9817. if test "x$ac_cv_crosscflags__gcodeview" = xyes; then :
  9818. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gcodeview"
  9819. fi ;;
  9820. esac
  9821. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fexcess-precision=standard" >&5
  9822. $as_echo_n "checking whether the cross-compiler supports -fexcess-precision=standard... " >&6; }
  9823. if ${ac_cv_crosscflags__fexcess_precision_standard+:} false; then :
  9824. $as_echo_n "(cached) " >&6
  9825. else
  9826. ac_wine_try_cflags_saved=$CFLAGS
  9827. ac_wine_try_cflags_saved_cc=$CC
  9828. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9829. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -fexcess-precision=standard"
  9830. CC="$CROSSCC"
  9831. ac_exeext=".exe"
  9832. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9833. /* end confdefs.h. */
  9834. int __cdecl mainCRTStartup(void) { return 0; }
  9835. _ACEOF
  9836. if ac_fn_c_try_link "$LINENO"; then :
  9837. ac_cv_crosscflags__fexcess_precision_standard=yes
  9838. else
  9839. ac_cv_crosscflags__fexcess_precision_standard=no
  9840. fi
  9841. rm -f core conftest.err conftest.$ac_objext \
  9842. conftest$ac_exeext conftest.$ac_ext
  9843. CFLAGS=$ac_wine_try_cflags_saved
  9844. CC=$ac_wine_try_cflags_saved_cc
  9845. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9846. fi
  9847. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fexcess_precision_standard" >&5
  9848. $as_echo "$ac_cv_crosscflags__fexcess_precision_standard" >&6; }
  9849. if test "x$ac_cv_crosscflags__fexcess_precision_standard" = xyes; then :
  9850. EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
  9851. fi
  9852. if test "x$enable_werror" = "xyes"
  9853. then
  9854. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
  9855. $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
  9856. if ${ac_cv_crosscflags__Werror+:} false; then :
  9857. $as_echo_n "(cached) " >&6
  9858. else
  9859. ac_wine_try_cflags_saved=$CFLAGS
  9860. ac_wine_try_cflags_saved_cc=$CC
  9861. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9862. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Werror"
  9863. CC="$CROSSCC"
  9864. ac_exeext=".exe"
  9865. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9866. /* end confdefs.h. */
  9867. int __cdecl mainCRTStartup(void) { return 0; }
  9868. _ACEOF
  9869. if ac_fn_c_try_link "$LINENO"; then :
  9870. ac_cv_crosscflags__Werror=yes
  9871. else
  9872. ac_cv_crosscflags__Werror=no
  9873. fi
  9874. rm -f core conftest.err conftest.$ac_objext \
  9875. conftest$ac_exeext conftest.$ac_ext
  9876. CFLAGS=$ac_wine_try_cflags_saved
  9877. CC=$ac_wine_try_cflags_saved_cc
  9878. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9879. fi
  9880. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
  9881. $as_echo "$ac_cv_crosscflags__Werror" >&6; }
  9882. if test "x$ac_cv_crosscflags__Werror" = xyes; then :
  9883. EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
  9884. fi
  9885. fi
  9886. if test "x$enable_build_id" = "xyes"
  9887. then
  9888. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wl,--build-id" >&5
  9889. $as_echo_n "checking whether the cross-compiler supports -Wl,--build-id... " >&6; }
  9890. if ${ac_cv_crosscflags__Wl___build_id+:} false; then :
  9891. $as_echo_n "(cached) " >&6
  9892. else
  9893. ac_wine_try_cflags_saved=$CFLAGS
  9894. ac_wine_try_cflags_saved_cc=$CC
  9895. ac_wine_try_cflags_saved_exeext=$ac_exeext
  9896. CFLAGS="$CFLAGS $EXTRACROSSCFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
  9897. CC="$CROSSCC"
  9898. ac_exeext=".exe"
  9899. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9900. /* end confdefs.h. */
  9901. int __cdecl mainCRTStartup(void) { return 0; }
  9902. _ACEOF
  9903. if ac_fn_c_try_link "$LINENO"; then :
  9904. ac_cv_crosscflags__Wl___build_id=yes
  9905. else
  9906. ac_cv_crosscflags__Wl___build_id=no
  9907. fi
  9908. rm -f core conftest.err conftest.$ac_objext \
  9909. conftest$ac_exeext conftest.$ac_ext
  9910. CFLAGS=$ac_wine_try_cflags_saved
  9911. CC=$ac_wine_try_cflags_saved_cc
  9912. ac_exeext=$ac_wine_try_cflags_saved_exeext
  9913. fi
  9914. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wl___build_id" >&5
  9915. $as_echo "$ac_cv_crosscflags__Wl___build_id" >&6; }
  9916. if test "x$ac_cv_crosscflags__Wl___build_id" = xyes; then :
  9917. CROSSCFLAGS="$CROSSCFLAGS -Wl,--build-id"
  9918. CROSSLDFLAGS="$CROSSLDFLAGS -Wl,--build-id"
  9919. fi
  9920. fi
  9921. CFLAGS=$saved_CFLAGS
  9922. CC="$ac_save_CC"
  9923. fi
  9924. fi
  9925. if test "x$CROSSTARGET" = "x"; then :
  9926. case "x$with_mingw" in
  9927. x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
  9928. xno) ;;
  9929. *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
  9930. This is an error since --with-mingw was requested." "$LINENO" 5 ;;
  9931. esac
  9932. fi
  9933. if test "$ac_cv_header_pthread_h" = "yes"
  9934. then
  9935. ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
  9936. if test "x$ac_cv_func_pthread_create" = xyes; then :
  9937. else
  9938. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
  9939. $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
  9940. if ${ac_cv_lib_pthread_pthread_create+:} false; then :
  9941. $as_echo_n "(cached) " >&6
  9942. else
  9943. ac_check_lib_save_LIBS=$LIBS
  9944. LIBS="-lpthread $LIBS"
  9945. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  9946. /* end confdefs.h. */
  9947. /* Override any GCC internal prototype to avoid an error.
  9948. Use char because int might match the return type of a GCC
  9949. builtin and then its argument prototype would still apply. */
  9950. #ifdef __cplusplus
  9951. extern "C"
  9952. #endif
  9953. char pthread_create ();
  9954. int
  9955. main ()
  9956. {
  9957. return pthread_create ();
  9958. ;
  9959. return 0;
  9960. }
  9961. _ACEOF
  9962. if ac_fn_c_try_link "$LINENO"; then :
  9963. ac_cv_lib_pthread_pthread_create=yes
  9964. else
  9965. ac_cv_lib_pthread_pthread_create=no
  9966. fi
  9967. rm -f core conftest.err conftest.$ac_objext \
  9968. conftest$ac_exeext conftest.$ac_ext
  9969. LIBS=$ac_check_lib_save_LIBS
  9970. fi
  9971. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
  9972. $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
  9973. if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
  9974. PTHREAD_LIBS="-lpthread"
  9975. fi
  9976. fi
  9977. fi
  9978. if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
  9979. case "x$with_pthread" in
  9980. xno) ;;
  9981. *) as_fn_error $? "pthread ${notice_platform}development files not found.
  9982. Wine cannot support threads without libpthread.
  9983. Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
  9984. esac
  9985. fi
  9986. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
  9987. $as_echo_n "checking for X... " >&6; }
  9988. # Check whether --with-x was given.
  9989. if test "${with_x+set}" = set; then :
  9990. withval=$with_x;
  9991. fi
  9992. # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
  9993. if test "x$with_x" = xno; then
  9994. # The user explicitly disabled X.
  9995. have_x=disabled
  9996. else
  9997. case $x_includes,$x_libraries in #(
  9998. *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
  9999. *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
  10000. $as_echo_n "(cached) " >&6
  10001. else
  10002. # One or both of the vars are not set, and there is no cached value.
  10003. ac_x_includes=no ac_x_libraries=no
  10004. rm -f -r conftest.dir
  10005. if mkdir conftest.dir; then
  10006. cd conftest.dir
  10007. cat >Imakefile <<'_ACEOF'
  10008. incroot:
  10009. @echo incroot='${INCROOT}'
  10010. usrlibdir:
  10011. @echo usrlibdir='${USRLIBDIR}'
  10012. libdir:
  10013. @echo libdir='${LIBDIR}'
  10014. _ACEOF
  10015. if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
  10016. # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
  10017. for ac_var in incroot usrlibdir libdir; do
  10018. eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
  10019. done
  10020. # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
  10021. for ac_extension in a so sl dylib la dll; do
  10022. if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
  10023. test -f "$ac_im_libdir/libX11.$ac_extension"; then
  10024. ac_im_usrlibdir=$ac_im_libdir; break
  10025. fi
  10026. done
  10027. # Screen out bogus values from the imake configuration. They are
  10028. # bogus both because they are the default anyway, and because
  10029. # using them would break gcc on systems where it needs fixed includes.
  10030. case $ac_im_incroot in
  10031. /usr/include) ac_x_includes= ;;
  10032. *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
  10033. esac
  10034. case $ac_im_usrlibdir in
  10035. /usr/lib | /usr/lib64 | /lib | /lib64) ;;
  10036. *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
  10037. esac
  10038. fi
  10039. cd ..
  10040. rm -f -r conftest.dir
  10041. fi
  10042. # Standard set of common directories for X headers.
  10043. # Check X11 before X11Rn because it is often a symlink to the current release.
  10044. ac_x_header_dirs='
  10045. /usr/X11/include
  10046. /usr/X11R7/include
  10047. /usr/X11R6/include
  10048. /usr/X11R5/include
  10049. /usr/X11R4/include
  10050. /usr/include/X11
  10051. /usr/include/X11R7
  10052. /usr/include/X11R6
  10053. /usr/include/X11R5
  10054. /usr/include/X11R4
  10055. /usr/local/X11/include
  10056. /usr/local/X11R7/include
  10057. /usr/local/X11R6/include
  10058. /usr/local/X11R5/include
  10059. /usr/local/X11R4/include
  10060. /usr/local/include/X11
  10061. /usr/local/include/X11R7
  10062. /usr/local/include/X11R6
  10063. /usr/local/include/X11R5
  10064. /usr/local/include/X11R4
  10065. /usr/X386/include
  10066. /usr/x386/include
  10067. /usr/XFree86/include/X11
  10068. /usr/include
  10069. /usr/local/include
  10070. /usr/unsupported/include
  10071. /usr/athena/include
  10072. /usr/local/x11r5/include
  10073. /usr/lpp/Xamples/include
  10074. /usr/openwin/include
  10075. /usr/openwin/share/include'
  10076. if test "$ac_x_includes" = no; then
  10077. # Guess where to find include files, by looking for Xlib.h.
  10078. # First, try using that file with no special directory specified.
  10079. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10080. /* end confdefs.h. */
  10081. #include <X11/Xlib.h>
  10082. _ACEOF
  10083. if ac_fn_c_try_cpp "$LINENO"; then :
  10084. # We can compile using X headers with no special include directory.
  10085. ac_x_includes=
  10086. else
  10087. for ac_dir in $ac_x_header_dirs; do
  10088. if test -r "$ac_dir/X11/Xlib.h"; then
  10089. ac_x_includes=$ac_dir
  10090. break
  10091. fi
  10092. done
  10093. fi
  10094. rm -f conftest.err conftest.i conftest.$ac_ext
  10095. fi # $ac_x_includes = no
  10096. if test "$ac_x_libraries" = no; then
  10097. # Check for the libraries.
  10098. # See if we find them without any special options.
  10099. # Don't add to $LIBS permanently.
  10100. ac_save_LIBS=$LIBS
  10101. LIBS="-lX11 $LIBS"
  10102. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10103. /* end confdefs.h. */
  10104. #include <X11/Xlib.h>
  10105. int
  10106. main ()
  10107. {
  10108. XrmInitialize ()
  10109. ;
  10110. return 0;
  10111. }
  10112. _ACEOF
  10113. if ac_fn_c_try_link "$LINENO"; then :
  10114. LIBS=$ac_save_LIBS
  10115. # We can link X programs with no special library path.
  10116. ac_x_libraries=
  10117. else
  10118. LIBS=$ac_save_LIBS
  10119. for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
  10120. do
  10121. # Don't even attempt the hair of trying to link an X program!
  10122. for ac_extension in a so sl dylib la dll; do
  10123. if test -r "$ac_dir/libX11.$ac_extension"; then
  10124. ac_x_libraries=$ac_dir
  10125. break 2
  10126. fi
  10127. done
  10128. done
  10129. fi
  10130. rm -f core conftest.err conftest.$ac_objext \
  10131. conftest$ac_exeext conftest.$ac_ext
  10132. fi # $ac_x_libraries = no
  10133. case $ac_x_includes,$ac_x_libraries in #(
  10134. no,* | *,no | *\'*)
  10135. # Didn't find X, or a directory has "'" in its name.
  10136. ac_cv_have_x="have_x=no";; #(
  10137. *)
  10138. # Record where we found X for the cache.
  10139. ac_cv_have_x="have_x=yes\
  10140. ac_x_includes='$ac_x_includes'\
  10141. ac_x_libraries='$ac_x_libraries'"
  10142. esac
  10143. fi
  10144. ;; #(
  10145. *) have_x=yes;;
  10146. esac
  10147. eval "$ac_cv_have_x"
  10148. fi # $with_x != no
  10149. if test "$have_x" != yes; then
  10150. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
  10151. $as_echo "$have_x" >&6; }
  10152. no_x=yes
  10153. else
  10154. # If each of the values was on the command line, it overrides each guess.
  10155. test "x$x_includes" = xNONE && x_includes=$ac_x_includes
  10156. test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
  10157. # Update the cache value to reflect the command line values.
  10158. ac_cv_have_x="have_x=yes\
  10159. ac_x_includes='$x_includes'\
  10160. ac_x_libraries='$x_libraries'"
  10161. { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
  10162. $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
  10163. fi
  10164. if test "$no_x" = yes; then
  10165. # Not all programs may use this symbol, but it does not hurt to define it.
  10166. $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
  10167. X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
  10168. else
  10169. if test -n "$x_includes"; then
  10170. X_CFLAGS="$X_CFLAGS -I$x_includes"
  10171. fi
  10172. # It would also be nice to do this for all -L options, not just this one.
  10173. if test -n "$x_libraries"; then
  10174. X_LIBS="$X_LIBS -L$x_libraries"
  10175. # For Solaris; some versions of Sun CC require a space after -R and
  10176. # others require no space. Words are not sufficient . . . .
  10177. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
  10178. $as_echo_n "checking whether -R must be followed by a space... " >&6; }
  10179. ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
  10180. ac_xsave_c_werror_flag=$ac_c_werror_flag
  10181. ac_c_werror_flag=yes
  10182. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10183. /* end confdefs.h. */
  10184. int
  10185. main ()
  10186. {
  10187. ;
  10188. return 0;
  10189. }
  10190. _ACEOF
  10191. if ac_fn_c_try_link "$LINENO"; then :
  10192. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  10193. $as_echo "no" >&6; }
  10194. X_LIBS="$X_LIBS -R$x_libraries"
  10195. else
  10196. LIBS="$ac_xsave_LIBS -R $x_libraries"
  10197. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10198. /* end confdefs.h. */
  10199. int
  10200. main ()
  10201. {
  10202. ;
  10203. return 0;
  10204. }
  10205. _ACEOF
  10206. if ac_fn_c_try_link "$LINENO"; then :
  10207. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  10208. $as_echo "yes" >&6; }
  10209. X_LIBS="$X_LIBS -R $x_libraries"
  10210. else
  10211. { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
  10212. $as_echo "neither works" >&6; }
  10213. fi
  10214. rm -f core conftest.err conftest.$ac_objext \
  10215. conftest$ac_exeext conftest.$ac_ext
  10216. fi
  10217. rm -f core conftest.err conftest.$ac_objext \
  10218. conftest$ac_exeext conftest.$ac_ext
  10219. ac_c_werror_flag=$ac_xsave_c_werror_flag
  10220. LIBS=$ac_xsave_LIBS
  10221. fi
  10222. # Check for system-dependent libraries X programs must link with.
  10223. # Do this before checking for the system-independent R6 libraries
  10224. # (-lICE), since we may need -lsocket or whatever for X linking.
  10225. if test "$ISC" = yes; then
  10226. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
  10227. else
  10228. # Martyn Johnson says this is needed for Ultrix, if the X
  10229. # libraries were built with DECnet support. And Karl Berry says
  10230. # the Alpha needs dnet_stub (dnet does not exist).
  10231. ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
  10232. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10233. /* end confdefs.h. */
  10234. /* Override any GCC internal prototype to avoid an error.
  10235. Use char because int might match the return type of a GCC
  10236. builtin and then its argument prototype would still apply. */
  10237. #ifdef __cplusplus
  10238. extern "C"
  10239. #endif
  10240. char XOpenDisplay ();
  10241. int
  10242. main ()
  10243. {
  10244. return XOpenDisplay ();
  10245. ;
  10246. return 0;
  10247. }
  10248. _ACEOF
  10249. if ac_fn_c_try_link "$LINENO"; then :
  10250. else
  10251. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
  10252. $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
  10253. if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
  10254. $as_echo_n "(cached) " >&6
  10255. else
  10256. ac_check_lib_save_LIBS=$LIBS
  10257. LIBS="-ldnet $LIBS"
  10258. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10259. /* end confdefs.h. */
  10260. /* Override any GCC internal prototype to avoid an error.
  10261. Use char because int might match the return type of a GCC
  10262. builtin and then its argument prototype would still apply. */
  10263. #ifdef __cplusplus
  10264. extern "C"
  10265. #endif
  10266. char dnet_ntoa ();
  10267. int
  10268. main ()
  10269. {
  10270. return dnet_ntoa ();
  10271. ;
  10272. return 0;
  10273. }
  10274. _ACEOF
  10275. if ac_fn_c_try_link "$LINENO"; then :
  10276. ac_cv_lib_dnet_dnet_ntoa=yes
  10277. else
  10278. ac_cv_lib_dnet_dnet_ntoa=no
  10279. fi
  10280. rm -f core conftest.err conftest.$ac_objext \
  10281. conftest$ac_exeext conftest.$ac_ext
  10282. LIBS=$ac_check_lib_save_LIBS
  10283. fi
  10284. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
  10285. $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
  10286. if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
  10287. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
  10288. fi
  10289. if test $ac_cv_lib_dnet_dnet_ntoa = no; then
  10290. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
  10291. $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
  10292. if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
  10293. $as_echo_n "(cached) " >&6
  10294. else
  10295. ac_check_lib_save_LIBS=$LIBS
  10296. LIBS="-ldnet_stub $LIBS"
  10297. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10298. /* end confdefs.h. */
  10299. /* Override any GCC internal prototype to avoid an error.
  10300. Use char because int might match the return type of a GCC
  10301. builtin and then its argument prototype would still apply. */
  10302. #ifdef __cplusplus
  10303. extern "C"
  10304. #endif
  10305. char dnet_ntoa ();
  10306. int
  10307. main ()
  10308. {
  10309. return dnet_ntoa ();
  10310. ;
  10311. return 0;
  10312. }
  10313. _ACEOF
  10314. if ac_fn_c_try_link "$LINENO"; then :
  10315. ac_cv_lib_dnet_stub_dnet_ntoa=yes
  10316. else
  10317. ac_cv_lib_dnet_stub_dnet_ntoa=no
  10318. fi
  10319. rm -f core conftest.err conftest.$ac_objext \
  10320. conftest$ac_exeext conftest.$ac_ext
  10321. LIBS=$ac_check_lib_save_LIBS
  10322. fi
  10323. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
  10324. $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
  10325. if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
  10326. X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
  10327. fi
  10328. fi
  10329. fi
  10330. rm -f core conftest.err conftest.$ac_objext \
  10331. conftest$ac_exeext conftest.$ac_ext
  10332. LIBS="$ac_xsave_LIBS"
  10333. # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
  10334. # to get the SysV transport functions.
  10335. # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
  10336. # needs -lnsl.
  10337. # The nsl library prevents programs from opening the X display
  10338. # on Irix 5.2, according to T.E. Dickey.
  10339. # The functions gethostbyname, getservbyname, and inet_addr are
  10340. # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
  10341. ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
  10342. if test "x$ac_cv_func_gethostbyname" = xyes; then :
  10343. fi
  10344. if test $ac_cv_func_gethostbyname = no; then
  10345. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
  10346. $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
  10347. if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
  10348. $as_echo_n "(cached) " >&6
  10349. else
  10350. ac_check_lib_save_LIBS=$LIBS
  10351. LIBS="-lnsl $LIBS"
  10352. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10353. /* end confdefs.h. */
  10354. /* Override any GCC internal prototype to avoid an error.
  10355. Use char because int might match the return type of a GCC
  10356. builtin and then its argument prototype would still apply. */
  10357. #ifdef __cplusplus
  10358. extern "C"
  10359. #endif
  10360. char gethostbyname ();
  10361. int
  10362. main ()
  10363. {
  10364. return gethostbyname ();
  10365. ;
  10366. return 0;
  10367. }
  10368. _ACEOF
  10369. if ac_fn_c_try_link "$LINENO"; then :
  10370. ac_cv_lib_nsl_gethostbyname=yes
  10371. else
  10372. ac_cv_lib_nsl_gethostbyname=no
  10373. fi
  10374. rm -f core conftest.err conftest.$ac_objext \
  10375. conftest$ac_exeext conftest.$ac_ext
  10376. LIBS=$ac_check_lib_save_LIBS
  10377. fi
  10378. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
  10379. $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
  10380. if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
  10381. X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
  10382. fi
  10383. if test $ac_cv_lib_nsl_gethostbyname = no; then
  10384. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
  10385. $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
  10386. if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
  10387. $as_echo_n "(cached) " >&6
  10388. else
  10389. ac_check_lib_save_LIBS=$LIBS
  10390. LIBS="-lbsd $LIBS"
  10391. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10392. /* end confdefs.h. */
  10393. /* Override any GCC internal prototype to avoid an error.
  10394. Use char because int might match the return type of a GCC
  10395. builtin and then its argument prototype would still apply. */
  10396. #ifdef __cplusplus
  10397. extern "C"
  10398. #endif
  10399. char gethostbyname ();
  10400. int
  10401. main ()
  10402. {
  10403. return gethostbyname ();
  10404. ;
  10405. return 0;
  10406. }
  10407. _ACEOF
  10408. if ac_fn_c_try_link "$LINENO"; then :
  10409. ac_cv_lib_bsd_gethostbyname=yes
  10410. else
  10411. ac_cv_lib_bsd_gethostbyname=no
  10412. fi
  10413. rm -f core conftest.err conftest.$ac_objext \
  10414. conftest$ac_exeext conftest.$ac_ext
  10415. LIBS=$ac_check_lib_save_LIBS
  10416. fi
  10417. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
  10418. $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
  10419. if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
  10420. X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
  10421. fi
  10422. fi
  10423. fi
  10424. # lieder@skyler.mavd.honeywell.com says without -lsocket,
  10425. # socket/setsockopt and other routines are undefined under SCO ODT
  10426. # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
  10427. # on later versions), says Simon Leinen: it contains gethostby*
  10428. # variants that don't use the name server (or something). -lsocket
  10429. # must be given before -lnsl if both are needed. We assume that
  10430. # if connect needs -lnsl, so does gethostbyname.
  10431. ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
  10432. if test "x$ac_cv_func_connect" = xyes; then :
  10433. fi
  10434. if test $ac_cv_func_connect = no; then
  10435. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
  10436. $as_echo_n "checking for connect in -lsocket... " >&6; }
  10437. if ${ac_cv_lib_socket_connect+:} false; then :
  10438. $as_echo_n "(cached) " >&6
  10439. else
  10440. ac_check_lib_save_LIBS=$LIBS
  10441. LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
  10442. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10443. /* end confdefs.h. */
  10444. /* Override any GCC internal prototype to avoid an error.
  10445. Use char because int might match the return type of a GCC
  10446. builtin and then its argument prototype would still apply. */
  10447. #ifdef __cplusplus
  10448. extern "C"
  10449. #endif
  10450. char connect ();
  10451. int
  10452. main ()
  10453. {
  10454. return connect ();
  10455. ;
  10456. return 0;
  10457. }
  10458. _ACEOF
  10459. if ac_fn_c_try_link "$LINENO"; then :
  10460. ac_cv_lib_socket_connect=yes
  10461. else
  10462. ac_cv_lib_socket_connect=no
  10463. fi
  10464. rm -f core conftest.err conftest.$ac_objext \
  10465. conftest$ac_exeext conftest.$ac_ext
  10466. LIBS=$ac_check_lib_save_LIBS
  10467. fi
  10468. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
  10469. $as_echo "$ac_cv_lib_socket_connect" >&6; }
  10470. if test "x$ac_cv_lib_socket_connect" = xyes; then :
  10471. X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
  10472. fi
  10473. fi
  10474. # Guillermo Gomez says -lposix is necessary on A/UX.
  10475. ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
  10476. if test "x$ac_cv_func_remove" = xyes; then :
  10477. fi
  10478. if test $ac_cv_func_remove = no; then
  10479. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
  10480. $as_echo_n "checking for remove in -lposix... " >&6; }
  10481. if ${ac_cv_lib_posix_remove+:} false; then :
  10482. $as_echo_n "(cached) " >&6
  10483. else
  10484. ac_check_lib_save_LIBS=$LIBS
  10485. LIBS="-lposix $LIBS"
  10486. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10487. /* end confdefs.h. */
  10488. /* Override any GCC internal prototype to avoid an error.
  10489. Use char because int might match the return type of a GCC
  10490. builtin and then its argument prototype would still apply. */
  10491. #ifdef __cplusplus
  10492. extern "C"
  10493. #endif
  10494. char remove ();
  10495. int
  10496. main ()
  10497. {
  10498. return remove ();
  10499. ;
  10500. return 0;
  10501. }
  10502. _ACEOF
  10503. if ac_fn_c_try_link "$LINENO"; then :
  10504. ac_cv_lib_posix_remove=yes
  10505. else
  10506. ac_cv_lib_posix_remove=no
  10507. fi
  10508. rm -f core conftest.err conftest.$ac_objext \
  10509. conftest$ac_exeext conftest.$ac_ext
  10510. LIBS=$ac_check_lib_save_LIBS
  10511. fi
  10512. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
  10513. $as_echo "$ac_cv_lib_posix_remove" >&6; }
  10514. if test "x$ac_cv_lib_posix_remove" = xyes; then :
  10515. X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
  10516. fi
  10517. fi
  10518. # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
  10519. ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
  10520. if test "x$ac_cv_func_shmat" = xyes; then :
  10521. fi
  10522. if test $ac_cv_func_shmat = no; then
  10523. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
  10524. $as_echo_n "checking for shmat in -lipc... " >&6; }
  10525. if ${ac_cv_lib_ipc_shmat+:} false; then :
  10526. $as_echo_n "(cached) " >&6
  10527. else
  10528. ac_check_lib_save_LIBS=$LIBS
  10529. LIBS="-lipc $LIBS"
  10530. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10531. /* end confdefs.h. */
  10532. /* Override any GCC internal prototype to avoid an error.
  10533. Use char because int might match the return type of a GCC
  10534. builtin and then its argument prototype would still apply. */
  10535. #ifdef __cplusplus
  10536. extern "C"
  10537. #endif
  10538. char shmat ();
  10539. int
  10540. main ()
  10541. {
  10542. return shmat ();
  10543. ;
  10544. return 0;
  10545. }
  10546. _ACEOF
  10547. if ac_fn_c_try_link "$LINENO"; then :
  10548. ac_cv_lib_ipc_shmat=yes
  10549. else
  10550. ac_cv_lib_ipc_shmat=no
  10551. fi
  10552. rm -f core conftest.err conftest.$ac_objext \
  10553. conftest$ac_exeext conftest.$ac_ext
  10554. LIBS=$ac_check_lib_save_LIBS
  10555. fi
  10556. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
  10557. $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
  10558. if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
  10559. X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
  10560. fi
  10561. fi
  10562. fi
  10563. # Check for libraries that X11R6 Xt/Xaw programs need.
  10564. ac_save_LDFLAGS=$LDFLAGS
  10565. test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
  10566. # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
  10567. # check for ICE first), but we must link in the order -lSM -lICE or
  10568. # we get undefined symbols. So assume we have SM if we have ICE.
  10569. # These have to be linked with before -lX11, unlike the other
  10570. # libraries we check for below, so use a different variable.
  10571. # John Interrante, Karl Berry
  10572. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
  10573. $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
  10574. if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
  10575. $as_echo_n "(cached) " >&6
  10576. else
  10577. ac_check_lib_save_LIBS=$LIBS
  10578. LIBS="-lICE $X_EXTRA_LIBS $LIBS"
  10579. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10580. /* end confdefs.h. */
  10581. /* Override any GCC internal prototype to avoid an error.
  10582. Use char because int might match the return type of a GCC
  10583. builtin and then its argument prototype would still apply. */
  10584. #ifdef __cplusplus
  10585. extern "C"
  10586. #endif
  10587. char IceConnectionNumber ();
  10588. int
  10589. main ()
  10590. {
  10591. return IceConnectionNumber ();
  10592. ;
  10593. return 0;
  10594. }
  10595. _ACEOF
  10596. if ac_fn_c_try_link "$LINENO"; then :
  10597. ac_cv_lib_ICE_IceConnectionNumber=yes
  10598. else
  10599. ac_cv_lib_ICE_IceConnectionNumber=no
  10600. fi
  10601. rm -f core conftest.err conftest.$ac_objext \
  10602. conftest$ac_exeext conftest.$ac_ext
  10603. LIBS=$ac_check_lib_save_LIBS
  10604. fi
  10605. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
  10606. $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
  10607. if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
  10608. X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
  10609. fi
  10610. LDFLAGS=$ac_save_LDFLAGS
  10611. fi
  10612. if test "$have_x" = "yes"
  10613. then
  10614. ac_save_CPPFLAGS="$CPPFLAGS"
  10615. CPPFLAGS="$CPPFLAGS $X_CFLAGS"
  10616. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
  10617. $as_echo_n "checking for -lX11... " >&6; }
  10618. if ${ac_cv_lib_soname_X11+:} false; then :
  10619. $as_echo_n "(cached) " >&6
  10620. else
  10621. ac_check_soname_save_LIBS=$LIBS
  10622. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  10623. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10624. /* end confdefs.h. */
  10625. /* Override any GCC internal prototype to avoid an error.
  10626. Use char because int might match the return type of a GCC
  10627. builtin and then its argument prototype would still apply. */
  10628. #ifdef __cplusplus
  10629. extern "C"
  10630. #endif
  10631. char XCreateWindow ();
  10632. int
  10633. main ()
  10634. {
  10635. return XCreateWindow ();
  10636. ;
  10637. return 0;
  10638. }
  10639. _ACEOF
  10640. if ac_fn_c_try_link "$LINENO"; then :
  10641. case "$LIBEXT" in
  10642. dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10643. 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'` ;;
  10644. *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10645. if ${ac_cv_lib_soname_X11:+false} :; then :
  10646. ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10647. fi ;;
  10648. esac
  10649. else
  10650. ac_cv_lib_soname_X11=
  10651. fi
  10652. rm -f core conftest.err conftest.$ac_objext \
  10653. conftest$ac_exeext conftest.$ac_ext
  10654. LIBS=$ac_check_soname_save_LIBS
  10655. fi
  10656. if ${ac_cv_lib_soname_X11:+false} :; then :
  10657. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10658. $as_echo "not found" >&6; }
  10659. else
  10660. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
  10661. $as_echo "$ac_cv_lib_soname_X11" >&6; }
  10662. cat >>confdefs.h <<_ACEOF
  10663. #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
  10664. _ACEOF
  10665. fi
  10666. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
  10667. $as_echo_n "checking for -lXext... " >&6; }
  10668. if ${ac_cv_lib_soname_Xext+:} false; then :
  10669. $as_echo_n "(cached) " >&6
  10670. else
  10671. ac_check_soname_save_LIBS=$LIBS
  10672. LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
  10673. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10674. /* end confdefs.h. */
  10675. /* Override any GCC internal prototype to avoid an error.
  10676. Use char because int might match the return type of a GCC
  10677. builtin and then its argument prototype would still apply. */
  10678. #ifdef __cplusplus
  10679. extern "C"
  10680. #endif
  10681. char XextCreateExtension ();
  10682. int
  10683. main ()
  10684. {
  10685. return XextCreateExtension ();
  10686. ;
  10687. return 0;
  10688. }
  10689. _ACEOF
  10690. if ac_fn_c_try_link "$LINENO"; then :
  10691. case "$LIBEXT" in
  10692. dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10693. 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'` ;;
  10694. *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10695. if ${ac_cv_lib_soname_Xext:+false} :; then :
  10696. ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10697. fi ;;
  10698. esac
  10699. else
  10700. ac_cv_lib_soname_Xext=
  10701. fi
  10702. rm -f core conftest.err conftest.$ac_objext \
  10703. conftest$ac_exeext conftest.$ac_ext
  10704. LIBS=$ac_check_soname_save_LIBS
  10705. fi
  10706. if ${ac_cv_lib_soname_Xext:+false} :; then :
  10707. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10708. $as_echo "not found" >&6; }
  10709. else
  10710. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
  10711. $as_echo "$ac_cv_lib_soname_Xext" >&6; }
  10712. cat >>confdefs.h <<_ACEOF
  10713. #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
  10714. _ACEOF
  10715. X_LIBS="$X_LIBS -lXext"
  10716. fi
  10717. X_LIBS="$X_LIBS -lX11"
  10718. for ac_header in X11/Xlib.h \
  10719. X11/XKBlib.h \
  10720. X11/Xutil.h \
  10721. X11/Xcursor/Xcursor.h \
  10722. X11/extensions/shape.h \
  10723. X11/extensions/XInput.h \
  10724. X11/extensions/XInput2.h \
  10725. X11/extensions/XShm.h \
  10726. X11/extensions/Xcomposite.h \
  10727. X11/extensions/Xfixes.h \
  10728. X11/extensions/Xinerama.h \
  10729. X11/extensions/Xrandr.h \
  10730. X11/extensions/Xrender.h \
  10731. X11/extensions/xf86vmode.h \
  10732. X11/extensions/xf86vmproto.h
  10733. do :
  10734. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  10735. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
  10736. # include <X11/Xlib.h>
  10737. #endif
  10738. #ifdef HAVE_X11_XUTIL_H
  10739. # include <X11/Xutil.h>
  10740. #endif
  10741. "
  10742. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  10743. cat >>confdefs.h <<_ACEOF
  10744. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  10745. _ACEOF
  10746. fi
  10747. done
  10748. if test "$ac_cv_header_X11_XKBlib_h" = "yes"
  10749. then
  10750. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
  10751. $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
  10752. if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
  10753. $as_echo_n "(cached) " >&6
  10754. else
  10755. ac_check_lib_save_LIBS=$LIBS
  10756. LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
  10757. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10758. /* end confdefs.h. */
  10759. /* Override any GCC internal prototype to avoid an error.
  10760. Use char because int might match the return type of a GCC
  10761. builtin and then its argument prototype would still apply. */
  10762. #ifdef __cplusplus
  10763. extern "C"
  10764. #endif
  10765. char XkbQueryExtension ();
  10766. int
  10767. main ()
  10768. {
  10769. return XkbQueryExtension ();
  10770. ;
  10771. return 0;
  10772. }
  10773. _ACEOF
  10774. if ac_fn_c_try_link "$LINENO"; then :
  10775. ac_cv_lib_X11_XkbQueryExtension=yes
  10776. else
  10777. ac_cv_lib_X11_XkbQueryExtension=no
  10778. fi
  10779. rm -f core conftest.err conftest.$ac_objext \
  10780. conftest$ac_exeext conftest.$ac_ext
  10781. LIBS=$ac_check_lib_save_LIBS
  10782. fi
  10783. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
  10784. $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
  10785. if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
  10786. $as_echo "#define HAVE_XKB 1" >>confdefs.h
  10787. fi
  10788. fi
  10789. if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
  10790. then
  10791. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
  10792. $as_echo_n "checking for -lXcursor... " >&6; }
  10793. if ${ac_cv_lib_soname_Xcursor+:} false; then :
  10794. $as_echo_n "(cached) " >&6
  10795. else
  10796. ac_check_soname_save_LIBS=$LIBS
  10797. LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
  10798. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10799. /* end confdefs.h. */
  10800. /* Override any GCC internal prototype to avoid an error.
  10801. Use char because int might match the return type of a GCC
  10802. builtin and then its argument prototype would still apply. */
  10803. #ifdef __cplusplus
  10804. extern "C"
  10805. #endif
  10806. char XcursorImageLoadCursor ();
  10807. int
  10808. main ()
  10809. {
  10810. return XcursorImageLoadCursor ();
  10811. ;
  10812. return 0;
  10813. }
  10814. _ACEOF
  10815. if ac_fn_c_try_link "$LINENO"; then :
  10816. case "$LIBEXT" in
  10817. dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10818. 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'` ;;
  10819. *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10820. if ${ac_cv_lib_soname_Xcursor:+false} :; then :
  10821. ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10822. fi ;;
  10823. esac
  10824. else
  10825. ac_cv_lib_soname_Xcursor=
  10826. fi
  10827. rm -f core conftest.err conftest.$ac_objext \
  10828. conftest$ac_exeext conftest.$ac_ext
  10829. LIBS=$ac_check_soname_save_LIBS
  10830. fi
  10831. if ${ac_cv_lib_soname_Xcursor:+false} :; then :
  10832. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10833. $as_echo "not found" >&6; }
  10834. else
  10835. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
  10836. $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
  10837. cat >>confdefs.h <<_ACEOF
  10838. #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
  10839. _ACEOF
  10840. fi
  10841. fi
  10842. if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
  10843. case "x$with_xcursor" in
  10844. x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
  10845. xno) ;;
  10846. *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
  10847. This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
  10848. esac
  10849. fi
  10850. if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
  10851. then
  10852. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
  10853. $as_echo_n "checking for -lXi... " >&6; }
  10854. if ${ac_cv_lib_soname_Xi+:} false; then :
  10855. $as_echo_n "(cached) " >&6
  10856. else
  10857. ac_check_soname_save_LIBS=$LIBS
  10858. LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
  10859. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10860. /* end confdefs.h. */
  10861. /* Override any GCC internal prototype to avoid an error.
  10862. Use char because int might match the return type of a GCC
  10863. builtin and then its argument prototype would still apply. */
  10864. #ifdef __cplusplus
  10865. extern "C"
  10866. #endif
  10867. char XOpenDevice ();
  10868. int
  10869. main ()
  10870. {
  10871. return XOpenDevice ();
  10872. ;
  10873. return 0;
  10874. }
  10875. _ACEOF
  10876. if ac_fn_c_try_link "$LINENO"; then :
  10877. case "$LIBEXT" in
  10878. dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  10879. 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'` ;;
  10880. *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  10881. if ${ac_cv_lib_soname_Xi:+false} :; then :
  10882. ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  10883. fi ;;
  10884. esac
  10885. else
  10886. ac_cv_lib_soname_Xi=
  10887. fi
  10888. rm -f core conftest.err conftest.$ac_objext \
  10889. conftest$ac_exeext conftest.$ac_ext
  10890. LIBS=$ac_check_soname_save_LIBS
  10891. fi
  10892. if ${ac_cv_lib_soname_Xi:+false} :; then :
  10893. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  10894. $as_echo "not found" >&6; }
  10895. else
  10896. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
  10897. $as_echo "$ac_cv_lib_soname_Xi" >&6; }
  10898. cat >>confdefs.h <<_ACEOF
  10899. #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
  10900. _ACEOF
  10901. fi
  10902. fi
  10903. if test "x$ac_cv_lib_soname_Xi" = "x"; then :
  10904. case "x$with_xinput" in
  10905. x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
  10906. xno) ;;
  10907. *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
  10908. This is an error since --with-xinput was requested." "$LINENO" 5 ;;
  10909. esac
  10910. fi
  10911. if test "x$ac_cv_lib_soname_Xi" != x
  10912. then
  10913. if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
  10914. case "x$with_xinput2" in
  10915. x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
  10916. xno) ;;
  10917. *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
  10918. This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
  10919. esac
  10920. fi
  10921. fi
  10922. if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
  10923. then
  10924. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
  10925. $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
  10926. if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
  10927. $as_echo_n "(cached) " >&6
  10928. else
  10929. ac_check_lib_save_LIBS=$LIBS
  10930. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  10931. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10932. /* end confdefs.h. */
  10933. /* Override any GCC internal prototype to avoid an error.
  10934. Use char because int might match the return type of a GCC
  10935. builtin and then its argument prototype would still apply. */
  10936. #ifdef __cplusplus
  10937. extern "C"
  10938. #endif
  10939. char XShmQueryExtension ();
  10940. int
  10941. main ()
  10942. {
  10943. return XShmQueryExtension ();
  10944. ;
  10945. return 0;
  10946. }
  10947. _ACEOF
  10948. if ac_fn_c_try_link "$LINENO"; then :
  10949. ac_cv_lib_Xext_XShmQueryExtension=yes
  10950. else
  10951. ac_cv_lib_Xext_XShmQueryExtension=no
  10952. fi
  10953. rm -f core conftest.err conftest.$ac_objext \
  10954. conftest$ac_exeext conftest.$ac_ext
  10955. LIBS=$ac_check_lib_save_LIBS
  10956. fi
  10957. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
  10958. $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
  10959. if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
  10960. $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
  10961. fi
  10962. fi
  10963. if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
  10964. case "x$with_xshm" in
  10965. x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
  10966. xno) ;;
  10967. *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
  10968. This is an error since --with-xshm was requested." "$LINENO" 5 ;;
  10969. esac
  10970. fi
  10971. if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
  10972. then
  10973. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
  10974. $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
  10975. if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
  10976. $as_echo_n "(cached) " >&6
  10977. else
  10978. ac_check_lib_save_LIBS=$LIBS
  10979. LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
  10980. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  10981. /* end confdefs.h. */
  10982. /* Override any GCC internal prototype to avoid an error.
  10983. Use char because int might match the return type of a GCC
  10984. builtin and then its argument prototype would still apply. */
  10985. #ifdef __cplusplus
  10986. extern "C"
  10987. #endif
  10988. char XShapeQueryExtension ();
  10989. int
  10990. main ()
  10991. {
  10992. return XShapeQueryExtension ();
  10993. ;
  10994. return 0;
  10995. }
  10996. _ACEOF
  10997. if ac_fn_c_try_link "$LINENO"; then :
  10998. ac_cv_lib_Xext_XShapeQueryExtension=yes
  10999. else
  11000. ac_cv_lib_Xext_XShapeQueryExtension=no
  11001. fi
  11002. rm -f core conftest.err conftest.$ac_objext \
  11003. conftest$ac_exeext conftest.$ac_ext
  11004. LIBS=$ac_check_lib_save_LIBS
  11005. fi
  11006. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
  11007. $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
  11008. if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
  11009. $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
  11010. fi
  11011. fi
  11012. if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
  11013. case "x$with_xshape" in
  11014. x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
  11015. xno) ;;
  11016. *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
  11017. This is an error since --with-xshape was requested." "$LINENO" 5 ;;
  11018. esac
  11019. fi
  11020. if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
  11021. then
  11022. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
  11023. $as_echo_n "checking for -lXxf86vm... " >&6; }
  11024. if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
  11025. $as_echo_n "(cached) " >&6
  11026. else
  11027. ac_check_soname_save_LIBS=$LIBS
  11028. LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
  11029. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11030. /* end confdefs.h. */
  11031. /* Override any GCC internal prototype to avoid an error.
  11032. Use char because int might match the return type of a GCC
  11033. builtin and then its argument prototype would still apply. */
  11034. #ifdef __cplusplus
  11035. extern "C"
  11036. #endif
  11037. char XF86VidModeQueryExtension ();
  11038. int
  11039. main ()
  11040. {
  11041. return XF86VidModeQueryExtension ();
  11042. ;
  11043. return 0;
  11044. }
  11045. _ACEOF
  11046. if ac_fn_c_try_link "$LINENO"; then :
  11047. case "$LIBEXT" in
  11048. dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11049. 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'` ;;
  11050. *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11051. if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
  11052. ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11053. fi ;;
  11054. esac
  11055. else
  11056. ac_cv_lib_soname_Xxf86vm=
  11057. fi
  11058. rm -f core conftest.err conftest.$ac_objext \
  11059. conftest$ac_exeext conftest.$ac_ext
  11060. LIBS=$ac_check_soname_save_LIBS
  11061. fi
  11062. if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
  11063. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11064. $as_echo "not found" >&6; }
  11065. else
  11066. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
  11067. $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
  11068. cat >>confdefs.h <<_ACEOF
  11069. #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
  11070. _ACEOF
  11071. fi
  11072. fi
  11073. if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
  11074. case "x$with_xxf86vm" in
  11075. x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
  11076. xno) ;;
  11077. *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
  11078. This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
  11079. esac
  11080. fi
  11081. if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
  11082. then
  11083. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
  11084. $as_echo_n "checking for -lXrender... " >&6; }
  11085. if ${ac_cv_lib_soname_Xrender+:} false; then :
  11086. $as_echo_n "(cached) " >&6
  11087. else
  11088. ac_check_soname_save_LIBS=$LIBS
  11089. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  11090. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11091. /* end confdefs.h. */
  11092. /* Override any GCC internal prototype to avoid an error.
  11093. Use char because int might match the return type of a GCC
  11094. builtin and then its argument prototype would still apply. */
  11095. #ifdef __cplusplus
  11096. extern "C"
  11097. #endif
  11098. char XRenderQueryExtension ();
  11099. int
  11100. main ()
  11101. {
  11102. return XRenderQueryExtension ();
  11103. ;
  11104. return 0;
  11105. }
  11106. _ACEOF
  11107. if ac_fn_c_try_link "$LINENO"; then :
  11108. case "$LIBEXT" in
  11109. dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11110. 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'` ;;
  11111. *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11112. if ${ac_cv_lib_soname_Xrender:+false} :; then :
  11113. ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11114. fi ;;
  11115. esac
  11116. else
  11117. ac_cv_lib_soname_Xrender=
  11118. fi
  11119. rm -f core conftest.err conftest.$ac_objext \
  11120. conftest$ac_exeext conftest.$ac_ext
  11121. LIBS=$ac_check_soname_save_LIBS
  11122. fi
  11123. if ${ac_cv_lib_soname_Xrender:+false} :; then :
  11124. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11125. $as_echo "not found" >&6; }
  11126. else
  11127. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
  11128. $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
  11129. cat >>confdefs.h <<_ACEOF
  11130. #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
  11131. _ACEOF
  11132. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
  11133. $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
  11134. if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
  11135. $as_echo_n "(cached) " >&6
  11136. else
  11137. ac_check_lib_save_LIBS=$LIBS
  11138. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  11139. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11140. /* end confdefs.h. */
  11141. /* Override any GCC internal prototype to avoid an error.
  11142. Use char because int might match the return type of a GCC
  11143. builtin and then its argument prototype would still apply. */
  11144. #ifdef __cplusplus
  11145. extern "C"
  11146. #endif
  11147. char XRenderSetPictureTransform ();
  11148. int
  11149. main ()
  11150. {
  11151. return XRenderSetPictureTransform ();
  11152. ;
  11153. return 0;
  11154. }
  11155. _ACEOF
  11156. if ac_fn_c_try_link "$LINENO"; then :
  11157. ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
  11158. else
  11159. ac_cv_lib_Xrender_XRenderSetPictureTransform=no
  11160. fi
  11161. rm -f core conftest.err conftest.$ac_objext \
  11162. conftest$ac_exeext conftest.$ac_ext
  11163. LIBS=$ac_check_lib_save_LIBS
  11164. fi
  11165. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
  11166. $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
  11167. if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
  11168. $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
  11169. fi
  11170. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
  11171. $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
  11172. if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
  11173. $as_echo_n "(cached) " >&6
  11174. else
  11175. ac_check_lib_save_LIBS=$LIBS
  11176. LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
  11177. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11178. /* end confdefs.h. */
  11179. /* Override any GCC internal prototype to avoid an error.
  11180. Use char because int might match the return type of a GCC
  11181. builtin and then its argument prototype would still apply. */
  11182. #ifdef __cplusplus
  11183. extern "C"
  11184. #endif
  11185. char XRenderCreateLinearGradient ();
  11186. int
  11187. main ()
  11188. {
  11189. return XRenderCreateLinearGradient ();
  11190. ;
  11191. return 0;
  11192. }
  11193. _ACEOF
  11194. if ac_fn_c_try_link "$LINENO"; then :
  11195. ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
  11196. else
  11197. ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
  11198. fi
  11199. rm -f core conftest.err conftest.$ac_objext \
  11200. conftest$ac_exeext conftest.$ac_ext
  11201. LIBS=$ac_check_lib_save_LIBS
  11202. fi
  11203. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
  11204. $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
  11205. if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
  11206. $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
  11207. fi
  11208. fi
  11209. fi
  11210. if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
  11211. case "x$with_xrender" in
  11212. x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
  11213. xno) ;;
  11214. *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
  11215. This is an error since --with-xrender was requested." "$LINENO" 5 ;;
  11216. esac
  11217. fi
  11218. if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
  11219. then
  11220. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11221. /* end confdefs.h. */
  11222. #include <X11/Xlib.h>
  11223. #include <X11/extensions/Xrandr.h>
  11224. int
  11225. main ()
  11226. {
  11227. static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
  11228. ;
  11229. return 0;
  11230. }
  11231. _ACEOF
  11232. if ac_fn_c_try_compile "$LINENO"; then :
  11233. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
  11234. $as_echo_n "checking for -lXrandr... " >&6; }
  11235. if ${ac_cv_lib_soname_Xrandr+:} false; then :
  11236. $as_echo_n "(cached) " >&6
  11237. else
  11238. ac_check_soname_save_LIBS=$LIBS
  11239. LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
  11240. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11241. /* end confdefs.h. */
  11242. /* Override any GCC internal prototype to avoid an error.
  11243. Use char because int might match the return type of a GCC
  11244. builtin and then its argument prototype would still apply. */
  11245. #ifdef __cplusplus
  11246. extern "C"
  11247. #endif
  11248. char XRRQueryExtension ();
  11249. int
  11250. main ()
  11251. {
  11252. return XRRQueryExtension ();
  11253. ;
  11254. return 0;
  11255. }
  11256. _ACEOF
  11257. if ac_fn_c_try_link "$LINENO"; then :
  11258. case "$LIBEXT" in
  11259. dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11260. 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'` ;;
  11261. *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11262. if ${ac_cv_lib_soname_Xrandr:+false} :; then :
  11263. ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11264. fi ;;
  11265. esac
  11266. else
  11267. ac_cv_lib_soname_Xrandr=
  11268. fi
  11269. rm -f core conftest.err conftest.$ac_objext \
  11270. conftest$ac_exeext conftest.$ac_ext
  11271. LIBS=$ac_check_soname_save_LIBS
  11272. fi
  11273. if ${ac_cv_lib_soname_Xrandr:+false} :; then :
  11274. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11275. $as_echo "not found" >&6; }
  11276. else
  11277. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
  11278. $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
  11279. cat >>confdefs.h <<_ACEOF
  11280. #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
  11281. _ACEOF
  11282. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11283. /* end confdefs.h. */
  11284. #include <X11/Xlib.h>
  11285. #include <X11/extensions/Xrandr.h>
  11286. int
  11287. main ()
  11288. {
  11289. static typeof(XRRGetProviderResources) *f; if (f) return 0;
  11290. ;
  11291. return 0;
  11292. }
  11293. _ACEOF
  11294. if ac_fn_c_try_compile "$LINENO"; then :
  11295. $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
  11296. else
  11297. as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
  11298. fi
  11299. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11300. fi
  11301. fi
  11302. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11303. fi
  11304. if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
  11305. case "x$with_xrandr" in
  11306. x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
  11307. xno) ;;
  11308. *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
  11309. This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
  11310. esac
  11311. fi
  11312. if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
  11313. then
  11314. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11315. /* end confdefs.h. */
  11316. #include <X11/Xlib.h>
  11317. #include <X11/extensions/Xfixes.h>
  11318. int
  11319. main ()
  11320. {
  11321. static typeof(XFixesQueryVersion) * func; if (func) return 0;
  11322. ;
  11323. return 0;
  11324. }
  11325. _ACEOF
  11326. if ac_fn_c_try_compile "$LINENO"; then :
  11327. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
  11328. $as_echo_n "checking for -lXfixes... " >&6; }
  11329. if ${ac_cv_lib_soname_Xfixes+:} false; then :
  11330. $as_echo_n "(cached) " >&6
  11331. else
  11332. ac_check_soname_save_LIBS=$LIBS
  11333. LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
  11334. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11335. /* end confdefs.h. */
  11336. /* Override any GCC internal prototype to avoid an error.
  11337. Use char because int might match the return type of a GCC
  11338. builtin and then its argument prototype would still apply. */
  11339. #ifdef __cplusplus
  11340. extern "C"
  11341. #endif
  11342. char XFixesQueryVersion ();
  11343. int
  11344. main ()
  11345. {
  11346. return XFixesQueryVersion ();
  11347. ;
  11348. return 0;
  11349. }
  11350. _ACEOF
  11351. if ac_fn_c_try_link "$LINENO"; then :
  11352. case "$LIBEXT" in
  11353. dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11354. 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'` ;;
  11355. *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11356. if ${ac_cv_lib_soname_Xfixes:+false} :; then :
  11357. ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11358. fi ;;
  11359. esac
  11360. else
  11361. ac_cv_lib_soname_Xfixes=
  11362. fi
  11363. rm -f core conftest.err conftest.$ac_objext \
  11364. conftest$ac_exeext conftest.$ac_ext
  11365. LIBS=$ac_check_soname_save_LIBS
  11366. fi
  11367. if ${ac_cv_lib_soname_Xfixes:+false} :; then :
  11368. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11369. $as_echo "not found" >&6; }
  11370. else
  11371. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
  11372. $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
  11373. cat >>confdefs.h <<_ACEOF
  11374. #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
  11375. _ACEOF
  11376. fi
  11377. fi
  11378. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11379. fi
  11380. if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
  11381. case "x$with_xfixes" in
  11382. x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
  11383. xno) ;;
  11384. *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
  11385. This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
  11386. esac
  11387. fi
  11388. if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
  11389. then
  11390. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11391. /* end confdefs.h. */
  11392. #include <X11/Xlib.h>
  11393. #include <X11/extensions/Xinerama.h>
  11394. int
  11395. main ()
  11396. {
  11397. static typeof(XineramaQueryScreens) * func; if (func) return 0;
  11398. ;
  11399. return 0;
  11400. }
  11401. _ACEOF
  11402. if ac_fn_c_try_compile "$LINENO"; then :
  11403. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
  11404. $as_echo_n "checking for -lXinerama... " >&6; }
  11405. if ${ac_cv_lib_soname_Xinerama+:} false; then :
  11406. $as_echo_n "(cached) " >&6
  11407. else
  11408. ac_check_soname_save_LIBS=$LIBS
  11409. LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
  11410. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11411. /* end confdefs.h. */
  11412. /* Override any GCC internal prototype to avoid an error.
  11413. Use char because int might match the return type of a GCC
  11414. builtin and then its argument prototype would still apply. */
  11415. #ifdef __cplusplus
  11416. extern "C"
  11417. #endif
  11418. char XineramaQueryScreens ();
  11419. int
  11420. main ()
  11421. {
  11422. return XineramaQueryScreens ();
  11423. ;
  11424. return 0;
  11425. }
  11426. _ACEOF
  11427. if ac_fn_c_try_link "$LINENO"; then :
  11428. case "$LIBEXT" in
  11429. dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11430. 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'` ;;
  11431. *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11432. if ${ac_cv_lib_soname_Xinerama:+false} :; then :
  11433. ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11434. fi ;;
  11435. esac
  11436. else
  11437. ac_cv_lib_soname_Xinerama=
  11438. fi
  11439. rm -f core conftest.err conftest.$ac_objext \
  11440. conftest$ac_exeext conftest.$ac_ext
  11441. LIBS=$ac_check_soname_save_LIBS
  11442. fi
  11443. if ${ac_cv_lib_soname_Xinerama:+false} :; then :
  11444. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11445. $as_echo "not found" >&6; }
  11446. else
  11447. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
  11448. $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
  11449. cat >>confdefs.h <<_ACEOF
  11450. #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
  11451. _ACEOF
  11452. fi
  11453. fi
  11454. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  11455. fi
  11456. if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
  11457. case "x$with_xinerama" in
  11458. x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
  11459. xno) ;;
  11460. *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
  11461. This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
  11462. esac
  11463. fi
  11464. if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
  11465. then
  11466. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
  11467. $as_echo_n "checking for -lXcomposite... " >&6; }
  11468. if ${ac_cv_lib_soname_Xcomposite+:} false; then :
  11469. $as_echo_n "(cached) " >&6
  11470. else
  11471. ac_check_soname_save_LIBS=$LIBS
  11472. LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
  11473. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11474. /* end confdefs.h. */
  11475. /* Override any GCC internal prototype to avoid an error.
  11476. Use char because int might match the return type of a GCC
  11477. builtin and then its argument prototype would still apply. */
  11478. #ifdef __cplusplus
  11479. extern "C"
  11480. #endif
  11481. char XCompositeRedirectWindow ();
  11482. int
  11483. main ()
  11484. {
  11485. return XCompositeRedirectWindow ();
  11486. ;
  11487. return 0;
  11488. }
  11489. _ACEOF
  11490. if ac_fn_c_try_link "$LINENO"; then :
  11491. case "$LIBEXT" in
  11492. dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11493. 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'` ;;
  11494. *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11495. if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
  11496. ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11497. fi ;;
  11498. esac
  11499. else
  11500. ac_cv_lib_soname_Xcomposite=
  11501. fi
  11502. rm -f core conftest.err conftest.$ac_objext \
  11503. conftest$ac_exeext conftest.$ac_ext
  11504. LIBS=$ac_check_soname_save_LIBS
  11505. fi
  11506. if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
  11507. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11508. $as_echo "not found" >&6; }
  11509. else
  11510. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
  11511. $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
  11512. cat >>confdefs.h <<_ACEOF
  11513. #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
  11514. _ACEOF
  11515. fi
  11516. fi
  11517. if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
  11518. case "x$with_xcomposite" in
  11519. x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
  11520. xno) ;;
  11521. *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
  11522. This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
  11523. esac
  11524. fi
  11525. ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
  11526. #include <X11/Xlib.h>
  11527. #endif
  11528. "
  11529. if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
  11530. cat >>confdefs.h <<_ACEOF
  11531. #define HAVE_XICCALLBACK_CALLBACK 1
  11532. _ACEOF
  11533. fi
  11534. ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
  11535. #include <X11/Xlib.h>
  11536. #endif
  11537. "
  11538. if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
  11539. cat >>confdefs.h <<_ACEOF
  11540. #define HAVE_XEVENT_XCOOKIE 1
  11541. _ACEOF
  11542. fi
  11543. opengl_msg=""
  11544. if test "x$with_opengl" != "xno"
  11545. then
  11546. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  11547. $as_echo_n "checking for -lGL... " >&6; }
  11548. if ${ac_cv_lib_soname_GL+:} false; then :
  11549. $as_echo_n "(cached) " >&6
  11550. else
  11551. ac_check_soname_save_LIBS=$LIBS
  11552. LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  11553. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11554. /* end confdefs.h. */
  11555. /* Override any GCC internal prototype to avoid an error.
  11556. Use char because int might match the return type of a GCC
  11557. builtin and then its argument prototype would still apply. */
  11558. #ifdef __cplusplus
  11559. extern "C"
  11560. #endif
  11561. char glXCreateContext ();
  11562. int
  11563. main ()
  11564. {
  11565. return glXCreateContext ();
  11566. ;
  11567. return 0;
  11568. }
  11569. _ACEOF
  11570. if ac_fn_c_try_link "$LINENO"; then :
  11571. case "$LIBEXT" in
  11572. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11573. 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'` ;;
  11574. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11575. if ${ac_cv_lib_soname_GL:+false} :; then :
  11576. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11577. fi ;;
  11578. esac
  11579. else
  11580. ac_cv_lib_soname_GL=
  11581. fi
  11582. rm -f core conftest.err conftest.$ac_objext \
  11583. conftest$ac_exeext conftest.$ac_ext
  11584. LIBS=$ac_check_soname_save_LIBS
  11585. fi
  11586. if ${ac_cv_lib_soname_GL:+false} :; then :
  11587. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11588. $as_echo "not found" >&6; }
  11589. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
  11590. $as_echo_n "checking for -lGL... " >&6; }
  11591. if ${ac_cv_lib_soname_GL+:} false; then :
  11592. $as_echo_n "(cached) " >&6
  11593. else
  11594. ac_check_soname_save_LIBS=$LIBS
  11595. 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"
  11596. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11597. /* end confdefs.h. */
  11598. /* Override any GCC internal prototype to avoid an error.
  11599. Use char because int might match the return type of a GCC
  11600. builtin and then its argument prototype would still apply. */
  11601. #ifdef __cplusplus
  11602. extern "C"
  11603. #endif
  11604. char glXCreateContext ();
  11605. int
  11606. main ()
  11607. {
  11608. return glXCreateContext ();
  11609. ;
  11610. return 0;
  11611. }
  11612. _ACEOF
  11613. if ac_fn_c_try_link "$LINENO"; then :
  11614. case "$LIBEXT" in
  11615. dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11616. 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'` ;;
  11617. *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11618. if ${ac_cv_lib_soname_GL:+false} :; then :
  11619. ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11620. fi ;;
  11621. esac
  11622. else
  11623. ac_cv_lib_soname_GL=
  11624. fi
  11625. rm -f core conftest.err conftest.$ac_objext \
  11626. conftest$ac_exeext conftest.$ac_ext
  11627. LIBS=$ac_check_soname_save_LIBS
  11628. fi
  11629. if ${ac_cv_lib_soname_GL:+false} :; then :
  11630. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11631. $as_echo "not found" >&6; }
  11632. if test -f /usr/X11R6/lib/libGL.a
  11633. then
  11634. opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
  11635. This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
  11636. else
  11637. opengl_msg="No OpenGL library found on this system."
  11638. fi
  11639. else
  11640. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  11641. $as_echo "$ac_cv_lib_soname_GL" >&6; }
  11642. cat >>confdefs.h <<_ACEOF
  11643. #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
  11644. _ACEOF
  11645. 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"
  11646. fi
  11647. else
  11648. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
  11649. $as_echo "$ac_cv_lib_soname_GL" >&6; }
  11650. cat >>confdefs.h <<_ACEOF
  11651. #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
  11652. _ACEOF
  11653. OPENGL_LIBS="-lGL"
  11654. fi
  11655. if test "x$with_osmesa" != "xno"
  11656. then
  11657. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
  11658. $as_echo_n "checking for -lOSMesa... " >&6; }
  11659. if ${ac_cv_lib_soname_OSMesa+:} false; then :
  11660. $as_echo_n "(cached) " >&6
  11661. else
  11662. ac_check_soname_save_LIBS=$LIBS
  11663. LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
  11664. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11665. /* end confdefs.h. */
  11666. /* Override any GCC internal prototype to avoid an error.
  11667. Use char because int might match the return type of a GCC
  11668. builtin and then its argument prototype would still apply. */
  11669. #ifdef __cplusplus
  11670. extern "C"
  11671. #endif
  11672. char OSMesaGetProcAddress ();
  11673. int
  11674. main ()
  11675. {
  11676. return OSMesaGetProcAddress ();
  11677. ;
  11678. return 0;
  11679. }
  11680. _ACEOF
  11681. if ac_fn_c_try_link "$LINENO"; then :
  11682. case "$LIBEXT" in
  11683. dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  11684. 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'` ;;
  11685. *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  11686. if ${ac_cv_lib_soname_OSMesa:+false} :; then :
  11687. ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  11688. fi ;;
  11689. esac
  11690. else
  11691. ac_cv_lib_soname_OSMesa=
  11692. fi
  11693. rm -f core conftest.err conftest.$ac_objext \
  11694. conftest$ac_exeext conftest.$ac_ext
  11695. LIBS=$ac_check_soname_save_LIBS
  11696. fi
  11697. if ${ac_cv_lib_soname_OSMesa:+false} :; then :
  11698. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  11699. $as_echo "not found" >&6; }
  11700. else
  11701. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
  11702. $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
  11703. cat >>confdefs.h <<_ACEOF
  11704. #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
  11705. _ACEOF
  11706. fi
  11707. if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
  11708. case "x$with_osmesa" in
  11709. x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
  11710. xno) ;;
  11711. *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
  11712. This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
  11713. esac
  11714. fi
  11715. fi
  11716. fi
  11717. if test -n "$opengl_msg"; then :
  11718. case "x$with_opengl" in
  11719. x) as_fn_append wine_warnings "|$opengl_msg
  11720. OpenGL and Direct3D won't be supported." ;;
  11721. xno) ;;
  11722. *) as_fn_error $? "$opengl_msg
  11723. OpenGL and Direct3D won't be supported.
  11724. This is an error since --with-opengl was requested." "$LINENO" 5 ;;
  11725. esac
  11726. fi
  11727. CPPFLAGS="$ac_save_CPPFLAGS"
  11728. else
  11729. X_CFLAGS=""
  11730. X_LIBS=""
  11731. fi
  11732. if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
  11733. then
  11734. if test "x$X_LIBS" = "x"; then :
  11735. case "x$with_x" in
  11736. xno) ;;
  11737. *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
  11738. without X support, which probably isn't what you want. You will need
  11739. to install ${notice_platform}development packages of Xlib at the very least.
  11740. Use the --without-x option if you really want this." "$LINENO" 5 ;;
  11741. esac
  11742. enable_winex11_drv=${enable_winex11_drv:-no}
  11743. fi
  11744. else
  11745. if test "x$X_LIBS" = "x"; then :
  11746. case "x$with_x" in
  11747. x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
  11748. xno) ;;
  11749. *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
  11750. This is an error since --with-x was requested." "$LINENO" 5 ;;
  11751. esac
  11752. enable_winex11_drv=${enable_winex11_drv:-no}
  11753. fi
  11754. fi
  11755. if test "$ac_cv_header_CL_cl_h" = "yes"
  11756. then
  11757. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
  11758. $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
  11759. if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
  11760. $as_echo_n "(cached) " >&6
  11761. else
  11762. ac_check_lib_save_LIBS=$LIBS
  11763. LIBS="-lOpenCL $LIBS"
  11764. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11765. /* end confdefs.h. */
  11766. /* Override any GCC internal prototype to avoid an error.
  11767. Use char because int might match the return type of a GCC
  11768. builtin and then its argument prototype would still apply. */
  11769. #ifdef __cplusplus
  11770. extern "C"
  11771. #endif
  11772. char clGetPlatformInfo ();
  11773. int
  11774. main ()
  11775. {
  11776. return clGetPlatformInfo ();
  11777. ;
  11778. return 0;
  11779. }
  11780. _ACEOF
  11781. if ac_fn_c_try_link "$LINENO"; then :
  11782. ac_cv_lib_OpenCL_clGetPlatformInfo=yes
  11783. else
  11784. ac_cv_lib_OpenCL_clGetPlatformInfo=no
  11785. fi
  11786. rm -f core conftest.err conftest.$ac_objext \
  11787. conftest$ac_exeext conftest.$ac_ext
  11788. LIBS=$ac_check_lib_save_LIBS
  11789. fi
  11790. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
  11791. $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
  11792. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
  11793. OPENCL_LIBS="-lOpenCL"
  11794. fi
  11795. fi
  11796. if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
  11797. case "x$with_opencl" in
  11798. x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
  11799. xno) ;;
  11800. *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
  11801. This is an error since --with-opencl was requested." "$LINENO" 5 ;;
  11802. esac
  11803. enable_opencl=${enable_opencl:-no}
  11804. fi
  11805. if test "$ac_cv_header_pcap_pcap_h" = "yes"
  11806. then
  11807. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
  11808. $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
  11809. if ${ac_cv_lib_pcap_pcap_create+:} false; then :
  11810. $as_echo_n "(cached) " >&6
  11811. else
  11812. ac_check_lib_save_LIBS=$LIBS
  11813. LIBS="-lpcap $LIBS"
  11814. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11815. /* end confdefs.h. */
  11816. /* Override any GCC internal prototype to avoid an error.
  11817. Use char because int might match the return type of a GCC
  11818. builtin and then its argument prototype would still apply. */
  11819. #ifdef __cplusplus
  11820. extern "C"
  11821. #endif
  11822. char pcap_create ();
  11823. int
  11824. main ()
  11825. {
  11826. return pcap_create ();
  11827. ;
  11828. return 0;
  11829. }
  11830. _ACEOF
  11831. if ac_fn_c_try_link "$LINENO"; then :
  11832. ac_cv_lib_pcap_pcap_create=yes
  11833. else
  11834. ac_cv_lib_pcap_pcap_create=no
  11835. fi
  11836. rm -f core conftest.err conftest.$ac_objext \
  11837. conftest$ac_exeext conftest.$ac_ext
  11838. LIBS=$ac_check_lib_save_LIBS
  11839. fi
  11840. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
  11841. $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
  11842. if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
  11843. PCAP_LIBS="-lpcap"
  11844. fi
  11845. fi
  11846. if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
  11847. case "x$with_pcap" in
  11848. x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
  11849. xno) ;;
  11850. *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
  11851. This is an error since --with-pcap was requested." "$LINENO" 5 ;;
  11852. esac
  11853. enable_wpcap=${enable_wpcap:-no}
  11854. fi
  11855. if test "x$with_xml" != "xno"
  11856. then
  11857. if ${XML2_CFLAGS:+false} :; then :
  11858. if ${PKG_CONFIG+:} false; then :
  11859. XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
  11860. fi
  11861. fi
  11862. test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
  11863. if ${XML2_LIBS:+false} :; then :
  11864. if ${PKG_CONFIG+:} false; then :
  11865. XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
  11866. fi
  11867. fi
  11868. test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
  11869. XML2_LIBS=${XML2_LIBS:-"-lxml2"}
  11870. $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
  11871. $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
  11872. ac_save_CPPFLAGS=$CPPFLAGS
  11873. CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
  11874. for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
  11875. do :
  11876. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  11877. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  11878. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  11879. cat >>confdefs.h <<_ACEOF
  11880. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  11881. _ACEOF
  11882. fi
  11883. done
  11884. 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"
  11885. then
  11886. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
  11887. $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
  11888. if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
  11889. $as_echo_n "(cached) " >&6
  11890. else
  11891. ac_check_lib_save_LIBS=$LIBS
  11892. LIBS="-lxml2 $XML2_LIBS $LIBS"
  11893. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11894. /* end confdefs.h. */
  11895. /* Override any GCC internal prototype to avoid an error.
  11896. Use char because int might match the return type of a GCC
  11897. builtin and then its argument prototype would still apply. */
  11898. #ifdef __cplusplus
  11899. extern "C"
  11900. #endif
  11901. char xmlParseMemory ();
  11902. int
  11903. main ()
  11904. {
  11905. return xmlParseMemory ();
  11906. ;
  11907. return 0;
  11908. }
  11909. _ACEOF
  11910. if ac_fn_c_try_link "$LINENO"; then :
  11911. ac_cv_lib_xml2_xmlParseMemory=yes
  11912. else
  11913. ac_cv_lib_xml2_xmlParseMemory=no
  11914. fi
  11915. rm -f core conftest.err conftest.$ac_objext \
  11916. conftest$ac_exeext conftest.$ac_ext
  11917. LIBS=$ac_check_lib_save_LIBS
  11918. fi
  11919. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
  11920. $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
  11921. if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
  11922. $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
  11923. else
  11924. XML2_LIBS=""
  11925. fi
  11926. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
  11927. $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
  11928. if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
  11929. $as_echo_n "(cached) " >&6
  11930. else
  11931. ac_check_lib_save_LIBS=$LIBS
  11932. LIBS="-lxml2 $XML2_LIBS $LIBS"
  11933. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11934. /* end confdefs.h. */
  11935. /* Override any GCC internal prototype to avoid an error.
  11936. Use char because int might match the return type of a GCC
  11937. builtin and then its argument prototype would still apply. */
  11938. #ifdef __cplusplus
  11939. extern "C"
  11940. #endif
  11941. char xmlReadMemory ();
  11942. int
  11943. main ()
  11944. {
  11945. return xmlReadMemory ();
  11946. ;
  11947. return 0;
  11948. }
  11949. _ACEOF
  11950. if ac_fn_c_try_link "$LINENO"; then :
  11951. ac_cv_lib_xml2_xmlReadMemory=yes
  11952. else
  11953. ac_cv_lib_xml2_xmlReadMemory=no
  11954. fi
  11955. rm -f core conftest.err conftest.$ac_objext \
  11956. conftest$ac_exeext conftest.$ac_ext
  11957. LIBS=$ac_check_lib_save_LIBS
  11958. fi
  11959. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
  11960. $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
  11961. if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
  11962. $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
  11963. fi
  11964. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
  11965. $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
  11966. if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
  11967. $as_echo_n "(cached) " >&6
  11968. else
  11969. ac_check_lib_save_LIBS=$LIBS
  11970. LIBS="-lxml2 $XML2_LIBS $LIBS"
  11971. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  11972. /* end confdefs.h. */
  11973. /* Override any GCC internal prototype to avoid an error.
  11974. Use char because int might match the return type of a GCC
  11975. builtin and then its argument prototype would still apply. */
  11976. #ifdef __cplusplus
  11977. extern "C"
  11978. #endif
  11979. char xmlNewDocPI ();
  11980. int
  11981. main ()
  11982. {
  11983. return xmlNewDocPI ();
  11984. ;
  11985. return 0;
  11986. }
  11987. _ACEOF
  11988. if ac_fn_c_try_link "$LINENO"; then :
  11989. ac_cv_lib_xml2_xmlNewDocPI=yes
  11990. else
  11991. ac_cv_lib_xml2_xmlNewDocPI=no
  11992. fi
  11993. rm -f core conftest.err conftest.$ac_objext \
  11994. conftest$ac_exeext conftest.$ac_ext
  11995. LIBS=$ac_check_lib_save_LIBS
  11996. fi
  11997. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
  11998. $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
  11999. if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
  12000. $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
  12001. fi
  12002. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
  12003. $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
  12004. if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
  12005. $as_echo_n "(cached) " >&6
  12006. else
  12007. ac_check_lib_save_LIBS=$LIBS
  12008. LIBS="-lxml2 $XML2_LIBS $LIBS"
  12009. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12010. /* end confdefs.h. */
  12011. /* Override any GCC internal prototype to avoid an error.
  12012. Use char because int might match the return type of a GCC
  12013. builtin and then its argument prototype would still apply. */
  12014. #ifdef __cplusplus
  12015. extern "C"
  12016. #endif
  12017. char xmlSchemaSetParserStructuredErrors ();
  12018. int
  12019. main ()
  12020. {
  12021. return xmlSchemaSetParserStructuredErrors ();
  12022. ;
  12023. return 0;
  12024. }
  12025. _ACEOF
  12026. if ac_fn_c_try_link "$LINENO"; then :
  12027. ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
  12028. else
  12029. ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
  12030. fi
  12031. rm -f core conftest.err conftest.$ac_objext \
  12032. conftest$ac_exeext conftest.$ac_ext
  12033. LIBS=$ac_check_lib_save_LIBS
  12034. fi
  12035. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
  12036. $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
  12037. if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
  12038. $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
  12039. fi
  12040. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
  12041. $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
  12042. if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
  12043. $as_echo_n "(cached) " >&6
  12044. else
  12045. ac_check_lib_save_LIBS=$LIBS
  12046. LIBS="-lxml2 $XML2_LIBS $LIBS"
  12047. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12048. /* end confdefs.h. */
  12049. /* Override any GCC internal prototype to avoid an error.
  12050. Use char because int might match the return type of a GCC
  12051. builtin and then its argument prototype would still apply. */
  12052. #ifdef __cplusplus
  12053. extern "C"
  12054. #endif
  12055. char xmlSchemaSetValidStructuredErrors ();
  12056. int
  12057. main ()
  12058. {
  12059. return xmlSchemaSetValidStructuredErrors ();
  12060. ;
  12061. return 0;
  12062. }
  12063. _ACEOF
  12064. if ac_fn_c_try_link "$LINENO"; then :
  12065. ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
  12066. else
  12067. ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
  12068. fi
  12069. rm -f core conftest.err conftest.$ac_objext \
  12070. conftest$ac_exeext conftest.$ac_ext
  12071. LIBS=$ac_check_lib_save_LIBS
  12072. fi
  12073. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
  12074. $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
  12075. if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
  12076. $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
  12077. fi
  12078. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
  12079. $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
  12080. if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
  12081. $as_echo_n "(cached) " >&6
  12082. else
  12083. ac_check_lib_save_LIBS=$LIBS
  12084. LIBS="-lxml2 $XML2_LIBS $LIBS"
  12085. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12086. /* end confdefs.h. */
  12087. /* Override any GCC internal prototype to avoid an error.
  12088. Use char because int might match the return type of a GCC
  12089. builtin and then its argument prototype would still apply. */
  12090. #ifdef __cplusplus
  12091. extern "C"
  12092. #endif
  12093. char xmlFirstElementChild ();
  12094. int
  12095. main ()
  12096. {
  12097. return xmlFirstElementChild ();
  12098. ;
  12099. return 0;
  12100. }
  12101. _ACEOF
  12102. if ac_fn_c_try_link "$LINENO"; then :
  12103. ac_cv_lib_xml2_xmlFirstElementChild=yes
  12104. else
  12105. ac_cv_lib_xml2_xmlFirstElementChild=no
  12106. fi
  12107. rm -f core conftest.err conftest.$ac_objext \
  12108. conftest$ac_exeext conftest.$ac_ext
  12109. LIBS=$ac_check_lib_save_LIBS
  12110. fi
  12111. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
  12112. $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
  12113. if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
  12114. $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
  12115. fi
  12116. ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
  12117. "
  12118. if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
  12119. $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
  12120. fi
  12121. else
  12122. XML2_CFLAGS=""
  12123. XML2_LIBS=""
  12124. fi
  12125. CPPFLAGS=$ac_save_CPPFLAGS
  12126. fi
  12127. if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
  12128. case "x$with_xml" in
  12129. x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
  12130. xno) ;;
  12131. *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
  12132. This is an error since --with-xml was requested." "$LINENO" 5 ;;
  12133. esac
  12134. fi
  12135. if test "x$with_xslt" != "xno"
  12136. then
  12137. if ${XSLT_CFLAGS:+false} :; then :
  12138. if ${PKG_CONFIG+:} false; then :
  12139. XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
  12140. fi
  12141. fi
  12142. test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
  12143. if ${XSLT_LIBS:+false} :; then :
  12144. if ${PKG_CONFIG+:} false; then :
  12145. XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
  12146. fi
  12147. fi
  12148. test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
  12149. XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
  12150. $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
  12151. $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
  12152. ac_save_CPPFLAGS=$CPPFLAGS
  12153. CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
  12154. for ac_header in libxslt/pattern.h libxslt/transform.h
  12155. do :
  12156. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  12157. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
  12158. # include <libxslt/pattern.h>
  12159. #endif
  12160. "
  12161. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  12162. cat >>confdefs.h <<_ACEOF
  12163. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  12164. _ACEOF
  12165. fi
  12166. done
  12167. if test "$ac_cv_header_libxslt_transform_h" = "yes"
  12168. then
  12169. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
  12170. $as_echo_n "checking for -lxslt... " >&6; }
  12171. if ${ac_cv_lib_soname_xslt+:} false; then :
  12172. $as_echo_n "(cached) " >&6
  12173. else
  12174. ac_check_soname_save_LIBS=$LIBS
  12175. LIBS="-lxslt $XSLT_LIBS $LIBS"
  12176. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12177. /* end confdefs.h. */
  12178. /* Override any GCC internal prototype to avoid an error.
  12179. Use char because int might match the return type of a GCC
  12180. builtin and then its argument prototype would still apply. */
  12181. #ifdef __cplusplus
  12182. extern "C"
  12183. #endif
  12184. char xsltCompilePattern ();
  12185. int
  12186. main ()
  12187. {
  12188. return xsltCompilePattern ();
  12189. ;
  12190. return 0;
  12191. }
  12192. _ACEOF
  12193. if ac_fn_c_try_link "$LINENO"; then :
  12194. case "$LIBEXT" in
  12195. dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12196. 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'` ;;
  12197. *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12198. if ${ac_cv_lib_soname_xslt:+false} :; then :
  12199. ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12200. fi ;;
  12201. esac
  12202. else
  12203. ac_cv_lib_soname_xslt=
  12204. fi
  12205. rm -f core conftest.err conftest.$ac_objext \
  12206. conftest$ac_exeext conftest.$ac_ext
  12207. LIBS=$ac_check_soname_save_LIBS
  12208. fi
  12209. if ${ac_cv_lib_soname_xslt:+false} :; then :
  12210. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12211. $as_echo "not found" >&6; }
  12212. else
  12213. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
  12214. $as_echo "$ac_cv_lib_soname_xslt" >&6; }
  12215. cat >>confdefs.h <<_ACEOF
  12216. #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
  12217. _ACEOF
  12218. fi
  12219. else
  12220. XSLT_CFLAGS=""
  12221. fi
  12222. CPPFLAGS=$ac_save_CPPFLAGS
  12223. fi
  12224. if test "x$ac_cv_lib_soname_xslt" = "x"; then :
  12225. case "x$with_xslt" in
  12226. x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
  12227. xno) ;;
  12228. *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
  12229. This is an error since --with-xslt was requested." "$LINENO" 5 ;;
  12230. esac
  12231. fi
  12232. if test "x$with_inotify" != "xno"
  12233. then
  12234. if ${INOTIFY_CFLAGS:+false} :; then :
  12235. if ${PKG_CONFIG+:} false; then :
  12236. INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
  12237. fi
  12238. fi
  12239. if ${INOTIFY_LIBS:+false} :; then :
  12240. if ${PKG_CONFIG+:} false; then :
  12241. INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
  12242. fi
  12243. fi
  12244. $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
  12245. $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
  12246. ac_save_CPPFLAGS=$CPPFLAGS
  12247. CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
  12248. for ac_header in sys/inotify.h
  12249. do :
  12250. ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
  12251. if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
  12252. cat >>confdefs.h <<_ACEOF
  12253. #define HAVE_SYS_INOTIFY_H 1
  12254. _ACEOF
  12255. fi
  12256. done
  12257. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
  12258. $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
  12259. if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
  12260. $as_echo_n "(cached) " >&6
  12261. else
  12262. ac_check_lib_save_LIBS=$LIBS
  12263. LIBS="-linotify $INOTIFY_LIBS $LIBS"
  12264. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12265. /* end confdefs.h. */
  12266. /* Override any GCC internal prototype to avoid an error.
  12267. Use char because int might match the return type of a GCC
  12268. builtin and then its argument prototype would still apply. */
  12269. #ifdef __cplusplus
  12270. extern "C"
  12271. #endif
  12272. char inotify_add_watch ();
  12273. int
  12274. main ()
  12275. {
  12276. return inotify_add_watch ();
  12277. ;
  12278. return 0;
  12279. }
  12280. _ACEOF
  12281. if ac_fn_c_try_link "$LINENO"; then :
  12282. ac_cv_lib_inotify_inotify_add_watch=yes
  12283. else
  12284. ac_cv_lib_inotify_inotify_add_watch=no
  12285. fi
  12286. rm -f core conftest.err conftest.$ac_objext \
  12287. conftest$ac_exeext conftest.$ac_ext
  12288. LIBS=$ac_check_lib_save_LIBS
  12289. fi
  12290. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
  12291. $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
  12292. if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
  12293. :
  12294. else
  12295. INOTIFY_LIBS=""
  12296. fi
  12297. CPPFLAGS=$ac_save_CPPFLAGS
  12298. fi
  12299. if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
  12300. case "x$with_inotify" in
  12301. x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
  12302. xno) ;;
  12303. *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
  12304. This is an error since --with-inotify was requested." "$LINENO" 5 ;;
  12305. esac
  12306. fi
  12307. if test "x$with_dbus" != "xno"
  12308. then
  12309. if ${DBUS_CFLAGS:+false} :; then :
  12310. if ${PKG_CONFIG+:} false; then :
  12311. DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
  12312. fi
  12313. fi
  12314. if ${DBUS_LIBS:+false} :; then :
  12315. if ${PKG_CONFIG+:} false; then :
  12316. DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
  12317. fi
  12318. fi
  12319. $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
  12320. $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
  12321. ac_save_CPPFLAGS=$CPPFLAGS
  12322. CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
  12323. ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
  12324. if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
  12325. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
  12326. $as_echo_n "checking for -ldbus-1... " >&6; }
  12327. if ${ac_cv_lib_soname_dbus_1+:} false; then :
  12328. $as_echo_n "(cached) " >&6
  12329. else
  12330. ac_check_soname_save_LIBS=$LIBS
  12331. LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
  12332. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12333. /* end confdefs.h. */
  12334. /* Override any GCC internal prototype to avoid an error.
  12335. Use char because int might match the return type of a GCC
  12336. builtin and then its argument prototype would still apply. */
  12337. #ifdef __cplusplus
  12338. extern "C"
  12339. #endif
  12340. char dbus_connection_close ();
  12341. int
  12342. main ()
  12343. {
  12344. return dbus_connection_close ();
  12345. ;
  12346. return 0;
  12347. }
  12348. _ACEOF
  12349. if ac_fn_c_try_link "$LINENO"; then :
  12350. case "$LIBEXT" in
  12351. dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12352. 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'` ;;
  12353. *) 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'`
  12354. if ${ac_cv_lib_soname_dbus_1:+false} :; then :
  12355. ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12356. fi ;;
  12357. esac
  12358. else
  12359. ac_cv_lib_soname_dbus_1=
  12360. fi
  12361. rm -f core conftest.err conftest.$ac_objext \
  12362. conftest$ac_exeext conftest.$ac_ext
  12363. LIBS=$ac_check_soname_save_LIBS
  12364. fi
  12365. if ${ac_cv_lib_soname_dbus_1:+false} :; then :
  12366. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12367. $as_echo "not found" >&6; }
  12368. DBUS_CFLAGS=""
  12369. else
  12370. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
  12371. $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
  12372. cat >>confdefs.h <<_ACEOF
  12373. #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
  12374. _ACEOF
  12375. fi
  12376. else
  12377. DBUS_CFLAGS=""
  12378. fi
  12379. CPPFLAGS=$ac_save_CPPFLAGS
  12380. fi
  12381. if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
  12382. "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
  12383. case "x$with_dbus" in
  12384. x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
  12385. xno) ;;
  12386. *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
  12387. This is an error since --with-dbus was requested." "$LINENO" 5 ;;
  12388. esac
  12389. fi
  12390. if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
  12391. then
  12392. if ${HAL_CFLAGS:+false} :; then :
  12393. if ${PKG_CONFIG+:} false; then :
  12394. HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
  12395. fi
  12396. fi
  12397. if ${HAL_LIBS:+false} :; then :
  12398. if ${PKG_CONFIG+:} false; then :
  12399. HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
  12400. fi
  12401. fi
  12402. HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
  12403. $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
  12404. $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
  12405. ac_save_CPPFLAGS=$CPPFLAGS
  12406. CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
  12407. ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
  12408. if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
  12409. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
  12410. $as_echo_n "checking for -lhal... " >&6; }
  12411. if ${ac_cv_lib_soname_hal+:} false; then :
  12412. $as_echo_n "(cached) " >&6
  12413. else
  12414. ac_check_soname_save_LIBS=$LIBS
  12415. LIBS="-lhal $HAL_LIBS $LIBS"
  12416. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12417. /* end confdefs.h. */
  12418. /* Override any GCC internal prototype to avoid an error.
  12419. Use char because int might match the return type of a GCC
  12420. builtin and then its argument prototype would still apply. */
  12421. #ifdef __cplusplus
  12422. extern "C"
  12423. #endif
  12424. char libhal_ctx_new ();
  12425. int
  12426. main ()
  12427. {
  12428. return libhal_ctx_new ();
  12429. ;
  12430. return 0;
  12431. }
  12432. _ACEOF
  12433. if ac_fn_c_try_link "$LINENO"; then :
  12434. case "$LIBEXT" in
  12435. dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12436. 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'` ;;
  12437. *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12438. if ${ac_cv_lib_soname_hal:+false} :; then :
  12439. ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12440. fi ;;
  12441. esac
  12442. else
  12443. ac_cv_lib_soname_hal=
  12444. fi
  12445. rm -f core conftest.err conftest.$ac_objext \
  12446. conftest$ac_exeext conftest.$ac_ext
  12447. LIBS=$ac_check_soname_save_LIBS
  12448. fi
  12449. if ${ac_cv_lib_soname_hal:+false} :; then :
  12450. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12451. $as_echo "not found" >&6; }
  12452. HAL_CFLAGS=""
  12453. else
  12454. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
  12455. $as_echo "$ac_cv_lib_soname_hal" >&6; }
  12456. cat >>confdefs.h <<_ACEOF
  12457. #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
  12458. _ACEOF
  12459. fi
  12460. else
  12461. HAL_CFLAGS=""
  12462. fi
  12463. CPPFLAGS=$ac_save_CPPFLAGS
  12464. if test "x$ac_cv_lib_soname_hal" = "x" -a \
  12465. "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
  12466. case "x$with_hal" in
  12467. x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
  12468. xno) ;;
  12469. *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
  12470. This is an error since --with-hal was requested." "$LINENO" 5 ;;
  12471. esac
  12472. fi
  12473. fi
  12474. if test "x$with_gnutls" != "xno"
  12475. then
  12476. if ${GNUTLS_CFLAGS:+false} :; then :
  12477. if ${PKG_CONFIG+:} false; then :
  12478. GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
  12479. fi
  12480. fi
  12481. if ${GNUTLS_LIBS:+false} :; then :
  12482. if ${PKG_CONFIG+:} false; then :
  12483. GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
  12484. fi
  12485. fi
  12486. GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
  12487. $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
  12488. $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
  12489. ac_save_CPPFLAGS=$CPPFLAGS
  12490. CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
  12491. ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
  12492. if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
  12493. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12494. /* end confdefs.h. */
  12495. #include <gnutls/gnutls.h>
  12496. #include <gnutls/crypto.h>
  12497. int
  12498. main ()
  12499. {
  12500. static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
  12501. ;
  12502. return 0;
  12503. }
  12504. _ACEOF
  12505. if ac_fn_c_try_compile "$LINENO"; then :
  12506. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
  12507. $as_echo_n "checking for -lgnutls... " >&6; }
  12508. if ${ac_cv_lib_soname_gnutls+:} false; then :
  12509. $as_echo_n "(cached) " >&6
  12510. else
  12511. ac_check_soname_save_LIBS=$LIBS
  12512. LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
  12513. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12514. /* end confdefs.h. */
  12515. /* Override any GCC internal prototype to avoid an error.
  12516. Use char because int might match the return type of a GCC
  12517. builtin and then its argument prototype would still apply. */
  12518. #ifdef __cplusplus
  12519. extern "C"
  12520. #endif
  12521. char gnutls_global_init ();
  12522. int
  12523. main ()
  12524. {
  12525. return gnutls_global_init ();
  12526. ;
  12527. return 0;
  12528. }
  12529. _ACEOF
  12530. if ac_fn_c_try_link "$LINENO"; then :
  12531. case "$LIBEXT" in
  12532. dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12533. 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'` ;;
  12534. *) 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'`
  12535. if ${ac_cv_lib_soname_gnutls:+false} :; then :
  12536. 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'`
  12537. fi ;;
  12538. esac
  12539. else
  12540. ac_cv_lib_soname_gnutls=
  12541. fi
  12542. rm -f core conftest.err conftest.$ac_objext \
  12543. conftest$ac_exeext conftest.$ac_ext
  12544. LIBS=$ac_check_soname_save_LIBS
  12545. fi
  12546. if ${ac_cv_lib_soname_gnutls:+false} :; then :
  12547. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12548. $as_echo "not found" >&6; }
  12549. GNUTLS_CFLAGS=""
  12550. else
  12551. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
  12552. $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
  12553. cat >>confdefs.h <<_ACEOF
  12554. #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
  12555. _ACEOF
  12556. fi
  12557. ac_wine_check_funcs_save_LIBS="$LIBS"
  12558. LIBS="$LIBS $GNUTLS_LIBS"
  12559. for ac_func in gnutls_cipher_init
  12560. do :
  12561. ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
  12562. if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
  12563. cat >>confdefs.h <<_ACEOF
  12564. #define HAVE_GNUTLS_CIPHER_INIT 1
  12565. _ACEOF
  12566. else
  12567. as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
  12568. fi
  12569. done
  12570. LIBS="$ac_wine_check_funcs_save_LIBS"
  12571. fi
  12572. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  12573. else
  12574. GNUTLS_CFLAGS=""
  12575. fi
  12576. CPPFLAGS=$ac_save_CPPFLAGS
  12577. fi
  12578. if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
  12579. case "x$with_gnutls" in
  12580. x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
  12581. xno) ;;
  12582. *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
  12583. This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
  12584. esac
  12585. fi
  12586. if test "x$with_sane" != "xno"
  12587. then
  12588. if ${SANE_CFLAGS:+false} :; then :
  12589. if ${PKG_CONFIG+:} false; then :
  12590. SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
  12591. fi
  12592. fi
  12593. test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
  12594. if ${SANE_LIBS:+false} :; then :
  12595. if ${PKG_CONFIG+:} false; then :
  12596. SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
  12597. fi
  12598. fi
  12599. test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
  12600. $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
  12601. $as_echo "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
  12602. ac_save_CPPFLAGS=$CPPFLAGS
  12603. CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
  12604. ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
  12605. if test "x$ac_cv_header_sane_sane_h" = xyes; then :
  12606. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
  12607. $as_echo_n "checking for -lsane... " >&6; }
  12608. if ${ac_cv_lib_soname_sane+:} false; then :
  12609. $as_echo_n "(cached) " >&6
  12610. else
  12611. ac_check_soname_save_LIBS=$LIBS
  12612. LIBS="-lsane $SANE_LIBS $LIBS"
  12613. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12614. /* end confdefs.h. */
  12615. /* Override any GCC internal prototype to avoid an error.
  12616. Use char because int might match the return type of a GCC
  12617. builtin and then its argument prototype would still apply. */
  12618. #ifdef __cplusplus
  12619. extern "C"
  12620. #endif
  12621. char sane_init ();
  12622. int
  12623. main ()
  12624. {
  12625. return sane_init ();
  12626. ;
  12627. return 0;
  12628. }
  12629. _ACEOF
  12630. if ac_fn_c_try_link "$LINENO"; then :
  12631. case "$LIBEXT" in
  12632. dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12633. 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'` ;;
  12634. *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12635. if ${ac_cv_lib_soname_sane:+false} :; then :
  12636. ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12637. fi ;;
  12638. esac
  12639. else
  12640. ac_cv_lib_soname_sane=
  12641. fi
  12642. rm -f core conftest.err conftest.$ac_objext \
  12643. conftest$ac_exeext conftest.$ac_ext
  12644. LIBS=$ac_check_soname_save_LIBS
  12645. fi
  12646. if ${ac_cv_lib_soname_sane:+false} :; then :
  12647. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12648. $as_echo "not found" >&6; }
  12649. SANE_CFLAGS=""
  12650. else
  12651. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
  12652. $as_echo "$ac_cv_lib_soname_sane" >&6; }
  12653. cat >>confdefs.h <<_ACEOF
  12654. #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
  12655. _ACEOF
  12656. fi
  12657. else
  12658. SANE_CFLAGS=""
  12659. fi
  12660. CPPFLAGS=$ac_save_CPPFLAGS
  12661. fi
  12662. if test "x$ac_cv_lib_soname_sane" = "x"; then :
  12663. case "x$with_sane" in
  12664. x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
  12665. xno) ;;
  12666. *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
  12667. This is an error since --with-sane was requested." "$LINENO" 5 ;;
  12668. esac
  12669. fi
  12670. if test "x$with_usb" != "xno"
  12671. then
  12672. if ${USB_CFLAGS:+false} :; then :
  12673. if ${PKG_CONFIG+:} false; then :
  12674. USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
  12675. fi
  12676. fi
  12677. if ${USB_LIBS:+false} :; then :
  12678. if ${PKG_CONFIG+:} false; then :
  12679. USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
  12680. fi
  12681. fi
  12682. USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
  12683. $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
  12684. $as_echo "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
  12685. ac_save_CPPFLAGS=$CPPFLAGS
  12686. CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
  12687. ac_fn_c_check_header_mongrel "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
  12688. if test "x$ac_cv_header_libusb_h" = xyes; then :
  12689. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
  12690. $as_echo_n "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
  12691. if ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+:} false; then :
  12692. $as_echo_n "(cached) " >&6
  12693. else
  12694. ac_check_lib_save_LIBS=$LIBS
  12695. LIBS="-lusb-1.0 $USB_LIBS $LIBS"
  12696. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12697. /* end confdefs.h. */
  12698. /* Override any GCC internal prototype to avoid an error.
  12699. Use char because int might match the return type of a GCC
  12700. builtin and then its argument prototype would still apply. */
  12701. #ifdef __cplusplus
  12702. extern "C"
  12703. #endif
  12704. char libusb_interrupt_event_handler ();
  12705. int
  12706. main ()
  12707. {
  12708. return libusb_interrupt_event_handler ();
  12709. ;
  12710. return 0;
  12711. }
  12712. _ACEOF
  12713. if ac_fn_c_try_link "$LINENO"; then :
  12714. ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
  12715. else
  12716. ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
  12717. fi
  12718. rm -f core conftest.err conftest.$ac_objext \
  12719. conftest$ac_exeext conftest.$ac_ext
  12720. LIBS=$ac_check_lib_save_LIBS
  12721. fi
  12722. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
  12723. $as_echo "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
  12724. if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes; then :
  12725. :
  12726. else
  12727. USB_LIBS=""
  12728. fi
  12729. else
  12730. USB_LIBS=""
  12731. fi
  12732. CPPFLAGS=$ac_save_CPPFLAGS
  12733. fi
  12734. if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"; then :
  12735. case "x$with_usb" in
  12736. x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
  12737. xno) ;;
  12738. *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
  12739. This is an error since --with-usb was requested." "$LINENO" 5 ;;
  12740. esac
  12741. enable_wineusb_sys=${enable_wineusb_sys:-no}
  12742. fi
  12743. if test "x$with_v4l2" != "xno"
  12744. then
  12745. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
  12746. $as_echo_n "checking for -lv4l2... " >&6; }
  12747. if ${ac_cv_lib_soname_v4l2+:} false; then :
  12748. $as_echo_n "(cached) " >&6
  12749. else
  12750. ac_check_soname_save_LIBS=$LIBS
  12751. LIBS="-lv4l2 $LIBS"
  12752. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12753. /* end confdefs.h. */
  12754. /* Override any GCC internal prototype to avoid an error.
  12755. Use char because int might match the return type of a GCC
  12756. builtin and then its argument prototype would still apply. */
  12757. #ifdef __cplusplus
  12758. extern "C"
  12759. #endif
  12760. char v4l2_open ();
  12761. int
  12762. main ()
  12763. {
  12764. return v4l2_open ();
  12765. ;
  12766. return 0;
  12767. }
  12768. _ACEOF
  12769. if ac_fn_c_try_link "$LINENO"; then :
  12770. case "$LIBEXT" in
  12771. dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  12772. 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'` ;;
  12773. *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  12774. if ${ac_cv_lib_soname_v4l2:+false} :; then :
  12775. ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  12776. fi ;;
  12777. esac
  12778. else
  12779. ac_cv_lib_soname_v4l2=
  12780. fi
  12781. rm -f core conftest.err conftest.$ac_objext \
  12782. conftest$ac_exeext conftest.$ac_ext
  12783. LIBS=$ac_check_soname_save_LIBS
  12784. fi
  12785. if ${ac_cv_lib_soname_v4l2:+false} :; then :
  12786. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  12787. $as_echo "not found" >&6; }
  12788. else
  12789. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
  12790. $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
  12791. cat >>confdefs.h <<_ACEOF
  12792. #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
  12793. _ACEOF
  12794. fi
  12795. fi
  12796. if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
  12797. case "x$with_v4l2" in
  12798. x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
  12799. xno) ;;
  12800. *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
  12801. This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
  12802. esac
  12803. fi
  12804. if test "x$with_gphoto" != "xno"
  12805. then
  12806. if ${GPHOTO2_CFLAGS:+false} :; then :
  12807. if ${PKG_CONFIG+:} false; then :
  12808. GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
  12809. fi
  12810. fi
  12811. test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
  12812. if ${GPHOTO2_LIBS:+false} :; then :
  12813. if ${PKG_CONFIG+:} false; then :
  12814. GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
  12815. fi
  12816. fi
  12817. test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
  12818. GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
  12819. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
  12820. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
  12821. ac_save_CPPFLAGS=$CPPFLAGS
  12822. CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
  12823. ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
  12824. if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
  12825. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
  12826. $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
  12827. if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
  12828. $as_echo_n "(cached) " >&6
  12829. else
  12830. ac_check_lib_save_LIBS=$LIBS
  12831. LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
  12832. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12833. /* end confdefs.h. */
  12834. /* Override any GCC internal prototype to avoid an error.
  12835. Use char because int might match the return type of a GCC
  12836. builtin and then its argument prototype would still apply. */
  12837. #ifdef __cplusplus
  12838. extern "C"
  12839. #endif
  12840. char gp_camera_new ();
  12841. int
  12842. main ()
  12843. {
  12844. return gp_camera_new ();
  12845. ;
  12846. return 0;
  12847. }
  12848. _ACEOF
  12849. if ac_fn_c_try_link "$LINENO"; then :
  12850. ac_cv_lib_gphoto2_gp_camera_new=yes
  12851. else
  12852. ac_cv_lib_gphoto2_gp_camera_new=no
  12853. fi
  12854. rm -f core conftest.err conftest.$ac_objext \
  12855. conftest$ac_exeext conftest.$ac_ext
  12856. LIBS=$ac_check_lib_save_LIBS
  12857. fi
  12858. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
  12859. $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
  12860. if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
  12861. $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
  12862. else
  12863. GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
  12864. fi
  12865. else
  12866. GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
  12867. fi
  12868. CPPFLAGS=$ac_save_CPPFLAGS
  12869. if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
  12870. if ${PKG_CONFIG+:} false; then :
  12871. GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
  12872. fi
  12873. fi
  12874. test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
  12875. if ${GPHOTO2_PORT_LIBS:+false} :; then :
  12876. if ${PKG_CONFIG+:} false; then :
  12877. GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
  12878. fi
  12879. fi
  12880. test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
  12881. GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
  12882. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
  12883. $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
  12884. ac_save_CPPFLAGS=$CPPFLAGS
  12885. CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
  12886. ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
  12887. if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
  12888. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
  12889. $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
  12890. if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
  12891. $as_echo_n "(cached) " >&6
  12892. else
  12893. ac_check_lib_save_LIBS=$LIBS
  12894. LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
  12895. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12896. /* end confdefs.h. */
  12897. /* Override any GCC internal prototype to avoid an error.
  12898. Use char because int might match the return type of a GCC
  12899. builtin and then its argument prototype would still apply. */
  12900. #ifdef __cplusplus
  12901. extern "C"
  12902. #endif
  12903. char gp_port_info_list_new ();
  12904. int
  12905. main ()
  12906. {
  12907. return gp_port_info_list_new ();
  12908. ;
  12909. return 0;
  12910. }
  12911. _ACEOF
  12912. if ac_fn_c_try_link "$LINENO"; then :
  12913. ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
  12914. else
  12915. ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
  12916. fi
  12917. rm -f core conftest.err conftest.$ac_objext \
  12918. conftest$ac_exeext conftest.$ac_ext
  12919. LIBS=$ac_check_lib_save_LIBS
  12920. fi
  12921. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
  12922. $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
  12923. if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
  12924. $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
  12925. else
  12926. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  12927. fi
  12928. else
  12929. GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
  12930. fi
  12931. CPPFLAGS=$ac_save_CPPFLAGS
  12932. fi
  12933. if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
  12934. case "x$with_gphoto" in
  12935. x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
  12936. xno) ;;
  12937. *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
  12938. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  12939. esac
  12940. fi
  12941. if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
  12942. case "x$with_gphoto" in
  12943. x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
  12944. xno) ;;
  12945. *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
  12946. This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
  12947. esac
  12948. fi
  12949. if test "$ac_cv_header_resolv_h" = "yes"
  12950. then
  12951. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
  12952. $as_echo_n "checking for resolver library... " >&6; }
  12953. if ${ac_cv_have_resolv+:} false; then :
  12954. $as_echo_n "(cached) " >&6
  12955. else
  12956. ac_save_LIBS="$LIBS"
  12957. for lib in '' -lresolv
  12958. do
  12959. LIBS="$lib $ac_save_LIBS"
  12960. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  12961. /* end confdefs.h. */
  12962. #ifdef HAVE_NETINET_IN_H
  12963. #include <netinet/in.h>
  12964. #endif
  12965. #include <resolv.h>
  12966. int
  12967. main ()
  12968. {
  12969. if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
  12970. ;
  12971. return 0;
  12972. }
  12973. _ACEOF
  12974. if ac_fn_c_try_link "$LINENO"; then :
  12975. ac_cv_have_resolv=${lib:-"none required"}
  12976. else
  12977. ac_cv_have_resolv="not found"
  12978. fi
  12979. rm -f core conftest.err conftest.$ac_objext \
  12980. conftest$ac_exeext conftest.$ac_ext
  12981. test "x$ac_cv_have_resolv" = "xnot found" || break
  12982. done
  12983. LIBS="$ac_save_LIBS"
  12984. fi
  12985. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
  12986. $as_echo "$ac_cv_have_resolv" >&6; }
  12987. case "$ac_cv_have_resolv" in
  12988. "not found") ;;
  12989. "none required")
  12990. $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
  12991. ;;
  12992. *)
  12993. $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
  12994. RESOLV_LIBS=$ac_cv_have_resolv
  12995. ;;
  12996. esac
  12997. if test "x$ac_cv_have_resolv" != "xnot found"
  12998. then
  12999. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
  13000. $as_echo_n "checking for res_getservers... " >&6; }
  13001. if ${ac_cv_have_res_getservers+:} false; then :
  13002. $as_echo_n "(cached) " >&6
  13003. else
  13004. ac_save_LIBS="$LIBS"
  13005. LIBS="$RESOLV_LIBS $LIBS"
  13006. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13007. /* end confdefs.h. */
  13008. #include <resolv.h>
  13009. int
  13010. main ()
  13011. {
  13012. res_getservers(NULL, NULL, 0);
  13013. ;
  13014. return 0;
  13015. }
  13016. _ACEOF
  13017. if ac_fn_c_try_link "$LINENO"; then :
  13018. ac_cv_have_res_getservers=yes
  13019. else
  13020. ac_cv_have_res_getservers=no
  13021. fi
  13022. rm -f core conftest.err conftest.$ac_objext \
  13023. conftest$ac_exeext conftest.$ac_ext
  13024. LIBS="$ac_save_LIBS"
  13025. fi
  13026. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
  13027. $as_echo "$ac_cv_have_res_getservers" >&6; }
  13028. if test "$ac_cv_have_res_getservers" = "yes"
  13029. then
  13030. $as_echo "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
  13031. fi
  13032. fi
  13033. fi
  13034. if test "x$with_cms" != "xno"
  13035. then
  13036. if ${LCMS2_CFLAGS:+false} :; then :
  13037. if ${PKG_CONFIG+:} false; then :
  13038. LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
  13039. fi
  13040. fi
  13041. if ${LCMS2_LIBS:+false} :; then :
  13042. if ${PKG_CONFIG+:} false; then :
  13043. LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
  13044. fi
  13045. fi
  13046. LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
  13047. $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
  13048. $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
  13049. ac_save_CPPFLAGS=$CPPFLAGS
  13050. CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
  13051. for ac_header in lcms2.h
  13052. do :
  13053. ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
  13054. if test "x$ac_cv_header_lcms2_h" = xyes; then :
  13055. cat >>confdefs.h <<_ACEOF
  13056. #define HAVE_LCMS2_H 1
  13057. _ACEOF
  13058. fi
  13059. done
  13060. if test "$ac_cv_header_lcms2_h" = "yes"
  13061. then
  13062. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
  13063. $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
  13064. if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
  13065. $as_echo_n "(cached) " >&6
  13066. else
  13067. ac_check_lib_save_LIBS=$LIBS
  13068. LIBS="-llcms2 $LCMS2_LIBS $LIBS"
  13069. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13070. /* end confdefs.h. */
  13071. /* Override any GCC internal prototype to avoid an error.
  13072. Use char because int might match the return type of a GCC
  13073. builtin and then its argument prototype would still apply. */
  13074. #ifdef __cplusplus
  13075. extern "C"
  13076. #endif
  13077. char cmsOpenProfileFromFile ();
  13078. int
  13079. main ()
  13080. {
  13081. return cmsOpenProfileFromFile ();
  13082. ;
  13083. return 0;
  13084. }
  13085. _ACEOF
  13086. if ac_fn_c_try_link "$LINENO"; then :
  13087. ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
  13088. else
  13089. ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
  13090. fi
  13091. rm -f core conftest.err conftest.$ac_objext \
  13092. conftest$ac_exeext conftest.$ac_ext
  13093. LIBS=$ac_check_lib_save_LIBS
  13094. fi
  13095. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
  13096. $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
  13097. if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
  13098. $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
  13099. else
  13100. LCMS2_LIBS=""
  13101. fi
  13102. else
  13103. LCMS2_CFLAGS=""
  13104. LCMS2_LIBS=""
  13105. fi
  13106. CPPFLAGS=$ac_save_CPPFLAGS
  13107. fi
  13108. if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
  13109. case "x$with_cms" in
  13110. x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
  13111. xno) ;;
  13112. *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
  13113. This is an error since --with-cms was requested." "$LINENO" 5 ;;
  13114. esac
  13115. fi
  13116. if test "x$with_freetype" != "xno"
  13117. then
  13118. if ${FREETYPE_CFLAGS:+false} :; then :
  13119. if ${PKG_CONFIG+:} false; then :
  13120. FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
  13121. fi
  13122. fi
  13123. test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
  13124. if ${FREETYPE_LIBS:+false} :; then :
  13125. if ${PKG_CONFIG+:} false; then :
  13126. FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
  13127. fi
  13128. fi
  13129. test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
  13130. FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
  13131. $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
  13132. $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
  13133. ac_save_CPPFLAGS=$CPPFLAGS
  13134. CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
  13135. for ac_header in ft2build.h
  13136. do :
  13137. ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
  13138. if test "x$ac_cv_header_ft2build_h" = xyes; then :
  13139. cat >>confdefs.h <<_ACEOF
  13140. #define HAVE_FT2BUILD_H 1
  13141. _ACEOF
  13142. fi
  13143. done
  13144. if test "$ac_cv_header_ft2build_h" = "yes"
  13145. then
  13146. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
  13147. $as_echo_n "checking for -lfreetype... " >&6; }
  13148. if ${ac_cv_lib_soname_freetype+:} false; then :
  13149. $as_echo_n "(cached) " >&6
  13150. else
  13151. ac_check_soname_save_LIBS=$LIBS
  13152. LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
  13153. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13154. /* end confdefs.h. */
  13155. /* Override any GCC internal prototype to avoid an error.
  13156. Use char because int might match the return type of a GCC
  13157. builtin and then its argument prototype would still apply. */
  13158. #ifdef __cplusplus
  13159. extern "C"
  13160. #endif
  13161. char FT_Init_FreeType ();
  13162. int
  13163. main ()
  13164. {
  13165. return FT_Init_FreeType ();
  13166. ;
  13167. return 0;
  13168. }
  13169. _ACEOF
  13170. if ac_fn_c_try_link "$LINENO"; then :
  13171. case "$LIBEXT" in
  13172. dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13173. 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'` ;;
  13174. *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13175. if ${ac_cv_lib_soname_freetype:+false} :; then :
  13176. ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13177. fi ;;
  13178. esac
  13179. else
  13180. ac_cv_lib_soname_freetype=
  13181. fi
  13182. rm -f core conftest.err conftest.$ac_objext \
  13183. conftest$ac_exeext conftest.$ac_ext
  13184. LIBS=$ac_check_soname_save_LIBS
  13185. fi
  13186. if ${ac_cv_lib_soname_freetype:+false} :; then :
  13187. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13188. $as_echo "not found" >&6; }
  13189. FREETYPE_LIBS=""
  13190. else
  13191. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
  13192. $as_echo "$ac_cv_lib_soname_freetype" >&6; }
  13193. cat >>confdefs.h <<_ACEOF
  13194. #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
  13195. _ACEOF
  13196. $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
  13197. ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
  13198. #include FT_MODULE_H
  13199. "
  13200. if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
  13201. cat >>confdefs.h <<_ACEOF
  13202. #define HAVE_FT_TRUETYPEENGINETYPE 1
  13203. _ACEOF
  13204. fi
  13205. fi
  13206. else
  13207. FREETYPE_CFLAGS=""
  13208. FREETYPE_LIBS=""
  13209. fi
  13210. CPPFLAGS=$ac_save_CPPFLAGS
  13211. fi
  13212. if test "x$ac_cv_lib_soname_freetype" = x; then :
  13213. case "x$with_freetype" in
  13214. xno) ;;
  13215. *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
  13216. Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
  13217. esac
  13218. enable_fonts=${enable_fonts:-no}
  13219. fi
  13220. ac_wine_check_funcs_save_LIBS="$LIBS"
  13221. LIBS="$LIBS $PTHREAD_LIBS"
  13222. for ac_func in \
  13223. pthread_getthreadid_np
  13224. do :
  13225. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  13226. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  13227. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  13228. cat >>confdefs.h <<_ACEOF
  13229. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  13230. _ACEOF
  13231. fi
  13232. done
  13233. LIBS="$ac_wine_check_funcs_save_LIBS"
  13234. if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
  13235. then
  13236. if test "$ac_cv_header_gettext_po_h" = "yes"
  13237. then
  13238. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
  13239. $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
  13240. if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
  13241. $as_echo_n "(cached) " >&6
  13242. else
  13243. ac_check_lib_save_LIBS=$LIBS
  13244. LIBS="-lgettextpo $LIBS"
  13245. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13246. /* end confdefs.h. */
  13247. /* Override any GCC internal prototype to avoid an error.
  13248. Use char because int might match the return type of a GCC
  13249. builtin and then its argument prototype would still apply. */
  13250. #ifdef __cplusplus
  13251. extern "C"
  13252. #endif
  13253. char po_message_msgctxt ();
  13254. int
  13255. main ()
  13256. {
  13257. return po_message_msgctxt ();
  13258. ;
  13259. return 0;
  13260. }
  13261. _ACEOF
  13262. if ac_fn_c_try_link "$LINENO"; then :
  13263. ac_cv_lib_gettextpo_po_message_msgctxt=yes
  13264. else
  13265. ac_cv_lib_gettextpo_po_message_msgctxt=no
  13266. fi
  13267. rm -f core conftest.err conftest.$ac_objext \
  13268. conftest$ac_exeext conftest.$ac_ext
  13269. LIBS=$ac_check_lib_save_LIBS
  13270. fi
  13271. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
  13272. $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
  13273. if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
  13274. $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
  13275. GETTEXTPO_LIBS="-lgettextpo"
  13276. fi
  13277. fi
  13278. if test "x$GETTEXTPO_LIBS" = "x"; then :
  13279. case "x$with_gettextpo" in
  13280. x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
  13281. xno) ;;
  13282. *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
  13283. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  13284. esac
  13285. fi
  13286. if test "$srcdir" != .; then :
  13287. case "x$with_gettextpo" in
  13288. x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
  13289. xno) ;;
  13290. *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
  13291. This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
  13292. esac
  13293. fi
  13294. fi
  13295. if test "x$with_pulse" != "xno";
  13296. then
  13297. if ${PULSE_CFLAGS:+false} :; then :
  13298. if ${PKG_CONFIG+:} false; then :
  13299. PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
  13300. fi
  13301. fi
  13302. if ${PULSE_LIBS:+false} :; then :
  13303. if ${PKG_CONFIG+:} false; then :
  13304. PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
  13305. fi
  13306. fi
  13307. $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
  13308. $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
  13309. ac_save_CPPFLAGS=$CPPFLAGS
  13310. CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
  13311. for ac_header in pulse/pulseaudio.h
  13312. do :
  13313. ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
  13314. if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
  13315. cat >>confdefs.h <<_ACEOF
  13316. #define HAVE_PULSE_PULSEAUDIO_H 1
  13317. _ACEOF
  13318. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
  13319. $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
  13320. if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
  13321. $as_echo_n "(cached) " >&6
  13322. else
  13323. ac_check_lib_save_LIBS=$LIBS
  13324. LIBS="-lpulse $PULSE_LIBS $LIBS"
  13325. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13326. /* end confdefs.h. */
  13327. /* Override any GCC internal prototype to avoid an error.
  13328. Use char because int might match the return type of a GCC
  13329. builtin and then its argument prototype would still apply. */
  13330. #ifdef __cplusplus
  13331. extern "C"
  13332. #endif
  13333. char pa_stream_is_corked ();
  13334. int
  13335. main ()
  13336. {
  13337. return pa_stream_is_corked ();
  13338. ;
  13339. return 0;
  13340. }
  13341. _ACEOF
  13342. if ac_fn_c_try_link "$LINENO"; then :
  13343. ac_cv_lib_pulse_pa_stream_is_corked=yes
  13344. else
  13345. ac_cv_lib_pulse_pa_stream_is_corked=no
  13346. fi
  13347. rm -f core conftest.err conftest.$ac_objext \
  13348. conftest$ac_exeext conftest.$ac_ext
  13349. LIBS=$ac_check_lib_save_LIBS
  13350. fi
  13351. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
  13352. $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
  13353. if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
  13354. :
  13355. else
  13356. PULSE_LIBS=""
  13357. fi
  13358. else
  13359. PULSE_LIBS=""
  13360. fi
  13361. done
  13362. CPPFLAGS=$ac_save_CPPFLAGS
  13363. fi
  13364. if test -z "$PULSE_LIBS"; then :
  13365. case "x$with_pulse" in
  13366. x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
  13367. xno) ;;
  13368. *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
  13369. This is an error since --with-pulse was requested." "$LINENO" 5 ;;
  13370. esac
  13371. enable_winepulse_drv=${enable_winepulse_drv:-no}
  13372. fi
  13373. if test "x$with_gstreamer" != "xno"
  13374. then
  13375. if ${GSTREAMER_CFLAGS:+false} :; then :
  13376. if ${PKG_CONFIG+:} false; then :
  13377. GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  13378. fi
  13379. fi
  13380. if ${GSTREAMER_LIBS:+false} :; then :
  13381. if ${PKG_CONFIG+:} false; then :
  13382. GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
  13383. fi
  13384. fi
  13385. $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
  13386. $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
  13387. ac_save_CPPFLAGS=$CPPFLAGS
  13388. CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
  13389. ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
  13390. if test "x$ac_cv_header_gst_gst_h" = xyes; then :
  13391. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
  13392. $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
  13393. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13394. /* end confdefs.h. */
  13395. #include <gst/gst.h>
  13396. int
  13397. main ()
  13398. {
  13399. static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
  13400. ;
  13401. return 0;
  13402. }
  13403. _ACEOF
  13404. if ac_fn_c_try_compile "$LINENO"; then :
  13405. { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
  13406. $as_echo "yes" >&6; }
  13407. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
  13408. $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
  13409. if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
  13410. $as_echo_n "(cached) " >&6
  13411. else
  13412. ac_check_lib_save_LIBS=$LIBS
  13413. LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
  13414. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13415. /* end confdefs.h. */
  13416. /* Override any GCC internal prototype to avoid an error.
  13417. Use char because int might match the return type of a GCC
  13418. builtin and then its argument prototype would still apply. */
  13419. #ifdef __cplusplus
  13420. extern "C"
  13421. #endif
  13422. char gst_pad_new ();
  13423. int
  13424. main ()
  13425. {
  13426. return gst_pad_new ();
  13427. ;
  13428. return 0;
  13429. }
  13430. _ACEOF
  13431. if ac_fn_c_try_link "$LINENO"; then :
  13432. ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
  13433. else
  13434. ac_cv_lib_gstreamer_1_0_gst_pad_new=no
  13435. fi
  13436. rm -f core conftest.err conftest.$ac_objext \
  13437. conftest$ac_exeext conftest.$ac_ext
  13438. LIBS=$ac_check_lib_save_LIBS
  13439. fi
  13440. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
  13441. $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
  13442. if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
  13443. :
  13444. fi
  13445. else
  13446. { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
  13447. $as_echo "no" >&6; }
  13448. ac_glib2_broken=yes
  13449. as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
  13450. fi
  13451. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13452. fi
  13453. CPPFLAGS=$ac_save_CPPFLAGS
  13454. fi
  13455. 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 :
  13456. case "x$with_gstreamer" in
  13457. x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
  13458. xno) ;;
  13459. *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
  13460. This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
  13461. esac
  13462. fi
  13463. test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
  13464. ALSA_LIBS=""
  13465. if test "x$with_alsa" != "xno"
  13466. then
  13467. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
  13468. $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
  13469. if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
  13470. $as_echo_n "(cached) " >&6
  13471. else
  13472. ac_check_lib_save_LIBS=$LIBS
  13473. LIBS="-lasound $LIBS"
  13474. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13475. /* end confdefs.h. */
  13476. /* Override any GCC internal prototype to avoid an error.
  13477. Use char because int might match the return type of a GCC
  13478. builtin and then its argument prototype would still apply. */
  13479. #ifdef __cplusplus
  13480. extern "C"
  13481. #endif
  13482. char snd_pcm_hw_params_get_access_mask ();
  13483. int
  13484. main ()
  13485. {
  13486. return snd_pcm_hw_params_get_access_mask ();
  13487. ;
  13488. return 0;
  13489. }
  13490. _ACEOF
  13491. if ac_fn_c_try_link "$LINENO"; then :
  13492. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
  13493. else
  13494. ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
  13495. fi
  13496. rm -f core conftest.err conftest.$ac_objext \
  13497. conftest$ac_exeext conftest.$ac_ext
  13498. LIBS=$ac_check_lib_save_LIBS
  13499. fi
  13500. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
  13501. $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
  13502. if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
  13503. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13504. /* end confdefs.h. */
  13505. #include <alsa/asoundlib.h>
  13506. int
  13507. main ()
  13508. {
  13509. snd_pcm_hw_params_get_access_mask(NULL, NULL)
  13510. ;
  13511. return 0;
  13512. }
  13513. _ACEOF
  13514. if ac_fn_c_try_compile "$LINENO"; then :
  13515. ALSA_LIBS="-lasound"
  13516. fi
  13517. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  13518. fi
  13519. fi
  13520. test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
  13521. if test "x$with_oss" != xno
  13522. then
  13523. ac_save_CPPFLAGS="$CPPFLAGS"
  13524. if test -f /etc/oss.conf
  13525. then
  13526. . /etc/oss.conf
  13527. fi
  13528. ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
  13529. CPPFLAGS="$CPPFLAGS $ac_oss_incl"
  13530. ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
  13531. if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
  13532. ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
  13533. "
  13534. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
  13535. cat >>confdefs.h <<_ACEOF
  13536. #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
  13537. _ACEOF
  13538. OSS4_CFLAGS="$ac_oss_incl"
  13539. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
  13540. $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
  13541. if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
  13542. $as_echo_n "(cached) " >&6
  13543. else
  13544. ac_check_lib_save_LIBS=$LIBS
  13545. LIBS="-lossaudio $LIBS"
  13546. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13547. /* end confdefs.h. */
  13548. /* Override any GCC internal prototype to avoid an error.
  13549. Use char because int might match the return type of a GCC
  13550. builtin and then its argument prototype would still apply. */
  13551. #ifdef __cplusplus
  13552. extern "C"
  13553. #endif
  13554. char _oss_ioctl ();
  13555. int
  13556. main ()
  13557. {
  13558. return _oss_ioctl ();
  13559. ;
  13560. return 0;
  13561. }
  13562. _ACEOF
  13563. if ac_fn_c_try_link "$LINENO"; then :
  13564. ac_cv_lib_ossaudio__oss_ioctl=yes
  13565. else
  13566. ac_cv_lib_ossaudio__oss_ioctl=no
  13567. fi
  13568. rm -f core conftest.err conftest.$ac_objext \
  13569. conftest$ac_exeext conftest.$ac_ext
  13570. LIBS=$ac_check_lib_save_LIBS
  13571. fi
  13572. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
  13573. $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
  13574. if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
  13575. OSS4_LIBS="-lossaudio"
  13576. fi
  13577. fi
  13578. fi
  13579. CPPFLAGS="$ac_save_CPPFLAGS"
  13580. fi
  13581. if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
  13582. case "x$with_oss" in
  13583. x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
  13584. xno) ;;
  13585. *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
  13586. This is an error since --with-oss was requested." "$LINENO" 5 ;;
  13587. esac
  13588. enable_wineoss_drv=${enable_wineoss_drv:-no}
  13589. fi
  13590. if test "x$with_udev" != "xno"
  13591. then
  13592. if ${UDEV_CFLAGS:+false} :; then :
  13593. if ${PKG_CONFIG+:} false; then :
  13594. UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
  13595. fi
  13596. fi
  13597. if ${UDEV_LIBS:+false} :; then :
  13598. if ${PKG_CONFIG+:} false; then :
  13599. UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
  13600. fi
  13601. fi
  13602. UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
  13603. $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
  13604. $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
  13605. ac_save_CPPFLAGS=$CPPFLAGS
  13606. CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
  13607. for ac_header in libudev.h
  13608. do :
  13609. ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
  13610. if test "x$ac_cv_header_libudev_h" = xyes; then :
  13611. cat >>confdefs.h <<_ACEOF
  13612. #define HAVE_LIBUDEV_H 1
  13613. _ACEOF
  13614. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
  13615. $as_echo_n "checking for udev_new in -ludev... " >&6; }
  13616. if ${ac_cv_lib_udev_udev_new+:} false; then :
  13617. $as_echo_n "(cached) " >&6
  13618. else
  13619. ac_check_lib_save_LIBS=$LIBS
  13620. LIBS="-ludev $UDEV_LIBS $LIBS"
  13621. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13622. /* end confdefs.h. */
  13623. /* Override any GCC internal prototype to avoid an error.
  13624. Use char because int might match the return type of a GCC
  13625. builtin and then its argument prototype would still apply. */
  13626. #ifdef __cplusplus
  13627. extern "C"
  13628. #endif
  13629. char udev_new ();
  13630. int
  13631. main ()
  13632. {
  13633. return udev_new ();
  13634. ;
  13635. return 0;
  13636. }
  13637. _ACEOF
  13638. if ac_fn_c_try_link "$LINENO"; then :
  13639. ac_cv_lib_udev_udev_new=yes
  13640. else
  13641. ac_cv_lib_udev_udev_new=no
  13642. fi
  13643. rm -f core conftest.err conftest.$ac_objext \
  13644. conftest$ac_exeext conftest.$ac_ext
  13645. LIBS=$ac_check_lib_save_LIBS
  13646. fi
  13647. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
  13648. $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
  13649. if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
  13650. $as_echo "#define HAVE_UDEV 1" >>confdefs.h
  13651. else
  13652. UDEV_LIBS=""
  13653. fi
  13654. else
  13655. UDEV_LIBS=""
  13656. fi
  13657. done
  13658. CPPFLAGS=$ac_save_CPPFLAGS
  13659. fi
  13660. if test "x$UDEV_LIBS" = "x"; then :
  13661. case "x$with_udev" in
  13662. x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
  13663. xno) ;;
  13664. *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
  13665. This is an error since --with-udev was requested." "$LINENO" 5 ;;
  13666. esac
  13667. fi
  13668. if test "x$with_unwind" != xno
  13669. then
  13670. if ${UNWIND_CFLAGS:+false} :; then :
  13671. if ${PKG_CONFIG+:} false; then :
  13672. UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
  13673. fi
  13674. fi
  13675. if ${UNWIND_LIBS:+false} :; then :
  13676. if ${PKG_CONFIG+:} false; then :
  13677. UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
  13678. fi
  13679. fi
  13680. UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
  13681. $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
  13682. $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
  13683. ac_save_CPPFLAGS=$CPPFLAGS
  13684. CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
  13685. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
  13686. $as_echo_n "checking for unw_step... " >&6; }
  13687. if ${wine_cv_have_unw_step+:} false; then :
  13688. $as_echo_n "(cached) " >&6
  13689. else
  13690. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13691. /* end confdefs.h. */
  13692. #define UNW_LOCAL_ONLY
  13693. #include <libunwind.h>
  13694. int
  13695. main ()
  13696. {
  13697. unw_cursor_t cursor; unw_step( &cursor );
  13698. ;
  13699. return 0;
  13700. }
  13701. _ACEOF
  13702. if ac_fn_c_try_link "$LINENO"; then :
  13703. wine_cv_have_unw_step="yes"
  13704. else
  13705. wine_cv_have_unw_step="no"
  13706. fi
  13707. rm -f core conftest.err conftest.$ac_objext \
  13708. conftest$ac_exeext conftest.$ac_ext
  13709. fi
  13710. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
  13711. $as_echo "$wine_cv_have_unw_step" >&6; }
  13712. if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
  13713. then
  13714. save_libs=$LIBS
  13715. UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
  13716. LIBS="$UNWIND_LIBS $LIBS"
  13717. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
  13718. $as_echo_n "checking for unw_step in libunwind... " >&6; }
  13719. if ${wine_cv_have_libunwind_unw_step+:} false; then :
  13720. $as_echo_n "(cached) " >&6
  13721. else
  13722. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13723. /* end confdefs.h. */
  13724. #define UNW_LOCAL_ONLY
  13725. #include <libunwind.h>
  13726. int
  13727. main ()
  13728. {
  13729. unw_cursor_t cursor; unw_step( &cursor );
  13730. ;
  13731. return 0;
  13732. }
  13733. _ACEOF
  13734. if ac_fn_c_try_link "$LINENO"; then :
  13735. wine_cv_have_libunwind_unw_step="yes"
  13736. else
  13737. wine_cv_have_libunwind_unw_step="no"
  13738. fi
  13739. rm -f core conftest.err conftest.$ac_objext \
  13740. conftest$ac_exeext conftest.$ac_ext
  13741. fi
  13742. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
  13743. $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
  13744. LIBS=$save_libs
  13745. fi
  13746. test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
  13747. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
  13748. then
  13749. $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
  13750. fi
  13751. CPPFLAGS=$ac_save_CPPFLAGS
  13752. fi
  13753. case $host in
  13754. aarch64*|*-darwin*)
  13755. if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
  13756. case "x$with_unwind" in
  13757. x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
  13758. xno) ;;
  13759. *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
  13760. This is an error since --with-unwind was requested." "$LINENO" 5 ;;
  13761. esac
  13762. fi ;;
  13763. esac
  13764. if test "x$with_sdl" != "xno"
  13765. then
  13766. if ${SDL2_CFLAGS:+false} :; then :
  13767. if ${PKG_CONFIG+:} false; then :
  13768. SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
  13769. fi
  13770. fi
  13771. if ${SDL2_LIBS:+false} :; then :
  13772. if ${PKG_CONFIG+:} false; then :
  13773. SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
  13774. fi
  13775. fi
  13776. SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
  13777. $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
  13778. $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
  13779. ac_save_CPPFLAGS=$CPPFLAGS
  13780. CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
  13781. for ac_header in SDL.h
  13782. do :
  13783. ac_fn_c_check_header_mongrel "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
  13784. if test "x$ac_cv_header_SDL_h" = xyes; then :
  13785. cat >>confdefs.h <<_ACEOF
  13786. #define HAVE_SDL_H 1
  13787. _ACEOF
  13788. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
  13789. $as_echo_n "checking for -lSDL2... " >&6; }
  13790. if ${ac_cv_lib_soname_SDL2+:} false; then :
  13791. $as_echo_n "(cached) " >&6
  13792. else
  13793. ac_check_soname_save_LIBS=$LIBS
  13794. LIBS="-lSDL2 $SDL2_LIBS $LIBS"
  13795. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13796. /* end confdefs.h. */
  13797. /* Override any GCC internal prototype to avoid an error.
  13798. Use char because int might match the return type of a GCC
  13799. builtin and then its argument prototype would still apply. */
  13800. #ifdef __cplusplus
  13801. extern "C"
  13802. #endif
  13803. char SDL_Init ();
  13804. int
  13805. main ()
  13806. {
  13807. return SDL_Init ();
  13808. ;
  13809. return 0;
  13810. }
  13811. _ACEOF
  13812. if ac_fn_c_try_link "$LINENO"; then :
  13813. case "$LIBEXT" in
  13814. dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13815. 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'` ;;
  13816. *) 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'`
  13817. if ${ac_cv_lib_soname_SDL2:+false} :; then :
  13818. ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13819. fi ;;
  13820. esac
  13821. else
  13822. ac_cv_lib_soname_SDL2=
  13823. fi
  13824. rm -f core conftest.err conftest.$ac_objext \
  13825. conftest$ac_exeext conftest.$ac_ext
  13826. LIBS=$ac_check_soname_save_LIBS
  13827. fi
  13828. if ${ac_cv_lib_soname_SDL2:+false} :; then :
  13829. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13830. $as_echo "not found" >&6; }
  13831. else
  13832. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
  13833. $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
  13834. cat >>confdefs.h <<_ACEOF
  13835. #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
  13836. _ACEOF
  13837. fi
  13838. fi
  13839. done
  13840. CPPFLAGS=$ac_save_CPPFLAGS
  13841. fi
  13842. if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
  13843. case "x$with_sdl" in
  13844. x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
  13845. xno) ;;
  13846. *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
  13847. This is an error since --with-sdl was requested." "$LINENO" 5 ;;
  13848. esac
  13849. fi
  13850. if test "x$with_faudio" != "xno"
  13851. then
  13852. if ${FAUDIO_CFLAGS:+false} :; then :
  13853. if ${PKG_CONFIG+:} false; then :
  13854. FAUDIO_CFLAGS=`$PKG_CONFIG --cflags FAudio 2>/dev/null`
  13855. fi
  13856. fi
  13857. if ${FAUDIO_LIBS:+false} :; then :
  13858. if ${PKG_CONFIG+:} false; then :
  13859. FAUDIO_LIBS=`$PKG_CONFIG --libs FAudio 2>/dev/null`
  13860. fi
  13861. fi
  13862. FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
  13863. $as_echo "$as_me:${as_lineno-$LINENO}: FAudio cflags: $FAUDIO_CFLAGS" >&5
  13864. $as_echo "$as_me:${as_lineno-$LINENO}: FAudio libs: $FAUDIO_LIBS" >&5
  13865. ac_save_CPPFLAGS=$CPPFLAGS
  13866. CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
  13867. for ac_header in FAudio.h
  13868. do :
  13869. ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
  13870. if test "x$ac_cv_header_FAudio_h" = xyes; then :
  13871. cat >>confdefs.h <<_ACEOF
  13872. #define HAVE_FAUDIO_H 1
  13873. _ACEOF
  13874. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
  13875. $as_echo_n "checking for -lFAudio... " >&6; }
  13876. if ${ac_cv_lib_soname_FAudio+:} false; then :
  13877. $as_echo_n "(cached) " >&6
  13878. else
  13879. ac_check_soname_save_LIBS=$LIBS
  13880. LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
  13881. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13882. /* end confdefs.h. */
  13883. /* Override any GCC internal prototype to avoid an error.
  13884. Use char because int might match the return type of a GCC
  13885. builtin and then its argument prototype would still apply. */
  13886. #ifdef __cplusplus
  13887. extern "C"
  13888. #endif
  13889. char FAudioCreate ();
  13890. int
  13891. main ()
  13892. {
  13893. return FAudioCreate ();
  13894. ;
  13895. return 0;
  13896. }
  13897. _ACEOF
  13898. if ac_fn_c_try_link "$LINENO"; then :
  13899. case "$LIBEXT" in
  13900. dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  13901. 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'` ;;
  13902. *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  13903. if ${ac_cv_lib_soname_FAudio:+false} :; then :
  13904. ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  13905. fi ;;
  13906. esac
  13907. else
  13908. ac_cv_lib_soname_FAudio=
  13909. fi
  13910. rm -f core conftest.err conftest.$ac_objext \
  13911. conftest$ac_exeext conftest.$ac_ext
  13912. LIBS=$ac_check_soname_save_LIBS
  13913. fi
  13914. if ${ac_cv_lib_soname_FAudio:+false} :; then :
  13915. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  13916. $as_echo "not found" >&6; }
  13917. else
  13918. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
  13919. $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
  13920. cat >>confdefs.h <<_ACEOF
  13921. #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
  13922. _ACEOF
  13923. fi
  13924. fi
  13925. done
  13926. ac_wine_check_funcs_save_LIBS="$LIBS"
  13927. LIBS="$LIBS $FAUDIO_LIBS"
  13928. for ac_func in FAudio_CommitOperationSet \
  13929. F3DAudioInitialize8 \
  13930. FAudioLinkedVersion \
  13931. FAudioCreateReverb9WithCustomAllocatorEXT
  13932. do :
  13933. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  13934. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  13935. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  13936. cat >>confdefs.h <<_ACEOF
  13937. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  13938. _ACEOF
  13939. fi
  13940. done
  13941. LIBS="$ac_wine_check_funcs_save_LIBS"
  13942. CPPFLAGS=$ac_save_CPPFLAGS
  13943. fi
  13944. if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
  13945. case "x$with_faudio" in
  13946. x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
  13947. xno) ;;
  13948. *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
  13949. This is an error since --with-faudio was requested." "$LINENO" 5 ;;
  13950. esac
  13951. fi
  13952. if test "x$with_capi" != "xno"
  13953. then
  13954. if ${CAPI20_CFLAGS:+false} :; then :
  13955. if ${PKG_CONFIG+:} false; then :
  13956. CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
  13957. fi
  13958. fi
  13959. if ${CAPI20_LIBS:+false} :; then :
  13960. if ${PKG_CONFIG+:} false; then :
  13961. CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
  13962. fi
  13963. fi
  13964. $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
  13965. $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
  13966. ac_save_CPPFLAGS=$CPPFLAGS
  13967. CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
  13968. for ac_header in capi20.h linux/capi.h
  13969. do :
  13970. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  13971. ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
  13972. "
  13973. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  13974. cat >>confdefs.h <<_ACEOF
  13975. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  13976. _ACEOF
  13977. fi
  13978. done
  13979. if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
  13980. then
  13981. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
  13982. $as_echo_n "checking for -lcapi20... " >&6; }
  13983. if ${ac_cv_lib_soname_capi20+:} false; then :
  13984. $as_echo_n "(cached) " >&6
  13985. else
  13986. ac_check_soname_save_LIBS=$LIBS
  13987. LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
  13988. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  13989. /* end confdefs.h. */
  13990. /* Override any GCC internal prototype to avoid an error.
  13991. Use char because int might match the return type of a GCC
  13992. builtin and then its argument prototype would still apply. */
  13993. #ifdef __cplusplus
  13994. extern "C"
  13995. #endif
  13996. char capi20_register ();
  13997. int
  13998. main ()
  13999. {
  14000. return capi20_register ();
  14001. ;
  14002. return 0;
  14003. }
  14004. _ACEOF
  14005. if ac_fn_c_try_link "$LINENO"; then :
  14006. case "$LIBEXT" in
  14007. dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14008. 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'` ;;
  14009. *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14010. if ${ac_cv_lib_soname_capi20:+false} :; then :
  14011. ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14012. fi ;;
  14013. esac
  14014. else
  14015. ac_cv_lib_soname_capi20=
  14016. fi
  14017. rm -f core conftest.err conftest.$ac_objext \
  14018. conftest$ac_exeext conftest.$ac_ext
  14019. LIBS=$ac_check_soname_save_LIBS
  14020. fi
  14021. if ${ac_cv_lib_soname_capi20:+false} :; then :
  14022. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14023. $as_echo "not found" >&6; }
  14024. else
  14025. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
  14026. $as_echo "$ac_cv_lib_soname_capi20" >&6; }
  14027. cat >>confdefs.h <<_ACEOF
  14028. #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
  14029. _ACEOF
  14030. fi
  14031. fi
  14032. CPPFLAGS=$ac_save_CPPFLAGS
  14033. fi
  14034. if test "x$ac_cv_lib_soname_capi20" = "x"; then :
  14035. case "x$with_capi" in
  14036. x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
  14037. xno) ;;
  14038. *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
  14039. This is an error since --with-capi was requested." "$LINENO" 5 ;;
  14040. esac
  14041. fi
  14042. if test "x$with_cups" != "xno"
  14043. then
  14044. if ${CUPS_CFLAGS:+false} :; then :
  14045. if ${PKG_CONFIG+:} false; then :
  14046. CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
  14047. fi
  14048. fi
  14049. test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
  14050. if ${CUPS_LIBS:+false} :; then :
  14051. if ${PKG_CONFIG+:} false; then :
  14052. CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
  14053. fi
  14054. fi
  14055. test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
  14056. CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
  14057. $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
  14058. $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
  14059. ac_save_CPPFLAGS=$CPPFLAGS
  14060. CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
  14061. for ac_header in cups/cups.h cups/ppd.h
  14062. do :
  14063. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14064. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  14065. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  14066. cat >>confdefs.h <<_ACEOF
  14067. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14068. _ACEOF
  14069. fi
  14070. done
  14071. if test "$ac_cv_header_cups_cups_h" = "yes"
  14072. then
  14073. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
  14074. $as_echo_n "checking for -lcups... " >&6; }
  14075. if ${ac_cv_lib_soname_cups+:} false; then :
  14076. $as_echo_n "(cached) " >&6
  14077. else
  14078. ac_check_soname_save_LIBS=$LIBS
  14079. LIBS="-lcups $CUPS_LIBS $LIBS"
  14080. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14081. /* end confdefs.h. */
  14082. /* Override any GCC internal prototype to avoid an error.
  14083. Use char because int might match the return type of a GCC
  14084. builtin and then its argument prototype would still apply. */
  14085. #ifdef __cplusplus
  14086. extern "C"
  14087. #endif
  14088. char cupsGetDefault ();
  14089. int
  14090. main ()
  14091. {
  14092. return cupsGetDefault ();
  14093. ;
  14094. return 0;
  14095. }
  14096. _ACEOF
  14097. if ac_fn_c_try_link "$LINENO"; then :
  14098. case "$LIBEXT" in
  14099. dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14100. 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'` ;;
  14101. *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14102. if ${ac_cv_lib_soname_cups:+false} :; then :
  14103. ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14104. fi ;;
  14105. esac
  14106. else
  14107. ac_cv_lib_soname_cups=
  14108. fi
  14109. rm -f core conftest.err conftest.$ac_objext \
  14110. conftest$ac_exeext conftest.$ac_ext
  14111. LIBS=$ac_check_soname_save_LIBS
  14112. fi
  14113. if ${ac_cv_lib_soname_cups:+false} :; then :
  14114. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14115. $as_echo "not found" >&6; }
  14116. CUPS_LIBS=""
  14117. else
  14118. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
  14119. $as_echo "$ac_cv_lib_soname_cups" >&6; }
  14120. cat >>confdefs.h <<_ACEOF
  14121. #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
  14122. _ACEOF
  14123. fi
  14124. else
  14125. CUPS_CFLAGS=""
  14126. CUPS_LIBS=""
  14127. fi
  14128. CPPFLAGS=$ac_save_CPPFLAGS
  14129. fi
  14130. if test "x$ac_cv_lib_soname_cups" = "x"; then :
  14131. case "x$with_cups" in
  14132. x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
  14133. xno) ;;
  14134. *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
  14135. This is an error since --with-cups was requested." "$LINENO" 5 ;;
  14136. esac
  14137. fi
  14138. if test "x$with_fontconfig" != "xno"
  14139. then
  14140. if ${FONTCONFIG_CFLAGS:+false} :; then :
  14141. if ${PKG_CONFIG+:} false; then :
  14142. FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
  14143. fi
  14144. fi
  14145. test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
  14146. if ${FONTCONFIG_LIBS:+false} :; then :
  14147. if ${PKG_CONFIG+:} false; then :
  14148. FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
  14149. fi
  14150. fi
  14151. test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
  14152. $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
  14153. $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
  14154. ac_save_CPPFLAGS=$CPPFLAGS
  14155. CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
  14156. for ac_header in fontconfig/fontconfig.h
  14157. do :
  14158. ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
  14159. if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
  14160. cat >>confdefs.h <<_ACEOF
  14161. #define HAVE_FONTCONFIG_FONTCONFIG_H 1
  14162. _ACEOF
  14163. fi
  14164. done
  14165. if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
  14166. then
  14167. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
  14168. $as_echo_n "checking for -lfontconfig... " >&6; }
  14169. if ${ac_cv_lib_soname_fontconfig+:} false; then :
  14170. $as_echo_n "(cached) " >&6
  14171. else
  14172. ac_check_soname_save_LIBS=$LIBS
  14173. LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
  14174. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14175. /* end confdefs.h. */
  14176. /* Override any GCC internal prototype to avoid an error.
  14177. Use char because int might match the return type of a GCC
  14178. builtin and then its argument prototype would still apply. */
  14179. #ifdef __cplusplus
  14180. extern "C"
  14181. #endif
  14182. char FcInit ();
  14183. int
  14184. main ()
  14185. {
  14186. return FcInit ();
  14187. ;
  14188. return 0;
  14189. }
  14190. _ACEOF
  14191. if ac_fn_c_try_link "$LINENO"; then :
  14192. case "$LIBEXT" in
  14193. dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14194. 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'` ;;
  14195. *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14196. if ${ac_cv_lib_soname_fontconfig:+false} :; then :
  14197. ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14198. fi ;;
  14199. esac
  14200. else
  14201. ac_cv_lib_soname_fontconfig=
  14202. fi
  14203. rm -f core conftest.err conftest.$ac_objext \
  14204. conftest$ac_exeext conftest.$ac_ext
  14205. LIBS=$ac_check_soname_save_LIBS
  14206. fi
  14207. if ${ac_cv_lib_soname_fontconfig:+false} :; then :
  14208. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14209. $as_echo "not found" >&6; }
  14210. FONTCONFIG_CFLAGS=""
  14211. else
  14212. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
  14213. $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
  14214. cat >>confdefs.h <<_ACEOF
  14215. #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
  14216. _ACEOF
  14217. fi
  14218. else
  14219. FONTCONFIG_CFLAGS=""
  14220. fi
  14221. CPPFLAGS=$ac_save_CPPFLAGS
  14222. fi
  14223. if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
  14224. case "x$with_fontconfig" in
  14225. x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
  14226. xno) ;;
  14227. *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
  14228. This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
  14229. esac
  14230. fi
  14231. if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
  14232. then
  14233. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
  14234. $as_echo_n "checking for -lgsm... " >&6; }
  14235. if ${ac_cv_lib_soname_gsm+:} false; then :
  14236. $as_echo_n "(cached) " >&6
  14237. else
  14238. ac_check_soname_save_LIBS=$LIBS
  14239. LIBS="-lgsm $LIBS"
  14240. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14241. /* end confdefs.h. */
  14242. /* Override any GCC internal prototype to avoid an error.
  14243. Use char because int might match the return type of a GCC
  14244. builtin and then its argument prototype would still apply. */
  14245. #ifdef __cplusplus
  14246. extern "C"
  14247. #endif
  14248. char gsm_create ();
  14249. int
  14250. main ()
  14251. {
  14252. return gsm_create ();
  14253. ;
  14254. return 0;
  14255. }
  14256. _ACEOF
  14257. if ac_fn_c_try_link "$LINENO"; then :
  14258. case "$LIBEXT" in
  14259. dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14260. 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'` ;;
  14261. *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14262. if ${ac_cv_lib_soname_gsm:+false} :; then :
  14263. ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14264. fi ;;
  14265. esac
  14266. else
  14267. ac_cv_lib_soname_gsm=
  14268. fi
  14269. rm -f core conftest.err conftest.$ac_objext \
  14270. conftest$ac_exeext conftest.$ac_ext
  14271. LIBS=$ac_check_soname_save_LIBS
  14272. fi
  14273. if ${ac_cv_lib_soname_gsm:+false} :; then :
  14274. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14275. $as_echo "not found" >&6; }
  14276. else
  14277. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
  14278. $as_echo "$ac_cv_lib_soname_gsm" >&6; }
  14279. cat >>confdefs.h <<_ACEOF
  14280. #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
  14281. _ACEOF
  14282. fi
  14283. fi
  14284. if test "x$ac_cv_lib_soname_gsm" = "x"; then :
  14285. case "x$with_gsm" in
  14286. x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
  14287. xno) ;;
  14288. *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
  14289. This is an error since --with-gsm was requested." "$LINENO" 5 ;;
  14290. esac
  14291. fi
  14292. if test "x$with_krb5" != "xno"
  14293. then
  14294. if ${KRB5_CFLAGS:+false} :; then :
  14295. if ${PKG_CONFIG+:} false; then :
  14296. KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
  14297. fi
  14298. fi
  14299. test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
  14300. if ${KRB5_LIBS:+false} :; then :
  14301. if ${PKG_CONFIG+:} false; then :
  14302. KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
  14303. fi
  14304. fi
  14305. test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
  14306. $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
  14307. $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
  14308. ac_save_CPPFLAGS=$CPPFLAGS
  14309. CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
  14310. for ac_header in krb5/krb5.h
  14311. do :
  14312. ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
  14313. if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
  14314. cat >>confdefs.h <<_ACEOF
  14315. #define HAVE_KRB5_KRB5_H 1
  14316. _ACEOF
  14317. fi
  14318. done
  14319. if test "$ac_cv_header_krb5_krb5_h" = "yes"
  14320. then
  14321. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
  14322. $as_echo_n "checking for -lkrb5... " >&6; }
  14323. if ${ac_cv_lib_soname_krb5+:} false; then :
  14324. $as_echo_n "(cached) " >&6
  14325. else
  14326. ac_check_soname_save_LIBS=$LIBS
  14327. LIBS="-lkrb5 $KRB5_LIBS $LIBS"
  14328. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14329. /* end confdefs.h. */
  14330. /* Override any GCC internal prototype to avoid an error.
  14331. Use char because int might match the return type of a GCC
  14332. builtin and then its argument prototype would still apply. */
  14333. #ifdef __cplusplus
  14334. extern "C"
  14335. #endif
  14336. char krb5_is_config_principal ();
  14337. int
  14338. main ()
  14339. {
  14340. return krb5_is_config_principal ();
  14341. ;
  14342. return 0;
  14343. }
  14344. _ACEOF
  14345. if ac_fn_c_try_link "$LINENO"; then :
  14346. case "$LIBEXT" in
  14347. dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14348. 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'` ;;
  14349. *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14350. if ${ac_cv_lib_soname_krb5:+false} :; then :
  14351. ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14352. fi ;;
  14353. esac
  14354. else
  14355. ac_cv_lib_soname_krb5=
  14356. fi
  14357. rm -f core conftest.err conftest.$ac_objext \
  14358. conftest$ac_exeext conftest.$ac_ext
  14359. LIBS=$ac_check_soname_save_LIBS
  14360. fi
  14361. if ${ac_cv_lib_soname_krb5:+false} :; then :
  14362. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14363. $as_echo "not found" >&6; }
  14364. KRB5_CFLAGS=""
  14365. else
  14366. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
  14367. $as_echo "$ac_cv_lib_soname_krb5" >&6; }
  14368. cat >>confdefs.h <<_ACEOF
  14369. #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
  14370. _ACEOF
  14371. fi
  14372. else
  14373. KRB5_CFLAGS=""
  14374. fi
  14375. CPPFLAGS=$ac_save_CPPFLAGS
  14376. fi
  14377. if test "x$ac_cv_lib_soname_krb5" = "x"; then :
  14378. case "x$with_krb5" in
  14379. x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
  14380. xno) ;;
  14381. *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
  14382. This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
  14383. esac
  14384. fi
  14385. test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
  14386. if test "x$with_gssapi" != "xno"
  14387. then
  14388. if ${GSSAPI_CFLAGS:+false} :; then :
  14389. if ${PKG_CONFIG+:} false; then :
  14390. GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
  14391. fi
  14392. fi
  14393. test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
  14394. if ${GSSAPI_LIBS:+false} :; then :
  14395. if ${PKG_CONFIG+:} false; then :
  14396. GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
  14397. fi
  14398. fi
  14399. test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
  14400. $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
  14401. $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
  14402. ac_save_CPPFLAGS=$CPPFLAGS
  14403. CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
  14404. for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
  14405. do :
  14406. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  14407. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  14408. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  14409. cat >>confdefs.h <<_ACEOF
  14410. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  14411. _ACEOF
  14412. fi
  14413. done
  14414. if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
  14415. then
  14416. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
  14417. $as_echo_n "checking for -lgssapi_krb5... " >&6; }
  14418. if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
  14419. $as_echo_n "(cached) " >&6
  14420. else
  14421. ac_check_soname_save_LIBS=$LIBS
  14422. LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
  14423. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14424. /* end confdefs.h. */
  14425. /* Override any GCC internal prototype to avoid an error.
  14426. Use char because int might match the return type of a GCC
  14427. builtin and then its argument prototype would still apply. */
  14428. #ifdef __cplusplus
  14429. extern "C"
  14430. #endif
  14431. char gss_init_sec_context ();
  14432. int
  14433. main ()
  14434. {
  14435. return gss_init_sec_context ();
  14436. ;
  14437. return 0;
  14438. }
  14439. _ACEOF
  14440. if ac_fn_c_try_link "$LINENO"; then :
  14441. case "$LIBEXT" in
  14442. dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14443. 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'` ;;
  14444. *) 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'`
  14445. if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
  14446. ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14447. fi ;;
  14448. esac
  14449. else
  14450. ac_cv_lib_soname_gssapi_krb5=
  14451. fi
  14452. rm -f core conftest.err conftest.$ac_objext \
  14453. conftest$ac_exeext conftest.$ac_ext
  14454. LIBS=$ac_check_soname_save_LIBS
  14455. fi
  14456. if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
  14457. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14458. $as_echo "not found" >&6; }
  14459. GSSAPI_CFLAGS=""
  14460. else
  14461. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
  14462. $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
  14463. cat >>confdefs.h <<_ACEOF
  14464. #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
  14465. _ACEOF
  14466. fi
  14467. else
  14468. GSSAPI_CFLAGS=""
  14469. fi
  14470. CPPFLAGS=$ac_save_CPPFLAGS
  14471. fi
  14472. if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
  14473. case "x$with_gssapi" in
  14474. x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
  14475. xno) ;;
  14476. *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
  14477. This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
  14478. esac
  14479. fi
  14480. if test "x$with_jpeg" != "xno"
  14481. then
  14482. if ${JPEG_CFLAGS:+false} :; then :
  14483. if ${PKG_CONFIG+:} false; then :
  14484. JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
  14485. fi
  14486. fi
  14487. if ${JPEG_LIBS:+false} :; then :
  14488. if ${PKG_CONFIG+:} false; then :
  14489. JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
  14490. fi
  14491. fi
  14492. $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
  14493. $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
  14494. ac_save_CPPFLAGS=$CPPFLAGS
  14495. CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
  14496. for ac_header in jpeglib.h
  14497. do :
  14498. ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
  14499. if test "x$ac_cv_header_jpeglib_h" = xyes; then :
  14500. cat >>confdefs.h <<_ACEOF
  14501. #define HAVE_JPEGLIB_H 1
  14502. _ACEOF
  14503. fi
  14504. done
  14505. if test "$ac_cv_header_jpeglib_h" = "yes"
  14506. then
  14507. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
  14508. $as_echo_n "checking for -ljpeg... " >&6; }
  14509. if ${ac_cv_lib_soname_jpeg+:} false; then :
  14510. $as_echo_n "(cached) " >&6
  14511. else
  14512. ac_check_soname_save_LIBS=$LIBS
  14513. LIBS="-ljpeg $JPEG_LIBS $LIBS"
  14514. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14515. /* end confdefs.h. */
  14516. /* Override any GCC internal prototype to avoid an error.
  14517. Use char because int might match the return type of a GCC
  14518. builtin and then its argument prototype would still apply. */
  14519. #ifdef __cplusplus
  14520. extern "C"
  14521. #endif
  14522. char jpeg_start_decompress ();
  14523. int
  14524. main ()
  14525. {
  14526. return jpeg_start_decompress ();
  14527. ;
  14528. return 0;
  14529. }
  14530. _ACEOF
  14531. if ac_fn_c_try_link "$LINENO"; then :
  14532. case "$LIBEXT" in
  14533. dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14534. 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'` ;;
  14535. *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14536. if ${ac_cv_lib_soname_jpeg:+false} :; then :
  14537. ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14538. fi ;;
  14539. esac
  14540. else
  14541. ac_cv_lib_soname_jpeg=
  14542. fi
  14543. rm -f core conftest.err conftest.$ac_objext \
  14544. conftest$ac_exeext conftest.$ac_ext
  14545. LIBS=$ac_check_soname_save_LIBS
  14546. fi
  14547. if ${ac_cv_lib_soname_jpeg:+false} :; then :
  14548. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14549. $as_echo "not found" >&6; }
  14550. JPEG_CFLAGS=""
  14551. else
  14552. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
  14553. $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
  14554. cat >>confdefs.h <<_ACEOF
  14555. #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
  14556. _ACEOF
  14557. fi
  14558. else
  14559. JPEG_CFLAGS=""
  14560. fi
  14561. CPPFLAGS=$ac_save_CPPFLAGS
  14562. fi
  14563. if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
  14564. case "x$with_jpeg" in
  14565. x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
  14566. xno) ;;
  14567. *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
  14568. This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
  14569. esac
  14570. fi
  14571. if test "x$with_jxrlib" != "xno"
  14572. then
  14573. if ${JXRLIB_CFLAGS:+false} :; then :
  14574. if ${PKG_CONFIG+:} false; then :
  14575. JXRLIB_CFLAGS=`$PKG_CONFIG --cflags jxrlib 2>/dev/null`
  14576. fi
  14577. fi
  14578. test "$cross_compiling" = yes || JXRLIB_CFLAGS=${JXRLIB_CFLAGS:-${JXRLIB_CFLAGS:--I/usr/include/jxrlib}}
  14579. if ${JXRLIB_LIBS:+false} :; then :
  14580. if ${PKG_CONFIG+:} false; then :
  14581. JXRLIB_LIBS=`$PKG_CONFIG --libs jxrlib 2>/dev/null`
  14582. fi
  14583. fi
  14584. $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib cflags: $JXRLIB_CFLAGS" >&5
  14585. $as_echo "$as_me:${as_lineno-$LINENO}: jxrlib libs: $JXRLIB_LIBS" >&5
  14586. ac_save_CPPFLAGS=$CPPFLAGS
  14587. CPPFLAGS="$CPPFLAGS $JXRLIB_CFLAGS"
  14588. for ac_header in JXRGlue.h
  14589. do :
  14590. ac_fn_c_check_header_compile "$LINENO" "JXRGlue.h" "ac_cv_header_JXRGlue_h" "#define FAR
  14591. "
  14592. if test "x$ac_cv_header_JXRGlue_h" = xyes; then :
  14593. cat >>confdefs.h <<_ACEOF
  14594. #define HAVE_JXRGLUE_H 1
  14595. _ACEOF
  14596. fi
  14597. done
  14598. if test "$ac_cv_header_JXRGlue_h" = "yes"
  14599. then
  14600. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljxrglue" >&5
  14601. $as_echo_n "checking for -ljxrglue... " >&6; }
  14602. if ${ac_cv_lib_soname_jxrglue+:} false; then :
  14603. $as_echo_n "(cached) " >&6
  14604. else
  14605. ac_check_soname_save_LIBS=$LIBS
  14606. LIBS="-ljxrglue $JXRLIB_LIBS $LIBS"
  14607. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14608. /* end confdefs.h. */
  14609. /* Override any GCC internal prototype to avoid an error.
  14610. Use char because int might match the return type of a GCC
  14611. builtin and then its argument prototype would still apply. */
  14612. #ifdef __cplusplus
  14613. extern "C"
  14614. #endif
  14615. char PKImageDecode_Create_WMP ();
  14616. int
  14617. main ()
  14618. {
  14619. return PKImageDecode_Create_WMP ();
  14620. ;
  14621. return 0;
  14622. }
  14623. _ACEOF
  14624. if ac_fn_c_try_link "$LINENO"; then :
  14625. case "$LIBEXT" in
  14626. dll) ac_cv_lib_soname_jxrglue=`$ac_cv_path_LDD conftest.exe | grep "jxrglue" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14627. dylib) ac_cv_lib_soname_jxrglue=`$OTOOL -L conftest$ac_exeext | grep "libjxrglue\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjxrglue\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  14628. *) ac_cv_lib_soname_jxrglue=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjxrglue\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjxrglue\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14629. if ${ac_cv_lib_soname_jxrglue:+false} :; then :
  14630. ac_cv_lib_soname_jxrglue=`$LDD conftest$ac_exeext | grep "libjxrglue\\.$LIBEXT" | sed -e "s/^.*\(libjxrglue\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14631. fi ;;
  14632. esac
  14633. else
  14634. ac_cv_lib_soname_jxrglue=
  14635. fi
  14636. rm -f core conftest.err conftest.$ac_objext \
  14637. conftest$ac_exeext conftest.$ac_ext
  14638. LIBS=$ac_check_soname_save_LIBS
  14639. fi
  14640. if ${ac_cv_lib_soname_jxrglue:+false} :; then :
  14641. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14642. $as_echo "not found" >&6; }
  14643. JXRLIB_CFLAGS=""
  14644. else
  14645. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jxrglue" >&5
  14646. $as_echo "$ac_cv_lib_soname_jxrglue" >&6; }
  14647. cat >>confdefs.h <<_ACEOF
  14648. #define SONAME_LIBJXRGLUE "$ac_cv_lib_soname_jxrglue"
  14649. _ACEOF
  14650. fi
  14651. else
  14652. JXRLIB_CFLAGS=""
  14653. fi
  14654. CPPFLAGS=$ac_save_CPPFLAGS
  14655. fi
  14656. if test "x$ac_cv_lib_soname_jxrglue" = "x"; then :
  14657. case "x$with_jxrlib" in
  14658. x) as_fn_append wine_notices "|jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported." ;;
  14659. xno) ;;
  14660. *) as_fn_error $? "jxrlib ${notice_platform}development files not found, JPEG-XR won't be supported.
  14661. This is an error since --with-jxrlib was requested." "$LINENO" 5 ;;
  14662. esac
  14663. fi
  14664. if test "x$with_png" != "xno"
  14665. then
  14666. if ${PNG_CFLAGS:+false} :; then :
  14667. if ${PKG_CONFIG+:} false; then :
  14668. PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
  14669. fi
  14670. fi
  14671. test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
  14672. if ${PNG_LIBS:+false} :; then :
  14673. if ${PKG_CONFIG+:} false; then :
  14674. PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
  14675. fi
  14676. fi
  14677. test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
  14678. $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
  14679. $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
  14680. ac_save_CPPFLAGS=$CPPFLAGS
  14681. CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
  14682. for ac_header in png.h
  14683. do :
  14684. ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
  14685. if test "x$ac_cv_header_png_h" = xyes; then :
  14686. cat >>confdefs.h <<_ACEOF
  14687. #define HAVE_PNG_H 1
  14688. _ACEOF
  14689. fi
  14690. done
  14691. if test "$ac_cv_header_png_h" = "yes"
  14692. then
  14693. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
  14694. $as_echo_n "checking for -lpng... " >&6; }
  14695. if ${ac_cv_lib_soname_png+:} false; then :
  14696. $as_echo_n "(cached) " >&6
  14697. else
  14698. ac_check_soname_save_LIBS=$LIBS
  14699. LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
  14700. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14701. /* end confdefs.h. */
  14702. /* Override any GCC internal prototype to avoid an error.
  14703. Use char because int might match the return type of a GCC
  14704. builtin and then its argument prototype would still apply. */
  14705. #ifdef __cplusplus
  14706. extern "C"
  14707. #endif
  14708. char png_create_read_struct ();
  14709. int
  14710. main ()
  14711. {
  14712. return png_create_read_struct ();
  14713. ;
  14714. return 0;
  14715. }
  14716. _ACEOF
  14717. if ac_fn_c_try_link "$LINENO"; then :
  14718. case "$LIBEXT" in
  14719. dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14720. 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'` ;;
  14721. *) 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'`
  14722. if ${ac_cv_lib_soname_png:+false} :; then :
  14723. ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14724. fi ;;
  14725. esac
  14726. else
  14727. ac_cv_lib_soname_png=
  14728. fi
  14729. rm -f core conftest.err conftest.$ac_objext \
  14730. conftest$ac_exeext conftest.$ac_ext
  14731. LIBS=$ac_check_soname_save_LIBS
  14732. fi
  14733. if ${ac_cv_lib_soname_png:+false} :; then :
  14734. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14735. $as_echo "not found" >&6; }
  14736. PNG_CFLAGS=""
  14737. else
  14738. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
  14739. $as_echo "$ac_cv_lib_soname_png" >&6; }
  14740. cat >>confdefs.h <<_ACEOF
  14741. #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
  14742. _ACEOF
  14743. fi
  14744. else
  14745. PNG_CFLAGS=""
  14746. fi
  14747. CPPFLAGS=$ac_save_CPPFLAGS
  14748. fi
  14749. if test "x$ac_cv_lib_soname_png" = "x"; then :
  14750. case "x$with_png" in
  14751. x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
  14752. xno) ;;
  14753. *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
  14754. This is an error since --with-png was requested." "$LINENO" 5 ;;
  14755. esac
  14756. fi
  14757. if test "x$with_tiff" != "xno"
  14758. then
  14759. if ${TIFF_CFLAGS:+false} :; then :
  14760. if ${PKG_CONFIG+:} false; then :
  14761. TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
  14762. fi
  14763. fi
  14764. if ${TIFF_LIBS:+false} :; then :
  14765. if ${PKG_CONFIG+:} false; then :
  14766. TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
  14767. fi
  14768. fi
  14769. $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
  14770. $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
  14771. ac_save_CPPFLAGS=$CPPFLAGS
  14772. CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
  14773. for ac_header in tiffio.h
  14774. do :
  14775. ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
  14776. if test "x$ac_cv_header_tiffio_h" = xyes; then :
  14777. cat >>confdefs.h <<_ACEOF
  14778. #define HAVE_TIFFIO_H 1
  14779. _ACEOF
  14780. fi
  14781. done
  14782. if test "$ac_cv_header_tiffio_h" = "yes"
  14783. then
  14784. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
  14785. $as_echo_n "checking for -ltiff... " >&6; }
  14786. if ${ac_cv_lib_soname_tiff+:} false; then :
  14787. $as_echo_n "(cached) " >&6
  14788. else
  14789. ac_check_soname_save_LIBS=$LIBS
  14790. LIBS="-ltiff $TIFF_LIBS $LIBS"
  14791. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14792. /* end confdefs.h. */
  14793. /* Override any GCC internal prototype to avoid an error.
  14794. Use char because int might match the return type of a GCC
  14795. builtin and then its argument prototype would still apply. */
  14796. #ifdef __cplusplus
  14797. extern "C"
  14798. #endif
  14799. char TIFFClientOpen ();
  14800. int
  14801. main ()
  14802. {
  14803. return TIFFClientOpen ();
  14804. ;
  14805. return 0;
  14806. }
  14807. _ACEOF
  14808. if ac_fn_c_try_link "$LINENO"; then :
  14809. case "$LIBEXT" in
  14810. dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14811. 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'` ;;
  14812. *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14813. if ${ac_cv_lib_soname_tiff:+false} :; then :
  14814. ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14815. fi ;;
  14816. esac
  14817. else
  14818. ac_cv_lib_soname_tiff=
  14819. fi
  14820. rm -f core conftest.err conftest.$ac_objext \
  14821. conftest$ac_exeext conftest.$ac_ext
  14822. LIBS=$ac_check_soname_save_LIBS
  14823. fi
  14824. if ${ac_cv_lib_soname_tiff:+false} :; then :
  14825. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14826. $as_echo "not found" >&6; }
  14827. else
  14828. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
  14829. $as_echo "$ac_cv_lib_soname_tiff" >&6; }
  14830. cat >>confdefs.h <<_ACEOF
  14831. #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
  14832. _ACEOF
  14833. fi
  14834. fi
  14835. CPPFLAGS=$ac_save_CPPFLAGS
  14836. fi
  14837. if test "x$ac_cv_lib_soname_tiff" = "x"; then :
  14838. case "x$with_tiff" in
  14839. x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
  14840. xno) ;;
  14841. *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
  14842. This is an error since --with-tiff was requested." "$LINENO" 5 ;;
  14843. esac
  14844. fi
  14845. if test "x$with_mpg123" != "xno"
  14846. then
  14847. if ${MPG123_CFLAGS:+false} :; then :
  14848. if ${PKG_CONFIG+:} false; then :
  14849. MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
  14850. fi
  14851. fi
  14852. if ${MPG123_LIBS:+false} :; then :
  14853. if ${PKG_CONFIG+:} false; then :
  14854. MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
  14855. fi
  14856. fi
  14857. MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
  14858. $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
  14859. $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
  14860. ac_save_CPPFLAGS=$CPPFLAGS
  14861. CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
  14862. for ac_header in mpg123.h
  14863. do :
  14864. ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
  14865. if test "x$ac_cv_header_mpg123_h" = xyes; then :
  14866. cat >>confdefs.h <<_ACEOF
  14867. #define HAVE_MPG123_H 1
  14868. _ACEOF
  14869. fi
  14870. done
  14871. if test "$ac_cv_header_mpg123_h" = "yes"
  14872. then
  14873. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
  14874. $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
  14875. if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
  14876. $as_echo_n "(cached) " >&6
  14877. else
  14878. ac_check_lib_save_LIBS=$LIBS
  14879. LIBS="-lmpg123 $MPG123_LIBS $LIBS"
  14880. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14881. /* end confdefs.h. */
  14882. /* Override any GCC internal prototype to avoid an error.
  14883. Use char because int might match the return type of a GCC
  14884. builtin and then its argument prototype would still apply. */
  14885. #ifdef __cplusplus
  14886. extern "C"
  14887. #endif
  14888. char mpg123_feed ();
  14889. int
  14890. main ()
  14891. {
  14892. return mpg123_feed ();
  14893. ;
  14894. return 0;
  14895. }
  14896. _ACEOF
  14897. if ac_fn_c_try_link "$LINENO"; then :
  14898. ac_cv_lib_mpg123_mpg123_feed=yes
  14899. else
  14900. ac_cv_lib_mpg123_mpg123_feed=no
  14901. fi
  14902. rm -f core conftest.err conftest.$ac_objext \
  14903. conftest$ac_exeext conftest.$ac_ext
  14904. LIBS=$ac_check_lib_save_LIBS
  14905. fi
  14906. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
  14907. $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
  14908. if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
  14909. :
  14910. else
  14911. MPG123_LIBS=""
  14912. fi
  14913. else
  14914. MPG123_CFLAGS=""
  14915. MPG123_LIBS=""
  14916. fi
  14917. CPPFLAGS=$ac_save_CPPFLAGS
  14918. fi
  14919. if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
  14920. case "x$with_mpg123" in
  14921. x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
  14922. xno) ;;
  14923. *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
  14924. This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
  14925. esac
  14926. enable_l3codeca_acm=${enable_l3codeca_acm:-no}
  14927. fi
  14928. test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
  14929. if test "$ac_cv_header_AL_al_h" = "yes"
  14930. then
  14931. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
  14932. $as_echo_n "checking for -lopenal... " >&6; }
  14933. if ${ac_cv_lib_soname_openal+:} false; then :
  14934. $as_echo_n "(cached) " >&6
  14935. else
  14936. ac_check_soname_save_LIBS=$LIBS
  14937. LIBS="-lopenal $LIBS"
  14938. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  14939. /* end confdefs.h. */
  14940. /* Override any GCC internal prototype to avoid an error.
  14941. Use char because int might match the return type of a GCC
  14942. builtin and then its argument prototype would still apply. */
  14943. #ifdef __cplusplus
  14944. extern "C"
  14945. #endif
  14946. char alGetSource3i ();
  14947. int
  14948. main ()
  14949. {
  14950. return alGetSource3i ();
  14951. ;
  14952. return 0;
  14953. }
  14954. _ACEOF
  14955. if ac_fn_c_try_link "$LINENO"; then :
  14956. case "$LIBEXT" in
  14957. dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  14958. 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'` ;;
  14959. *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  14960. if ${ac_cv_lib_soname_openal:+false} :; then :
  14961. ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  14962. fi ;;
  14963. esac
  14964. else
  14965. ac_cv_lib_soname_openal=
  14966. fi
  14967. rm -f core conftest.err conftest.$ac_objext \
  14968. conftest$ac_exeext conftest.$ac_ext
  14969. LIBS=$ac_check_soname_save_LIBS
  14970. fi
  14971. if ${ac_cv_lib_soname_openal:+false} :; then :
  14972. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  14973. $as_echo "not found" >&6; }
  14974. else
  14975. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
  14976. $as_echo "$ac_cv_lib_soname_openal" >&6; }
  14977. cat >>confdefs.h <<_ACEOF
  14978. #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
  14979. _ACEOF
  14980. OPENAL_LIBS="-lopenal"
  14981. ac_cv_lib_openal=yes
  14982. cat >>confdefs.h <<_ACEOF
  14983. #define HAVE_OPENAL 1
  14984. _ACEOF
  14985. fi
  14986. fi
  14987. if test "x$ac_cv_lib_openal" != xyes; then :
  14988. case "x$with_openal" in
  14989. x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
  14990. xno) ;;
  14991. *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
  14992. This is an error since --with-openal was requested." "$LINENO" 5 ;;
  14993. esac
  14994. enable_openal32=${enable_openal32:-no}
  14995. fi
  14996. if test "x$ac_cv_lib_soname_FAudio" = "x"
  14997. then
  14998. enable_x3daudio1_0=${enable_x3daudio1_0:-no}
  14999. enable_x3daudio1_1=${enable_x3daudio1_1:-no}
  15000. enable_x3daudio1_2=${enable_x3daudio1_2:-no}
  15001. enable_x3daudio1_3=${enable_x3daudio1_3:-no}
  15002. enable_x3daudio1_4=${enable_x3daudio1_4:-no}
  15003. enable_x3daudio1_5=${enable_x3daudio1_5:-no}
  15004. enable_x3daudio1_6=${enable_x3daudio1_6:-no}
  15005. enable_x3daudio1_7=${enable_x3daudio1_7:-no}
  15006. enable_xactengine3_0=${enable_xactengine3_0:-no}
  15007. enable_xactengine3_1=${enable_xactengine3_1:-no}
  15008. enable_xactengine3_2=${enable_xactengine3_2:-no}
  15009. enable_xactengine3_3=${enable_xactengine3_3:-no}
  15010. enable_xactengine3_4=${enable_xactengine3_4:-no}
  15011. enable_xactengine3_5=${enable_xactengine3_5:-no}
  15012. enable_xactengine3_6=${enable_xactengine3_6:-no}
  15013. enable_xactengine3_7=${enable_xactengine3_7:-no}
  15014. enable_xapofx1_1=${enable_xapofx1_1:-no}
  15015. enable_xapofx1_2=${enable_xapofx1_2:-no}
  15016. enable_xapofx1_3=${enable_xapofx1_3:-no}
  15017. enable_xapofx1_4=${enable_xapofx1_4:-no}
  15018. enable_xapofx1_5=${enable_xapofx1_5:-no}
  15019. enable_xaudio2_0=${enable_xaudio2_0:-no}
  15020. enable_xaudio2_1=${enable_xaudio2_1:-no}
  15021. enable_xaudio2_2=${enable_xaudio2_2:-no}
  15022. enable_xaudio2_3=${enable_xaudio2_3:-no}
  15023. enable_xaudio2_4=${enable_xaudio2_4:-no}
  15024. enable_xaudio2_5=${enable_xaudio2_5:-no}
  15025. enable_xaudio2_6=${enable_xaudio2_6:-no}
  15026. enable_xaudio2_7=${enable_xaudio2_7:-no}
  15027. enable_xaudio2_8=${enable_xaudio2_8:-no}
  15028. enable_xaudio2_9=${enable_xaudio2_9:-no}
  15029. fi
  15030. if test "$ac_cv_header_kstat_h" = "yes"
  15031. then
  15032. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
  15033. $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
  15034. if ${ac_cv_lib_kstat_kstat_open+:} false; then :
  15035. $as_echo_n "(cached) " >&6
  15036. else
  15037. ac_check_lib_save_LIBS=$LIBS
  15038. LIBS="-lkstat $LIBS"
  15039. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15040. /* end confdefs.h. */
  15041. /* Override any GCC internal prototype to avoid an error.
  15042. Use char because int might match the return type of a GCC
  15043. builtin and then its argument prototype would still apply. */
  15044. #ifdef __cplusplus
  15045. extern "C"
  15046. #endif
  15047. char kstat_open ();
  15048. int
  15049. main ()
  15050. {
  15051. return kstat_open ();
  15052. ;
  15053. return 0;
  15054. }
  15055. _ACEOF
  15056. if ac_fn_c_try_link "$LINENO"; then :
  15057. ac_cv_lib_kstat_kstat_open=yes
  15058. else
  15059. ac_cv_lib_kstat_kstat_open=no
  15060. fi
  15061. rm -f core conftest.err conftest.$ac_objext \
  15062. conftest$ac_exeext conftest.$ac_ext
  15063. LIBS=$ac_check_lib_save_LIBS
  15064. fi
  15065. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
  15066. $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
  15067. if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
  15068. $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
  15069. KSTAT_LIBS="-lkstat"
  15070. fi
  15071. fi
  15072. if test "$ac_cv_header_libprocstat_h" = "yes"
  15073. then
  15074. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
  15075. $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
  15076. if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
  15077. $as_echo_n "(cached) " >&6
  15078. else
  15079. ac_check_lib_save_LIBS=$LIBS
  15080. LIBS="-lprocstat $LIBS"
  15081. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15082. /* end confdefs.h. */
  15083. /* Override any GCC internal prototype to avoid an error.
  15084. Use char because int might match the return type of a GCC
  15085. builtin and then its argument prototype would still apply. */
  15086. #ifdef __cplusplus
  15087. extern "C"
  15088. #endif
  15089. char procstat_open_sysctl ();
  15090. int
  15091. main ()
  15092. {
  15093. return procstat_open_sysctl ();
  15094. ;
  15095. return 0;
  15096. }
  15097. _ACEOF
  15098. if ac_fn_c_try_link "$LINENO"; then :
  15099. ac_cv_lib_procstat_procstat_open_sysctl=yes
  15100. else
  15101. ac_cv_lib_procstat_procstat_open_sysctl=no
  15102. fi
  15103. rm -f core conftest.err conftest.$ac_objext \
  15104. conftest$ac_exeext conftest.$ac_ext
  15105. LIBS=$ac_check_lib_save_LIBS
  15106. fi
  15107. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
  15108. $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
  15109. if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
  15110. $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
  15111. PROCSTAT_LIBS="-lprocstat"
  15112. fi
  15113. fi
  15114. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
  15115. $as_echo_n "checking for -lodbc... " >&6; }
  15116. if ${ac_cv_lib_soname_odbc+:} false; then :
  15117. $as_echo_n "(cached) " >&6
  15118. else
  15119. ac_check_soname_save_LIBS=$LIBS
  15120. LIBS="-lodbc $LIBS"
  15121. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15122. /* end confdefs.h. */
  15123. /* Override any GCC internal prototype to avoid an error.
  15124. Use char because int might match the return type of a GCC
  15125. builtin and then its argument prototype would still apply. */
  15126. #ifdef __cplusplus
  15127. extern "C"
  15128. #endif
  15129. char SQLConnect ();
  15130. int
  15131. main ()
  15132. {
  15133. return SQLConnect ();
  15134. ;
  15135. return 0;
  15136. }
  15137. _ACEOF
  15138. if ac_fn_c_try_link "$LINENO"; then :
  15139. case "$LIBEXT" in
  15140. dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15141. 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'` ;;
  15142. *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15143. if ${ac_cv_lib_soname_odbc:+false} :; then :
  15144. ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15145. fi ;;
  15146. esac
  15147. else
  15148. ac_cv_lib_soname_odbc=
  15149. fi
  15150. rm -f core conftest.err conftest.$ac_objext \
  15151. conftest$ac_exeext conftest.$ac_ext
  15152. LIBS=$ac_check_soname_save_LIBS
  15153. fi
  15154. if ${ac_cv_lib_soname_odbc:+false} :; then :
  15155. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15156. $as_echo "not found" >&6; }
  15157. cat >>confdefs.h <<_ACEOF
  15158. #define SONAME_LIBODBC "libodbc.$LIBEXT"
  15159. _ACEOF
  15160. else
  15161. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
  15162. $as_echo "$ac_cv_lib_soname_odbc" >&6; }
  15163. cat >>confdefs.h <<_ACEOF
  15164. #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
  15165. _ACEOF
  15166. fi
  15167. if test "x$with_netapi" != "xno"
  15168. then
  15169. if ${NETAPI_CFLAGS:+false} :; then :
  15170. if ${PKG_CONFIG+:} false; then :
  15171. NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
  15172. fi
  15173. fi
  15174. if ${NETAPI_LIBS:+false} :; then :
  15175. if ${PKG_CONFIG+:} false; then :
  15176. NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
  15177. fi
  15178. fi
  15179. $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
  15180. $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
  15181. ac_save_CPPFLAGS=$CPPFLAGS
  15182. CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
  15183. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
  15184. $as_echo_n "checking for -lnetapi... " >&6; }
  15185. if ${ac_cv_lib_soname_netapi+:} false; then :
  15186. $as_echo_n "(cached) " >&6
  15187. else
  15188. ac_check_soname_save_LIBS=$LIBS
  15189. LIBS="-lnetapi $NETAPI_LIBS $LIBS"
  15190. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15191. /* end confdefs.h. */
  15192. /* Override any GCC internal prototype to avoid an error.
  15193. Use char because int might match the return type of a GCC
  15194. builtin and then its argument prototype would still apply. */
  15195. #ifdef __cplusplus
  15196. extern "C"
  15197. #endif
  15198. char libnetapi_init ();
  15199. int
  15200. main ()
  15201. {
  15202. return libnetapi_init ();
  15203. ;
  15204. return 0;
  15205. }
  15206. _ACEOF
  15207. if ac_fn_c_try_link "$LINENO"; then :
  15208. case "$LIBEXT" in
  15209. dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15210. 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'` ;;
  15211. *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15212. if ${ac_cv_lib_soname_netapi:+false} :; then :
  15213. ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15214. fi ;;
  15215. esac
  15216. else
  15217. ac_cv_lib_soname_netapi=
  15218. fi
  15219. rm -f core conftest.err conftest.$ac_objext \
  15220. conftest$ac_exeext conftest.$ac_ext
  15221. LIBS=$ac_check_soname_save_LIBS
  15222. fi
  15223. if ${ac_cv_lib_soname_netapi:+false} :; then :
  15224. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15225. $as_echo "not found" >&6; }
  15226. cat >>confdefs.h <<_ACEOF
  15227. #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
  15228. _ACEOF
  15229. else
  15230. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
  15231. $as_echo "$ac_cv_lib_soname_netapi" >&6; }
  15232. cat >>confdefs.h <<_ACEOF
  15233. #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
  15234. _ACEOF
  15235. fi
  15236. CPPFLAGS=$ac_save_CPPFLAGS
  15237. fi
  15238. if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
  15239. "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
  15240. then
  15241. as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
  15242. fi
  15243. if test "x$with_vulkan" != "xno"
  15244. then
  15245. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
  15246. $as_echo_n "checking for -lvulkan... " >&6; }
  15247. if ${ac_cv_lib_soname_vulkan+:} false; then :
  15248. $as_echo_n "(cached) " >&6
  15249. else
  15250. ac_check_soname_save_LIBS=$LIBS
  15251. LIBS="-lvulkan $LIBS"
  15252. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15253. /* end confdefs.h. */
  15254. /* Override any GCC internal prototype to avoid an error.
  15255. Use char because int might match the return type of a GCC
  15256. builtin and then its argument prototype would still apply. */
  15257. #ifdef __cplusplus
  15258. extern "C"
  15259. #endif
  15260. char vkGetInstanceProcAddr ();
  15261. int
  15262. main ()
  15263. {
  15264. return vkGetInstanceProcAddr ();
  15265. ;
  15266. return 0;
  15267. }
  15268. _ACEOF
  15269. if ac_fn_c_try_link "$LINENO"; then :
  15270. case "$LIBEXT" in
  15271. dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15272. 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'` ;;
  15273. *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15274. if ${ac_cv_lib_soname_vulkan:+false} :; then :
  15275. ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15276. fi ;;
  15277. esac
  15278. else
  15279. ac_cv_lib_soname_vulkan=
  15280. fi
  15281. rm -f core conftest.err conftest.$ac_objext \
  15282. conftest$ac_exeext conftest.$ac_ext
  15283. LIBS=$ac_check_soname_save_LIBS
  15284. fi
  15285. if ${ac_cv_lib_soname_vulkan:+false} :; then :
  15286. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15287. $as_echo "not found" >&6; }
  15288. else
  15289. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
  15290. $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
  15291. cat >>confdefs.h <<_ACEOF
  15292. #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
  15293. _ACEOF
  15294. fi
  15295. if test "x$ac_cv_lib_soname_vulkan" = "x"
  15296. then
  15297. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
  15298. $as_echo_n "checking for -lMoltenVK... " >&6; }
  15299. if ${ac_cv_lib_soname_MoltenVK+:} false; then :
  15300. $as_echo_n "(cached) " >&6
  15301. else
  15302. ac_check_soname_save_LIBS=$LIBS
  15303. LIBS="-lMoltenVK $LIBS"
  15304. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15305. /* end confdefs.h. */
  15306. /* Override any GCC internal prototype to avoid an error.
  15307. Use char because int might match the return type of a GCC
  15308. builtin and then its argument prototype would still apply. */
  15309. #ifdef __cplusplus
  15310. extern "C"
  15311. #endif
  15312. char vkGetInstanceProcAddr ();
  15313. int
  15314. main ()
  15315. {
  15316. return vkGetInstanceProcAddr ();
  15317. ;
  15318. return 0;
  15319. }
  15320. _ACEOF
  15321. if ac_fn_c_try_link "$LINENO"; then :
  15322. case "$LIBEXT" in
  15323. dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15324. 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'` ;;
  15325. *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15326. if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
  15327. ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15328. fi ;;
  15329. esac
  15330. else
  15331. ac_cv_lib_soname_MoltenVK=
  15332. fi
  15333. rm -f core conftest.err conftest.$ac_objext \
  15334. conftest$ac_exeext conftest.$ac_ext
  15335. LIBS=$ac_check_soname_save_LIBS
  15336. fi
  15337. if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
  15338. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15339. $as_echo "not found" >&6; }
  15340. else
  15341. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
  15342. $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
  15343. cat >>confdefs.h <<_ACEOF
  15344. #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
  15345. _ACEOF
  15346. fi
  15347. fi
  15348. fi
  15349. if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
  15350. case "x$with_vulkan" in
  15351. x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
  15352. xno) ;;
  15353. *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
  15354. This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
  15355. esac
  15356. fi
  15357. if test "x$with_vkd3d" != "xno"
  15358. then
  15359. if ${VKD3D_CFLAGS:+false} :; then :
  15360. if ${PKG_CONFIG+:} false; then :
  15361. VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
  15362. fi
  15363. fi
  15364. if ${VKD3D_LIBS:+false} :; then :
  15365. if ${PKG_CONFIG+:} false; then :
  15366. VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
  15367. fi
  15368. fi
  15369. $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
  15370. $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
  15371. ac_save_CPPFLAGS=$CPPFLAGS
  15372. CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
  15373. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
  15374. $as_echo_n "checking for -lvkd3d... " >&6; }
  15375. if ${ac_cv_lib_soname_vkd3d+:} false; then :
  15376. $as_echo_n "(cached) " >&6
  15377. else
  15378. ac_check_soname_save_LIBS=$LIBS
  15379. LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
  15380. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15381. /* end confdefs.h. */
  15382. /* Override any GCC internal prototype to avoid an error.
  15383. Use char because int might match the return type of a GCC
  15384. builtin and then its argument prototype would still apply. */
  15385. #ifdef __cplusplus
  15386. extern "C"
  15387. #endif
  15388. char vkd3d_serialize_versioned_root_signature ();
  15389. int
  15390. main ()
  15391. {
  15392. return vkd3d_serialize_versioned_root_signature ();
  15393. ;
  15394. return 0;
  15395. }
  15396. _ACEOF
  15397. if ac_fn_c_try_link "$LINENO"; then :
  15398. case "$LIBEXT" in
  15399. dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15400. 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'` ;;
  15401. *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15402. if ${ac_cv_lib_soname_vkd3d:+false} :; then :
  15403. ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15404. fi ;;
  15405. esac
  15406. else
  15407. ac_cv_lib_soname_vkd3d=
  15408. fi
  15409. rm -f core conftest.err conftest.$ac_objext \
  15410. conftest$ac_exeext conftest.$ac_ext
  15411. LIBS=$ac_check_soname_save_LIBS
  15412. fi
  15413. if ${ac_cv_lib_soname_vkd3d:+false} :; then :
  15414. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15415. $as_echo "not found" >&6; }
  15416. else
  15417. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
  15418. $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
  15419. cat >>confdefs.h <<_ACEOF
  15420. #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
  15421. _ACEOF
  15422. fi
  15423. CPPFLAGS=$ac_save_CPPFLAGS
  15424. if ${VKD3D_SHADER_CFLAGS:+false} :; then :
  15425. if ${PKG_CONFIG+:} false; then :
  15426. VKD3D_SHADER_CFLAGS=`$PKG_CONFIG --cflags libvkd3d-shader 2>/dev/null`
  15427. fi
  15428. fi
  15429. if ${VKD3D_SHADER_LIBS:+false} :; then :
  15430. if ${PKG_CONFIG+:} false; then :
  15431. VKD3D_SHADER_LIBS=`$PKG_CONFIG --libs libvkd3d-shader 2>/dev/null`
  15432. fi
  15433. fi
  15434. $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader cflags: $VKD3D_SHADER_CFLAGS" >&5
  15435. $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d-shader libs: $VKD3D_SHADER_LIBS" >&5
  15436. ac_save_CPPFLAGS=$CPPFLAGS
  15437. CPPFLAGS="$CPPFLAGS $VKD3D_SHADER_CFLAGS"
  15438. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d-shader" >&5
  15439. $as_echo_n "checking for -lvkd3d-shader... " >&6; }
  15440. if ${ac_cv_lib_soname_vkd3d_shader+:} false; then :
  15441. $as_echo_n "(cached) " >&6
  15442. else
  15443. ac_check_soname_save_LIBS=$LIBS
  15444. LIBS="-lvkd3d-shader $VKD3D_SHADER_LIBS $LIBS"
  15445. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15446. /* end confdefs.h. */
  15447. /* Override any GCC internal prototype to avoid an error.
  15448. Use char because int might match the return type of a GCC
  15449. builtin and then its argument prototype would still apply. */
  15450. #ifdef __cplusplus
  15451. extern "C"
  15452. #endif
  15453. char vkd3d_shader_compile ();
  15454. int
  15455. main ()
  15456. {
  15457. return vkd3d_shader_compile ();
  15458. ;
  15459. return 0;
  15460. }
  15461. _ACEOF
  15462. if ac_fn_c_try_link "$LINENO"; then :
  15463. case "$LIBEXT" in
  15464. dll) ac_cv_lib_soname_vkd3d_shader=`$ac_cv_path_LDD conftest.exe | grep "vkd3d-shader" | sed -e "s/dll.*/dll/"';2,$d'` ;;
  15465. dylib) ac_cv_lib_soname_vkd3d_shader=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d-shader\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d-shader\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
  15466. *) ac_cv_lib_soname_vkd3d_shader=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d-shader\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
  15467. if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
  15468. ac_cv_lib_soname_vkd3d_shader=`$LDD conftest$ac_exeext | grep "libvkd3d-shader\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d-shader\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
  15469. fi ;;
  15470. esac
  15471. else
  15472. ac_cv_lib_soname_vkd3d_shader=
  15473. fi
  15474. rm -f core conftest.err conftest.$ac_objext \
  15475. conftest$ac_exeext conftest.$ac_ext
  15476. LIBS=$ac_check_soname_save_LIBS
  15477. fi
  15478. if ${ac_cv_lib_soname_vkd3d_shader:+false} :; then :
  15479. { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
  15480. $as_echo "not found" >&6; }
  15481. else
  15482. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d_shader" >&5
  15483. $as_echo "$ac_cv_lib_soname_vkd3d_shader" >&6; }
  15484. cat >>confdefs.h <<_ACEOF
  15485. #define SONAME_LIBVKD3D_SHADER "$ac_cv_lib_soname_vkd3d_shader"
  15486. _ACEOF
  15487. fi
  15488. CPPFLAGS=$ac_save_CPPFLAGS
  15489. fi
  15490. if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
  15491. case "x$with_vkd3d" in
  15492. x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
  15493. xno) ;;
  15494. *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
  15495. This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
  15496. esac
  15497. fi
  15498. test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
  15499. EXTRACFLAGS=""
  15500. if test "x${GCC}" = "xyes"
  15501. then
  15502. EXTRACFLAGS="-Wall -pipe"
  15503. saved_CFLAGS=$CFLAGS
  15504. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
  15505. $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
  15506. if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
  15507. $as_echo_n "(cached) " >&6
  15508. else
  15509. ac_wine_try_cflags_saved=$CFLAGS
  15510. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  15511. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15512. /* end confdefs.h. */
  15513. int main(int argc, char **argv) { return 0; }
  15514. _ACEOF
  15515. if ac_fn_c_try_link "$LINENO"; then :
  15516. ac_cv_cflags__Werror_unknown_warning_option=yes
  15517. else
  15518. ac_cv_cflags__Werror_unknown_warning_option=no
  15519. fi
  15520. rm -f core conftest.err conftest.$ac_objext \
  15521. conftest$ac_exeext conftest.$ac_ext
  15522. CFLAGS=$ac_wine_try_cflags_saved
  15523. fi
  15524. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
  15525. $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
  15526. if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
  15527. CFLAGS="$CFLAGS -Werror=unknown-warning-option"
  15528. fi
  15529. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
  15530. $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
  15531. if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
  15532. $as_echo_n "(cached) " >&6
  15533. else
  15534. ac_wine_try_cflags_saved=$CFLAGS
  15535. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  15536. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15537. /* end confdefs.h. */
  15538. int main(int argc, char **argv) { return 0; }
  15539. _ACEOF
  15540. if ac_fn_c_try_link "$LINENO"; then :
  15541. ac_cv_cflags__Werror_unused_command_line_argument=yes
  15542. else
  15543. ac_cv_cflags__Werror_unused_command_line_argument=no
  15544. fi
  15545. rm -f core conftest.err conftest.$ac_objext \
  15546. conftest$ac_exeext conftest.$ac_ext
  15547. CFLAGS=$ac_wine_try_cflags_saved
  15548. fi
  15549. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
  15550. $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
  15551. if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
  15552. CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
  15553. fi
  15554. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
  15555. $as_echo_n "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
  15556. if ${ac_cv_cflags__Werror_ignored_optimization_argument+:} false; then :
  15557. $as_echo_n "(cached) " >&6
  15558. else
  15559. ac_wine_try_cflags_saved=$CFLAGS
  15560. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  15561. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15562. /* end confdefs.h. */
  15563. int main(int argc, char **argv) { return 0; }
  15564. _ACEOF
  15565. if ac_fn_c_try_link "$LINENO"; then :
  15566. ac_cv_cflags__Werror_ignored_optimization_argument=yes
  15567. else
  15568. ac_cv_cflags__Werror_ignored_optimization_argument=no
  15569. fi
  15570. rm -f core conftest.err conftest.$ac_objext \
  15571. conftest$ac_exeext conftest.$ac_ext
  15572. CFLAGS=$ac_wine_try_cflags_saved
  15573. fi
  15574. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
  15575. $as_echo "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
  15576. if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes; then :
  15577. CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
  15578. fi
  15579. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
  15580. $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
  15581. if ${ac_cv_cflags__fcf_protection_none+:} false; then :
  15582. $as_echo_n "(cached) " >&6
  15583. else
  15584. ac_wine_try_cflags_saved=$CFLAGS
  15585. CFLAGS="$CFLAGS -fcf-protection=none"
  15586. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15587. /* end confdefs.h. */
  15588. int main(int argc, char **argv) { return 0; }
  15589. _ACEOF
  15590. if ac_fn_c_try_link "$LINENO"; then :
  15591. ac_cv_cflags__fcf_protection_none=yes
  15592. else
  15593. ac_cv_cflags__fcf_protection_none=no
  15594. fi
  15595. rm -f core conftest.err conftest.$ac_objext \
  15596. conftest$ac_exeext conftest.$ac_ext
  15597. CFLAGS=$ac_wine_try_cflags_saved
  15598. fi
  15599. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
  15600. $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
  15601. if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
  15602. EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
  15603. fi
  15604. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
  15605. $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
  15606. if ${ac_cv_cflags__fno_stack_protector+:} false; then :
  15607. $as_echo_n "(cached) " >&6
  15608. else
  15609. ac_wine_try_cflags_saved=$CFLAGS
  15610. CFLAGS="$CFLAGS -fno-stack-protector"
  15611. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15612. /* end confdefs.h. */
  15613. int main(int argc, char **argv) { return 0; }
  15614. _ACEOF
  15615. if ac_fn_c_try_link "$LINENO"; then :
  15616. ac_cv_cflags__fno_stack_protector=yes
  15617. else
  15618. ac_cv_cflags__fno_stack_protector=no
  15619. fi
  15620. rm -f core conftest.err conftest.$ac_objext \
  15621. conftest$ac_exeext conftest.$ac_ext
  15622. CFLAGS=$ac_wine_try_cflags_saved
  15623. fi
  15624. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
  15625. $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
  15626. if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
  15627. EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
  15628. fi
  15629. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
  15630. $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
  15631. if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
  15632. $as_echo_n "(cached) " >&6
  15633. else
  15634. ac_wine_try_cflags_saved=$CFLAGS
  15635. CFLAGS="$CFLAGS -fno-strict-aliasing"
  15636. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15637. /* end confdefs.h. */
  15638. int main(int argc, char **argv) { return 0; }
  15639. _ACEOF
  15640. if ac_fn_c_try_link "$LINENO"; then :
  15641. ac_cv_cflags__fno_strict_aliasing=yes
  15642. else
  15643. ac_cv_cflags__fno_strict_aliasing=no
  15644. fi
  15645. rm -f core conftest.err conftest.$ac_objext \
  15646. conftest$ac_exeext conftest.$ac_ext
  15647. CFLAGS=$ac_wine_try_cflags_saved
  15648. fi
  15649. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
  15650. $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
  15651. if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
  15652. EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
  15653. fi
  15654. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
  15655. $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
  15656. if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
  15657. $as_echo_n "(cached) " >&6
  15658. else
  15659. ac_wine_try_cflags_saved=$CFLAGS
  15660. CFLAGS="$CFLAGS -Wdeclaration-after-statement"
  15661. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15662. /* end confdefs.h. */
  15663. int main(int argc, char **argv) { return 0; }
  15664. _ACEOF
  15665. if ac_fn_c_try_link "$LINENO"; then :
  15666. ac_cv_cflags__Wdeclaration_after_statement=yes
  15667. else
  15668. ac_cv_cflags__Wdeclaration_after_statement=no
  15669. fi
  15670. rm -f core conftest.err conftest.$ac_objext \
  15671. conftest$ac_exeext conftest.$ac_ext
  15672. CFLAGS=$ac_wine_try_cflags_saved
  15673. fi
  15674. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
  15675. $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
  15676. if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
  15677. EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
  15678. fi
  15679. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
  15680. $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
  15681. if ${ac_cv_cflags__Wempty_body+:} false; then :
  15682. $as_echo_n "(cached) " >&6
  15683. else
  15684. ac_wine_try_cflags_saved=$CFLAGS
  15685. CFLAGS="$CFLAGS -Wempty-body"
  15686. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15687. /* end confdefs.h. */
  15688. int main(int argc, char **argv) { return 0; }
  15689. _ACEOF
  15690. if ac_fn_c_try_link "$LINENO"; then :
  15691. ac_cv_cflags__Wempty_body=yes
  15692. else
  15693. ac_cv_cflags__Wempty_body=no
  15694. fi
  15695. rm -f core conftest.err conftest.$ac_objext \
  15696. conftest$ac_exeext conftest.$ac_ext
  15697. CFLAGS=$ac_wine_try_cflags_saved
  15698. fi
  15699. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
  15700. $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
  15701. if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
  15702. EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
  15703. fi
  15704. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
  15705. $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
  15706. if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
  15707. $as_echo_n "(cached) " >&6
  15708. else
  15709. ac_wine_try_cflags_saved=$CFLAGS
  15710. CFLAGS="$CFLAGS -Wignored-qualifiers"
  15711. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15712. /* end confdefs.h. */
  15713. int main(int argc, char **argv) { return 0; }
  15714. _ACEOF
  15715. if ac_fn_c_try_link "$LINENO"; then :
  15716. ac_cv_cflags__Wignored_qualifiers=yes
  15717. else
  15718. ac_cv_cflags__Wignored_qualifiers=no
  15719. fi
  15720. rm -f core conftest.err conftest.$ac_objext \
  15721. conftest$ac_exeext conftest.$ac_ext
  15722. CFLAGS=$ac_wine_try_cflags_saved
  15723. fi
  15724. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
  15725. $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
  15726. if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
  15727. EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
  15728. fi
  15729. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
  15730. $as_echo_n "checking whether the compiler supports -Winit-self... " >&6; }
  15731. if ${ac_cv_cflags__Winit_self+:} false; then :
  15732. $as_echo_n "(cached) " >&6
  15733. else
  15734. ac_wine_try_cflags_saved=$CFLAGS
  15735. CFLAGS="$CFLAGS -Winit-self"
  15736. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15737. /* end confdefs.h. */
  15738. int main(int argc, char **argv) { return 0; }
  15739. _ACEOF
  15740. if ac_fn_c_try_link "$LINENO"; then :
  15741. ac_cv_cflags__Winit_self=yes
  15742. else
  15743. ac_cv_cflags__Winit_self=no
  15744. fi
  15745. rm -f core conftest.err conftest.$ac_objext \
  15746. conftest$ac_exeext conftest.$ac_ext
  15747. CFLAGS=$ac_wine_try_cflags_saved
  15748. fi
  15749. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
  15750. $as_echo "$ac_cv_cflags__Winit_self" >&6; }
  15751. if test "x$ac_cv_cflags__Winit_self" = xyes; then :
  15752. EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
  15753. fi
  15754. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
  15755. $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
  15756. if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
  15757. $as_echo_n "(cached) " >&6
  15758. else
  15759. ac_wine_try_cflags_saved=$CFLAGS
  15760. CFLAGS="$CFLAGS -Wpacked-not-aligned"
  15761. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15762. /* end confdefs.h. */
  15763. int main(int argc, char **argv) { return 0; }
  15764. _ACEOF
  15765. if ac_fn_c_try_link "$LINENO"; then :
  15766. ac_cv_cflags__Wpacked_not_aligned=yes
  15767. else
  15768. ac_cv_cflags__Wpacked_not_aligned=no
  15769. fi
  15770. rm -f core conftest.err conftest.$ac_objext \
  15771. conftest$ac_exeext conftest.$ac_ext
  15772. CFLAGS=$ac_wine_try_cflags_saved
  15773. fi
  15774. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
  15775. $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
  15776. if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
  15777. EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
  15778. fi
  15779. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
  15780. $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
  15781. if ${ac_cv_cflags__Wpragma_pack+:} false; then :
  15782. $as_echo_n "(cached) " >&6
  15783. else
  15784. ac_wine_try_cflags_saved=$CFLAGS
  15785. CFLAGS="$CFLAGS -Wpragma-pack"
  15786. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15787. /* end confdefs.h. */
  15788. int main(int argc, char **argv) { return 0; }
  15789. _ACEOF
  15790. if ac_fn_c_try_link "$LINENO"; then :
  15791. ac_cv_cflags__Wpragma_pack=yes
  15792. else
  15793. ac_cv_cflags__Wpragma_pack=no
  15794. fi
  15795. rm -f core conftest.err conftest.$ac_objext \
  15796. conftest$ac_exeext conftest.$ac_ext
  15797. CFLAGS=$ac_wine_try_cflags_saved
  15798. fi
  15799. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
  15800. $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
  15801. if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
  15802. EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
  15803. fi
  15804. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
  15805. $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
  15806. if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
  15807. $as_echo_n "(cached) " >&6
  15808. else
  15809. ac_wine_try_cflags_saved=$CFLAGS
  15810. CFLAGS="$CFLAGS -Wshift-overflow=2"
  15811. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15812. /* end confdefs.h. */
  15813. int main(int argc, char **argv) { return 0; }
  15814. _ACEOF
  15815. if ac_fn_c_try_link "$LINENO"; then :
  15816. ac_cv_cflags__Wshift_overflow_2=yes
  15817. else
  15818. ac_cv_cflags__Wshift_overflow_2=no
  15819. fi
  15820. rm -f core conftest.err conftest.$ac_objext \
  15821. conftest$ac_exeext conftest.$ac_ext
  15822. CFLAGS=$ac_wine_try_cflags_saved
  15823. fi
  15824. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
  15825. $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
  15826. if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
  15827. EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
  15828. fi
  15829. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
  15830. $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
  15831. if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
  15832. $as_echo_n "(cached) " >&6
  15833. else
  15834. ac_wine_try_cflags_saved=$CFLAGS
  15835. CFLAGS="$CFLAGS -Wstrict-prototypes"
  15836. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15837. /* end confdefs.h. */
  15838. int main(int argc, char **argv) { return 0; }
  15839. _ACEOF
  15840. if ac_fn_c_try_link "$LINENO"; then :
  15841. ac_cv_cflags__Wstrict_prototypes=yes
  15842. else
  15843. ac_cv_cflags__Wstrict_prototypes=no
  15844. fi
  15845. rm -f core conftest.err conftest.$ac_objext \
  15846. conftest$ac_exeext conftest.$ac_ext
  15847. CFLAGS=$ac_wine_try_cflags_saved
  15848. fi
  15849. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
  15850. $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
  15851. if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
  15852. EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
  15853. fi
  15854. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
  15855. $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
  15856. if ${ac_cv_cflags__Wtype_limits+:} false; then :
  15857. $as_echo_n "(cached) " >&6
  15858. else
  15859. ac_wine_try_cflags_saved=$CFLAGS
  15860. CFLAGS="$CFLAGS -Wtype-limits"
  15861. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15862. /* end confdefs.h. */
  15863. int main(int argc, char **argv) { return 0; }
  15864. _ACEOF
  15865. if ac_fn_c_try_link "$LINENO"; then :
  15866. ac_cv_cflags__Wtype_limits=yes
  15867. else
  15868. ac_cv_cflags__Wtype_limits=no
  15869. fi
  15870. rm -f core conftest.err conftest.$ac_objext \
  15871. conftest$ac_exeext conftest.$ac_ext
  15872. CFLAGS=$ac_wine_try_cflags_saved
  15873. fi
  15874. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
  15875. $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
  15876. if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
  15877. EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
  15878. fi
  15879. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
  15880. $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
  15881. if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
  15882. $as_echo_n "(cached) " >&6
  15883. else
  15884. ac_wine_try_cflags_saved=$CFLAGS
  15885. CFLAGS="$CFLAGS -Wunused-but-set-parameter"
  15886. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15887. /* end confdefs.h. */
  15888. int main(int argc, char **argv) { return 0; }
  15889. _ACEOF
  15890. if ac_fn_c_try_link "$LINENO"; then :
  15891. ac_cv_cflags__Wunused_but_set_parameter=yes
  15892. else
  15893. ac_cv_cflags__Wunused_but_set_parameter=no
  15894. fi
  15895. rm -f core conftest.err conftest.$ac_objext \
  15896. conftest$ac_exeext conftest.$ac_ext
  15897. CFLAGS=$ac_wine_try_cflags_saved
  15898. fi
  15899. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
  15900. $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
  15901. if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
  15902. EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
  15903. fi
  15904. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
  15905. $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
  15906. if ${ac_cv_cflags__Wvla+:} false; then :
  15907. $as_echo_n "(cached) " >&6
  15908. else
  15909. ac_wine_try_cflags_saved=$CFLAGS
  15910. CFLAGS="$CFLAGS -Wvla"
  15911. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15912. /* end confdefs.h. */
  15913. int main(int argc, char **argv) { return 0; }
  15914. _ACEOF
  15915. if ac_fn_c_try_link "$LINENO"; then :
  15916. ac_cv_cflags__Wvla=yes
  15917. else
  15918. ac_cv_cflags__Wvla=no
  15919. fi
  15920. rm -f core conftest.err conftest.$ac_objext \
  15921. conftest$ac_exeext conftest.$ac_ext
  15922. CFLAGS=$ac_wine_try_cflags_saved
  15923. fi
  15924. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
  15925. $as_echo "$ac_cv_cflags__Wvla" >&6; }
  15926. if test "x$ac_cv_cflags__Wvla" = xyes; then :
  15927. EXTRACFLAGS="$EXTRACFLAGS -Wvla"
  15928. fi
  15929. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
  15930. $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
  15931. if ${ac_cv_cflags__Wwrite_strings+:} false; then :
  15932. $as_echo_n "(cached) " >&6
  15933. else
  15934. ac_wine_try_cflags_saved=$CFLAGS
  15935. CFLAGS="$CFLAGS -Wwrite-strings"
  15936. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15937. /* end confdefs.h. */
  15938. int main(int argc, char **argv) { return 0; }
  15939. _ACEOF
  15940. if ac_fn_c_try_link "$LINENO"; then :
  15941. ac_cv_cflags__Wwrite_strings=yes
  15942. else
  15943. ac_cv_cflags__Wwrite_strings=no
  15944. fi
  15945. rm -f core conftest.err conftest.$ac_objext \
  15946. conftest$ac_exeext conftest.$ac_ext
  15947. CFLAGS=$ac_wine_try_cflags_saved
  15948. fi
  15949. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
  15950. $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
  15951. if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
  15952. EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
  15953. fi
  15954. if test -z "$CROSSTARGET"
  15955. then
  15956. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
  15957. $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
  15958. if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
  15959. $as_echo_n "(cached) " >&6
  15960. else
  15961. ac_wine_try_cflags_saved=$CFLAGS
  15962. CFLAGS="$CFLAGS -fexcess-precision=standard"
  15963. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15964. /* end confdefs.h. */
  15965. int main(int argc, char **argv) { return 0; }
  15966. _ACEOF
  15967. if ac_fn_c_try_link "$LINENO"; then :
  15968. ac_cv_cflags__fexcess_precision_standard=yes
  15969. else
  15970. ac_cv_cflags__fexcess_precision_standard=no
  15971. fi
  15972. rm -f core conftest.err conftest.$ac_objext \
  15973. conftest$ac_exeext conftest.$ac_ext
  15974. CFLAGS=$ac_wine_try_cflags_saved
  15975. fi
  15976. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
  15977. $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
  15978. if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
  15979. EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
  15980. fi
  15981. fi
  15982. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
  15983. $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
  15984. if ${ac_cv_cflags__Wpointer_arith+:} false; then :
  15985. $as_echo_n "(cached) " >&6
  15986. else
  15987. ac_wine_try_cflags_saved=$CFLAGS
  15988. CFLAGS="$CFLAGS -Wpointer-arith"
  15989. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  15990. /* end confdefs.h. */
  15991. int main(int argc, char **argv) { return 0; }
  15992. _ACEOF
  15993. if ac_fn_c_try_link "$LINENO"; then :
  15994. ac_cv_cflags__Wpointer_arith=yes
  15995. else
  15996. ac_cv_cflags__Wpointer_arith=no
  15997. fi
  15998. rm -f core conftest.err conftest.$ac_objext \
  15999. conftest$ac_exeext conftest.$ac_ext
  16000. CFLAGS=$ac_wine_try_cflags_saved
  16001. fi
  16002. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
  16003. $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
  16004. if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
  16005. saved_string_h_CFLAGS=$CFLAGS
  16006. CFLAGS="$CFLAGS -Wpointer-arith -Werror"
  16007. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
  16008. $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
  16009. if ${ac_cv_c_string_h_warnings+:} false; then :
  16010. $as_echo_n "(cached) " >&6
  16011. else
  16012. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16013. /* end confdefs.h. */
  16014. #include <string.h>
  16015. int
  16016. main ()
  16017. {
  16018. ;
  16019. return 0;
  16020. }
  16021. _ACEOF
  16022. if ac_fn_c_try_compile "$LINENO"; then :
  16023. ac_cv_c_string_h_warnings=no
  16024. else
  16025. ac_cv_c_string_h_warnings=yes
  16026. fi
  16027. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16028. fi
  16029. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
  16030. $as_echo "$ac_cv_c_string_h_warnings" >&6; }
  16031. test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
  16032. CFLAGS=$saved_string_h_CFLAGS
  16033. fi
  16034. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
  16035. $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
  16036. if ${ac_cv_cflags__Wlogical_op+:} false; then :
  16037. $as_echo_n "(cached) " >&6
  16038. else
  16039. ac_wine_try_cflags_saved=$CFLAGS
  16040. CFLAGS="$CFLAGS -Wlogical-op"
  16041. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16042. /* end confdefs.h. */
  16043. int main(int argc, char **argv) { return 0; }
  16044. _ACEOF
  16045. if ac_fn_c_try_link "$LINENO"; then :
  16046. ac_cv_cflags__Wlogical_op=yes
  16047. else
  16048. ac_cv_cflags__Wlogical_op=no
  16049. fi
  16050. rm -f core conftest.err conftest.$ac_objext \
  16051. conftest$ac_exeext conftest.$ac_ext
  16052. CFLAGS=$ac_wine_try_cflags_saved
  16053. fi
  16054. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
  16055. $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
  16056. if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
  16057. saved_string_h_CFLAGS=$CFLAGS
  16058. CFLAGS="$CFLAGS -Wlogical-op -Werror"
  16059. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
  16060. $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
  16061. if ${ac_cv_c_logicalop_noisy+:} false; then :
  16062. $as_echo_n "(cached) " >&6
  16063. else
  16064. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16065. /* end confdefs.h. */
  16066. #include <string.h>
  16067. char*f(const char *h,char n) {return strchr(h,n);}
  16068. int
  16069. main ()
  16070. {
  16071. ;
  16072. return 0;
  16073. }
  16074. _ACEOF
  16075. if ac_fn_c_try_compile "$LINENO"; then :
  16076. ac_cv_c_logicalop_noisy=no
  16077. else
  16078. ac_cv_c_logicalop_noisy=yes
  16079. fi
  16080. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16081. fi
  16082. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
  16083. $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
  16084. CFLAGS=$saved_string_h_CFLAGS
  16085. test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
  16086. fi
  16087. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
  16088. $as_echo_n "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
  16089. if ${wine_cv_64bit_compare_swap+:} false; then :
  16090. $as_echo_n "(cached) " >&6
  16091. else
  16092. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16093. /* end confdefs.h. */
  16094. #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
  16095. #error no
  16096. #endif
  16097. int
  16098. main ()
  16099. {
  16100. ;
  16101. return 0;
  16102. }
  16103. _ACEOF
  16104. if ac_fn_c_try_compile "$LINENO"; then :
  16105. wine_cv_64bit_compare_swap="none needed"
  16106. else
  16107. case $host_cpu in
  16108. *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
  16109. *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
  16110. *) wine_cv_64bit_compare_swap="unknown" ;;
  16111. esac
  16112. if test "x$wine_cv_64bit_compare_swap" != xunknown
  16113. then
  16114. CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
  16115. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16116. /* end confdefs.h. */
  16117. #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
  16118. #error no
  16119. #endif
  16120. int
  16121. main ()
  16122. {
  16123. ;
  16124. return 0;
  16125. }
  16126. _ACEOF
  16127. if ac_fn_c_try_compile "$LINENO"; then :
  16128. else
  16129. wine_cv_64bit_compare_swap="unknown"
  16130. fi
  16131. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16132. CFLAGS=$saved_CFLAGS
  16133. fi
  16134. fi
  16135. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16136. fi
  16137. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
  16138. $as_echo "$wine_cv_64bit_compare_swap" >&6; }
  16139. case "$wine_cv_64bit_compare_swap" in
  16140. unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
  16141. "none needed") ;;
  16142. *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
  16143. esac
  16144. for ac_flag in $CFLAGS; do
  16145. case $ac_flag in
  16146. -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
  16147. $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
  16148. if ${ac_cv_cflags__gdwarf_2+:} false; then :
  16149. $as_echo_n "(cached) " >&6
  16150. else
  16151. ac_wine_try_cflags_saved=$CFLAGS
  16152. CFLAGS="$CFLAGS -gdwarf-2"
  16153. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16154. /* end confdefs.h. */
  16155. int main(int argc, char **argv) { return 0; }
  16156. _ACEOF
  16157. if ac_fn_c_try_link "$LINENO"; then :
  16158. ac_cv_cflags__gdwarf_2=yes
  16159. else
  16160. ac_cv_cflags__gdwarf_2=no
  16161. fi
  16162. rm -f core conftest.err conftest.$ac_objext \
  16163. conftest$ac_exeext conftest.$ac_ext
  16164. CFLAGS=$ac_wine_try_cflags_saved
  16165. fi
  16166. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
  16167. $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
  16168. if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
  16169. EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
  16170. fi
  16171. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
  16172. $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
  16173. if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
  16174. $as_echo_n "(cached) " >&6
  16175. else
  16176. ac_wine_try_cflags_saved=$CFLAGS
  16177. CFLAGS="$CFLAGS -gstrict-dwarf"
  16178. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16179. /* end confdefs.h. */
  16180. int main(int argc, char **argv) { return 0; }
  16181. _ACEOF
  16182. if ac_fn_c_try_link "$LINENO"; then :
  16183. ac_cv_cflags__gstrict_dwarf=yes
  16184. else
  16185. ac_cv_cflags__gstrict_dwarf=no
  16186. fi
  16187. rm -f core conftest.err conftest.$ac_objext \
  16188. conftest$ac_exeext conftest.$ac_ext
  16189. CFLAGS=$ac_wine_try_cflags_saved
  16190. fi
  16191. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
  16192. $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
  16193. if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
  16194. EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
  16195. fi ;;
  16196. esac
  16197. done
  16198. MSVCRTFLAGS=""
  16199. case $host_os in
  16200. mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
  16201. $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
  16202. if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
  16203. $as_echo_n "(cached) " >&6
  16204. else
  16205. ac_wine_try_cflags_saved=$CFLAGS
  16206. CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
  16207. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16208. /* end confdefs.h. */
  16209. int main(int argc, char **argv) { return 0; }
  16210. _ACEOF
  16211. if ac_fn_c_try_link "$LINENO"; then :
  16212. ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
  16213. else
  16214. ac_cv_cflags__Wl__delayload_autoconftest_dll=no
  16215. fi
  16216. rm -f core conftest.err conftest.$ac_objext \
  16217. conftest$ac_exeext conftest.$ac_ext
  16218. CFLAGS=$ac_wine_try_cflags_saved
  16219. fi
  16220. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
  16221. $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
  16222. if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
  16223. DELAYLOADFLAG="-Wl,-delayload,"
  16224. fi ;;
  16225. *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
  16226. $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
  16227. if ${ac_cv_cflags__fno_builtin+:} false; then :
  16228. $as_echo_n "(cached) " >&6
  16229. else
  16230. ac_wine_try_cflags_saved=$CFLAGS
  16231. CFLAGS="$CFLAGS -fno-builtin"
  16232. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16233. /* end confdefs.h. */
  16234. int main(int argc, char **argv) { return 0; }
  16235. _ACEOF
  16236. if ac_fn_c_try_link "$LINENO"; then :
  16237. ac_cv_cflags__fno_builtin=yes
  16238. else
  16239. ac_cv_cflags__fno_builtin=no
  16240. fi
  16241. rm -f core conftest.err conftest.$ac_objext \
  16242. conftest$ac_exeext conftest.$ac_ext
  16243. CFLAGS=$ac_wine_try_cflags_saved
  16244. fi
  16245. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
  16246. $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
  16247. if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
  16248. MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
  16249. fi
  16250. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
  16251. $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
  16252. if ${ac_cv_cflags__fshort_wchar+:} false; then :
  16253. $as_echo_n "(cached) " >&6
  16254. else
  16255. ac_wine_try_cflags_saved=$CFLAGS
  16256. CFLAGS="$CFLAGS -fshort-wchar"
  16257. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16258. /* end confdefs.h. */
  16259. int main(int argc, char **argv) { return 0; }
  16260. _ACEOF
  16261. if ac_fn_c_try_link "$LINENO"; then :
  16262. ac_cv_cflags__fshort_wchar=yes
  16263. else
  16264. ac_cv_cflags__fshort_wchar=no
  16265. fi
  16266. rm -f core conftest.err conftest.$ac_objext \
  16267. conftest$ac_exeext conftest.$ac_ext
  16268. CFLAGS=$ac_wine_try_cflags_saved
  16269. fi
  16270. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
  16271. $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
  16272. if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
  16273. MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
  16274. fi ;;
  16275. esac
  16276. case $host_cpu in
  16277. *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
  16278. $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
  16279. if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
  16280. $as_echo_n "(cached) " >&6
  16281. else
  16282. ac_wine_try_cflags_saved=$CFLAGS
  16283. CFLAGS="$CFLAGS -fno-omit-frame-pointer"
  16284. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16285. /* end confdefs.h. */
  16286. int main(int argc, char **argv) { return 0; }
  16287. _ACEOF
  16288. if ac_fn_c_try_link "$LINENO"; then :
  16289. ac_cv_cflags__fno_omit_frame_pointer=yes
  16290. else
  16291. ac_cv_cflags__fno_omit_frame_pointer=no
  16292. fi
  16293. rm -f core conftest.err conftest.$ac_objext \
  16294. conftest$ac_exeext conftest.$ac_ext
  16295. CFLAGS=$ac_wine_try_cflags_saved
  16296. fi
  16297. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
  16298. $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
  16299. if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
  16300. EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
  16301. fi ;;
  16302. *x86_64*)
  16303. case $host_os in
  16304. cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
  16305. $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
  16306. if ${ac_cv_cflags__Wno_format+:} false; then :
  16307. $as_echo_n "(cached) " >&6
  16308. else
  16309. ac_wine_try_cflags_saved=$CFLAGS
  16310. CFLAGS="$CFLAGS -Wno-format"
  16311. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16312. /* end confdefs.h. */
  16313. int main(int argc, char **argv) { return 0; }
  16314. _ACEOF
  16315. if ac_fn_c_try_link "$LINENO"; then :
  16316. ac_cv_cflags__Wno_format=yes
  16317. else
  16318. ac_cv_cflags__Wno_format=no
  16319. fi
  16320. rm -f core conftest.err conftest.$ac_objext \
  16321. conftest$ac_exeext conftest.$ac_ext
  16322. CFLAGS=$ac_wine_try_cflags_saved
  16323. fi
  16324. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
  16325. $as_echo "$ac_cv_cflags__Wno_format" >&6; }
  16326. if test "x$ac_cv_cflags__Wno_format" = xyes; then :
  16327. EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
  16328. fi ;;
  16329. *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
  16330. $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
  16331. if ${ac_cv_cflags__mabi_ms+:} false; then :
  16332. $as_echo_n "(cached) " >&6
  16333. else
  16334. ac_wine_try_cflags_saved=$CFLAGS
  16335. CFLAGS="$CFLAGS -mabi=ms"
  16336. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16337. /* end confdefs.h. */
  16338. int main(int argc, char **argv) { return 0; }
  16339. _ACEOF
  16340. if ac_fn_c_try_link "$LINENO"; then :
  16341. ac_cv_cflags__mabi_ms=yes
  16342. else
  16343. ac_cv_cflags__mabi_ms=no
  16344. fi
  16345. rm -f core conftest.err conftest.$ac_objext \
  16346. conftest$ac_exeext conftest.$ac_ext
  16347. CFLAGS=$ac_wine_try_cflags_saved
  16348. fi
  16349. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
  16350. $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
  16351. if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
  16352. MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
  16353. fi ;;
  16354. esac ;;
  16355. esac
  16356. CFLAGS=$saved_CFLAGS
  16357. if test "x$enable_werror" = "xyes"
  16358. then
  16359. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
  16360. $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
  16361. if ${ac_cv_cflags__Werror+:} false; then :
  16362. $as_echo_n "(cached) " >&6
  16363. else
  16364. ac_wine_try_cflags_saved=$CFLAGS
  16365. CFLAGS="$CFLAGS -Werror"
  16366. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16367. /* end confdefs.h. */
  16368. int main(int argc, char **argv) { return 0; }
  16369. _ACEOF
  16370. if ac_fn_c_try_link "$LINENO"; then :
  16371. ac_cv_cflags__Werror=yes
  16372. else
  16373. ac_cv_cflags__Werror=no
  16374. fi
  16375. rm -f core conftest.err conftest.$ac_objext \
  16376. conftest$ac_exeext conftest.$ac_ext
  16377. CFLAGS=$ac_wine_try_cflags_saved
  16378. fi
  16379. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
  16380. $as_echo "$ac_cv_cflags__Werror" >&6; }
  16381. if test "x$ac_cv_cflags__Werror" = xyes; then :
  16382. EXTRACFLAGS="$EXTRACFLAGS -Werror"
  16383. fi
  16384. fi
  16385. if test "x$enable_build_id" = "xyes"
  16386. then
  16387. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
  16388. $as_echo_n "checking whether the compiler supports -Wl,--build-id... " >&6; }
  16389. if ${ac_cv_cflags__Wl___build_id+:} false; then :
  16390. $as_echo_n "(cached) " >&6
  16391. else
  16392. ac_wine_try_cflags_saved=$CFLAGS
  16393. CFLAGS="$CFLAGS -Wl,--build-id"
  16394. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16395. /* end confdefs.h. */
  16396. int main(int argc, char **argv) { return 0; }
  16397. _ACEOF
  16398. if ac_fn_c_try_link "$LINENO"; then :
  16399. ac_cv_cflags__Wl___build_id=yes
  16400. else
  16401. ac_cv_cflags__Wl___build_id=no
  16402. fi
  16403. rm -f core conftest.err conftest.$ac_objext \
  16404. conftest$ac_exeext conftest.$ac_ext
  16405. CFLAGS=$ac_wine_try_cflags_saved
  16406. fi
  16407. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
  16408. $as_echo "$ac_cv_cflags__Wl___build_id" >&6; }
  16409. if test "x$ac_cv_cflags__Wl___build_id" = xyes; then :
  16410. CFLAGS="$CFLAGS -Wl,--build-id"
  16411. LDFLAGS="$LDFLAGS -Wl,--build-id"
  16412. fi
  16413. fi
  16414. fi
  16415. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
  16416. $as_echo_n "checking for the need to disable Fortify... " >&6; }
  16417. if ${ac_cv_c_fortify_enabled+:} false; then :
  16418. $as_echo_n "(cached) " >&6
  16419. else
  16420. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16421. /* end confdefs.h. */
  16422. #include <string.h>
  16423. int
  16424. main ()
  16425. {
  16426. #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
  16427. #error Fortify enabled
  16428. #endif
  16429. ;
  16430. return 0;
  16431. }
  16432. _ACEOF
  16433. if ac_fn_c_try_compile "$LINENO"; then :
  16434. ac_cv_c_fortify_enabled=no
  16435. else
  16436. ac_cv_c_fortify_enabled=yes
  16437. fi
  16438. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16439. fi
  16440. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
  16441. $as_echo "$ac_cv_c_fortify_enabled" >&6; }
  16442. if test "$ac_cv_c_fortify_enabled" = yes
  16443. then
  16444. CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
  16445. fi
  16446. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
  16447. $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
  16448. if ${ac_cv_c_cfi_support+:} false; then :
  16449. $as_echo_n "(cached) " >&6
  16450. else
  16451. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16452. /* end confdefs.h. */
  16453. asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
  16454. int
  16455. main ()
  16456. {
  16457. ;
  16458. return 0;
  16459. }
  16460. _ACEOF
  16461. if ac_fn_c_try_compile "$LINENO"; then :
  16462. ac_cv_c_cfi_support="yes"
  16463. else
  16464. ac_cv_c_cfi_support="no"
  16465. fi
  16466. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  16467. fi
  16468. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
  16469. $as_echo "$ac_cv_c_cfi_support" >&6; }
  16470. if test "$ac_cv_c_cfi_support" = "yes"
  16471. then
  16472. DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
  16473. LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
  16474. else
  16475. if test "x$enable_win64" = "xyes"
  16476. then
  16477. as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
  16478. fi
  16479. fi
  16480. case $build_os in
  16481. cygwin*|mingw32*) TOOLSEXT=".exe"
  16482. ;;
  16483. esac
  16484. case $host_os in
  16485. linux*)
  16486. case $host_cpu in
  16487. *i[3456789]86*|x86_64*|*aarch64*)
  16488. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
  16489. WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
  16490. ;;
  16491. esac
  16492. ;;
  16493. esac
  16494. ac_save_CFLAGS="$CFLAGS"
  16495. CFLAGS="$CFLAGS $BUILTINFLAG"
  16496. for ac_func in \
  16497. __res_get_state \
  16498. __res_getservers \
  16499. _spawnvp \
  16500. epoll_create \
  16501. fnmatch \
  16502. fork \
  16503. fstatfs \
  16504. futimens \
  16505. futimes \
  16506. futimesat \
  16507. getattrlist \
  16508. getauxval \
  16509. getifaddrs \
  16510. getopt_long_only \
  16511. getrandom \
  16512. kqueue \
  16513. lstat \
  16514. mach_continuous_time \
  16515. pipe2 \
  16516. poll \
  16517. port_create \
  16518. prctl \
  16519. pread \
  16520. proc_pidinfo \
  16521. pwrite \
  16522. readlink \
  16523. sched_yield \
  16524. setproctitle \
  16525. setprogname \
  16526. sigprocmask \
  16527. symlink \
  16528. tcdrain \
  16529. thr_kill2
  16530. do :
  16531. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16532. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16533. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16534. cat >>confdefs.h <<_ACEOF
  16535. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16536. _ACEOF
  16537. fi
  16538. done
  16539. CFLAGS="$ac_save_CFLAGS"
  16540. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
  16541. $as_echo_n "checking for library containing dlopen... " >&6; }
  16542. if ${ac_cv_search_dlopen+:} false; then :
  16543. $as_echo_n "(cached) " >&6
  16544. else
  16545. ac_func_search_save_LIBS=$LIBS
  16546. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16547. /* end confdefs.h. */
  16548. /* Override any GCC internal prototype to avoid an error.
  16549. Use char because int might match the return type of a GCC
  16550. builtin and then its argument prototype would still apply. */
  16551. #ifdef __cplusplus
  16552. extern "C"
  16553. #endif
  16554. char dlopen ();
  16555. int
  16556. main ()
  16557. {
  16558. return dlopen ();
  16559. ;
  16560. return 0;
  16561. }
  16562. _ACEOF
  16563. for ac_lib in '' dl; do
  16564. if test -z "$ac_lib"; then
  16565. ac_res="none required"
  16566. else
  16567. ac_res=-l$ac_lib
  16568. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16569. fi
  16570. if ac_fn_c_try_link "$LINENO"; then :
  16571. ac_cv_search_dlopen=$ac_res
  16572. fi
  16573. rm -f core conftest.err conftest.$ac_objext \
  16574. conftest$ac_exeext
  16575. if ${ac_cv_search_dlopen+:} false; then :
  16576. break
  16577. fi
  16578. done
  16579. if ${ac_cv_search_dlopen+:} false; then :
  16580. else
  16581. ac_cv_search_dlopen=no
  16582. fi
  16583. rm conftest.$ac_ext
  16584. LIBS=$ac_func_search_save_LIBS
  16585. fi
  16586. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
  16587. $as_echo "$ac_cv_search_dlopen" >&6; }
  16588. ac_res=$ac_cv_search_dlopen
  16589. if test "$ac_res" != no; then :
  16590. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16591. fi
  16592. ac_wine_check_funcs_save_LIBS="$LIBS"
  16593. LIBS="$LIBS $DL_LIBS"
  16594. for ac_func in dladdr dlinfo
  16595. do :
  16596. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16597. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16598. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16599. cat >>confdefs.h <<_ACEOF
  16600. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16601. _ACEOF
  16602. fi
  16603. done
  16604. LIBS="$ac_wine_check_funcs_save_LIBS"
  16605. if test "$ac_cv_func_poll" = no
  16606. then
  16607. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
  16608. $as_echo_n "checking for poll in -lpoll... " >&6; }
  16609. if ${ac_cv_lib_poll_poll+:} false; then :
  16610. $as_echo_n "(cached) " >&6
  16611. else
  16612. ac_check_lib_save_LIBS=$LIBS
  16613. LIBS="-lpoll $LIBS"
  16614. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16615. /* end confdefs.h. */
  16616. /* Override any GCC internal prototype to avoid an error.
  16617. Use char because int might match the return type of a GCC
  16618. builtin and then its argument prototype would still apply. */
  16619. #ifdef __cplusplus
  16620. extern "C"
  16621. #endif
  16622. char poll ();
  16623. int
  16624. main ()
  16625. {
  16626. return poll ();
  16627. ;
  16628. return 0;
  16629. }
  16630. _ACEOF
  16631. if ac_fn_c_try_link "$LINENO"; then :
  16632. ac_cv_lib_poll_poll=yes
  16633. else
  16634. ac_cv_lib_poll_poll=no
  16635. fi
  16636. rm -f core conftest.err conftest.$ac_objext \
  16637. conftest$ac_exeext conftest.$ac_ext
  16638. LIBS=$ac_check_lib_save_LIBS
  16639. fi
  16640. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
  16641. $as_echo "$ac_cv_lib_poll_poll" >&6; }
  16642. if test "x$ac_cv_lib_poll_poll" = xyes; then :
  16643. $as_echo "#define HAVE_POLL 1" >>confdefs.h
  16644. POLL_LIBS="-lpoll"
  16645. fi
  16646. fi
  16647. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
  16648. $as_echo_n "checking for library containing gethostbyname... " >&6; }
  16649. if ${ac_cv_search_gethostbyname+:} false; then :
  16650. $as_echo_n "(cached) " >&6
  16651. else
  16652. ac_func_search_save_LIBS=$LIBS
  16653. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16654. /* end confdefs.h. */
  16655. /* Override any GCC internal prototype to avoid an error.
  16656. Use char because int might match the return type of a GCC
  16657. builtin and then its argument prototype would still apply. */
  16658. #ifdef __cplusplus
  16659. extern "C"
  16660. #endif
  16661. char gethostbyname ();
  16662. int
  16663. main ()
  16664. {
  16665. return gethostbyname ();
  16666. ;
  16667. return 0;
  16668. }
  16669. _ACEOF
  16670. for ac_lib in '' nsl; do
  16671. if test -z "$ac_lib"; then
  16672. ac_res="none required"
  16673. else
  16674. ac_res=-l$ac_lib
  16675. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16676. fi
  16677. if ac_fn_c_try_link "$LINENO"; then :
  16678. ac_cv_search_gethostbyname=$ac_res
  16679. fi
  16680. rm -f core conftest.err conftest.$ac_objext \
  16681. conftest$ac_exeext
  16682. if ${ac_cv_search_gethostbyname+:} false; then :
  16683. break
  16684. fi
  16685. done
  16686. if ${ac_cv_search_gethostbyname+:} false; then :
  16687. else
  16688. ac_cv_search_gethostbyname=no
  16689. fi
  16690. rm conftest.$ac_ext
  16691. LIBS=$ac_func_search_save_LIBS
  16692. fi
  16693. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
  16694. $as_echo "$ac_cv_search_gethostbyname" >&6; }
  16695. ac_res=$ac_cv_search_gethostbyname
  16696. if test "$ac_res" != no; then :
  16697. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16698. fi
  16699. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
  16700. $as_echo_n "checking for library containing connect... " >&6; }
  16701. if ${ac_cv_search_connect+:} false; then :
  16702. $as_echo_n "(cached) " >&6
  16703. else
  16704. ac_func_search_save_LIBS=$LIBS
  16705. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16706. /* end confdefs.h. */
  16707. /* Override any GCC internal prototype to avoid an error.
  16708. Use char because int might match the return type of a GCC
  16709. builtin and then its argument prototype would still apply. */
  16710. #ifdef __cplusplus
  16711. extern "C"
  16712. #endif
  16713. char connect ();
  16714. int
  16715. main ()
  16716. {
  16717. return connect ();
  16718. ;
  16719. return 0;
  16720. }
  16721. _ACEOF
  16722. for ac_lib in '' socket; do
  16723. if test -z "$ac_lib"; then
  16724. ac_res="none required"
  16725. else
  16726. ac_res=-l$ac_lib
  16727. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16728. fi
  16729. if ac_fn_c_try_link "$LINENO"; then :
  16730. ac_cv_search_connect=$ac_res
  16731. fi
  16732. rm -f core conftest.err conftest.$ac_objext \
  16733. conftest$ac_exeext
  16734. if ${ac_cv_search_connect+:} false; then :
  16735. break
  16736. fi
  16737. done
  16738. if ${ac_cv_search_connect+:} false; then :
  16739. else
  16740. ac_cv_search_connect=no
  16741. fi
  16742. rm conftest.$ac_ext
  16743. LIBS=$ac_func_search_save_LIBS
  16744. fi
  16745. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
  16746. $as_echo "$ac_cv_search_connect" >&6; }
  16747. ac_res=$ac_cv_search_connect
  16748. if test "$ac_res" != no; then :
  16749. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16750. fi
  16751. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
  16752. $as_echo_n "checking for library containing inet_aton... " >&6; }
  16753. if ${ac_cv_search_inet_aton+:} false; then :
  16754. $as_echo_n "(cached) " >&6
  16755. else
  16756. ac_func_search_save_LIBS=$LIBS
  16757. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16758. /* end confdefs.h. */
  16759. /* Override any GCC internal prototype to avoid an error.
  16760. Use char because int might match the return type of a GCC
  16761. builtin and then its argument prototype would still apply. */
  16762. #ifdef __cplusplus
  16763. extern "C"
  16764. #endif
  16765. char inet_aton ();
  16766. int
  16767. main ()
  16768. {
  16769. return inet_aton ();
  16770. ;
  16771. return 0;
  16772. }
  16773. _ACEOF
  16774. for ac_lib in '' resolv; do
  16775. if test -z "$ac_lib"; then
  16776. ac_res="none required"
  16777. else
  16778. ac_res=-l$ac_lib
  16779. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16780. fi
  16781. if ac_fn_c_try_link "$LINENO"; then :
  16782. ac_cv_search_inet_aton=$ac_res
  16783. fi
  16784. rm -f core conftest.err conftest.$ac_objext \
  16785. conftest$ac_exeext
  16786. if ${ac_cv_search_inet_aton+:} false; then :
  16787. break
  16788. fi
  16789. done
  16790. if ${ac_cv_search_inet_aton+:} false; then :
  16791. else
  16792. ac_cv_search_inet_aton=no
  16793. fi
  16794. rm conftest.$ac_ext
  16795. LIBS=$ac_func_search_save_LIBS
  16796. fi
  16797. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
  16798. $as_echo "$ac_cv_search_inet_aton" >&6; }
  16799. ac_res=$ac_cv_search_inet_aton
  16800. if test "$ac_res" != no; then :
  16801. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16802. fi
  16803. for ac_func in \
  16804. getaddrinfo \
  16805. getnameinfo \
  16806. getservbyport \
  16807. do :
  16808. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  16809. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  16810. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  16811. cat >>confdefs.h <<_ACEOF
  16812. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  16813. _ACEOF
  16814. fi
  16815. done
  16816. case $host_os in
  16817. darwin*|macosx*) ;;
  16818. *) ac_save_LIBS=$LIBS
  16819. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
  16820. $as_echo_n "checking for library containing clock_gettime... " >&6; }
  16821. if ${ac_cv_search_clock_gettime+:} false; then :
  16822. $as_echo_n "(cached) " >&6
  16823. else
  16824. ac_func_search_save_LIBS=$LIBS
  16825. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16826. /* end confdefs.h. */
  16827. /* Override any GCC internal prototype to avoid an error.
  16828. Use char because int might match the return type of a GCC
  16829. builtin and then its argument prototype would still apply. */
  16830. #ifdef __cplusplus
  16831. extern "C"
  16832. #endif
  16833. char clock_gettime ();
  16834. int
  16835. main ()
  16836. {
  16837. return clock_gettime ();
  16838. ;
  16839. return 0;
  16840. }
  16841. _ACEOF
  16842. for ac_lib in '' rt; do
  16843. if test -z "$ac_lib"; then
  16844. ac_res="none required"
  16845. else
  16846. ac_res=-l$ac_lib
  16847. LIBS="-l$ac_lib $ac_func_search_save_LIBS"
  16848. fi
  16849. if ac_fn_c_try_link "$LINENO"; then :
  16850. ac_cv_search_clock_gettime=$ac_res
  16851. fi
  16852. rm -f core conftest.err conftest.$ac_objext \
  16853. conftest$ac_exeext
  16854. if ${ac_cv_search_clock_gettime+:} false; then :
  16855. break
  16856. fi
  16857. done
  16858. if ${ac_cv_search_clock_gettime+:} false; then :
  16859. else
  16860. ac_cv_search_clock_gettime=no
  16861. fi
  16862. rm conftest.$ac_ext
  16863. LIBS=$ac_func_search_save_LIBS
  16864. fi
  16865. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
  16866. $as_echo "$ac_cv_search_clock_gettime" >&6; }
  16867. ac_res=$ac_cv_search_clock_gettime
  16868. if test "$ac_res" != no; then :
  16869. test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
  16870. $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
  16871. test "$ac_res" = "none required" || RT_LIBS="$ac_res"
  16872. fi
  16873. LIBS=$ac_save_LIBS
  16874. ;;
  16875. esac
  16876. if test "x$with_ldap" != "xno"
  16877. then
  16878. if ${LDAP_CFLAGS:+false} :; then :
  16879. if ${PKG_CONFIG+:} false; then :
  16880. LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
  16881. fi
  16882. fi
  16883. if ${LDAP_LIBS:+false} :; then :
  16884. if ${PKG_CONFIG+:} false; then :
  16885. LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
  16886. fi
  16887. fi
  16888. LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
  16889. $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
  16890. $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
  16891. ac_save_CPPFLAGS=$CPPFLAGS
  16892. CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
  16893. for ac_header in ldap.h lber.h
  16894. do :
  16895. as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
  16896. ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
  16897. if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
  16898. cat >>confdefs.h <<_ACEOF
  16899. #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
  16900. _ACEOF
  16901. fi
  16902. done
  16903. if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
  16904. then
  16905. ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
  16906. "
  16907. if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
  16908. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
  16909. $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
  16910. if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
  16911. $as_echo_n "(cached) " >&6
  16912. else
  16913. ac_check_lib_save_LIBS=$LIBS
  16914. LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  16915. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16916. /* end confdefs.h. */
  16917. /* Override any GCC internal prototype to avoid an error.
  16918. Use char because int might match the return type of a GCC
  16919. builtin and then its argument prototype would still apply. */
  16920. #ifdef __cplusplus
  16921. extern "C"
  16922. #endif
  16923. char ldap_initialize ();
  16924. int
  16925. main ()
  16926. {
  16927. return ldap_initialize ();
  16928. ;
  16929. return 0;
  16930. }
  16931. _ACEOF
  16932. if ac_fn_c_try_link "$LINENO"; then :
  16933. ac_cv_lib_ldap_r_ldap_initialize=yes
  16934. else
  16935. ac_cv_lib_ldap_r_ldap_initialize=no
  16936. fi
  16937. rm -f core conftest.err conftest.$ac_objext \
  16938. conftest$ac_exeext conftest.$ac_ext
  16939. LIBS=$ac_check_lib_save_LIBS
  16940. fi
  16941. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
  16942. $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
  16943. if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
  16944. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
  16945. $as_echo_n "checking for ber_init in -llber... " >&6; }
  16946. if ${ac_cv_lib_lber_ber_init+:} false; then :
  16947. $as_echo_n "(cached) " >&6
  16948. else
  16949. ac_check_lib_save_LIBS=$LIBS
  16950. LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
  16951. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  16952. /* end confdefs.h. */
  16953. /* Override any GCC internal prototype to avoid an error.
  16954. Use char because int might match the return type of a GCC
  16955. builtin and then its argument prototype would still apply. */
  16956. #ifdef __cplusplus
  16957. extern "C"
  16958. #endif
  16959. char ber_init ();
  16960. int
  16961. main ()
  16962. {
  16963. return ber_init ();
  16964. ;
  16965. return 0;
  16966. }
  16967. _ACEOF
  16968. if ac_fn_c_try_link "$LINENO"; then :
  16969. ac_cv_lib_lber_ber_init=yes
  16970. else
  16971. ac_cv_lib_lber_ber_init=no
  16972. fi
  16973. rm -f core conftest.err conftest.$ac_objext \
  16974. conftest$ac_exeext conftest.$ac_ext
  16975. LIBS=$ac_check_lib_save_LIBS
  16976. fi
  16977. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
  16978. $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
  16979. if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
  16980. $as_echo "#define HAVE_LDAP 1" >>confdefs.h
  16981. else
  16982. LDAP_LIBS=""
  16983. fi
  16984. else
  16985. LDAP_LIBS=""
  16986. fi
  16987. else
  16988. LDAP_LIBS=""
  16989. fi
  16990. ac_wine_check_funcs_save_LIBS="$LIBS"
  16991. LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
  16992. for ac_func in \
  16993. ldap_count_references \
  16994. ldap_first_reference \
  16995. ldap_next_reference \
  16996. ldap_parse_reference \
  16997. ldap_parse_sort_control \
  16998. ldap_parse_sortresponse_control \
  16999. ldap_parse_vlv_control \
  17000. ldap_parse_vlvresponse_control
  17001. do :
  17002. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  17003. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  17004. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  17005. cat >>confdefs.h <<_ACEOF
  17006. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  17007. _ACEOF
  17008. fi
  17009. done
  17010. LIBS="$ac_wine_check_funcs_save_LIBS"
  17011. else
  17012. LDAP_LIBS=""
  17013. fi
  17014. CPPFLAGS=$ac_save_CPPFLAGS
  17015. fi
  17016. if test "x$LDAP_LIBS" = "x"; then :
  17017. case "x$with_ldap" in
  17018. x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
  17019. xno) ;;
  17020. *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
  17021. This is an error since --with-ldap was requested." "$LINENO" 5 ;;
  17022. esac
  17023. fi
  17024. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
  17025. $as_echo_n "checking for sched_setaffinity... " >&6; }
  17026. if ${wine_cv_have_sched_setaffinity+:} false; then :
  17027. $as_echo_n "(cached) " >&6
  17028. else
  17029. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17030. /* end confdefs.h. */
  17031. #define _GNU_SOURCE
  17032. #include <sched.h>
  17033. int
  17034. main ()
  17035. {
  17036. sched_setaffinity(0, 0, 0);
  17037. ;
  17038. return 0;
  17039. }
  17040. _ACEOF
  17041. if ac_fn_c_try_link "$LINENO"; then :
  17042. wine_cv_have_sched_setaffinity=yes
  17043. else
  17044. wine_cv_have_sched_setaffinity=no
  17045. fi
  17046. rm -f core conftest.err conftest.$ac_objext \
  17047. conftest$ac_exeext conftest.$ac_ext
  17048. fi
  17049. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
  17050. $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
  17051. if test "$wine_cv_have_sched_setaffinity" = "yes"
  17052. then
  17053. $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
  17054. fi
  17055. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
  17056. $as_echo_n "checking for fallocate... " >&6; }
  17057. if ${wine_cv_have_fallocate+:} false; then :
  17058. $as_echo_n "(cached) " >&6
  17059. else
  17060. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17061. /* end confdefs.h. */
  17062. #define _GNU_SOURCE
  17063. #include <fcntl.h>
  17064. int
  17065. main ()
  17066. {
  17067. fallocate(-1, 0, 0, 0);
  17068. ;
  17069. return 0;
  17070. }
  17071. _ACEOF
  17072. if ac_fn_c_try_link "$LINENO"; then :
  17073. wine_cv_have_fallocate=yes
  17074. else
  17075. wine_cv_have_fallocate=no
  17076. fi
  17077. rm -f core conftest.err conftest.$ac_objext \
  17078. conftest$ac_exeext conftest.$ac_ext
  17079. fi
  17080. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
  17081. $as_echo "$wine_cv_have_fallocate" >&6; }
  17082. if test "$wine_cv_have_fallocate" = "yes"
  17083. then
  17084. $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
  17085. fi
  17086. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
  17087. $as_echo_n "checking for inline... " >&6; }
  17088. if ${ac_cv_c_inline+:} false; then :
  17089. $as_echo_n "(cached) " >&6
  17090. else
  17091. ac_cv_c_inline=no
  17092. for ac_kw in inline __inline__ __inline; do
  17093. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17094. /* end confdefs.h. */
  17095. #ifndef __cplusplus
  17096. typedef int foo_t;
  17097. static $ac_kw foo_t static_foo () {return 0; }
  17098. $ac_kw foo_t foo () {return 0; }
  17099. #endif
  17100. _ACEOF
  17101. if ac_fn_c_try_compile "$LINENO"; then :
  17102. ac_cv_c_inline=$ac_kw
  17103. fi
  17104. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17105. test "$ac_cv_c_inline" != no && break
  17106. done
  17107. fi
  17108. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
  17109. $as_echo "$ac_cv_c_inline" >&6; }
  17110. case $ac_cv_c_inline in
  17111. inline | yes) ;;
  17112. *)
  17113. case $ac_cv_c_inline in
  17114. no) ac_val=;;
  17115. *) ac_val=$ac_cv_c_inline;;
  17116. esac
  17117. cat >>confdefs.h <<_ACEOF
  17118. #ifndef __cplusplus
  17119. #define inline $ac_val
  17120. #endif
  17121. _ACEOF
  17122. ;;
  17123. esac
  17124. ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
  17125. #include <signal.h>
  17126. "
  17127. if test "x$ac_cv_type_sigset_t" = xyes; then :
  17128. cat >>confdefs.h <<_ACEOF
  17129. #define HAVE_SIGSET_T 1
  17130. _ACEOF
  17131. fi
  17132. ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
  17133. "
  17134. if test "x$ac_cv_type_request_sense" = xyes; then :
  17135. cat >>confdefs.h <<_ACEOF
  17136. #define HAVE_REQUEST_SENSE 1
  17137. _ACEOF
  17138. fi
  17139. ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
  17140. #ifdef HAVE_SYS_SOCKET_H
  17141. #include <sys/socket.h>
  17142. #endif
  17143. #ifdef HAVE_SYS_SOCKETVAR_H
  17144. #include <sys/socketvar.h>
  17145. #endif
  17146. #ifdef HAVE_NET_ROUTE_H
  17147. #include <net/route.h>
  17148. #endif
  17149. #ifdef HAVE_NETINET_IN_H
  17150. #include <netinet/in.h>
  17151. #endif
  17152. #ifdef HAVE_NETINET_IN_SYSTM_H
  17153. #include <netinet/in_systm.h>
  17154. #endif
  17155. #ifdef HAVE_NETINET_IP_H
  17156. #include <netinet/ip.h>
  17157. #endif
  17158. #ifdef HAVE_NETINET_IN_PCB_H
  17159. #include <netinet/in_pcb.h>
  17160. #endif
  17161. "
  17162. if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
  17163. cat >>confdefs.h <<_ACEOF
  17164. #define HAVE_STRUCT_XINPGEN 1
  17165. _ACEOF
  17166. fi
  17167. ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
  17168. #include <linux/input.h>
  17169. #endif
  17170. "
  17171. if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
  17172. cat >>confdefs.h <<_ACEOF
  17173. #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
  17174. _ACEOF
  17175. fi
  17176. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
  17177. $as_echo_n "checking for if_nameindex... " >&6; }
  17178. if ${wine_cv_have_if_nameindex+:} false; then :
  17179. $as_echo_n "(cached) " >&6
  17180. else
  17181. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17182. /* end confdefs.h. */
  17183. #ifdef HAVE_SYS_TYPES_H
  17184. #include <sys/types.h>
  17185. #endif
  17186. #ifdef HAVE_SYS_SOCKET_H
  17187. #include <sys/socket.h>
  17188. #endif
  17189. #ifdef HAVE_NET_IF_H
  17190. # include <net/if.h>
  17191. #endif
  17192. int
  17193. main ()
  17194. {
  17195. struct if_nameindex *p = if_nameindex(); return p->if_index;
  17196. ;
  17197. return 0;
  17198. }
  17199. _ACEOF
  17200. if ac_fn_c_try_link "$LINENO"; then :
  17201. wine_cv_have_if_nameindex=yes
  17202. else
  17203. wine_cv_have_if_nameindex=no
  17204. fi
  17205. rm -f core conftest.err conftest.$ac_objext \
  17206. conftest$ac_exeext conftest.$ac_ext
  17207. fi
  17208. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
  17209. $as_echo "$wine_cv_have_if_nameindex" >&6; }
  17210. if test "$wine_cv_have_if_nameindex" = "yes"
  17211. then
  17212. $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
  17213. fi
  17214. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
  17215. $as_echo_n "checking for sigaddset... " >&6; }
  17216. if ${wine_cv_have_sigaddset+:} false; then :
  17217. $as_echo_n "(cached) " >&6
  17218. else
  17219. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17220. /* end confdefs.h. */
  17221. #include <signal.h>
  17222. int
  17223. main ()
  17224. {
  17225. sigset_t set; sigaddset(&set,SIGTERM);
  17226. ;
  17227. return 0;
  17228. }
  17229. _ACEOF
  17230. if ac_fn_c_try_link "$LINENO"; then :
  17231. wine_cv_have_sigaddset=yes
  17232. else
  17233. wine_cv_have_sigaddset=no
  17234. fi
  17235. rm -f core conftest.err conftest.$ac_objext \
  17236. conftest$ac_exeext conftest.$ac_ext
  17237. fi
  17238. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
  17239. $as_echo "$wine_cv_have_sigaddset" >&6; }
  17240. if test "$wine_cv_have_sigaddset" = "yes"
  17241. then
  17242. $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
  17243. fi
  17244. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
  17245. $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
  17246. if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
  17247. $as_echo_n "(cached) " >&6
  17248. else
  17249. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17250. /* end confdefs.h. */
  17251. #include <netdb.h>
  17252. int
  17253. main ()
  17254. {
  17255. char *name=0;
  17256. struct hostent he;
  17257. struct hostent *result;
  17258. char *buf=0;
  17259. int bufsize=0;
  17260. int errnr;
  17261. char *addr=0;
  17262. int addrlen=0;
  17263. int addrtype=0;
  17264. gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
  17265. gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
  17266. ;
  17267. return 0;
  17268. }
  17269. _ACEOF
  17270. if ac_fn_c_try_link "$LINENO"; then :
  17271. wine_cv_linux_gethostbyname_r_6=yes
  17272. else
  17273. wine_cv_linux_gethostbyname_r_6=no
  17274. fi
  17275. rm -f core conftest.err conftest.$ac_objext \
  17276. conftest$ac_exeext conftest.$ac_ext
  17277. fi
  17278. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
  17279. $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
  17280. if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
  17281. then
  17282. $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
  17283. fi
  17284. if test "$ac_cv_header_linux_joystick_h" = "yes"
  17285. then
  17286. { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
  17287. $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
  17288. if ${wine_cv_linux_joystick_22_api+:} false; then :
  17289. $as_echo_n "(cached) " >&6
  17290. else
  17291. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17292. /* end confdefs.h. */
  17293. #include <sys/ioctl.h>
  17294. #include <sys/types.h>
  17295. #include <linux/joystick.h>
  17296. struct js_event blub;
  17297. #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
  17298. #error "no 2.2 header"
  17299. #endif
  17300. int
  17301. main ()
  17302. {
  17303. /*empty*/
  17304. ;
  17305. return 0;
  17306. }
  17307. _ACEOF
  17308. if ac_fn_c_try_compile "$LINENO"; then :
  17309. wine_cv_linux_joystick_22_api=yes
  17310. else
  17311. wine_cv_linux_joystick_22_api=no
  17312. fi
  17313. rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
  17314. fi
  17315. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
  17316. $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
  17317. if test "$wine_cv_linux_joystick_22_api" = "yes"
  17318. then
  17319. $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
  17320. fi
  17321. fi
  17322. ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
  17323. #ifdef HAVE_SYS_SOCKET_H
  17324. # include <sys/socket.h>
  17325. #endif
  17326. #ifdef HAVE_SYS_UN_H
  17327. # include <sys/un.h>
  17328. #endif
  17329. "
  17330. if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
  17331. cat >>confdefs.h <<_ACEOF
  17332. #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
  17333. _ACEOF
  17334. fi
  17335. ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
  17336. #ifdef HAVE_SYS_SOCKET_H
  17337. # include <sys/socket.h>
  17338. #endif
  17339. #ifdef HAVE_SYS_UN_H
  17340. # include <sys/un.h>
  17341. #endif
  17342. "
  17343. if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
  17344. cat >>confdefs.h <<_ACEOF
  17345. #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
  17346. _ACEOF
  17347. fi
  17348. ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
  17349. #ifdef HAVE_SYS_SOCKET_H
  17350. # include <sys/socket.h>
  17351. #endif
  17352. #ifdef HAVE_SYS_UN_H
  17353. # include <sys/un.h>
  17354. #endif
  17355. "
  17356. if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
  17357. cat >>confdefs.h <<_ACEOF
  17358. #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
  17359. _ACEOF
  17360. fi
  17361. ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
  17362. #ifdef HAVE_SCSI_SG_H
  17363. #include <scsi/sg.h>
  17364. #endif
  17365. "
  17366. if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
  17367. cat >>confdefs.h <<_ACEOF
  17368. #define HAVE_SCSIREQ_T_CMD 1
  17369. _ACEOF
  17370. fi
  17371. 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>
  17372. #ifdef HAVE_SCSI_SG_H
  17373. #include <scsi/sg.h>
  17374. #endif
  17375. "
  17376. if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
  17377. cat >>confdefs.h <<_ACEOF
  17378. #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
  17379. _ACEOF
  17380. fi
  17381. ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
  17382. "
  17383. if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
  17384. cat >>confdefs.h <<_ACEOF
  17385. #define HAVE_SIGINFO_T_SI_FD 1
  17386. _ACEOF
  17387. fi
  17388. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
  17389. #ifdef HAVE_SYS_MTIO_H
  17390. #include <sys/mtio.h>
  17391. #endif
  17392. "
  17393. if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
  17394. cat >>confdefs.h <<_ACEOF
  17395. #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
  17396. _ACEOF
  17397. fi
  17398. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
  17399. #ifdef HAVE_SYS_MTIO_H
  17400. #include <sys/mtio.h>
  17401. #endif
  17402. "
  17403. if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
  17404. cat >>confdefs.h <<_ACEOF
  17405. #define HAVE_STRUCT_MTGET_MT_GSTAT 1
  17406. _ACEOF
  17407. fi
  17408. ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
  17409. #ifdef HAVE_SYS_MTIO_H
  17410. #include <sys/mtio.h>
  17411. #endif
  17412. "
  17413. if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
  17414. cat >>confdefs.h <<_ACEOF
  17415. #define HAVE_STRUCT_MTGET_MT_BLKNO 1
  17416. _ACEOF
  17417. fi
  17418. ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
  17419. #include <getopt.h>
  17420. #endif
  17421. "
  17422. if test "x$ac_cv_member_struct_option_name" = xyes; then :
  17423. cat >>confdefs.h <<_ACEOF
  17424. #define HAVE_STRUCT_OPTION_NAME 1
  17425. _ACEOF
  17426. fi
  17427. ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
  17428. if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
  17429. cat >>confdefs.h <<_ACEOF
  17430. #define HAVE_STRUCT_STAT_ST_BLOCKS 1
  17431. _ACEOF
  17432. fi
  17433. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
  17434. if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
  17435. cat >>confdefs.h <<_ACEOF
  17436. #define HAVE_STRUCT_STAT_ST_MTIM 1
  17437. _ACEOF
  17438. fi
  17439. ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
  17440. if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
  17441. cat >>confdefs.h <<_ACEOF
  17442. #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
  17443. _ACEOF
  17444. fi
  17445. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
  17446. if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
  17447. cat >>confdefs.h <<_ACEOF
  17448. #define HAVE_STRUCT_STAT_ST_CTIM 1
  17449. _ACEOF
  17450. fi
  17451. ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
  17452. if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
  17453. cat >>confdefs.h <<_ACEOF
  17454. #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
  17455. _ACEOF
  17456. fi
  17457. ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
  17458. if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
  17459. cat >>confdefs.h <<_ACEOF
  17460. #define HAVE_STRUCT_STAT_ST_ATIM 1
  17461. _ACEOF
  17462. fi
  17463. ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
  17464. if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
  17465. cat >>confdefs.h <<_ACEOF
  17466. #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
  17467. _ACEOF
  17468. fi
  17469. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
  17470. if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
  17471. cat >>confdefs.h <<_ACEOF
  17472. #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
  17473. _ACEOF
  17474. fi
  17475. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
  17476. if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
  17477. cat >>confdefs.h <<_ACEOF
  17478. #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
  17479. _ACEOF
  17480. fi
  17481. ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
  17482. if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
  17483. cat >>confdefs.h <<_ACEOF
  17484. #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
  17485. _ACEOF
  17486. fi
  17487. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
  17488. if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
  17489. cat >>confdefs.h <<_ACEOF
  17490. #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
  17491. _ACEOF
  17492. fi
  17493. ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
  17494. if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
  17495. cat >>confdefs.h <<_ACEOF
  17496. #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
  17497. _ACEOF
  17498. fi
  17499. 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
  17500. #include <sys/types.h>
  17501. #endif
  17502. #ifdef HAVE_NETINET_IN_H
  17503. #include <netinet/in.h>
  17504. #endif
  17505. "
  17506. if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
  17507. cat >>confdefs.h <<_ACEOF
  17508. #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
  17509. _ACEOF
  17510. fi
  17511. ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
  17512. #include <sys/types.h>
  17513. #endif
  17514. #ifdef HAVE_NETINET_IN_H
  17515. #include <netinet/in.h>
  17516. #endif
  17517. #ifdef HAVE_RESOLV_H
  17518. #include <resolv.h>
  17519. #endif
  17520. "
  17521. if test "x$ac_cv_type_struct___res_state" = xyes; then :
  17522. cat >>confdefs.h <<_ACEOF
  17523. #define HAVE_STRUCT___RES_STATE 1
  17524. _ACEOF
  17525. fi
  17526. 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
  17527. #include <resolv.h>
  17528. #endif
  17529. "
  17530. if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
  17531. cat >>confdefs.h <<_ACEOF
  17532. #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
  17533. _ACEOF
  17534. fi
  17535. ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
  17536. #include <sys/types.h>
  17537. #endif
  17538. #ifdef HAVE_NETINET_IN_H
  17539. # include <netinet/in.h>
  17540. #endif
  17541. #ifdef HAVE_ARPA_NAMESER_H
  17542. # include <arpa/nameser.h>
  17543. #endif
  17544. "
  17545. if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
  17546. cat >>confdefs.h <<_ACEOF
  17547. #define HAVE_NS_MSG__MSG_PTR 1
  17548. _ACEOF
  17549. fi
  17550. ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
  17551. #include <sys/types.h>
  17552. #endif
  17553. #ifdef HAVE_NETINET_IN_H
  17554. #include <netinet/in.h>
  17555. #endif
  17556. #ifdef HAVE_NETINET_IP_H
  17557. #include <netinet/ip.h>
  17558. #endif
  17559. #ifdef HAVE_NETINET_IP_ICMP_H
  17560. #include <netinet/ip_icmp.h>
  17561. #endif
  17562. #ifdef HAVE_NETINET_ICMP_VAR_H
  17563. #include <netinet/icmp_var.h>
  17564. #endif
  17565. "
  17566. if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
  17567. cat >>confdefs.h <<_ACEOF
  17568. #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
  17569. _ACEOF
  17570. fi
  17571. ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
  17572. #include <sys/types.h>
  17573. #endif
  17574. #ifdef HAVE_ALIAS_H
  17575. #include <alias.h>
  17576. #endif
  17577. #ifdef HAVE_SYS_SOCKET_H
  17578. #include <sys/socket.h>
  17579. #endif
  17580. #ifdef HAVE_SYS_SOCKETVAR_H
  17581. #include <sys/socketvar.h>
  17582. #endif
  17583. #ifdef HAVE_SYS_TIMEOUT_H
  17584. #include <sys/timeout.h>
  17585. #endif
  17586. #ifdef HAVE_NETINET_IN_H
  17587. #include <netinet/in.h>
  17588. #endif
  17589. #ifdef HAVE_NETINET_IN_SYSTM_H
  17590. #include <netinet/in_systm.h>
  17591. #endif
  17592. #ifdef HAVE_NETINET_IP_H
  17593. #include <netinet/ip.h>
  17594. #endif
  17595. #ifdef HAVE_NETINET_IP_VAR_H
  17596. #include <netinet/ip_var.h>
  17597. #endif
  17598. #ifdef HAVE_NETINET_IP_ICMP_H
  17599. #include <netinet/ip_icmp.h>
  17600. #endif
  17601. #ifdef HAVE_NETINET_ICMP_VAR_H
  17602. #include <netinet/icmp_var.h>
  17603. #endif
  17604. "
  17605. if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
  17606. cat >>confdefs.h <<_ACEOF
  17607. #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
  17608. _ACEOF
  17609. fi
  17610. ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
  17611. #include <sys/types.h>
  17612. #endif
  17613. #ifdef HAVE_SYS_SOCKETVAR_H
  17614. #include <sys/socketvar.h>
  17615. #endif
  17616. #ifdef HAVE_NETINET_IN_H
  17617. #include <netinet/in.h>
  17618. #endif
  17619. #ifdef HAVE_NETINET_IP_VAR_H
  17620. #include <netinet/ip_var.h>
  17621. #endif
  17622. "
  17623. if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
  17624. cat >>confdefs.h <<_ACEOF
  17625. #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
  17626. _ACEOF
  17627. fi
  17628. 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
  17629. #include <netinet/ip_var.h>
  17630. #endif
  17631. "
  17632. if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
  17633. cat >>confdefs.h <<_ACEOF
  17634. #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
  17635. _ACEOF
  17636. fi
  17637. ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
  17638. #include <sys/types.h>
  17639. #endif
  17640. #ifdef HAVE_SYS_SOCKETVAR_H
  17641. #include <sys/socketvar.h>
  17642. #endif
  17643. #ifdef HAVE_NETINET_IN_H
  17644. #include <netinet/in.h>
  17645. #endif
  17646. #ifdef HAVE_NETINET_TCP_H
  17647. #include <netinet/tcp.h>
  17648. #endif
  17649. #ifdef HAVE_NETINET_TCP_VAR_H
  17650. #include <netinet/tcp_var.h>
  17651. #endif
  17652. "
  17653. if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
  17654. cat >>confdefs.h <<_ACEOF
  17655. #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
  17656. _ACEOF
  17657. fi
  17658. 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
  17659. #include <netinet/tcp_var.h>
  17660. #endif
  17661. "
  17662. if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
  17663. cat >>confdefs.h <<_ACEOF
  17664. #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
  17665. _ACEOF
  17666. fi
  17667. ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
  17668. #include <sys/types.h>
  17669. #endif
  17670. #ifdef HAVE_NETINET_IN_H
  17671. #include <netinet/in.h>
  17672. #endif
  17673. #ifdef HAVE_NETINET_IP_VAR_H
  17674. #include <netinet/ip_var.h>
  17675. #endif
  17676. #ifdef HAVE_NETINET_UDP_H
  17677. #include <netinet/udp.h>
  17678. #endif
  17679. #ifdef HAVE_NETINET_UDP_VAR_H
  17680. #include <netinet/udp_var.h>
  17681. #endif
  17682. "
  17683. if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
  17684. cat >>confdefs.h <<_ACEOF
  17685. #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
  17686. _ACEOF
  17687. fi
  17688. ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
  17689. #include <sys/types.h>
  17690. #endif
  17691. #ifdef HAVE_NET_IF_H
  17692. # include <net/if.h>
  17693. #endif
  17694. "
  17695. if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
  17696. cat >>confdefs.h <<_ACEOF
  17697. #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
  17698. _ACEOF
  17699. fi
  17700. ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
  17701. # include <sys/sysinfo.h>
  17702. #endif
  17703. "
  17704. if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes; then :
  17705. cat >>confdefs.h <<_ACEOF
  17706. #define HAVE_STRUCT_SYSINFO_TOTALRAM 1
  17707. _ACEOF
  17708. fi
  17709. ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
  17710. # include <sys/sysinfo.h>
  17711. #endif
  17712. "
  17713. if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes; then :
  17714. cat >>confdefs.h <<_ACEOF
  17715. #define HAVE_STRUCT_SYSINFO_MEM_UNIT 1
  17716. _ACEOF
  17717. fi
  17718. ac_save_LIBS="$LIBS"
  17719. LIBS="$LIBS -lm"
  17720. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
  17721. $as_echo_n "checking for isfinite... " >&6; }
  17722. if ${ac_cv_have_isfinite+:} false; then :
  17723. $as_echo_n "(cached) " >&6
  17724. else
  17725. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17726. /* end confdefs.h. */
  17727. #define _GNU_SOURCE
  17728. #include <math.h>
  17729. int
  17730. main ()
  17731. {
  17732. float f = 0.0; return isfinite(f)
  17733. ;
  17734. return 0;
  17735. }
  17736. _ACEOF
  17737. if ac_fn_c_try_link "$LINENO"; then :
  17738. ac_cv_have_isfinite="yes"
  17739. else
  17740. ac_cv_have_isfinite="no"
  17741. fi
  17742. rm -f core conftest.err conftest.$ac_objext \
  17743. conftest$ac_exeext conftest.$ac_ext
  17744. fi
  17745. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
  17746. $as_echo "$ac_cv_have_isfinite" >&6; }
  17747. if test "$ac_cv_have_isfinite" = "yes"
  17748. then
  17749. $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
  17750. fi
  17751. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
  17752. $as_echo_n "checking for isinf... " >&6; }
  17753. if ${ac_cv_have_isinf+:} false; then :
  17754. $as_echo_n "(cached) " >&6
  17755. else
  17756. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17757. /* end confdefs.h. */
  17758. #include <math.h>
  17759. int
  17760. main ()
  17761. {
  17762. float f = 0.0; return isinf(f)
  17763. ;
  17764. return 0;
  17765. }
  17766. _ACEOF
  17767. if ac_fn_c_try_link "$LINENO"; then :
  17768. ac_cv_have_isinf="yes"
  17769. else
  17770. ac_cv_have_isinf="no"
  17771. fi
  17772. rm -f core conftest.err conftest.$ac_objext \
  17773. conftest$ac_exeext conftest.$ac_ext
  17774. fi
  17775. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
  17776. $as_echo "$ac_cv_have_isinf" >&6; }
  17777. if test "$ac_cv_have_isinf" = "yes"
  17778. then
  17779. $as_echo "#define HAVE_ISINF 1" >>confdefs.h
  17780. fi
  17781. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
  17782. $as_echo_n "checking for isnan... " >&6; }
  17783. if ${ac_cv_have_isnan+:} false; then :
  17784. $as_echo_n "(cached) " >&6
  17785. else
  17786. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17787. /* end confdefs.h. */
  17788. #include <math.h>
  17789. int
  17790. main ()
  17791. {
  17792. float f = 0.0; return isnan(f)
  17793. ;
  17794. return 0;
  17795. }
  17796. _ACEOF
  17797. if ac_fn_c_try_link "$LINENO"; then :
  17798. ac_cv_have_isnan="yes"
  17799. else
  17800. ac_cv_have_isnan="no"
  17801. fi
  17802. rm -f core conftest.err conftest.$ac_objext \
  17803. conftest$ac_exeext conftest.$ac_ext
  17804. fi
  17805. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
  17806. $as_echo "$ac_cv_have_isnan" >&6; }
  17807. if test "$ac_cv_have_isnan" = "yes"
  17808. then
  17809. $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
  17810. fi
  17811. for ac_func in \
  17812. acosh \
  17813. acoshf \
  17814. asinh \
  17815. asinhf \
  17816. atanh \
  17817. atanhf \
  17818. cbrt \
  17819. cbrtf \
  17820. erf \
  17821. erfc \
  17822. erfcf \
  17823. erff \
  17824. exp2 \
  17825. exp2f \
  17826. expm1 \
  17827. expm1f \
  17828. fma \
  17829. fmaf \
  17830. j0 \
  17831. j1 \
  17832. jn \
  17833. lgamma \
  17834. lgammaf \
  17835. llrint \
  17836. llrintf \
  17837. llround \
  17838. llroundf \
  17839. log1p \
  17840. log1pf \
  17841. log2 \
  17842. log2f \
  17843. lrint \
  17844. lrintf \
  17845. lround \
  17846. lroundf \
  17847. nearbyint \
  17848. nearbyintf \
  17849. nexttoward \
  17850. nexttowardf \
  17851. remainder \
  17852. remainderf \
  17853. remquo \
  17854. remquof \
  17855. rint \
  17856. rintf \
  17857. round \
  17858. roundf \
  17859. tgamma \
  17860. tgammaf \
  17861. trunc \
  17862. truncf \
  17863. y0 \
  17864. y1 \
  17865. yn
  17866. do :
  17867. as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
  17868. ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
  17869. if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
  17870. cat >>confdefs.h <<_ACEOF
  17871. #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
  17872. _ACEOF
  17873. fi
  17874. done
  17875. LIBS="$ac_save_LIBS"
  17876. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
  17877. $as_echo_n "checking for __builtin_popcount... " >&6; }
  17878. if ${ac_cv_have___builtin_popcount+:} false; then :
  17879. $as_echo_n "(cached) " >&6
  17880. else
  17881. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17882. /* end confdefs.h. */
  17883. int
  17884. main ()
  17885. {
  17886. return __builtin_popcount(1)
  17887. ;
  17888. return 0;
  17889. }
  17890. _ACEOF
  17891. if ac_fn_c_try_link "$LINENO"; then :
  17892. ac_cv_have___builtin_popcount="yes"
  17893. else
  17894. ac_cv_have___builtin_popcount="no"
  17895. fi
  17896. rm -f core conftest.err conftest.$ac_objext \
  17897. conftest$ac_exeext conftest.$ac_ext
  17898. fi
  17899. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
  17900. $as_echo "$ac_cv_have___builtin_popcount" >&6; }
  17901. if test "$ac_cv_have___builtin_popcount" = "yes"
  17902. then
  17903. $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
  17904. fi
  17905. { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
  17906. $as_echo_n "checking for __clear_cache... " >&6; }
  17907. if ${ac_cv_have___clear_cache+:} false; then :
  17908. $as_echo_n "(cached) " >&6
  17909. else
  17910. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17911. /* end confdefs.h. */
  17912. int
  17913. main ()
  17914. {
  17915. __clear_cache((void*)0, (void*)0); return 0;
  17916. ;
  17917. return 0;
  17918. }
  17919. _ACEOF
  17920. if ac_fn_c_try_link "$LINENO"; then :
  17921. ac_cv_have___clear_cache="yes"
  17922. else
  17923. ac_cv_have___clear_cache="no"
  17924. fi
  17925. rm -f core conftest.err conftest.$ac_objext \
  17926. conftest$ac_exeext conftest.$ac_ext
  17927. fi
  17928. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
  17929. $as_echo "$ac_cv_have___clear_cache" >&6; }
  17930. if test "$ac_cv_have___clear_cache" = "yes"
  17931. then
  17932. $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
  17933. fi
  17934. case $host_cpu in
  17935. *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
  17936. $as_echo_n "checking whether we need to define __i386__... " >&6; }
  17937. if ${ac_cv_cpp_def___i386__+:} false; then :
  17938. $as_echo_n "(cached) " >&6
  17939. else
  17940. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17941. /* end confdefs.h. */
  17942. #ifndef __i386__
  17943. yes
  17944. #endif
  17945. _ACEOF
  17946. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17947. $EGREP "yes" >/dev/null 2>&1; then :
  17948. ac_cv_cpp_def___i386__=yes
  17949. else
  17950. ac_cv_cpp_def___i386__=no
  17951. fi
  17952. rm -f conftest*
  17953. fi
  17954. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
  17955. $as_echo "$ac_cv_cpp_def___i386__" >&6; }
  17956. if test "x$ac_cv_cpp_def___i386__" = xyes; then :
  17957. CFLAGS="$CFLAGS -D__i386__"
  17958. LINTFLAGS="$LINTFLAGS -D__i386__"
  17959. fi ;;
  17960. *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
  17961. $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
  17962. if ${ac_cv_cpp_def___x86_64__+:} false; then :
  17963. $as_echo_n "(cached) " >&6
  17964. else
  17965. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17966. /* end confdefs.h. */
  17967. #ifndef __x86_64__
  17968. yes
  17969. #endif
  17970. _ACEOF
  17971. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17972. $EGREP "yes" >/dev/null 2>&1; then :
  17973. ac_cv_cpp_def___x86_64__=yes
  17974. else
  17975. ac_cv_cpp_def___x86_64__=no
  17976. fi
  17977. rm -f conftest*
  17978. fi
  17979. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
  17980. $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
  17981. if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
  17982. CFLAGS="$CFLAGS -D__x86_64__"
  17983. LINTFLAGS="$LINTFLAGS -D__x86_64__"
  17984. fi ;;
  17985. *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
  17986. $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
  17987. if ${ac_cv_cpp_def___sparc64__+:} false; then :
  17988. $as_echo_n "(cached) " >&6
  17989. else
  17990. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  17991. /* end confdefs.h. */
  17992. #ifndef __sparc64__
  17993. yes
  17994. #endif
  17995. _ACEOF
  17996. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  17997. $EGREP "yes" >/dev/null 2>&1; then :
  17998. ac_cv_cpp_def___sparc64__=yes
  17999. else
  18000. ac_cv_cpp_def___sparc64__=no
  18001. fi
  18002. rm -f conftest*
  18003. fi
  18004. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
  18005. $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
  18006. if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
  18007. CFLAGS="$CFLAGS -D__sparc64__"
  18008. LINTFLAGS="$LINTFLAGS -D__sparc64__"
  18009. fi ;;
  18010. *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
  18011. $as_echo_n "checking whether we need to define __sparc__... " >&6; }
  18012. if ${ac_cv_cpp_def___sparc__+:} false; then :
  18013. $as_echo_n "(cached) " >&6
  18014. else
  18015. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18016. /* end confdefs.h. */
  18017. #ifndef __sparc__
  18018. yes
  18019. #endif
  18020. _ACEOF
  18021. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18022. $EGREP "yes" >/dev/null 2>&1; then :
  18023. ac_cv_cpp_def___sparc__=yes
  18024. else
  18025. ac_cv_cpp_def___sparc__=no
  18026. fi
  18027. rm -f conftest*
  18028. fi
  18029. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
  18030. $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
  18031. if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
  18032. CFLAGS="$CFLAGS -D__sparc__"
  18033. LINTFLAGS="$LINTFLAGS -D__sparc__"
  18034. fi ;;
  18035. *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
  18036. $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
  18037. if ${ac_cv_cpp_def___powerpc64__+:} false; then :
  18038. $as_echo_n "(cached) " >&6
  18039. else
  18040. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18041. /* end confdefs.h. */
  18042. #ifndef __powerpc64__
  18043. yes
  18044. #endif
  18045. _ACEOF
  18046. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18047. $EGREP "yes" >/dev/null 2>&1; then :
  18048. ac_cv_cpp_def___powerpc64__=yes
  18049. else
  18050. ac_cv_cpp_def___powerpc64__=no
  18051. fi
  18052. rm -f conftest*
  18053. fi
  18054. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
  18055. $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
  18056. if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
  18057. CFLAGS="$CFLAGS -D__powerpc64__"
  18058. LINTFLAGS="$LINTFLAGS -D__powerpc64__"
  18059. fi ;;
  18060. *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
  18061. $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
  18062. if ${ac_cv_cpp_def___powerpc__+:} false; then :
  18063. $as_echo_n "(cached) " >&6
  18064. else
  18065. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18066. /* end confdefs.h. */
  18067. #ifndef __powerpc__
  18068. yes
  18069. #endif
  18070. _ACEOF
  18071. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18072. $EGREP "yes" >/dev/null 2>&1; then :
  18073. ac_cv_cpp_def___powerpc__=yes
  18074. else
  18075. ac_cv_cpp_def___powerpc__=no
  18076. fi
  18077. rm -f conftest*
  18078. fi
  18079. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
  18080. $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
  18081. if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
  18082. CFLAGS="$CFLAGS -D__powerpc__"
  18083. LINTFLAGS="$LINTFLAGS -D__powerpc__"
  18084. fi ;;
  18085. *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
  18086. $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
  18087. if ${ac_cv_cpp_def___aarch64__+:} false; then :
  18088. $as_echo_n "(cached) " >&6
  18089. else
  18090. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18091. /* end confdefs.h. */
  18092. #ifndef __aarch64__
  18093. yes
  18094. #endif
  18095. _ACEOF
  18096. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18097. $EGREP "yes" >/dev/null 2>&1; then :
  18098. ac_cv_cpp_def___aarch64__=yes
  18099. else
  18100. ac_cv_cpp_def___aarch64__=no
  18101. fi
  18102. rm -f conftest*
  18103. fi
  18104. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
  18105. $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
  18106. if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
  18107. CFLAGS="$CFLAGS -D__aarch64__"
  18108. LINTFLAGS="$LINTFLAGS -D__aarch64__"
  18109. fi ;;
  18110. *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
  18111. $as_echo_n "checking whether we need to define __arm__... " >&6; }
  18112. if ${ac_cv_cpp_def___arm__+:} false; then :
  18113. $as_echo_n "(cached) " >&6
  18114. else
  18115. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18116. /* end confdefs.h. */
  18117. #ifndef __arm__
  18118. yes
  18119. #endif
  18120. _ACEOF
  18121. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18122. $EGREP "yes" >/dev/null 2>&1; then :
  18123. ac_cv_cpp_def___arm__=yes
  18124. else
  18125. ac_cv_cpp_def___arm__=no
  18126. fi
  18127. rm -f conftest*
  18128. fi
  18129. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
  18130. $as_echo "$ac_cv_cpp_def___arm__" >&6; }
  18131. if test "x$ac_cv_cpp_def___arm__" = xyes; then :
  18132. CFLAGS="$CFLAGS -D__arm__"
  18133. LINTFLAGS="$LINTFLAGS -D__arm__"
  18134. fi ;;
  18135. esac
  18136. case $host_vendor in
  18137. *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
  18138. $as_echo_n "checking whether we need to define __sun__... " >&6; }
  18139. if ${ac_cv_cpp_def___sun__+:} false; then :
  18140. $as_echo_n "(cached) " >&6
  18141. else
  18142. cat confdefs.h - <<_ACEOF >conftest.$ac_ext
  18143. /* end confdefs.h. */
  18144. #ifndef __sun__
  18145. yes
  18146. #endif
  18147. _ACEOF
  18148. if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
  18149. $EGREP "yes" >/dev/null 2>&1; then :
  18150. ac_cv_cpp_def___sun__=yes
  18151. else
  18152. ac_cv_cpp_def___sun__=no
  18153. fi
  18154. rm -f conftest*
  18155. fi
  18156. { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
  18157. $as_echo "$ac_cv_cpp_def___sun__" >&6; }
  18158. if test "x$ac_cv_cpp_def___sun__" = xyes; then :
  18159. CFLAGS="$CFLAGS -D__sun__"
  18160. LINTFLAGS="$LINTFLAGS -D__sun__"
  18161. fi ;;
  18162. esac
  18163. ac_config_commands="$ac_config_commands include/stamp-h"
  18164. $as_echo_n "creating Makefile rules..." >&6
  18165. ALL_VARS_RULES="I386_LIBS = $I386_LIBS
  18166. OPENGL_LIBS = $OPENGL_LIBS
  18167. COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
  18168. IOKIT_LIBS = $IOKIT_LIBS
  18169. FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
  18170. APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
  18171. CORESERVICES_LIBS = $CORESERVICES_LIBS
  18172. APPKIT_LIBS = $APPKIT_LIBS
  18173. SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
  18174. DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
  18175. SECURITY_LIBS = $SECURITY_LIBS
  18176. COREAUDIO_LIBS = $COREAUDIO_LIBS
  18177. OPENAL_LIBS = $OPENAL_LIBS
  18178. OPENCL_LIBS = $OPENCL_LIBS
  18179. QUICKTIME_LIBS = $QUICKTIME_LIBS
  18180. CARBON_LIBS = $CARBON_LIBS
  18181. METAL_LIBS = $METAL_LIBS
  18182. EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
  18183. PTHREAD_LIBS = $PTHREAD_LIBS
  18184. X_CFLAGS = $X_CFLAGS
  18185. X_PRE_LIBS = $X_PRE_LIBS
  18186. X_LIBS = $X_LIBS
  18187. X_EXTRA_LIBS = $X_EXTRA_LIBS
  18188. PCAP_LIBS = $PCAP_LIBS
  18189. XML2_CFLAGS = $XML2_CFLAGS
  18190. XML2_LIBS = $XML2_LIBS
  18191. XSLT_CFLAGS = $XSLT_CFLAGS
  18192. XSLT_LIBS = $XSLT_LIBS
  18193. INOTIFY_CFLAGS = $INOTIFY_CFLAGS
  18194. INOTIFY_LIBS = $INOTIFY_LIBS
  18195. DBUS_CFLAGS = $DBUS_CFLAGS
  18196. DBUS_LIBS = $DBUS_LIBS
  18197. HAL_CFLAGS = $HAL_CFLAGS
  18198. HAL_LIBS = $HAL_LIBS
  18199. GNUTLS_CFLAGS = $GNUTLS_CFLAGS
  18200. GNUTLS_LIBS = $GNUTLS_LIBS
  18201. SANE_CFLAGS = $SANE_CFLAGS
  18202. SANE_LIBS = $SANE_LIBS
  18203. USB_CFLAGS = $USB_CFLAGS
  18204. USB_LIBS = $USB_LIBS
  18205. GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
  18206. GPHOTO2_LIBS = $GPHOTO2_LIBS
  18207. GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
  18208. GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
  18209. RESOLV_LIBS = $RESOLV_LIBS
  18210. LCMS2_CFLAGS = $LCMS2_CFLAGS
  18211. LCMS2_LIBS = $LCMS2_LIBS
  18212. FREETYPE_CFLAGS = $FREETYPE_CFLAGS
  18213. FREETYPE_LIBS = $FREETYPE_LIBS
  18214. GETTEXTPO_LIBS = $GETTEXTPO_LIBS
  18215. PULSE_CFLAGS = $PULSE_CFLAGS
  18216. PULSE_LIBS = $PULSE_LIBS
  18217. GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
  18218. GSTREAMER_LIBS = $GSTREAMER_LIBS
  18219. ALSA_LIBS = $ALSA_LIBS
  18220. OSS4_CFLAGS = $OSS4_CFLAGS
  18221. OSS4_LIBS = $OSS4_LIBS
  18222. UDEV_CFLAGS = $UDEV_CFLAGS
  18223. UDEV_LIBS = $UDEV_LIBS
  18224. UNWIND_CFLAGS = $UNWIND_CFLAGS
  18225. UNWIND_LIBS = $UNWIND_LIBS
  18226. SDL2_CFLAGS = $SDL2_CFLAGS
  18227. SDL2_LIBS = $SDL2_LIBS
  18228. FAUDIO_CFLAGS = $FAUDIO_CFLAGS
  18229. FAUDIO_LIBS = $FAUDIO_LIBS
  18230. CAPI20_CFLAGS = $CAPI20_CFLAGS
  18231. CAPI20_LIBS = $CAPI20_LIBS
  18232. CUPS_CFLAGS = $CUPS_CFLAGS
  18233. CUPS_LIBS = $CUPS_LIBS
  18234. FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
  18235. FONTCONFIG_LIBS = $FONTCONFIG_LIBS
  18236. KRB5_CFLAGS = $KRB5_CFLAGS
  18237. KRB5_LIBS = $KRB5_LIBS
  18238. GSSAPI_CFLAGS = $GSSAPI_CFLAGS
  18239. GSSAPI_LIBS = $GSSAPI_LIBS
  18240. JPEG_CFLAGS = $JPEG_CFLAGS
  18241. JPEG_LIBS = $JPEG_LIBS
  18242. JXRLIB_CFLAGS = $JXRLIB_CFLAGS
  18243. JXRLIB_LIBS = $JXRLIB_LIBS
  18244. PNG_CFLAGS = $PNG_CFLAGS
  18245. PNG_LIBS = $PNG_LIBS
  18246. TIFF_CFLAGS = $TIFF_CFLAGS
  18247. TIFF_LIBS = $TIFF_LIBS
  18248. MPG123_CFLAGS = $MPG123_CFLAGS
  18249. MPG123_LIBS = $MPG123_LIBS
  18250. KSTAT_LIBS = $KSTAT_LIBS
  18251. PROCSTAT_LIBS = $PROCSTAT_LIBS
  18252. NETAPI_CFLAGS = $NETAPI_CFLAGS
  18253. NETAPI_LIBS = $NETAPI_LIBS
  18254. VKD3D_CFLAGS = $VKD3D_CFLAGS
  18255. VKD3D_LIBS = $VKD3D_LIBS
  18256. VKD3D_SHADER_CFLAGS = $VKD3D_SHADER_CFLAGS
  18257. VKD3D_SHADER_LIBS = $VKD3D_SHADER_LIBS
  18258. POLL_LIBS = $POLL_LIBS
  18259. RT_LIBS = $RT_LIBS
  18260. LDAP_CFLAGS = $LDAP_CFLAGS
  18261. LDAP_LIBS = $LDAP_LIBS
  18262. "
  18263. makedep_flags=""
  18264. test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
  18265. wine_fn_append_rule "
  18266. # Rules automatically generated by configure
  18267. .INIT: Makefile
  18268. .MAKEFILEDEPS:
  18269. all: Makefile
  18270. Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
  18271. @./config.status Make.tmp Makefile
  18272. depend: \$(MAKEDEP)
  18273. \$(MAKEDEP)$makedep_flags
  18274. dummy:
  18275. .PHONY: depend dummy"
  18276. ac_config_links="$ac_config_links wine:tools/winewrapper"
  18277. wine_fn_config_symlink wine
  18278. if test "x$enable_win64" != xno -o -n "$with_wine64"; then
  18279. ac_config_links="$ac_config_links wine64:tools/winewrapper"
  18280. wine_fn_config_symlink wine64
  18281. fi
  18282. wine_fn_config_makefile dlls/acledit enable_acledit
  18283. wine_fn_config_makefile dlls/aclui enable_aclui
  18284. wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
  18285. wine_fn_config_makefile dlls/activeds enable_activeds
  18286. wine_fn_config_makefile dlls/activeds/tests enable_tests
  18287. wine_fn_config_makefile dlls/actxprxy enable_actxprxy
  18288. wine_fn_config_makefile dlls/adsiid enable_adsiid
  18289. wine_fn_config_makefile dlls/adsldp enable_adsldp
  18290. wine_fn_config_makefile dlls/adsldp/tests enable_tests
  18291. wine_fn_config_makefile dlls/adsldpc enable_adsldpc
  18292. wine_fn_config_makefile dlls/advapi32 enable_advapi32
  18293. wine_fn_config_makefile dlls/advapi32/tests enable_tests
  18294. wine_fn_config_makefile dlls/advpack enable_advpack
  18295. wine_fn_config_makefile dlls/advpack/tests enable_tests
  18296. wine_fn_config_makefile dlls/amsi enable_amsi
  18297. wine_fn_config_makefile dlls/amstream enable_amstream
  18298. wine_fn_config_makefile dlls/amstream/tests enable_tests
  18299. wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
  18300. wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
  18301. wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
  18302. wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
  18303. wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
  18304. wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
  18305. wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
  18306. wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
  18307. wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
  18308. wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
  18309. wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
  18310. wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
  18311. wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
  18312. wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
  18313. wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
  18314. wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
  18315. wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
  18316. wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
  18317. wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
  18318. wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
  18319. wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
  18320. wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
  18321. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
  18322. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
  18323. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
  18324. wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
  18325. wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
  18326. wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
  18327. wine_fn_config_makefile dlls/api-ms-win-core-file-ansi-l2-1-0 enable_api_ms_win_core_file_ansi_l2_1_0
  18328. wine_fn_config_makefile dlls/api-ms-win-core-file-fromapp-l1-1-0 enable_api_ms_win_core_file_fromapp_l1_1_0
  18329. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
  18330. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
  18331. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
  18332. wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
  18333. wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
  18334. wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
  18335. wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
  18336. wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
  18337. wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
  18338. wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
  18339. wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
  18340. wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
  18341. wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
  18342. wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
  18343. wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
  18344. wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
  18345. wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
  18346. wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
  18347. wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
  18348. wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
  18349. wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-2 enable_api_ms_win_core_kernel32_legacy_l1_1_2
  18350. wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
  18351. wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
  18352. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
  18353. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
  18354. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
  18355. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
  18356. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
  18357. wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l2-1-0 enable_api_ms_win_core_libraryloader_l2_1_0
  18358. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
  18359. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
  18360. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
  18361. wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-2 enable_api_ms_win_core_localization_l1_2_2
  18362. wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
  18363. wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
  18364. wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
  18365. wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
  18366. wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
  18367. wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
  18368. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
  18369. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
  18370. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
  18371. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-3 enable_api_ms_win_core_memory_l1_1_3
  18372. wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-4 enable_api_ms_win_core_memory_l1_1_4
  18373. wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
  18374. wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-ansi-l1-1-0 enable_api_ms_win_core_namedpipe_ansi_l1_1_0
  18375. wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
  18376. wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
  18377. wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
  18378. wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
  18379. wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
  18380. wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
  18381. wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
  18382. wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
  18383. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
  18384. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
  18385. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
  18386. wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
  18387. wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
  18388. wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
  18389. wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
  18390. wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
  18391. wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
  18392. wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
  18393. wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
  18394. wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
  18395. wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
  18396. wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-2-0 enable_api_ms_win_core_registry_l2_2_0
  18397. wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
  18398. wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
  18399. wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
  18400. wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
  18401. wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
  18402. wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
  18403. wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
  18404. wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
  18405. wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
  18406. wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
  18407. wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
  18408. wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
  18409. wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
  18410. wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
  18411. wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
  18412. wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
  18413. wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
  18414. wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
  18415. wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
  18416. wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
  18417. wine_fn_config_makefile dlls/api-ms-win-core-systemtopology-l1-1-0 enable_api_ms_win_core_systemtopology_l1_1_0
  18418. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
  18419. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
  18420. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
  18421. wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
  18422. wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
  18423. wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
  18424. wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
  18425. wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
  18426. wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
  18427. wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
  18428. wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
  18429. wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
  18430. wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
  18431. wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
  18432. wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
  18433. wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
  18434. wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
  18435. wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
  18436. wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
  18437. wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
  18438. wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
  18439. wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
  18440. wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
  18441. wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
  18442. wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
  18443. wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
  18444. wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
  18445. wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
  18446. wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
  18447. wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
  18448. wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
  18449. wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
  18450. wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
  18451. wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
  18452. wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
  18453. wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
  18454. wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
  18455. wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
  18456. wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
  18457. wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
  18458. wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
  18459. wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
  18460. wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
  18461. wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
  18462. wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
  18463. wine_fn_config_makefile dlls/api-ms-win-downlevel-kernel32-l2-1-0 enable_api_ms_win_downlevel_kernel32_l2_1_0
  18464. wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
  18465. wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
  18466. wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
  18467. wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
  18468. wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
  18469. wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
  18470. wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
  18471. wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
  18472. wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
  18473. wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
  18474. wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
  18475. wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
  18476. wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
  18477. wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
  18478. wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
  18479. wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
  18480. wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
  18481. wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
  18482. wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
  18483. wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
  18484. wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
  18485. wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
  18486. wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
  18487. wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
  18488. wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
  18489. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
  18490. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
  18491. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
  18492. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
  18493. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
  18494. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
  18495. wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
  18496. wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
  18497. wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
  18498. wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
  18499. wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
  18500. wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
  18501. wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
  18502. wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
  18503. wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
  18504. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
  18505. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
  18506. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
  18507. wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
  18508. wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
  18509. wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
  18510. wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
  18511. wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
  18512. wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
  18513. wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
  18514. wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
  18515. wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
  18516. wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
  18517. wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
  18518. wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
  18519. wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
  18520. wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-0 enable_api_ms_win_shcore_scaling_l1_1_0
  18521. wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
  18522. wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
  18523. wine_fn_config_makefile dlls/api-ms-win-shcore-stream-winrt-l1-1-0 enable_api_ms_win_shcore_stream_winrt_l1_1_0
  18524. wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
  18525. wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
  18526. wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
  18527. wine_fn_config_makefile dlls/apphelp enable_apphelp
  18528. wine_fn_config_makefile dlls/apphelp/tests enable_tests
  18529. wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
  18530. wine_fn_config_makefile dlls/atl enable_atl
  18531. wine_fn_config_makefile dlls/atl/tests enable_tests
  18532. wine_fn_config_makefile dlls/atl100 enable_atl100
  18533. wine_fn_config_makefile dlls/atl100/tests enable_tests
  18534. wine_fn_config_makefile dlls/atl110 enable_atl110
  18535. wine_fn_config_makefile dlls/atl80 enable_atl80
  18536. wine_fn_config_makefile dlls/atl80/tests enable_tests
  18537. wine_fn_config_makefile dlls/atl90 enable_atl90
  18538. wine_fn_config_makefile dlls/atlthunk enable_atlthunk
  18539. wine_fn_config_makefile dlls/atlthunk/tests enable_tests
  18540. wine_fn_config_makefile dlls/atmlib enable_atmlib
  18541. wine_fn_config_makefile dlls/authz enable_authz
  18542. wine_fn_config_makefile dlls/avicap32 enable_avicap32
  18543. wine_fn_config_makefile dlls/avifil32 enable_avifil32
  18544. wine_fn_config_makefile dlls/avifil32/tests enable_tests
  18545. wine_fn_config_makefile dlls/avifile.dll16 enable_win16
  18546. wine_fn_config_makefile dlls/avrt enable_avrt
  18547. wine_fn_config_makefile dlls/bcrypt enable_bcrypt
  18548. wine_fn_config_makefile dlls/bcrypt/tests enable_tests
  18549. wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
  18550. wine_fn_config_makefile dlls/browseui enable_browseui
  18551. wine_fn_config_makefile dlls/browseui/tests enable_tests
  18552. wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
  18553. wine_fn_config_makefile dlls/cabinet enable_cabinet
  18554. wine_fn_config_makefile dlls/cabinet/tests enable_tests
  18555. wine_fn_config_makefile dlls/capi2032 enable_capi2032
  18556. wine_fn_config_makefile dlls/cards enable_cards
  18557. wine_fn_config_makefile dlls/cdosys enable_cdosys
  18558. wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
  18559. wine_fn_config_makefile dlls/clusapi enable_clusapi
  18560. wine_fn_config_makefile dlls/combase enable_combase
  18561. wine_fn_config_makefile dlls/combase/tests enable_tests
  18562. wine_fn_config_makefile dlls/comcat enable_comcat
  18563. wine_fn_config_makefile dlls/comcat/tests enable_tests
  18564. wine_fn_config_makefile dlls/comctl32 enable_comctl32
  18565. wine_fn_config_makefile dlls/comctl32/tests enable_tests
  18566. wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
  18567. wine_fn_config_makefile dlls/comdlg32/tests enable_tests
  18568. wine_fn_config_makefile dlls/comm.drv16 enable_win16
  18569. wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
  18570. wine_fn_config_makefile dlls/compobj.dll16 enable_win16
  18571. wine_fn_config_makefile dlls/compstui enable_compstui
  18572. wine_fn_config_makefile dlls/comsvcs enable_comsvcs
  18573. wine_fn_config_makefile dlls/comsvcs/tests enable_tests
  18574. wine_fn_config_makefile dlls/concrt140 enable_concrt140
  18575. wine_fn_config_makefile dlls/concrt140/tests enable_tests
  18576. wine_fn_config_makefile dlls/connect enable_connect
  18577. wine_fn_config_makefile dlls/credui enable_credui
  18578. wine_fn_config_makefile dlls/credui/tests enable_tests
  18579. wine_fn_config_makefile dlls/crtdll enable_crtdll
  18580. wine_fn_config_makefile dlls/crypt32 enable_crypt32
  18581. wine_fn_config_makefile dlls/crypt32/tests enable_tests
  18582. wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
  18583. wine_fn_config_makefile dlls/cryptdll enable_cryptdll
  18584. wine_fn_config_makefile dlls/cryptext enable_cryptext
  18585. wine_fn_config_makefile dlls/cryptnet enable_cryptnet
  18586. wine_fn_config_makefile dlls/cryptnet/tests enable_tests
  18587. wine_fn_config_makefile dlls/cryptsp enable_cryptsp
  18588. wine_fn_config_makefile dlls/cryptui enable_cryptui
  18589. wine_fn_config_makefile dlls/cryptui/tests enable_tests
  18590. wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
  18591. wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
  18592. wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
  18593. wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
  18594. wine_fn_config_makefile dlls/d2d1 enable_d2d1
  18595. wine_fn_config_makefile dlls/d2d1/tests enable_tests
  18596. wine_fn_config_makefile dlls/d3d10 enable_d3d10
  18597. wine_fn_config_makefile dlls/d3d10/tests enable_tests
  18598. wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
  18599. wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
  18600. wine_fn_config_makefile dlls/d3d10core enable_d3d10core
  18601. wine_fn_config_makefile dlls/d3d10core/tests enable_tests
  18602. wine_fn_config_makefile dlls/d3d11 enable_d3d11
  18603. wine_fn_config_makefile dlls/d3d11/tests enable_tests
  18604. wine_fn_config_makefile dlls/d3d12 enable_d3d12
  18605. wine_fn_config_makefile dlls/d3d12/tests enable_tests
  18606. wine_fn_config_makefile dlls/d3d8 enable_d3d8
  18607. wine_fn_config_makefile dlls/d3d8/tests enable_tests
  18608. wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
  18609. wine_fn_config_makefile dlls/d3d9 enable_d3d9
  18610. wine_fn_config_makefile dlls/d3d9/tests enable_tests
  18611. wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
  18612. wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
  18613. wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
  18614. wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
  18615. wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
  18616. wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
  18617. wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
  18618. wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
  18619. wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
  18620. wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
  18621. wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
  18622. wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
  18623. wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
  18624. wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
  18625. wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
  18626. wine_fn_config_makefile dlls/d3dim enable_d3dim
  18627. wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
  18628. wine_fn_config_makefile dlls/d3drm enable_d3drm
  18629. wine_fn_config_makefile dlls/d3drm/tests enable_tests
  18630. wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
  18631. wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
  18632. wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
  18633. wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
  18634. wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
  18635. wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
  18636. wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
  18637. wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
  18638. wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
  18639. wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
  18640. wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
  18641. wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
  18642. wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
  18643. wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
  18644. wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
  18645. wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
  18646. wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
  18647. wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
  18648. wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
  18649. wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
  18650. wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
  18651. wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
  18652. wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
  18653. wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
  18654. wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
  18655. wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
  18656. wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
  18657. wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
  18658. wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
  18659. wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
  18660. wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
  18661. wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
  18662. wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
  18663. wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
  18664. wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
  18665. wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
  18666. wine_fn_config_makefile dlls/d3dxof enable_d3dxof
  18667. wine_fn_config_makefile dlls/d3dxof/tests enable_tests
  18668. wine_fn_config_makefile dlls/davclnt enable_davclnt
  18669. wine_fn_config_makefile dlls/dbgeng enable_dbgeng
  18670. wine_fn_config_makefile dlls/dbgeng/tests enable_tests
  18671. wine_fn_config_makefile dlls/dbghelp enable_dbghelp
  18672. wine_fn_config_makefile dlls/dbghelp/tests enable_tests
  18673. wine_fn_config_makefile dlls/dciman32 enable_dciman32
  18674. wine_fn_config_makefile dlls/dcomp enable_dcomp
  18675. wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
  18676. wine_fn_config_makefile dlls/ddraw enable_ddraw
  18677. wine_fn_config_makefile dlls/ddraw/tests enable_tests
  18678. wine_fn_config_makefile dlls/ddrawex enable_ddrawex
  18679. wine_fn_config_makefile dlls/ddrawex/tests enable_tests
  18680. wine_fn_config_makefile dlls/devenum enable_devenum
  18681. wine_fn_config_makefile dlls/devenum/tests enable_tests
  18682. wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
  18683. wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
  18684. wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
  18685. wine_fn_config_makefile dlls/difxapi enable_difxapi
  18686. wine_fn_config_makefile dlls/dinput enable_dinput
  18687. wine_fn_config_makefile dlls/dinput/tests enable_tests
  18688. wine_fn_config_makefile dlls/dinput8 enable_dinput8
  18689. wine_fn_config_makefile dlls/dinput8/tests enable_tests
  18690. wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
  18691. wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
  18692. wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
  18693. wine_fn_config_makefile dlls/dispex enable_dispex
  18694. wine_fn_config_makefile dlls/dispex/tests enable_tests
  18695. wine_fn_config_makefile dlls/display.drv16 enable_win16
  18696. wine_fn_config_makefile dlls/dmband enable_dmband
  18697. wine_fn_config_makefile dlls/dmband/tests enable_tests
  18698. wine_fn_config_makefile dlls/dmcompos enable_dmcompos
  18699. wine_fn_config_makefile dlls/dmcompos/tests enable_tests
  18700. wine_fn_config_makefile dlls/dmime enable_dmime
  18701. wine_fn_config_makefile dlls/dmime/tests enable_tests
  18702. wine_fn_config_makefile dlls/dmloader enable_dmloader
  18703. wine_fn_config_makefile dlls/dmloader/tests enable_tests
  18704. wine_fn_config_makefile dlls/dmoguids enable_dmoguids
  18705. wine_fn_config_makefile dlls/dmscript enable_dmscript
  18706. wine_fn_config_makefile dlls/dmscript/tests enable_tests
  18707. wine_fn_config_makefile dlls/dmstyle enable_dmstyle
  18708. wine_fn_config_makefile dlls/dmstyle/tests enable_tests
  18709. wine_fn_config_makefile dlls/dmsynth enable_dmsynth
  18710. wine_fn_config_makefile dlls/dmsynth/tests enable_tests
  18711. wine_fn_config_makefile dlls/dmusic enable_dmusic
  18712. wine_fn_config_makefile dlls/dmusic/tests enable_tests
  18713. wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
  18714. wine_fn_config_makefile dlls/dnsapi enable_dnsapi
  18715. wine_fn_config_makefile dlls/dnsapi/tests enable_tests
  18716. wine_fn_config_makefile dlls/dplay enable_dplay
  18717. wine_fn_config_makefile dlls/dplayx enable_dplayx
  18718. wine_fn_config_makefile dlls/dplayx/tests enable_tests
  18719. wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
  18720. wine_fn_config_makefile dlls/dpnet enable_dpnet
  18721. wine_fn_config_makefile dlls/dpnet/tests enable_tests
  18722. wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
  18723. wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
  18724. wine_fn_config_makefile dlls/dpvoice enable_dpvoice
  18725. wine_fn_config_makefile dlls/dpvoice/tests enable_tests
  18726. wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
  18727. wine_fn_config_makefile dlls/drmclien enable_drmclien
  18728. wine_fn_config_makefile dlls/dsdmo enable_dsdmo
  18729. wine_fn_config_makefile dlls/dsdmo/tests enable_tests
  18730. wine_fn_config_makefile dlls/dsound enable_dsound
  18731. wine_fn_config_makefile dlls/dsound/tests enable_tests
  18732. wine_fn_config_makefile dlls/dsquery enable_dsquery
  18733. wine_fn_config_makefile dlls/dssenh enable_dssenh
  18734. wine_fn_config_makefile dlls/dssenh/tests enable_tests
  18735. wine_fn_config_makefile dlls/dsuiext enable_dsuiext
  18736. wine_fn_config_makefile dlls/dswave enable_dswave
  18737. wine_fn_config_makefile dlls/dswave/tests enable_tests
  18738. wine_fn_config_makefile dlls/dwmapi enable_dwmapi
  18739. wine_fn_config_makefile dlls/dwmapi/tests enable_tests
  18740. wine_fn_config_makefile dlls/dwrite enable_dwrite
  18741. wine_fn_config_makefile dlls/dwrite/tests enable_tests
  18742. wine_fn_config_makefile dlls/dx8vb enable_dx8vb
  18743. wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
  18744. wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
  18745. wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
  18746. wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
  18747. wine_fn_config_makefile dlls/dxgi enable_dxgi
  18748. wine_fn_config_makefile dlls/dxgi/tests enable_tests
  18749. wine_fn_config_makefile dlls/dxguid enable_dxguid
  18750. wine_fn_config_makefile dlls/dxva2 enable_dxva2
  18751. wine_fn_config_makefile dlls/dxva2/tests enable_tests
  18752. wine_fn_config_makefile dlls/esent enable_esent
  18753. wine_fn_config_makefile dlls/evr enable_evr
  18754. wine_fn_config_makefile dlls/evr/tests enable_tests
  18755. wine_fn_config_makefile dlls/explorerframe enable_explorerframe
  18756. wine_fn_config_makefile dlls/explorerframe/tests enable_tests
  18757. wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
  18758. wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
  18759. wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
  18760. wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
  18761. wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
  18762. wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
  18763. wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
  18764. wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
  18765. wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
  18766. wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
  18767. wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
  18768. wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
  18769. wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
  18770. wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
  18771. wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
  18772. wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
  18773. wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
  18774. wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
  18775. wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
  18776. wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
  18777. wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
  18778. wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
  18779. wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
  18780. wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
  18781. wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
  18782. wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
  18783. wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
  18784. wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
  18785. wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
  18786. wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
  18787. wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
  18788. wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
  18789. wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
  18790. wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
  18791. wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
  18792. wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
  18793. wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
  18794. wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
  18795. wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
  18796. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
  18797. 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
  18798. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
  18799. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
  18800. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
  18801. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
  18802. wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
  18803. wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
  18804. wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
  18805. wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
  18806. wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
  18807. wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
  18808. wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
  18809. wine_fn_config_makefile dlls/faultrep enable_faultrep
  18810. wine_fn_config_makefile dlls/faultrep/tests enable_tests
  18811. wine_fn_config_makefile dlls/feclient enable_feclient
  18812. wine_fn_config_makefile dlls/fltlib enable_fltlib
  18813. wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
  18814. wine_fn_config_makefile dlls/fntcache enable_fntcache
  18815. wine_fn_config_makefile dlls/fontsub enable_fontsub
  18816. wine_fn_config_makefile dlls/fusion enable_fusion
  18817. wine_fn_config_makefile dlls/fusion/tests enable_tests
  18818. wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
  18819. wine_fn_config_makefile dlls/gameux enable_gameux
  18820. wine_fn_config_makefile dlls/gameux/tests enable_tests
  18821. wine_fn_config_makefile dlls/gdi.exe16 enable_win16
  18822. wine_fn_config_makefile dlls/gdi32 enable_gdi32
  18823. wine_fn_config_makefile dlls/gdi32/tests enable_tests
  18824. wine_fn_config_makefile dlls/gdiplus enable_gdiplus
  18825. wine_fn_config_makefile dlls/gdiplus/tests enable_tests
  18826. wine_fn_config_makefile dlls/glu32 enable_glu32
  18827. wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
  18828. wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
  18829. wine_fn_config_makefile dlls/hal enable_hal
  18830. wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
  18831. wine_fn_config_makefile dlls/hid enable_hid
  18832. wine_fn_config_makefile dlls/hid/tests enable_tests
  18833. wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
  18834. wine_fn_config_makefile dlls/hlink enable_hlink
  18835. wine_fn_config_makefile dlls/hlink/tests enable_tests
  18836. wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
  18837. wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
  18838. wine_fn_config_makefile dlls/http.sys enable_http_sys
  18839. wine_fn_config_makefile dlls/httpapi enable_httpapi
  18840. wine_fn_config_makefile dlls/httpapi/tests enable_tests
  18841. wine_fn_config_makefile dlls/iccvid enable_iccvid
  18842. wine_fn_config_makefile dlls/icmp enable_icmp
  18843. wine_fn_config_makefile dlls/ieframe enable_ieframe
  18844. wine_fn_config_makefile dlls/ieframe/tests enable_tests
  18845. wine_fn_config_makefile dlls/ieproxy enable_ieproxy
  18846. wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
  18847. wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
  18848. wine_fn_config_makefile dlls/imagehlp enable_imagehlp
  18849. wine_fn_config_makefile dlls/imagehlp/tests enable_tests
  18850. wine_fn_config_makefile dlls/imm.dll16 enable_win16
  18851. wine_fn_config_makefile dlls/imm32 enable_imm32
  18852. wine_fn_config_makefile dlls/imm32/tests enable_tests
  18853. wine_fn_config_makefile dlls/inetcomm enable_inetcomm
  18854. wine_fn_config_makefile dlls/inetcomm/tests enable_tests
  18855. wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
  18856. wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
  18857. wine_fn_config_makefile dlls/inetmib1/tests enable_tests
  18858. wine_fn_config_makefile dlls/infosoft enable_infosoft
  18859. wine_fn_config_makefile dlls/infosoft/tests enable_tests
  18860. wine_fn_config_makefile dlls/initpki enable_initpki
  18861. wine_fn_config_makefile dlls/inkobj enable_inkobj
  18862. wine_fn_config_makefile dlls/inseng enable_inseng
  18863. wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
  18864. wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
  18865. wine_fn_config_makefile dlls/iprop enable_iprop
  18866. wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
  18867. wine_fn_config_makefile dlls/itircl enable_itircl
  18868. wine_fn_config_makefile dlls/itss enable_itss
  18869. wine_fn_config_makefile dlls/itss/tests enable_tests
  18870. wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
  18871. wine_fn_config_makefile dlls/jscript enable_jscript
  18872. wine_fn_config_makefile dlls/jscript/tests enable_tests
  18873. wine_fn_config_makefile dlls/jsproxy enable_jsproxy
  18874. wine_fn_config_makefile dlls/jsproxy/tests enable_tests
  18875. wine_fn_config_makefile dlls/kerberos enable_kerberos
  18876. wine_fn_config_makefile dlls/kernel32 enable_kernel32
  18877. wine_fn_config_makefile dlls/kernel32/tests enable_tests
  18878. wine_fn_config_makefile dlls/kernelbase enable_kernelbase
  18879. wine_fn_config_makefile dlls/kernelbase/tests enable_tests
  18880. wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
  18881. wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
  18882. wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
  18883. wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
  18884. wine_fn_config_makefile dlls/ksuser enable_ksuser
  18885. wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
  18886. wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
  18887. wine_fn_config_makefile dlls/loadperf enable_loadperf
  18888. wine_fn_config_makefile dlls/localspl enable_localspl
  18889. wine_fn_config_makefile dlls/localspl/tests enable_tests
  18890. wine_fn_config_makefile dlls/localui enable_localui
  18891. wine_fn_config_makefile dlls/localui/tests enable_tests
  18892. wine_fn_config_makefile dlls/lz32 enable_lz32
  18893. wine_fn_config_makefile dlls/lz32/tests enable_tests
  18894. wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
  18895. wine_fn_config_makefile dlls/mapi32 enable_mapi32
  18896. wine_fn_config_makefile dlls/mapi32/tests enable_tests
  18897. wine_fn_config_makefile dlls/mapistub enable_mapistub
  18898. wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
  18899. wine_fn_config_makefile dlls/mcicda enable_mcicda
  18900. wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
  18901. wine_fn_config_makefile dlls/mciseq enable_mciseq
  18902. wine_fn_config_makefile dlls/mciwave enable_mciwave
  18903. wine_fn_config_makefile dlls/mf enable_mf
  18904. wine_fn_config_makefile dlls/mf/tests enable_tests
  18905. wine_fn_config_makefile dlls/mf3216 enable_mf3216
  18906. wine_fn_config_makefile dlls/mferror enable_mferror
  18907. wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
  18908. wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
  18909. wine_fn_config_makefile dlls/mfplat enable_mfplat
  18910. wine_fn_config_makefile dlls/mfplat/tests enable_tests
  18911. wine_fn_config_makefile dlls/mfplay enable_mfplay
  18912. wine_fn_config_makefile dlls/mfplay/tests enable_tests
  18913. wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
  18914. wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
  18915. wine_fn_config_makefile dlls/mfuuid enable_mfuuid
  18916. wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
  18917. wine_fn_config_makefile dlls/midimap enable_midimap
  18918. wine_fn_config_makefile dlls/mlang enable_mlang
  18919. wine_fn_config_makefile dlls/mlang/tests enable_tests
  18920. wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
  18921. wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
  18922. wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
  18923. wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
  18924. wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
  18925. wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
  18926. wine_fn_config_makefile dlls/monodebg.vxd enable_win16
  18927. wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
  18928. wine_fn_config_makefile dlls/mouse.drv16 enable_win16
  18929. wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
  18930. wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
  18931. wine_fn_config_makefile dlls/mpr enable_mpr
  18932. wine_fn_config_makefile dlls/mpr/tests enable_tests
  18933. wine_fn_config_makefile dlls/mprapi enable_mprapi
  18934. wine_fn_config_makefile dlls/msacm.dll16 enable_win16
  18935. wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
  18936. wine_fn_config_makefile dlls/msacm32 enable_msacm32
  18937. wine_fn_config_makefile dlls/msacm32/tests enable_tests
  18938. wine_fn_config_makefile dlls/msado15 enable_msado15
  18939. wine_fn_config_makefile dlls/msado15/tests enable_tests
  18940. wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
  18941. wine_fn_config_makefile dlls/msasn1 enable_msasn1
  18942. wine_fn_config_makefile dlls/msasn1/tests enable_tests
  18943. wine_fn_config_makefile dlls/mscat32 enable_mscat32
  18944. wine_fn_config_makefile dlls/mscms enable_mscms
  18945. wine_fn_config_makefile dlls/mscms/tests enable_tests
  18946. wine_fn_config_makefile dlls/mscoree enable_mscoree
  18947. wine_fn_config_makefile dlls/mscoree/tests enable_tests
  18948. wine_fn_config_makefile dlls/mscorwks enable_mscorwks
  18949. wine_fn_config_makefile dlls/msctf enable_msctf
  18950. wine_fn_config_makefile dlls/msctf/tests enable_tests
  18951. wine_fn_config_makefile dlls/msctfp enable_msctfp
  18952. wine_fn_config_makefile dlls/msdaps enable_msdaps
  18953. wine_fn_config_makefile dlls/msdelta enable_msdelta
  18954. wine_fn_config_makefile dlls/msdmo enable_msdmo
  18955. wine_fn_config_makefile dlls/msdmo/tests enable_tests
  18956. wine_fn_config_makefile dlls/msdrm enable_msdrm
  18957. wine_fn_config_makefile dlls/msftedit enable_msftedit
  18958. wine_fn_config_makefile dlls/msftedit/tests enable_tests
  18959. wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
  18960. wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
  18961. wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
  18962. wine_fn_config_makefile dlls/mshtml enable_mshtml
  18963. wine_fn_config_makefile dlls/mshtml/tests enable_tests
  18964. wine_fn_config_makefile dlls/msi enable_msi
  18965. wine_fn_config_makefile dlls/msi/tests enable_tests
  18966. wine_fn_config_makefile dlls/msident enable_msident
  18967. wine_fn_config_makefile dlls/msimg32 enable_msimg32
  18968. wine_fn_config_makefile dlls/msimsg enable_msimsg
  18969. wine_fn_config_makefile dlls/msimtf enable_msimtf
  18970. wine_fn_config_makefile dlls/msisip enable_msisip
  18971. wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
  18972. wine_fn_config_makefile dlls/msls31 enable_msls31
  18973. wine_fn_config_makefile dlls/msnet32 enable_msnet32
  18974. wine_fn_config_makefile dlls/mspatcha enable_mspatcha
  18975. wine_fn_config_makefile dlls/mspatcha/tests enable_tests
  18976. wine_fn_config_makefile dlls/msports enable_msports
  18977. wine_fn_config_makefile dlls/msrle32 enable_msrle32
  18978. wine_fn_config_makefile dlls/msrle32/tests enable_tests
  18979. wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
  18980. wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
  18981. wine_fn_config_makefile dlls/mssign32 enable_mssign32
  18982. wine_fn_config_makefile dlls/mssip32 enable_mssip32
  18983. wine_fn_config_makefile dlls/mstask enable_mstask
  18984. wine_fn_config_makefile dlls/mstask/tests enable_tests
  18985. wine_fn_config_makefile dlls/msvcirt enable_msvcirt
  18986. wine_fn_config_makefile dlls/msvcirt/tests enable_tests
  18987. wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
  18988. wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
  18989. wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
  18990. wine_fn_config_makefile dlls/msvcp100/tests enable_tests
  18991. wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
  18992. wine_fn_config_makefile dlls/msvcp110/tests enable_tests
  18993. wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
  18994. wine_fn_config_makefile dlls/msvcp120/tests enable_tests
  18995. wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
  18996. wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
  18997. wine_fn_config_makefile dlls/msvcp140/tests enable_tests
  18998. wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
  18999. wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
  19000. wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
  19001. wine_fn_config_makefile dlls/msvcp60/tests enable_tests
  19002. wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
  19003. wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
  19004. wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
  19005. wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
  19006. wine_fn_config_makefile dlls/msvcp90/tests enable_tests
  19007. wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
  19008. wine_fn_config_makefile dlls/msvcr100/tests enable_tests
  19009. wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
  19010. wine_fn_config_makefile dlls/msvcr110/tests enable_tests
  19011. wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
  19012. wine_fn_config_makefile dlls/msvcr120/tests enable_tests
  19013. wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
  19014. wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
  19015. wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
  19016. wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
  19017. wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
  19018. wine_fn_config_makefile dlls/msvcr90/tests enable_tests
  19019. wine_fn_config_makefile dlls/msvcrt enable_msvcrt
  19020. wine_fn_config_makefile dlls/msvcrt/tests enable_tests
  19021. wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
  19022. wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
  19023. wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
  19024. wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
  19025. wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
  19026. wine_fn_config_makefile dlls/msvfw32/tests enable_tests
  19027. wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
  19028. wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
  19029. wine_fn_config_makefile dlls/mswsock enable_mswsock
  19030. wine_fn_config_makefile dlls/msxml enable_msxml
  19031. wine_fn_config_makefile dlls/msxml2 enable_msxml2
  19032. wine_fn_config_makefile dlls/msxml3 enable_msxml3
  19033. wine_fn_config_makefile dlls/msxml3/tests enable_tests
  19034. wine_fn_config_makefile dlls/msxml4 enable_msxml4
  19035. wine_fn_config_makefile dlls/msxml6 enable_msxml6
  19036. wine_fn_config_makefile dlls/mtxdm enable_mtxdm
  19037. wine_fn_config_makefile dlls/ncrypt enable_ncrypt
  19038. wine_fn_config_makefile dlls/nddeapi enable_nddeapi
  19039. wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
  19040. wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
  19041. wine_fn_config_makefile dlls/netapi32 enable_netapi32
  19042. wine_fn_config_makefile dlls/netapi32/tests enable_tests
  19043. wine_fn_config_makefile dlls/netcfgx enable_netcfgx
  19044. wine_fn_config_makefile dlls/netcfgx/tests enable_tests
  19045. wine_fn_config_makefile dlls/netio.sys enable_netio_sys
  19046. wine_fn_config_makefile dlls/netprofm enable_netprofm
  19047. wine_fn_config_makefile dlls/netprofm/tests enable_tests
  19048. wine_fn_config_makefile dlls/netutils enable_netutils
  19049. wine_fn_config_makefile dlls/newdev enable_newdev
  19050. wine_fn_config_makefile dlls/ninput enable_ninput
  19051. wine_fn_config_makefile dlls/ninput/tests enable_tests
  19052. wine_fn_config_makefile dlls/normaliz enable_normaliz
  19053. wine_fn_config_makefile dlls/npmshtml enable_npmshtml
  19054. wine_fn_config_makefile dlls/npptools enable_npptools
  19055. wine_fn_config_makefile dlls/ntdll enable_ntdll
  19056. wine_fn_config_makefile dlls/ntdll/tests enable_tests
  19057. wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
  19058. wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
  19059. wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
  19060. wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
  19061. wine_fn_config_makefile dlls/ntprint enable_ntprint
  19062. wine_fn_config_makefile dlls/ntprint/tests enable_tests
  19063. wine_fn_config_makefile dlls/objsel enable_objsel
  19064. wine_fn_config_makefile dlls/odbc32 enable_odbc32
  19065. wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
  19066. wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
  19067. wine_fn_config_makefile dlls/odbccp32/tests enable_tests
  19068. wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
  19069. wine_fn_config_makefile dlls/ole2.dll16 enable_win16
  19070. wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
  19071. wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
  19072. wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
  19073. wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
  19074. wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
  19075. wine_fn_config_makefile dlls/ole32 enable_ole32
  19076. wine_fn_config_makefile dlls/ole32/tests enable_tests
  19077. wine_fn_config_makefile dlls/oleacc enable_oleacc
  19078. wine_fn_config_makefile dlls/oleacc/tests enable_tests
  19079. wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
  19080. wine_fn_config_makefile dlls/oleaut32/tests enable_tests
  19081. wine_fn_config_makefile dlls/olecli.dll16 enable_win16
  19082. wine_fn_config_makefile dlls/olecli32 enable_olecli32
  19083. wine_fn_config_makefile dlls/oledb32 enable_oledb32
  19084. wine_fn_config_makefile dlls/oledb32/tests enable_tests
  19085. wine_fn_config_makefile dlls/oledlg enable_oledlg
  19086. wine_fn_config_makefile dlls/oledlg/tests enable_tests
  19087. wine_fn_config_makefile dlls/olepro32 enable_olepro32
  19088. wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
  19089. wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
  19090. wine_fn_config_makefile dlls/olethk32 enable_olethk32
  19091. wine_fn_config_makefile dlls/opcservices enable_opcservices
  19092. wine_fn_config_makefile dlls/opcservices/tests enable_tests
  19093. wine_fn_config_makefile dlls/openal32 enable_openal32
  19094. wine_fn_config_makefile dlls/opencl enable_opencl
  19095. wine_fn_config_makefile dlls/opengl32 enable_opengl32
  19096. wine_fn_config_makefile dlls/opengl32/tests enable_tests
  19097. wine_fn_config_makefile dlls/packager enable_packager
  19098. wine_fn_config_makefile dlls/packager/tests enable_tests
  19099. wine_fn_config_makefile dlls/pdh enable_pdh
  19100. wine_fn_config_makefile dlls/pdh/tests enable_tests
  19101. wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
  19102. wine_fn_config_makefile dlls/pidgen enable_pidgen
  19103. wine_fn_config_makefile dlls/powrprof enable_powrprof
  19104. wine_fn_config_makefile dlls/printui enable_printui
  19105. wine_fn_config_makefile dlls/prntvpt enable_prntvpt
  19106. wine_fn_config_makefile dlls/prntvpt/tests enable_tests
  19107. wine_fn_config_makefile dlls/propsys enable_propsys
  19108. wine_fn_config_makefile dlls/propsys/tests enable_tests
  19109. wine_fn_config_makefile dlls/psapi enable_psapi
  19110. wine_fn_config_makefile dlls/psapi/tests enable_tests
  19111. wine_fn_config_makefile dlls/pstorec enable_pstorec
  19112. wine_fn_config_makefile dlls/pstorec/tests enable_tests
  19113. wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
  19114. wine_fn_config_makefile dlls/qasf enable_qasf
  19115. wine_fn_config_makefile dlls/qasf/tests enable_tests
  19116. wine_fn_config_makefile dlls/qcap enable_qcap
  19117. wine_fn_config_makefile dlls/qcap/tests enable_tests
  19118. wine_fn_config_makefile dlls/qdvd enable_qdvd
  19119. wine_fn_config_makefile dlls/qdvd/tests enable_tests
  19120. wine_fn_config_makefile dlls/qedit enable_qedit
  19121. wine_fn_config_makefile dlls/qedit/tests enable_tests
  19122. wine_fn_config_makefile dlls/qmgr enable_qmgr
  19123. wine_fn_config_makefile dlls/qmgr/tests enable_tests
  19124. wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
  19125. wine_fn_config_makefile dlls/quartz enable_quartz
  19126. wine_fn_config_makefile dlls/quartz/tests enable_tests
  19127. wine_fn_config_makefile dlls/query enable_query
  19128. wine_fn_config_makefile dlls/qwave enable_qwave
  19129. wine_fn_config_makefile dlls/qwave/tests enable_tests
  19130. wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
  19131. wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
  19132. wine_fn_config_makefile dlls/rasapi32/tests enable_tests
  19133. wine_fn_config_makefile dlls/rasdlg enable_rasdlg
  19134. wine_fn_config_makefile dlls/regapi enable_regapi
  19135. wine_fn_config_makefile dlls/resutils enable_resutils
  19136. wine_fn_config_makefile dlls/riched20 enable_riched20
  19137. wine_fn_config_makefile dlls/riched20/tests enable_tests
  19138. wine_fn_config_makefile dlls/riched32 enable_riched32
  19139. wine_fn_config_makefile dlls/riched32/tests enable_tests
  19140. wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
  19141. wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
  19142. wine_fn_config_makefile dlls/rsabase enable_rsabase
  19143. wine_fn_config_makefile dlls/rsaenh enable_rsaenh
  19144. wine_fn_config_makefile dlls/rsaenh/tests enable_tests
  19145. wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
  19146. wine_fn_config_makefile dlls/rtutils enable_rtutils
  19147. wine_fn_config_makefile dlls/rtworkq enable_rtworkq
  19148. wine_fn_config_makefile dlls/rtworkq/tests enable_tests
  19149. wine_fn_config_makefile dlls/samlib enable_samlib
  19150. wine_fn_config_makefile dlls/sane.ds enable_sane_ds
  19151. wine_fn_config_makefile dlls/sapi enable_sapi
  19152. wine_fn_config_makefile dlls/sapi/tests enable_tests
  19153. wine_fn_config_makefile dlls/sas enable_sas
  19154. wine_fn_config_makefile dlls/scarddlg enable_scarddlg
  19155. wine_fn_config_makefile dlls/sccbase enable_sccbase
  19156. wine_fn_config_makefile dlls/schannel enable_schannel
  19157. wine_fn_config_makefile dlls/schannel/tests enable_tests
  19158. wine_fn_config_makefile dlls/schedsvc enable_schedsvc
  19159. wine_fn_config_makefile dlls/schedsvc/tests enable_tests
  19160. wine_fn_config_makefile dlls/scrobj enable_scrobj
  19161. wine_fn_config_makefile dlls/scrobj/tests enable_tests
  19162. wine_fn_config_makefile dlls/scrrun enable_scrrun
  19163. wine_fn_config_makefile dlls/scrrun/tests enable_tests
  19164. wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
  19165. wine_fn_config_makefile dlls/sechost enable_sechost
  19166. wine_fn_config_makefile dlls/secur32 enable_secur32
  19167. wine_fn_config_makefile dlls/secur32/tests enable_tests
  19168. wine_fn_config_makefile dlls/security enable_security
  19169. wine_fn_config_makefile dlls/sensapi enable_sensapi
  19170. wine_fn_config_makefile dlls/serialui enable_serialui
  19171. wine_fn_config_makefile dlls/serialui/tests enable_tests
  19172. wine_fn_config_makefile dlls/setupapi enable_setupapi
  19173. wine_fn_config_makefile dlls/setupapi/tests enable_tests
  19174. wine_fn_config_makefile dlls/setupx.dll16 enable_win16
  19175. wine_fn_config_makefile dlls/sfc enable_sfc
  19176. wine_fn_config_makefile dlls/sfc_os enable_sfc_os
  19177. wine_fn_config_makefile dlls/shcore enable_shcore
  19178. wine_fn_config_makefile dlls/shcore/tests enable_tests
  19179. wine_fn_config_makefile dlls/shdoclc enable_shdoclc
  19180. wine_fn_config_makefile dlls/shdocvw enable_shdocvw
  19181. wine_fn_config_makefile dlls/shdocvw/tests enable_tests
  19182. wine_fn_config_makefile dlls/shell.dll16 enable_win16
  19183. wine_fn_config_makefile dlls/shell32 enable_shell32
  19184. wine_fn_config_makefile dlls/shell32/tests enable_tests
  19185. wine_fn_config_makefile dlls/shfolder enable_shfolder
  19186. wine_fn_config_makefile dlls/shlwapi enable_shlwapi
  19187. wine_fn_config_makefile dlls/shlwapi/tests enable_tests
  19188. wine_fn_config_makefile dlls/slbcsp enable_slbcsp
  19189. wine_fn_config_makefile dlls/slc enable_slc
  19190. wine_fn_config_makefile dlls/slc/tests enable_tests
  19191. wine_fn_config_makefile dlls/snmpapi enable_snmpapi
  19192. wine_fn_config_makefile dlls/snmpapi/tests enable_tests
  19193. wine_fn_config_makefile dlls/softpub enable_softpub
  19194. wine_fn_config_makefile dlls/sound.drv16 enable_win16
  19195. wine_fn_config_makefile dlls/spoolss enable_spoolss
  19196. wine_fn_config_makefile dlls/spoolss/tests enable_tests
  19197. wine_fn_config_makefile dlls/srclient enable_srclient
  19198. wine_fn_config_makefile dlls/srvcli enable_srvcli
  19199. wine_fn_config_makefile dlls/sspicli enable_sspicli
  19200. wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
  19201. wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
  19202. wine_fn_config_makefile dlls/sti enable_sti
  19203. wine_fn_config_makefile dlls/sti/tests enable_tests
  19204. wine_fn_config_makefile dlls/storage.dll16 enable_win16
  19205. wine_fn_config_makefile dlls/stress.dll16 enable_win16
  19206. wine_fn_config_makefile dlls/strmbase enable_strmbase
  19207. wine_fn_config_makefile dlls/strmdll enable_strmdll
  19208. wine_fn_config_makefile dlls/strmiids enable_strmiids
  19209. wine_fn_config_makefile dlls/svrapi enable_svrapi
  19210. wine_fn_config_makefile dlls/sxs enable_sxs
  19211. wine_fn_config_makefile dlls/sxs/tests enable_tests
  19212. wine_fn_config_makefile dlls/system.drv16 enable_win16
  19213. wine_fn_config_makefile dlls/t2embed enable_t2embed
  19214. wine_fn_config_makefile dlls/t2embed/tests enable_tests
  19215. wine_fn_config_makefile dlls/tapi32 enable_tapi32
  19216. wine_fn_config_makefile dlls/tapi32/tests enable_tests
  19217. wine_fn_config_makefile dlls/taskschd enable_taskschd
  19218. wine_fn_config_makefile dlls/taskschd/tests enable_tests
  19219. wine_fn_config_makefile dlls/tdh enable_tdh
  19220. wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
  19221. wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
  19222. wine_fn_config_makefile dlls/traffic enable_traffic
  19223. wine_fn_config_makefile dlls/twain.dll16 enable_win16
  19224. wine_fn_config_makefile dlls/twain_32 enable_twain_32
  19225. wine_fn_config_makefile dlls/twain_32/tests enable_tests
  19226. wine_fn_config_makefile dlls/typelib.dll16 enable_win16
  19227. wine_fn_config_makefile dlls/tzres enable_tzres
  19228. wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
  19229. wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
  19230. wine_fn_config_makefile dlls/uianimation enable_uianimation
  19231. wine_fn_config_makefile dlls/uianimation/tests enable_tests
  19232. wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
  19233. wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
  19234. wine_fn_config_makefile dlls/uiribbon enable_uiribbon
  19235. wine_fn_config_makefile dlls/unicows enable_unicows
  19236. wine_fn_config_makefile dlls/updspapi enable_updspapi
  19237. wine_fn_config_makefile dlls/url enable_url
  19238. wine_fn_config_makefile dlls/urlmon enable_urlmon
  19239. wine_fn_config_makefile dlls/urlmon/tests enable_tests
  19240. wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
  19241. wine_fn_config_makefile dlls/user.exe16 enable_win16
  19242. wine_fn_config_makefile dlls/user32 enable_user32
  19243. wine_fn_config_makefile dlls/user32/tests enable_tests
  19244. wine_fn_config_makefile dlls/userenv enable_userenv
  19245. wine_fn_config_makefile dlls/userenv/tests enable_tests
  19246. wine_fn_config_makefile dlls/usp10 enable_usp10
  19247. wine_fn_config_makefile dlls/usp10/tests enable_tests
  19248. wine_fn_config_makefile dlls/utildll enable_utildll
  19249. wine_fn_config_makefile dlls/uuid enable_uuid
  19250. wine_fn_config_makefile dlls/uxtheme enable_uxtheme
  19251. wine_fn_config_makefile dlls/uxtheme/tests enable_tests
  19252. wine_fn_config_makefile dlls/vbscript enable_vbscript
  19253. wine_fn_config_makefile dlls/vbscript/tests enable_tests
  19254. wine_fn_config_makefile dlls/vcomp enable_vcomp
  19255. wine_fn_config_makefile dlls/vcomp/tests enable_tests
  19256. wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
  19257. wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
  19258. wine_fn_config_makefile dlls/vcomp110/tests enable_tests
  19259. wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
  19260. wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
  19261. wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
  19262. wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
  19263. wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
  19264. wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
  19265. wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
  19266. wine_fn_config_makefile dlls/ver.dll16 enable_win16
  19267. wine_fn_config_makefile dlls/version enable_version
  19268. wine_fn_config_makefile dlls/version/tests enable_tests
  19269. wine_fn_config_makefile dlls/vga enable_vga
  19270. wine_fn_config_makefile dlls/virtdisk enable_virtdisk
  19271. wine_fn_config_makefile dlls/virtdisk/tests enable_tests
  19272. wine_fn_config_makefile dlls/vmm.vxd enable_win16
  19273. wine_fn_config_makefile dlls/vnbt.vxd enable_win16
  19274. wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
  19275. wine_fn_config_makefile dlls/vssapi enable_vssapi
  19276. wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
  19277. wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
  19278. wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
  19279. wine_fn_config_makefile dlls/vwin32.vxd enable_win16
  19280. wine_fn_config_makefile dlls/w32skrnl enable_win16
  19281. wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
  19282. wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
  19283. wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
  19284. wine_fn_config_makefile dlls/wbemprox enable_wbemprox
  19285. wine_fn_config_makefile dlls/wbemprox/tests enable_tests
  19286. wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
  19287. wine_fn_config_makefile dlls/wdscore enable_wdscore
  19288. wine_fn_config_makefile dlls/webservices enable_webservices
  19289. wine_fn_config_makefile dlls/webservices/tests enable_tests
  19290. wine_fn_config_makefile dlls/websocket enable_websocket
  19291. wine_fn_config_makefile dlls/wer enable_wer
  19292. wine_fn_config_makefile dlls/wer/tests enable_tests
  19293. wine_fn_config_makefile dlls/wevtapi enable_wevtapi
  19294. wine_fn_config_makefile dlls/wevtapi/tests enable_tests
  19295. wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
  19296. wine_fn_config_makefile dlls/wiaservc enable_wiaservc
  19297. wine_fn_config_makefile dlls/wiaservc/tests enable_tests
  19298. wine_fn_config_makefile dlls/wimgapi enable_wimgapi
  19299. wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
  19300. wine_fn_config_makefile dlls/win87em.dll16 enable_win16
  19301. wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
  19302. wine_fn_config_makefile dlls/windebug.dll16 enable_win16
  19303. wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
  19304. wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
  19305. wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
  19306. wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
  19307. wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
  19308. wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
  19309. wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
  19310. wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
  19311. wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
  19312. wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
  19313. wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
  19314. wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
  19315. wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
  19316. wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
  19317. wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
  19318. wine_fn_config_makefile dlls/wined3d enable_wined3d
  19319. wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
  19320. wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
  19321. wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
  19322. wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
  19323. wine_fn_config_makefile dlls/winemapi enable_winemapi
  19324. wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
  19325. wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
  19326. wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
  19327. wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
  19328. wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
  19329. wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
  19330. wine_fn_config_makefile dlls/winevulkan enable_winevulkan
  19331. wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
  19332. wine_fn_config_makefile dlls/wing.dll16 enable_win16
  19333. wine_fn_config_makefile dlls/wing32 enable_wing32
  19334. wine_fn_config_makefile dlls/winhttp enable_winhttp
  19335. wine_fn_config_makefile dlls/winhttp/tests enable_tests
  19336. wine_fn_config_makefile dlls/wininet enable_wininet
  19337. wine_fn_config_makefile dlls/wininet/tests enable_tests
  19338. wine_fn_config_makefile dlls/winmm enable_winmm
  19339. wine_fn_config_makefile dlls/winmm/tests enable_tests
  19340. wine_fn_config_makefile dlls/winnls.dll16 enable_win16
  19341. wine_fn_config_makefile dlls/winnls32 enable_winnls32
  19342. wine_fn_config_makefile dlls/winscard enable_winscard
  19343. wine_fn_config_makefile dlls/winsock.dll16 enable_win16
  19344. wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
  19345. wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
  19346. wine_fn_config_makefile dlls/winsta enable_winsta
  19347. wine_fn_config_makefile dlls/wintab.dll16 enable_win16
  19348. wine_fn_config_makefile dlls/wintab32 enable_wintab32
  19349. wine_fn_config_makefile dlls/wintab32/tests enable_tests
  19350. wine_fn_config_makefile dlls/wintrust enable_wintrust
  19351. wine_fn_config_makefile dlls/wintrust/tests enable_tests
  19352. wine_fn_config_makefile dlls/winusb enable_winusb
  19353. wine_fn_config_makefile dlls/wlanapi enable_wlanapi
  19354. wine_fn_config_makefile dlls/wlanapi/tests enable_tests
  19355. wine_fn_config_makefile dlls/wlanui enable_wlanui
  19356. wine_fn_config_makefile dlls/wldap32 enable_wldap32
  19357. wine_fn_config_makefile dlls/wldap32/tests enable_tests
  19358. wine_fn_config_makefile dlls/wmasf enable_wmasf
  19359. wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
  19360. wine_fn_config_makefile dlls/wmi enable_wmi
  19361. wine_fn_config_makefile dlls/wmiutils enable_wmiutils
  19362. wine_fn_config_makefile dlls/wmiutils/tests enable_tests
  19363. wine_fn_config_makefile dlls/wmp enable_wmp
  19364. wine_fn_config_makefile dlls/wmp/tests enable_tests
  19365. wine_fn_config_makefile dlls/wmphoto enable_wmphoto
  19366. wine_fn_config_makefile dlls/wmvcore enable_wmvcore
  19367. wine_fn_config_makefile dlls/wmvcore/tests enable_tests
  19368. wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
  19369. wine_fn_config_makefile dlls/wow32 enable_win16
  19370. wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
  19371. wine_fn_config_makefile dlls/wpc enable_wpc
  19372. wine_fn_config_makefile dlls/wpc/tests enable_tests
  19373. wine_fn_config_makefile dlls/wpcap enable_wpcap
  19374. wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
  19375. wine_fn_config_makefile dlls/ws2_32/tests enable_tests
  19376. wine_fn_config_makefile dlls/wsdapi enable_wsdapi
  19377. wine_fn_config_makefile dlls/wsdapi/tests enable_tests
  19378. wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
  19379. wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
  19380. wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
  19381. wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
  19382. wine_fn_config_makefile dlls/wsock32 enable_wsock32
  19383. wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
  19384. wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
  19385. wine_fn_config_makefile dlls/wuapi enable_wuapi
  19386. wine_fn_config_makefile dlls/wuaueng enable_wuaueng
  19387. wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
  19388. wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
  19389. wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
  19390. wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
  19391. wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
  19392. wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
  19393. wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
  19394. wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
  19395. wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
  19396. wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
  19397. wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
  19398. wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
  19399. wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
  19400. wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
  19401. wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
  19402. wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
  19403. wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
  19404. wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
  19405. wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
  19406. wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
  19407. wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
  19408. wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
  19409. wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
  19410. wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
  19411. wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
  19412. wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
  19413. wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
  19414. wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
  19415. wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
  19416. wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
  19417. wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
  19418. wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
  19419. wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
  19420. wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
  19421. wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
  19422. wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
  19423. wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
  19424. wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
  19425. wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
  19426. wine_fn_config_makefile dlls/xmllite enable_xmllite
  19427. wine_fn_config_makefile dlls/xmllite/tests enable_tests
  19428. wine_fn_config_makefile dlls/xolehlp enable_xolehlp
  19429. wine_fn_config_makefile dlls/xpsprint enable_xpsprint
  19430. wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
  19431. wine_fn_config_makefile fonts enable_fonts
  19432. wine_fn_config_makefile include enable_include
  19433. wine_fn_config_makefile libs/port enable_port
  19434. wine_fn_config_makefile libs/wine enable_wine
  19435. wine_fn_config_makefile libs/wpp enable_wpp
  19436. wine_fn_config_makefile loader enable_loader
  19437. wine_fn_config_makefile nls enable_nls
  19438. wine_fn_config_makefile po enable_po
  19439. wine_fn_config_makefile programs/arp enable_arp
  19440. wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
  19441. wine_fn_config_makefile programs/attrib enable_attrib
  19442. wine_fn_config_makefile programs/cabarc enable_cabarc
  19443. wine_fn_config_makefile programs/cacls enable_cacls
  19444. wine_fn_config_makefile programs/chcp.com enable_chcp_com
  19445. wine_fn_config_makefile programs/clock enable_clock
  19446. wine_fn_config_makefile programs/cmd enable_cmd
  19447. wine_fn_config_makefile programs/cmd/tests enable_tests
  19448. wine_fn_config_makefile programs/conhost enable_conhost
  19449. wine_fn_config_makefile programs/conhost/tests enable_tests
  19450. wine_fn_config_makefile programs/control enable_control
  19451. wine_fn_config_makefile programs/cscript enable_cscript
  19452. wine_fn_config_makefile programs/dism enable_dism
  19453. wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
  19454. wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
  19455. wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
  19456. wine_fn_config_makefile programs/dxdiag enable_dxdiag
  19457. wine_fn_config_makefile programs/eject enable_eject
  19458. wine_fn_config_makefile programs/expand enable_expand
  19459. wine_fn_config_makefile programs/explorer enable_explorer
  19460. wine_fn_config_makefile programs/extrac32 enable_extrac32
  19461. wine_fn_config_makefile programs/fc enable_fc
  19462. wine_fn_config_makefile programs/find enable_find
  19463. wine_fn_config_makefile programs/find/tests enable_tests
  19464. wine_fn_config_makefile programs/findstr enable_findstr
  19465. wine_fn_config_makefile programs/fsutil enable_fsutil
  19466. wine_fn_config_makefile programs/fsutil/tests enable_tests
  19467. wine_fn_config_makefile programs/hh enable_hh
  19468. wine_fn_config_makefile programs/hostname enable_hostname
  19469. wine_fn_config_makefile programs/icacls enable_icacls
  19470. wine_fn_config_makefile programs/icinfo enable_icinfo
  19471. wine_fn_config_makefile programs/iexplore enable_iexplore
  19472. wine_fn_config_makefile programs/ipconfig enable_ipconfig
  19473. wine_fn_config_makefile programs/lodctr enable_lodctr
  19474. wine_fn_config_makefile programs/mofcomp enable_mofcomp
  19475. wine_fn_config_makefile programs/mshta enable_mshta
  19476. wine_fn_config_makefile programs/msidb enable_msidb
  19477. wine_fn_config_makefile programs/msiexec enable_msiexec
  19478. wine_fn_config_makefile programs/msinfo32 enable_msinfo32
  19479. wine_fn_config_makefile programs/net enable_net
  19480. wine_fn_config_makefile programs/netsh enable_netsh
  19481. wine_fn_config_makefile programs/netstat enable_netstat
  19482. wine_fn_config_makefile programs/ngen enable_ngen
  19483. wine_fn_config_makefile programs/notepad enable_notepad
  19484. wine_fn_config_makefile programs/oleview enable_oleview
  19485. wine_fn_config_makefile programs/ping enable_ping
  19486. wine_fn_config_makefile programs/plugplay enable_plugplay
  19487. wine_fn_config_makefile programs/powershell enable_powershell
  19488. wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
  19489. wine_fn_config_makefile programs/progman enable_progman
  19490. wine_fn_config_makefile programs/reg enable_reg
  19491. wine_fn_config_makefile programs/reg/tests enable_tests
  19492. wine_fn_config_makefile programs/regasm enable_regasm
  19493. wine_fn_config_makefile programs/regedit enable_regedit
  19494. wine_fn_config_makefile programs/regedit/tests enable_tests
  19495. wine_fn_config_makefile programs/regini enable_regini
  19496. wine_fn_config_makefile programs/regsvcs enable_regsvcs
  19497. wine_fn_config_makefile programs/regsvr32 enable_regsvr32
  19498. wine_fn_config_makefile programs/rpcss enable_rpcss
  19499. wine_fn_config_makefile programs/rundll.exe16 enable_win16
  19500. wine_fn_config_makefile programs/rundll32 enable_rundll32
  19501. wine_fn_config_makefile programs/sc enable_sc
  19502. wine_fn_config_makefile programs/schtasks enable_schtasks
  19503. wine_fn_config_makefile programs/schtasks/tests enable_tests
  19504. wine_fn_config_makefile programs/sdbinst enable_sdbinst
  19505. wine_fn_config_makefile programs/secedit enable_secedit
  19506. wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
  19507. wine_fn_config_makefile programs/services enable_services
  19508. wine_fn_config_makefile programs/services/tests enable_tests
  19509. wine_fn_config_makefile programs/shutdown enable_shutdown
  19510. wine_fn_config_makefile programs/spoolsv enable_spoolsv
  19511. wine_fn_config_makefile programs/start enable_start
  19512. wine_fn_config_makefile programs/subst enable_subst
  19513. wine_fn_config_makefile programs/svchost enable_svchost
  19514. wine_fn_config_makefile programs/systeminfo enable_systeminfo
  19515. wine_fn_config_makefile programs/taskkill enable_taskkill
  19516. wine_fn_config_makefile programs/tasklist enable_tasklist
  19517. wine_fn_config_makefile programs/taskmgr enable_taskmgr
  19518. wine_fn_config_makefile programs/termsv enable_termsv
  19519. wine_fn_config_makefile programs/uninstaller enable_uninstaller
  19520. wine_fn_config_makefile programs/unlodctr enable_unlodctr
  19521. wine_fn_config_makefile programs/view enable_view
  19522. wine_fn_config_makefile programs/wevtutil enable_wevtutil
  19523. wine_fn_config_makefile programs/where enable_where
  19524. wine_fn_config_makefile programs/whoami enable_whoami
  19525. wine_fn_config_makefile programs/wineboot enable_wineboot
  19526. wine_fn_config_makefile programs/winebrowser enable_winebrowser
  19527. wine_fn_config_makefile programs/winecfg enable_winecfg
  19528. wine_fn_config_makefile programs/wineconsole enable_wineconsole
  19529. wine_fn_config_makefile programs/winedbg enable_winedbg
  19530. wine_fn_config_makefile programs/winedevice enable_winedevice
  19531. wine_fn_config_makefile programs/winefile enable_winefile
  19532. wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
  19533. wine_fn_config_makefile programs/winemine enable_winemine
  19534. wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
  19535. wine_fn_config_makefile programs/winepath enable_winepath
  19536. wine_fn_config_makefile programs/winetest enable_winetest
  19537. wine_fn_config_makefile programs/winevdm enable_win16
  19538. wine_fn_config_makefile programs/winhelp.exe16 enable_win16
  19539. wine_fn_config_makefile programs/winhlp32 enable_winhlp32
  19540. wine_fn_config_makefile programs/winmgmt enable_winmgmt
  19541. wine_fn_config_makefile programs/winoldap.mod16 enable_win16
  19542. wine_fn_config_makefile programs/winver enable_winver
  19543. wine_fn_config_makefile programs/wmic enable_wmic
  19544. wine_fn_config_makefile programs/wmplayer enable_wmplayer
  19545. wine_fn_config_makefile programs/wordpad enable_wordpad
  19546. wine_fn_config_makefile programs/write enable_write
  19547. wine_fn_config_makefile programs/wscript enable_wscript
  19548. wine_fn_config_makefile programs/wscript/tests enable_tests
  19549. wine_fn_config_makefile programs/wuauserv enable_wuauserv
  19550. wine_fn_config_makefile programs/wusa enable_wusa
  19551. wine_fn_config_makefile programs/xcopy enable_xcopy
  19552. wine_fn_config_makefile programs/xcopy/tests enable_tests
  19553. wine_fn_config_makefile server enable_server
  19554. test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
  19555. test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
  19556. test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
  19557. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
  19558. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
  19559. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
  19560. test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
  19561. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
  19562. test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
  19563. wine_fn_append_file CONFIGURE_TARGETS "TAGS"
  19564. wine_fn_append_file CONFIGURE_TARGETS "tags"
  19565. wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
  19566. wine_fn_append_file CONFIGURE_TARGETS "config.log"
  19567. wine_fn_append_file CONFIGURE_TARGETS "config.status"
  19568. wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
  19569. wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
  19570. test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
  19571. if test "x$enable_tools" != xno
  19572. then
  19573. wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
  19574. ac_config_commands="$ac_config_commands tools/makedep"
  19575. fi
  19576. ac_config_commands="$ac_config_commands Makefile"
  19577. ac_config_files="$ac_config_files Make.tmp:Makefile.in"
  19578. if test "x$enable_maintainer_mode" = xyes
  19579. then
  19580. wine_fn_append_rule "configure: configure.ac aclocal.m4
  19581. autoconf --warnings=all
  19582. include/config.h.in: include/stamp-h.in
  19583. include/stamp-h.in: configure.ac aclocal.m4
  19584. autoheader --warnings=all
  19585. @echo timestamp > \$@"
  19586. fi
  19587. if test "x$enable_tools" != xno
  19588. then
  19589. wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
  19590. @./config.status tools/makedep
  19591. Makefile: tools/makedep$ac_exeext"
  19592. else
  19593. wine_fn_append_rule "\$(MAKEDEP):
  19594. @echo \"You need to run make in $TOOLSDIR first\" && false"
  19595. fi
  19596. if test -n "$with_wine64"
  19597. then
  19598. case "$with_wine64" in
  19599. /*) reldir="" ;;
  19600. *) reldir="../" ;;
  19601. esac
  19602. rm -f fonts server 2>/dev/null
  19603. wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
  19604. loader/wine64 loader/wine64-preloader:
  19605. rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
  19606. $with_wine64/loader/wine:
  19607. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
  19608. $with_wine64/loader/wine-preloader:
  19609. rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
  19610. clean::
  19611. rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
  19612. else
  19613. TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
  19614. TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
  19615. fonts \
  19616. loader/wine.inf \
  19617. nls \
  19618. programs/msidb/msidb \
  19619. programs/msiexec/msiexec \
  19620. programs/notepad/notepad \
  19621. programs/regedit/regedit \
  19622. programs/regsvr32/regsvr32 \
  19623. programs/wineboot/wineboot \
  19624. programs/winecfg/winecfg \
  19625. programs/wineconsole/wineconsole \
  19626. programs/winedbg/winedbg \
  19627. programs/winefile/winefile \
  19628. programs/winemine/winemine \
  19629. programs/winepath/winepath \
  19630. server/wineserver"
  19631. case $host_os in
  19632. cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
  19633. *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
  19634. esac
  19635. fi
  19636. $as_echo " done" >&6
  19637. cat >confcache <<\_ACEOF
  19638. # This file is a shell script that caches the results of configure
  19639. # tests run on this system so they can be shared between configure
  19640. # scripts and configure runs, see configure's option --config-cache.
  19641. # It is not useful on other systems. If it contains results you don't
  19642. # want to keep, you may remove or edit it.
  19643. #
  19644. # config.status only pays attention to the cache file if you give it
  19645. # the --recheck option to rerun configure.
  19646. #
  19647. # `ac_cv_env_foo' variables (set or unset) will be overridden when
  19648. # loading this file, other *unset* `ac_cv_foo' will be assigned the
  19649. # following values.
  19650. _ACEOF
  19651. # The following way of writing the cache mishandles newlines in values,
  19652. # but we know of no workaround that is simple, portable, and efficient.
  19653. # So, we kill variables containing newlines.
  19654. # Ultrix sh set writes to stderr and can't be redirected directly,
  19655. # and sets the high bit in the cache file unless we assign to the vars.
  19656. (
  19657. for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
  19658. eval ac_val=\$$ac_var
  19659. case $ac_val in #(
  19660. *${as_nl}*)
  19661. case $ac_var in #(
  19662. *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
  19663. $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
  19664. esac
  19665. case $ac_var in #(
  19666. _ | IFS | as_nl) ;; #(
  19667. BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
  19668. *) { eval $ac_var=; unset $ac_var;} ;;
  19669. esac ;;
  19670. esac
  19671. done
  19672. (set) 2>&1 |
  19673. case $as_nl`(ac_space=' '; set) 2>&1` in #(
  19674. *${as_nl}ac_space=\ *)
  19675. # `set' does not quote correctly, so add quotes: double-quote
  19676. # substitution turns \\\\ into \\, and sed turns \\ into \.
  19677. sed -n \
  19678. "s/'/'\\\\''/g;
  19679. s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
  19680. ;; #(
  19681. *)
  19682. # `set' quotes correctly as required by POSIX, so do not add quotes.
  19683. sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
  19684. ;;
  19685. esac |
  19686. sort
  19687. ) |
  19688. sed '
  19689. /^ac_cv_env_/b end
  19690. t clear
  19691. :clear
  19692. s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
  19693. t end
  19694. s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
  19695. :end' >>confcache
  19696. if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
  19697. if test -w "$cache_file"; then
  19698. if test "x$cache_file" != "x/dev/null"; then
  19699. { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
  19700. $as_echo "$as_me: updating cache $cache_file" >&6;}
  19701. if test ! -f "$cache_file" || test -h "$cache_file"; then
  19702. cat confcache >"$cache_file"
  19703. else
  19704. case $cache_file in #(
  19705. */* | ?:*)
  19706. mv -f confcache "$cache_file"$$ &&
  19707. mv -f "$cache_file"$$ "$cache_file" ;; #(
  19708. *)
  19709. mv -f confcache "$cache_file" ;;
  19710. esac
  19711. fi
  19712. fi
  19713. else
  19714. { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
  19715. $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
  19716. fi
  19717. fi
  19718. rm -f confcache
  19719. test "x$prefix" = xNONE && prefix=$ac_default_prefix
  19720. # Let make expand exec_prefix.
  19721. test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
  19722. DEFS=-DHAVE_CONFIG_H
  19723. ac_libobjs=
  19724. ac_ltlibobjs=
  19725. U=
  19726. for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
  19727. # 1. Remove the extension, and $U if already installed.
  19728. ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
  19729. ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
  19730. # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
  19731. # will be set to the directory where LIBOBJS objects are built.
  19732. as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
  19733. as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
  19734. done
  19735. LIBOBJS=$ac_libobjs
  19736. LTLIBOBJS=$ac_ltlibobjs
  19737. : "${CONFIG_STATUS=./config.status}"
  19738. ac_write_fail=0
  19739. ac_clean_files_save=$ac_clean_files
  19740. ac_clean_files="$ac_clean_files $CONFIG_STATUS"
  19741. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
  19742. $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
  19743. as_write_fail=0
  19744. cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
  19745. #! $SHELL
  19746. # Generated by $as_me.
  19747. # Run this file to recreate the current configuration.
  19748. # Compiler output produced by configure, useful for debugging
  19749. # configure, is in config.log if it exists.
  19750. debug=false
  19751. ac_cs_recheck=false
  19752. ac_cs_silent=false
  19753. SHELL=\${CONFIG_SHELL-$SHELL}
  19754. export SHELL
  19755. _ASEOF
  19756. cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
  19757. ## -------------------- ##
  19758. ## M4sh Initialization. ##
  19759. ## -------------------- ##
  19760. # Be more Bourne compatible
  19761. DUALCASE=1; export DUALCASE # for MKS sh
  19762. if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
  19763. emulate sh
  19764. NULLCMD=:
  19765. # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
  19766. # is contrary to our usage. Disable this feature.
  19767. alias -g '${1+"$@"}'='"$@"'
  19768. setopt NO_GLOB_SUBST
  19769. else
  19770. case `(set -o) 2>/dev/null` in #(
  19771. *posix*) :
  19772. set -o posix ;; #(
  19773. *) :
  19774. ;;
  19775. esac
  19776. fi
  19777. as_nl='
  19778. '
  19779. export as_nl
  19780. # Printing a long string crashes Solaris 7 /usr/bin/printf.
  19781. as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
  19782. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
  19783. as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
  19784. # Prefer a ksh shell builtin over an external printf program on Solaris,
  19785. # but without wasting forks for bash or zsh.
  19786. if test -z "$BASH_VERSION$ZSH_VERSION" \
  19787. && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
  19788. as_echo='print -r --'
  19789. as_echo_n='print -rn --'
  19790. elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
  19791. as_echo='printf %s\n'
  19792. as_echo_n='printf %s'
  19793. else
  19794. if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
  19795. as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
  19796. as_echo_n='/usr/ucb/echo -n'
  19797. else
  19798. as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
  19799. as_echo_n_body='eval
  19800. arg=$1;
  19801. case $arg in #(
  19802. *"$as_nl"*)
  19803. expr "X$arg" : "X\\(.*\\)$as_nl";
  19804. arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
  19805. esac;
  19806. expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
  19807. '
  19808. export as_echo_n_body
  19809. as_echo_n='sh -c $as_echo_n_body as_echo'
  19810. fi
  19811. export as_echo_body
  19812. as_echo='sh -c $as_echo_body as_echo'
  19813. fi
  19814. # The user is always right.
  19815. if test "${PATH_SEPARATOR+set}" != set; then
  19816. PATH_SEPARATOR=:
  19817. (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
  19818. (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
  19819. PATH_SEPARATOR=';'
  19820. }
  19821. fi
  19822. # IFS
  19823. # We need space, tab and new line, in precisely that order. Quoting is
  19824. # there to prevent editors from complaining about space-tab.
  19825. # (If _AS_PATH_WALK were called with IFS unset, it would disable word
  19826. # splitting by setting IFS to empty value.)
  19827. IFS=" "" $as_nl"
  19828. # Find who we are. Look in the path if we contain no directory separator.
  19829. as_myself=
  19830. case $0 in #((
  19831. *[\\/]* ) as_myself=$0 ;;
  19832. *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
  19833. for as_dir in $PATH
  19834. do
  19835. IFS=$as_save_IFS
  19836. test -z "$as_dir" && as_dir=.
  19837. test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
  19838. done
  19839. IFS=$as_save_IFS
  19840. ;;
  19841. esac
  19842. # We did not find ourselves, most probably we were run as `sh COMMAND'
  19843. # in which case we are not to be found in the path.
  19844. if test "x$as_myself" = x; then
  19845. as_myself=$0
  19846. fi
  19847. if test ! -f "$as_myself"; then
  19848. $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
  19849. exit 1
  19850. fi
  19851. # Unset variables that we do not need and which cause bugs (e.g. in
  19852. # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
  19853. # suppresses any "Segmentation fault" message there. '((' could
  19854. # trigger a bug in pdksh 5.2.14.
  19855. for as_var in BASH_ENV ENV MAIL MAILPATH
  19856. do eval test x\${$as_var+set} = xset \
  19857. && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
  19858. done
  19859. PS1='$ '
  19860. PS2='> '
  19861. PS4='+ '
  19862. # NLS nuisances.
  19863. LC_ALL=C
  19864. export LC_ALL
  19865. LANGUAGE=C
  19866. export LANGUAGE
  19867. # CDPATH.
  19868. (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
  19869. # as_fn_error STATUS ERROR [LINENO LOG_FD]
  19870. # ----------------------------------------
  19871. # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
  19872. # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
  19873. # script with STATUS, using 1 if that was 0.
  19874. as_fn_error ()
  19875. {
  19876. as_status=$1; test $as_status -eq 0 && as_status=1
  19877. if test "$4"; then
  19878. as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
  19879. $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
  19880. fi
  19881. $as_echo "$as_me: error: $2" >&2
  19882. as_fn_exit $as_status
  19883. } # as_fn_error
  19884. # as_fn_set_status STATUS
  19885. # -----------------------
  19886. # Set $? to STATUS, without forking.
  19887. as_fn_set_status ()
  19888. {
  19889. return $1
  19890. } # as_fn_set_status
  19891. # as_fn_exit STATUS
  19892. # -----------------
  19893. # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
  19894. as_fn_exit ()
  19895. {
  19896. set +e
  19897. as_fn_set_status $1
  19898. exit $1
  19899. } # as_fn_exit
  19900. # as_fn_unset VAR
  19901. # ---------------
  19902. # Portably unset VAR.
  19903. as_fn_unset ()
  19904. {
  19905. { eval $1=; unset $1;}
  19906. }
  19907. as_unset=as_fn_unset
  19908. # as_fn_append VAR VALUE
  19909. # ----------------------
  19910. # Append the text in VALUE to the end of the definition contained in VAR. Take
  19911. # advantage of any shell optimizations that allow amortized linear growth over
  19912. # repeated appends, instead of the typical quadratic growth present in naive
  19913. # implementations.
  19914. if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
  19915. eval 'as_fn_append ()
  19916. {
  19917. eval $1+=\$2
  19918. }'
  19919. else
  19920. as_fn_append ()
  19921. {
  19922. eval $1=\$$1\$2
  19923. }
  19924. fi # as_fn_append
  19925. # as_fn_arith ARG...
  19926. # ------------------
  19927. # Perform arithmetic evaluation on the ARGs, and store the result in the
  19928. # global $as_val. Take advantage of shells that can avoid forks. The arguments
  19929. # must be portable across $(()) and expr.
  19930. if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
  19931. eval 'as_fn_arith ()
  19932. {
  19933. as_val=$(( $* ))
  19934. }'
  19935. else
  19936. as_fn_arith ()
  19937. {
  19938. as_val=`expr "$@" || test $? -eq 1`
  19939. }
  19940. fi # as_fn_arith
  19941. if expr a : '\(a\)' >/dev/null 2>&1 &&
  19942. test "X`expr 00001 : '.*\(...\)'`" = X001; then
  19943. as_expr=expr
  19944. else
  19945. as_expr=false
  19946. fi
  19947. if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
  19948. as_basename=basename
  19949. else
  19950. as_basename=false
  19951. fi
  19952. if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
  19953. as_dirname=dirname
  19954. else
  19955. as_dirname=false
  19956. fi
  19957. as_me=`$as_basename -- "$0" ||
  19958. $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
  19959. X"$0" : 'X\(//\)$' \| \
  19960. X"$0" : 'X\(/\)' \| . 2>/dev/null ||
  19961. $as_echo X/"$0" |
  19962. sed '/^.*\/\([^/][^/]*\)\/*$/{
  19963. s//\1/
  19964. q
  19965. }
  19966. /^X\/\(\/\/\)$/{
  19967. s//\1/
  19968. q
  19969. }
  19970. /^X\/\(\/\).*/{
  19971. s//\1/
  19972. q
  19973. }
  19974. s/.*/./; q'`
  19975. # Avoid depending upon Character Ranges.
  19976. as_cr_letters='abcdefghijklmnopqrstuvwxyz'
  19977. as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
  19978. as_cr_Letters=$as_cr_letters$as_cr_LETTERS
  19979. as_cr_digits='0123456789'
  19980. as_cr_alnum=$as_cr_Letters$as_cr_digits
  19981. ECHO_C= ECHO_N= ECHO_T=
  19982. case `echo -n x` in #(((((
  19983. -n*)
  19984. case `echo 'xy\c'` in
  19985. *c*) ECHO_T=' ';; # ECHO_T is single tab character.
  19986. xy) ECHO_C='\c';;
  19987. *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
  19988. ECHO_T=' ';;
  19989. esac;;
  19990. *)
  19991. ECHO_N='-n';;
  19992. esac
  19993. rm -f conf$$ conf$$.exe conf$$.file
  19994. if test -d conf$$.dir; then
  19995. rm -f conf$$.dir/conf$$.file
  19996. else
  19997. rm -f conf$$.dir
  19998. mkdir conf$$.dir 2>/dev/null
  19999. fi
  20000. if (echo >conf$$.file) 2>/dev/null; then
  20001. if ln -s conf$$.file conf$$ 2>/dev/null; then
  20002. as_ln_s='ln -s'
  20003. # ... but there are two gotchas:
  20004. # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
  20005. # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
  20006. # In both cases, we have to default to `cp -pR'.
  20007. ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
  20008. as_ln_s='cp -pR'
  20009. elif ln conf$$.file conf$$ 2>/dev/null; then
  20010. as_ln_s=ln
  20011. else
  20012. as_ln_s='cp -pR'
  20013. fi
  20014. else
  20015. as_ln_s='cp -pR'
  20016. fi
  20017. rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
  20018. rmdir conf$$.dir 2>/dev/null
  20019. # as_fn_mkdir_p
  20020. # -------------
  20021. # Create "$as_dir" as a directory, including parents if necessary.
  20022. as_fn_mkdir_p ()
  20023. {
  20024. case $as_dir in #(
  20025. -*) as_dir=./$as_dir;;
  20026. esac
  20027. test -d "$as_dir" || eval $as_mkdir_p || {
  20028. as_dirs=
  20029. while :; do
  20030. case $as_dir in #(
  20031. *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
  20032. *) as_qdir=$as_dir;;
  20033. esac
  20034. as_dirs="'$as_qdir' $as_dirs"
  20035. as_dir=`$as_dirname -- "$as_dir" ||
  20036. $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20037. X"$as_dir" : 'X\(//\)[^/]' \| \
  20038. X"$as_dir" : 'X\(//\)$' \| \
  20039. X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
  20040. $as_echo X"$as_dir" |
  20041. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20042. s//\1/
  20043. q
  20044. }
  20045. /^X\(\/\/\)[^/].*/{
  20046. s//\1/
  20047. q
  20048. }
  20049. /^X\(\/\/\)$/{
  20050. s//\1/
  20051. q
  20052. }
  20053. /^X\(\/\).*/{
  20054. s//\1/
  20055. q
  20056. }
  20057. s/.*/./; q'`
  20058. test -d "$as_dir" && break
  20059. done
  20060. test -z "$as_dirs" || eval "mkdir $as_dirs"
  20061. } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
  20062. } # as_fn_mkdir_p
  20063. if mkdir -p . 2>/dev/null; then
  20064. as_mkdir_p='mkdir -p "$as_dir"'
  20065. else
  20066. test -d ./-p && rmdir ./-p
  20067. as_mkdir_p=false
  20068. fi
  20069. # as_fn_executable_p FILE
  20070. # -----------------------
  20071. # Test if FILE is an executable regular file.
  20072. as_fn_executable_p ()
  20073. {
  20074. test -f "$1" && test -x "$1"
  20075. } # as_fn_executable_p
  20076. as_test_x='test -x'
  20077. as_executable_p=as_fn_executable_p
  20078. # Sed expression to map a string onto a valid CPP name.
  20079. as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
  20080. # Sed expression to map a string onto a valid variable name.
  20081. as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
  20082. exec 6>&1
  20083. ## ----------------------------------- ##
  20084. ## Main body of $CONFIG_STATUS script. ##
  20085. ## ----------------------------------- ##
  20086. _ASEOF
  20087. test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
  20088. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20089. # Save the log message, to keep $0 and so on meaningful, and to
  20090. # report actual input values of CONFIG_FILES etc. instead of their
  20091. # values after options handling.
  20092. ac_log="
  20093. This file was extended by Wine $as_me 6.6, which was
  20094. generated by GNU Autoconf 2.69. Invocation command line was
  20095. CONFIG_FILES = $CONFIG_FILES
  20096. CONFIG_HEADERS = $CONFIG_HEADERS
  20097. CONFIG_LINKS = $CONFIG_LINKS
  20098. CONFIG_COMMANDS = $CONFIG_COMMANDS
  20099. $ $0 $@
  20100. on `(hostname || uname -n) 2>/dev/null | sed 1q`
  20101. "
  20102. _ACEOF
  20103. case $ac_config_files in *"
  20104. "*) set x $ac_config_files; shift; ac_config_files=$*;;
  20105. esac
  20106. case $ac_config_headers in *"
  20107. "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
  20108. esac
  20109. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20110. # Files that config.status was made for.
  20111. config_files="$ac_config_files"
  20112. config_headers="$ac_config_headers"
  20113. config_links="$ac_config_links"
  20114. config_commands="$ac_config_commands"
  20115. _ACEOF
  20116. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20117. ac_cs_usage="\
  20118. \`$as_me' instantiates files and other configuration actions
  20119. from templates according to the current configuration. Unless the files
  20120. and actions are specified as TAGs, all are instantiated by default.
  20121. Usage: $0 [OPTION]... [TAG]...
  20122. -h, --help print this help, then exit
  20123. -V, --version print version number and configuration settings, then exit
  20124. --config print configuration, then exit
  20125. -q, --quiet, --silent
  20126. do not print progress messages
  20127. -d, --debug don't remove temporary files
  20128. --recheck update $as_me by reconfiguring in the same conditions
  20129. --file=FILE[:TEMPLATE]
  20130. instantiate the configuration file FILE
  20131. --header=FILE[:TEMPLATE]
  20132. instantiate the configuration header FILE
  20133. Configuration files:
  20134. $config_files
  20135. Configuration headers:
  20136. $config_headers
  20137. Configuration links:
  20138. $config_links
  20139. Configuration commands:
  20140. $config_commands
  20141. Report bugs to <wine-devel@winehq.org>.
  20142. Wine home page: <https://www.winehq.org>."
  20143. _ACEOF
  20144. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20145. ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
  20146. ac_cs_version="\\
  20147. Wine config.status 6.6
  20148. configured by $0, generated by GNU Autoconf 2.69,
  20149. with options \\"\$ac_cs_config\\"
  20150. Copyright (C) 2012 Free Software Foundation, Inc.
  20151. This config.status script is free software; the Free Software Foundation
  20152. gives unlimited permission to copy, distribute and modify it."
  20153. ac_pwd='$ac_pwd'
  20154. srcdir='$srcdir'
  20155. test -n "\$AWK" || AWK=awk
  20156. _ACEOF
  20157. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20158. # The default lists apply if the user does not specify any file.
  20159. ac_need_defaults=:
  20160. while test $# != 0
  20161. do
  20162. case $1 in
  20163. --*=?*)
  20164. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  20165. ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
  20166. ac_shift=:
  20167. ;;
  20168. --*=)
  20169. ac_option=`expr "X$1" : 'X\([^=]*\)='`
  20170. ac_optarg=
  20171. ac_shift=:
  20172. ;;
  20173. *)
  20174. ac_option=$1
  20175. ac_optarg=$2
  20176. ac_shift=shift
  20177. ;;
  20178. esac
  20179. case $ac_option in
  20180. # Handling of the options.
  20181. -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
  20182. ac_cs_recheck=: ;;
  20183. --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
  20184. $as_echo "$ac_cs_version"; exit ;;
  20185. --config | --confi | --conf | --con | --co | --c )
  20186. $as_echo "$ac_cs_config"; exit ;;
  20187. --debug | --debu | --deb | --de | --d | -d )
  20188. debug=: ;;
  20189. --file | --fil | --fi | --f )
  20190. $ac_shift
  20191. case $ac_optarg in
  20192. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  20193. '') as_fn_error $? "missing file argument" ;;
  20194. esac
  20195. as_fn_append CONFIG_FILES " '$ac_optarg'"
  20196. ac_need_defaults=false;;
  20197. --header | --heade | --head | --hea )
  20198. $ac_shift
  20199. case $ac_optarg in
  20200. *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
  20201. esac
  20202. as_fn_append CONFIG_HEADERS " '$ac_optarg'"
  20203. ac_need_defaults=false;;
  20204. --he | --h)
  20205. # Conflict between --help and --header
  20206. as_fn_error $? "ambiguous option: \`$1'
  20207. Try \`$0 --help' for more information.";;
  20208. --help | --hel | -h )
  20209. $as_echo "$ac_cs_usage"; exit ;;
  20210. -q | -quiet | --quiet | --quie | --qui | --qu | --q \
  20211. | -silent | --silent | --silen | --sile | --sil | --si | --s)
  20212. ac_cs_silent=: ;;
  20213. # This is an error.
  20214. -*) as_fn_error $? "unrecognized option: \`$1'
  20215. Try \`$0 --help' for more information." ;;
  20216. *) as_fn_append ac_config_targets " $1"
  20217. ac_need_defaults=false ;;
  20218. esac
  20219. shift
  20220. done
  20221. ac_configure_extra_args=
  20222. if $ac_cs_silent; then
  20223. exec 6>/dev/null
  20224. ac_configure_extra_args="$ac_configure_extra_args --silent"
  20225. fi
  20226. _ACEOF
  20227. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20228. if \$ac_cs_recheck; then
  20229. set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
  20230. shift
  20231. \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
  20232. CONFIG_SHELL='$SHELL'
  20233. export CONFIG_SHELL
  20234. exec "\$@"
  20235. fi
  20236. _ACEOF
  20237. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20238. exec 5>>config.log
  20239. {
  20240. echo
  20241. sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
  20242. ## Running $as_me. ##
  20243. _ASBOX
  20244. $as_echo "$ac_log"
  20245. } >&5
  20246. _ACEOF
  20247. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20248. #
  20249. # INIT-COMMANDS
  20250. #
  20251. wine_fn_output_makedep ()
  20252. {
  20253. as_dir=tools; as_fn_mkdir_p
  20254. $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
  20255. }
  20256. wine_fn_output_makefile ()
  20257. {
  20258. cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep"$makedep_flags && return
  20259. `cat $wine_rules_file`
  20260. _WINE_EOF
  20261. as_fn_error $? "could not create Makefile" "$LINENO" 5
  20262. }
  20263. _ACEOF
  20264. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20265. # Handling of arguments.
  20266. for ac_config_target in $ac_config_targets
  20267. do
  20268. case $ac_config_target in
  20269. "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
  20270. "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
  20271. "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
  20272. "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
  20273. "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
  20274. "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
  20275. "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
  20276. *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
  20277. esac
  20278. done
  20279. # If the user did not use the arguments to specify the items to instantiate,
  20280. # then the envvar interface is used. Set only those that are not.
  20281. # We use the long form for the default assignment because of an extremely
  20282. # bizarre bug on SunOS 4.1.3.
  20283. if $ac_need_defaults; then
  20284. test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
  20285. test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
  20286. test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
  20287. test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
  20288. fi
  20289. # Have a temporary directory for convenience. Make it in the build tree
  20290. # simply because there is no reason against having it here, and in addition,
  20291. # creating and moving files from /tmp can sometimes cause problems.
  20292. # Hook for its removal unless debugging.
  20293. # Note that there is a small window in which the directory will not be cleaned:
  20294. # after its creation but before its name has been assigned to `$tmp'.
  20295. $debug ||
  20296. {
  20297. tmp= ac_tmp=
  20298. trap 'exit_status=$?
  20299. : "${ac_tmp:=$tmp}"
  20300. { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
  20301. ' 0
  20302. trap 'as_fn_exit 1' 1 2 13 15
  20303. }
  20304. # Create a (secure) tmp directory for tmp files.
  20305. {
  20306. tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
  20307. test -d "$tmp"
  20308. } ||
  20309. {
  20310. tmp=./conf$$-$RANDOM
  20311. (umask 077 && mkdir "$tmp")
  20312. } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
  20313. ac_tmp=$tmp
  20314. # Set up the scripts for CONFIG_FILES section.
  20315. # No need to generate them if there are no CONFIG_FILES.
  20316. # This happens for instance with `./config.status config.h'.
  20317. if test -n "$CONFIG_FILES"; then
  20318. ac_cr=`echo X | tr X '\015'`
  20319. # On cygwin, bash can eat \r inside `` if the user requested igncr.
  20320. # But we know of no other shell where ac_cr would be empty at this
  20321. # point, so we can use a bashism as a fallback.
  20322. if test "x$ac_cr" = x; then
  20323. eval ac_cr=\$\'\\r\'
  20324. fi
  20325. ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
  20326. if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
  20327. ac_cs_awk_cr='\\r'
  20328. else
  20329. ac_cs_awk_cr=$ac_cr
  20330. fi
  20331. echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
  20332. _ACEOF
  20333. {
  20334. echo "cat >conf$$subs.awk <<_ACEOF" &&
  20335. echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
  20336. echo "_ACEOF"
  20337. } >conf$$subs.sh ||
  20338. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  20339. ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
  20340. ac_delim='%!_!# '
  20341. for ac_last_try in false false false false false :; do
  20342. . ./conf$$subs.sh ||
  20343. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  20344. ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
  20345. if test $ac_delim_n = $ac_delim_num; then
  20346. break
  20347. elif $ac_last_try; then
  20348. as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
  20349. else
  20350. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  20351. fi
  20352. done
  20353. rm -f conf$$subs.sh
  20354. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20355. cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
  20356. _ACEOF
  20357. sed -n '
  20358. h
  20359. s/^/S["/; s/!.*/"]=/
  20360. p
  20361. g
  20362. s/^[^!]*!//
  20363. :repl
  20364. t repl
  20365. s/'"$ac_delim"'$//
  20366. t delim
  20367. :nl
  20368. h
  20369. s/\(.\{148\}\)..*/\1/
  20370. t more1
  20371. s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
  20372. p
  20373. n
  20374. b repl
  20375. :more1
  20376. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  20377. p
  20378. g
  20379. s/.\{148\}//
  20380. t nl
  20381. :delim
  20382. h
  20383. s/\(.\{148\}\)..*/\1/
  20384. t more2
  20385. s/["\\]/\\&/g; s/^/"/; s/$/"/
  20386. p
  20387. b
  20388. :more2
  20389. s/["\\]/\\&/g; s/^/"/; s/$/"\\/
  20390. p
  20391. g
  20392. s/.\{148\}//
  20393. t delim
  20394. ' <conf$$subs.awk | sed '
  20395. /^[^""]/{
  20396. N
  20397. s/\n//
  20398. }
  20399. ' >>$CONFIG_STATUS || ac_write_fail=1
  20400. rm -f conf$$subs.awk
  20401. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20402. _ACAWK
  20403. cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
  20404. for (key in S) S_is_set[key] = 1
  20405. FS = ""
  20406. }
  20407. {
  20408. line = $ 0
  20409. nfields = split(line, field, "@")
  20410. substed = 0
  20411. len = length(field[1])
  20412. for (i = 2; i < nfields; i++) {
  20413. key = field[i]
  20414. keylen = length(key)
  20415. if (S_is_set[key]) {
  20416. value = S[key]
  20417. line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
  20418. len += length(value) + length(field[++i])
  20419. substed = 1
  20420. } else
  20421. len += 1 + keylen
  20422. }
  20423. print line
  20424. }
  20425. _ACAWK
  20426. _ACEOF
  20427. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20428. if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
  20429. sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
  20430. else
  20431. cat
  20432. fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
  20433. || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
  20434. _ACEOF
  20435. # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
  20436. # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
  20437. # trailing colons and then remove the whole line if VPATH becomes empty
  20438. # (actually we leave an empty line to preserve line numbers).
  20439. if test "x$srcdir" = x.; then
  20440. ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
  20441. h
  20442. s///
  20443. s/^/:/
  20444. s/[ ]*$/:/
  20445. s/:\$(srcdir):/:/g
  20446. s/:\${srcdir}:/:/g
  20447. s/:@srcdir@:/:/g
  20448. s/^:*//
  20449. s/:*$//
  20450. x
  20451. s/\(=[ ]*\).*/\1/
  20452. G
  20453. s/\n//
  20454. s/^[^=]*=[ ]*$//
  20455. }'
  20456. fi
  20457. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20458. fi # test -n "$CONFIG_FILES"
  20459. # Set up the scripts for CONFIG_HEADERS section.
  20460. # No need to generate them if there are no CONFIG_HEADERS.
  20461. # This happens for instance with `./config.status Makefile'.
  20462. if test -n "$CONFIG_HEADERS"; then
  20463. cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
  20464. BEGIN {
  20465. _ACEOF
  20466. # Transform confdefs.h into an awk script `defines.awk', embedded as
  20467. # here-document in config.status, that substitutes the proper values into
  20468. # config.h.in to produce config.h.
  20469. # Create a delimiter string that does not exist in confdefs.h, to ease
  20470. # handling of long lines.
  20471. ac_delim='%!_!# '
  20472. for ac_last_try in false false :; do
  20473. ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
  20474. if test -z "$ac_tt"; then
  20475. break
  20476. elif $ac_last_try; then
  20477. as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
  20478. else
  20479. ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
  20480. fi
  20481. done
  20482. # For the awk script, D is an array of macro values keyed by name,
  20483. # likewise P contains macro parameters if any. Preserve backslash
  20484. # newline sequences.
  20485. ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
  20486. sed -n '
  20487. s/.\{148\}/&'"$ac_delim"'/g
  20488. t rset
  20489. :rset
  20490. s/^[ ]*#[ ]*define[ ][ ]*/ /
  20491. t def
  20492. d
  20493. :def
  20494. s/\\$//
  20495. t bsnl
  20496. s/["\\]/\\&/g
  20497. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  20498. D["\1"]=" \3"/p
  20499. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
  20500. d
  20501. :bsnl
  20502. s/["\\]/\\&/g
  20503. s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
  20504. D["\1"]=" \3\\\\\\n"\\/p
  20505. t cont
  20506. s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
  20507. t cont
  20508. d
  20509. :cont
  20510. n
  20511. s/.\{148\}/&'"$ac_delim"'/g
  20512. t clear
  20513. :clear
  20514. s/\\$//
  20515. t bsnlc
  20516. s/["\\]/\\&/g; s/^/"/; s/$/"/p
  20517. d
  20518. :bsnlc
  20519. s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
  20520. b cont
  20521. ' <confdefs.h | sed '
  20522. s/'"$ac_delim"'/"\\\
  20523. "/g' >>$CONFIG_STATUS || ac_write_fail=1
  20524. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20525. for (key in D) D_is_set[key] = 1
  20526. FS = ""
  20527. }
  20528. /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
  20529. line = \$ 0
  20530. split(line, arg, " ")
  20531. if (arg[1] == "#") {
  20532. defundef = arg[2]
  20533. mac1 = arg[3]
  20534. } else {
  20535. defundef = substr(arg[1], 2)
  20536. mac1 = arg[2]
  20537. }
  20538. split(mac1, mac2, "(") #)
  20539. macro = mac2[1]
  20540. prefix = substr(line, 1, index(line, defundef) - 1)
  20541. if (D_is_set[macro]) {
  20542. # Preserve the white space surrounding the "#".
  20543. print prefix "define", macro P[macro] D[macro]
  20544. next
  20545. } else {
  20546. # Replace #undef with comments. This is necessary, for example,
  20547. # in the case of _POSIX_SOURCE, which is predefined and required
  20548. # on some systems where configure will not decide to define it.
  20549. if (defundef == "undef") {
  20550. print "/*", prefix defundef, macro, "*/"
  20551. next
  20552. }
  20553. }
  20554. }
  20555. { print }
  20556. _ACAWK
  20557. _ACEOF
  20558. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20559. as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
  20560. fi # test -n "$CONFIG_HEADERS"
  20561. eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
  20562. shift
  20563. for ac_tag
  20564. do
  20565. case $ac_tag in
  20566. :[FHLC]) ac_mode=$ac_tag; continue;;
  20567. esac
  20568. case $ac_mode$ac_tag in
  20569. :[FHL]*:*);;
  20570. :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
  20571. :[FH]-) ac_tag=-:-;;
  20572. :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
  20573. esac
  20574. ac_save_IFS=$IFS
  20575. IFS=:
  20576. set x $ac_tag
  20577. IFS=$ac_save_IFS
  20578. shift
  20579. ac_file=$1
  20580. shift
  20581. case $ac_mode in
  20582. :L) ac_source=$1;;
  20583. :[FH])
  20584. ac_file_inputs=
  20585. for ac_f
  20586. do
  20587. case $ac_f in
  20588. -) ac_f="$ac_tmp/stdin";;
  20589. *) # Look for the file first in the build tree, then in the source tree
  20590. # (if the path is not absolute). The absolute path cannot be DOS-style,
  20591. # because $ac_f cannot contain `:'.
  20592. test -f "$ac_f" ||
  20593. case $ac_f in
  20594. [\\/$]*) false;;
  20595. *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
  20596. esac ||
  20597. as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
  20598. esac
  20599. case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
  20600. as_fn_append ac_file_inputs " '$ac_f'"
  20601. done
  20602. # Let's still pretend it is `configure' which instantiates (i.e., don't
  20603. # use $as_me), people would be surprised to read:
  20604. # /* config.h. Generated by config.status. */
  20605. configure_input='Generated from '`
  20606. $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
  20607. `' by configure.'
  20608. if test x"$ac_file" != x-; then
  20609. configure_input="$ac_file. $configure_input"
  20610. { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
  20611. $as_echo "$as_me: creating $ac_file" >&6;}
  20612. fi
  20613. # Neutralize special characters interpreted by sed in replacement strings.
  20614. case $configure_input in #(
  20615. *\&* | *\|* | *\\* )
  20616. ac_sed_conf_input=`$as_echo "$configure_input" |
  20617. sed 's/[\\\\&|]/\\\\&/g'`;; #(
  20618. *) ac_sed_conf_input=$configure_input;;
  20619. esac
  20620. case $ac_tag in
  20621. *:-:* | *:-) cat >"$ac_tmp/stdin" \
  20622. || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
  20623. esac
  20624. ;;
  20625. esac
  20626. ac_dir=`$as_dirname -- "$ac_file" ||
  20627. $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
  20628. X"$ac_file" : 'X\(//\)[^/]' \| \
  20629. X"$ac_file" : 'X\(//\)$' \| \
  20630. X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
  20631. $as_echo X"$ac_file" |
  20632. sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
  20633. s//\1/
  20634. q
  20635. }
  20636. /^X\(\/\/\)[^/].*/{
  20637. s//\1/
  20638. q
  20639. }
  20640. /^X\(\/\/\)$/{
  20641. s//\1/
  20642. q
  20643. }
  20644. /^X\(\/\).*/{
  20645. s//\1/
  20646. q
  20647. }
  20648. s/.*/./; q'`
  20649. as_dir="$ac_dir"; as_fn_mkdir_p
  20650. ac_builddir=.
  20651. case "$ac_dir" in
  20652. .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
  20653. *)
  20654. ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
  20655. # A ".." for each directory in $ac_dir_suffix.
  20656. ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
  20657. case $ac_top_builddir_sub in
  20658. "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
  20659. *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
  20660. esac ;;
  20661. esac
  20662. ac_abs_top_builddir=$ac_pwd
  20663. ac_abs_builddir=$ac_pwd$ac_dir_suffix
  20664. # for backward compatibility:
  20665. ac_top_builddir=$ac_top_build_prefix
  20666. case $srcdir in
  20667. .) # We are building in place.
  20668. ac_srcdir=.
  20669. ac_top_srcdir=$ac_top_builddir_sub
  20670. ac_abs_top_srcdir=$ac_pwd ;;
  20671. [\\/]* | ?:[\\/]* ) # Absolute name.
  20672. ac_srcdir=$srcdir$ac_dir_suffix;
  20673. ac_top_srcdir=$srcdir
  20674. ac_abs_top_srcdir=$srcdir ;;
  20675. *) # Relative name.
  20676. ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
  20677. ac_top_srcdir=$ac_top_build_prefix$srcdir
  20678. ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
  20679. esac
  20680. ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
  20681. case $ac_mode in
  20682. :F)
  20683. #
  20684. # CONFIG_FILE
  20685. #
  20686. _ACEOF
  20687. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20688. # If the template does not know about datarootdir, expand it.
  20689. # FIXME: This hack should be removed a few years after 2.60.
  20690. ac_datarootdir_hack=; ac_datarootdir_seen=
  20691. ac_sed_dataroot='
  20692. /datarootdir/ {
  20693. p
  20694. q
  20695. }
  20696. /@datadir@/p
  20697. /@docdir@/p
  20698. /@infodir@/p
  20699. /@localedir@/p
  20700. /@mandir@/p'
  20701. case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
  20702. *datarootdir*) ac_datarootdir_seen=yes;;
  20703. *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
  20704. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
  20705. $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
  20706. _ACEOF
  20707. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20708. ac_datarootdir_hack='
  20709. s&@datadir@&$datadir&g
  20710. s&@docdir@&$docdir&g
  20711. s&@infodir@&$infodir&g
  20712. s&@localedir@&$localedir&g
  20713. s&@mandir@&$mandir&g
  20714. s&\\\${datarootdir}&$datarootdir&g' ;;
  20715. esac
  20716. _ACEOF
  20717. # Neutralize VPATH when `$srcdir' = `.'.
  20718. # Shell code in configure.ac might set extrasub.
  20719. # FIXME: do we really want to maintain this feature?
  20720. cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
  20721. ac_sed_extra="$ac_vpsub
  20722. $extrasub
  20723. _ACEOF
  20724. cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
  20725. :t
  20726. /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
  20727. s|@configure_input@|$ac_sed_conf_input|;t t
  20728. s&@top_builddir@&$ac_top_builddir_sub&;t t
  20729. s&@top_build_prefix@&$ac_top_build_prefix&;t t
  20730. s&@srcdir@&$ac_srcdir&;t t
  20731. s&@abs_srcdir@&$ac_abs_srcdir&;t t
  20732. s&@top_srcdir@&$ac_top_srcdir&;t t
  20733. s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
  20734. s&@builddir@&$ac_builddir&;t t
  20735. s&@abs_builddir@&$ac_abs_builddir&;t t
  20736. s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
  20737. $ac_datarootdir_hack
  20738. "
  20739. eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
  20740. >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  20741. test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
  20742. { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
  20743. { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
  20744. "$ac_tmp/out"`; test -z "$ac_out"; } &&
  20745. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  20746. which seems to be undefined. Please make sure it is defined" >&5
  20747. $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
  20748. which seems to be undefined. Please make sure it is defined" >&2;}
  20749. rm -f "$ac_tmp/stdin"
  20750. case $ac_file in
  20751. -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
  20752. *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
  20753. esac \
  20754. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  20755. ;;
  20756. :H)
  20757. #
  20758. # CONFIG_HEADER
  20759. #
  20760. if test x"$ac_file" != x-; then
  20761. {
  20762. $as_echo "/* $configure_input */" \
  20763. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
  20764. } >"$ac_tmp/config.h" \
  20765. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  20766. if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
  20767. { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
  20768. $as_echo "$as_me: $ac_file is unchanged" >&6;}
  20769. else
  20770. rm -f "$ac_file"
  20771. mv "$ac_tmp/config.h" "$ac_file" \
  20772. || as_fn_error $? "could not create $ac_file" "$LINENO" 5
  20773. fi
  20774. else
  20775. $as_echo "/* $configure_input */" \
  20776. && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
  20777. || as_fn_error $? "could not create -" "$LINENO" 5
  20778. fi
  20779. ;;
  20780. :L)
  20781. #
  20782. # CONFIG_LINK
  20783. #
  20784. if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
  20785. :
  20786. else
  20787. # Prefer the file from the source tree if names are identical.
  20788. if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
  20789. ac_source=$srcdir/$ac_source
  20790. fi
  20791. { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
  20792. $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
  20793. if test ! -r "$ac_source"; then
  20794. as_fn_error $? "$ac_source: file not found" "$LINENO" 5
  20795. fi
  20796. rm -f "$ac_file"
  20797. # Try a relative symlink, then a hard link, then a copy.
  20798. case $ac_source in
  20799. [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
  20800. *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
  20801. esac
  20802. ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
  20803. ln "$ac_source" "$ac_file" 2>/dev/null ||
  20804. cp -p "$ac_source" "$ac_file" ||
  20805. as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
  20806. fi
  20807. ;;
  20808. :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
  20809. $as_echo "$as_me: executing $ac_file commands" >&6;}
  20810. ;;
  20811. esac
  20812. case $ac_file$ac_mode in
  20813. "include/stamp-h":C) echo timestamp > include/stamp-h ;;
  20814. "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
  20815. "Makefile":C) wine_fn_output_makefile Makefile ;;
  20816. esac
  20817. done # for ac_tag
  20818. as_fn_exit 0
  20819. _ACEOF
  20820. ac_clean_files=$ac_clean_files_save
  20821. test $ac_write_fail = 0 ||
  20822. as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
  20823. # configure is writing to config.log, and then calls config.status.
  20824. # config.status does its own redirection, appending to config.log.
  20825. # Unfortunately, on DOS this fails, as config.log is still kept open
  20826. # by configure, so config.status won't be able to write to it; its
  20827. # output is simply discarded. So we exec the FD to /dev/null,
  20828. # effectively closing config.log, so it can be properly (re)opened and
  20829. # appended to by config.status. When coming back to configure, we
  20830. # need to make the FD available again.
  20831. if test "$no_create" != yes; then
  20832. ac_cs_success=:
  20833. ac_config_status_args=
  20834. test "$silent" = yes &&
  20835. ac_config_status_args="$ac_config_status_args --quiet"
  20836. exec 5>/dev/null
  20837. $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
  20838. exec 5>>config.log
  20839. # Use ||, not &&, to avoid exiting from the if with $? = 1, which
  20840. # would make configure fail if this is the last instruction.
  20841. $ac_cs_success || as_fn_exit 1
  20842. fi
  20843. if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
  20844. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
  20845. $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
  20846. fi
  20847. if test "$no_create" = "yes"
  20848. then
  20849. exit 0
  20850. fi
  20851. ac_save_IFS="$IFS"
  20852. if test "x$wine_notices" != x; then
  20853. echo >&6
  20854. IFS="|"
  20855. for msg in $wine_notices; do
  20856. IFS="$ac_save_IFS"
  20857. if ${msg:+false} :; then :
  20858. else
  20859. { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
  20860. $as_echo "$as_me: $msg" >&6;}
  20861. fi
  20862. done
  20863. fi
  20864. IFS="|"
  20865. for msg in $wine_warnings; do
  20866. IFS="$ac_save_IFS"
  20867. if ${msg:+false} :; then :
  20868. else
  20869. echo >&2
  20870. { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
  20871. $as_echo "$as_me: WARNING: $msg" >&2;}
  20872. fi
  20873. done
  20874. IFS="$ac_save_IFS"
  20875. $as_echo "
  20876. $as_me: Finished. Do '${ac_make}' to compile Wine.
  20877. " >&6